dataexchange

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 6

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 use 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 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 (
	ServiceName = "AWS Data Exchange" // Service's name
	ServiceID   = "DataExchange"      // Service's identifier
	EndpointsID = "dataexchange"      // Service's Endpoint identifier
)
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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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) MarshalFields

func (s AssetDestinationEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s AssetDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" required:"true" enum:"true"`

	// 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) MarshalFields

func (s AssetEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s AssetSourceEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType

type AssetType string

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

const (
	AssetTypeS3Snapshot AssetType = "S3_SNAPSHOT"
)

Enum values for AssetType

func (AssetType) MarshalValue

func (enum AssetType) MarshalValue() (string, error)

func (AssetType) MarshalValueBuf

func (enum AssetType) MarshalValueBuf(b []byte) ([]byte, error)

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) MarshalFields

func (s CancelJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s CancelJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelJobOutput) String

func (s CancelJobOutput) String() string

String returns the string representation

type CancelJobRequest

type CancelJobRequest struct {
	*aws.Request
	Input *CancelJobInput
	Copy  func(*CancelJobInput) CancelJobRequest
}

CancelJobRequest is the request type for the CancelJob API operation.

func (CancelJobRequest) Send

Send marshals and sends the CancelJob API request.

type CancelJobResponse

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

CancelJobResponse is the response type for the CancelJob API operation.

func (*CancelJobResponse) SDKResponseMetdata

func (r *CancelJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelJob request.

type Client

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := dataexchange.New(myConfig)

func (*Client) CancelJobRequest

func (c *Client) CancelJobRequest(input *CancelJobInput) CancelJobRequest

CancelJobRequest returns a request value for making API operation for AWS Data Exchange.

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

// Example sending a request using CancelJobRequest.
req := client.CancelJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDataSetRequest

func (c *Client) CreateDataSetRequest(input *CreateDataSetInput) CreateDataSetRequest

CreateDataSetRequest returns a request value for making API operation for AWS Data Exchange.

This operation creates a data set.

// Example sending a request using CreateDataSetRequest.
req := client.CreateDataSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateJobRequest

func (c *Client) CreateJobRequest(input *CreateJobInput) CreateJobRequest

CreateJobRequest returns a request value for making API operation for AWS Data Exchange.

This operation creates a job.

// Example sending a request using CreateJobRequest.
req := client.CreateJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRevisionRequest

func (c *Client) CreateRevisionRequest(input *CreateRevisionInput) CreateRevisionRequest

CreateRevisionRequest returns a request value for making API operation for AWS Data Exchange.

This operation creates a revision for a data set.

// Example sending a request using CreateRevisionRequest.
req := client.CreateRevisionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteAssetRequest

func (c *Client) DeleteAssetRequest(input *DeleteAssetInput) DeleteAssetRequest

DeleteAssetRequest returns a request value for making API operation for AWS Data Exchange.

This operation deletes an asset.

// Example sending a request using DeleteAssetRequest.
req := client.DeleteAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDataSetRequest

func (c *Client) DeleteDataSetRequest(input *DeleteDataSetInput) DeleteDataSetRequest

DeleteDataSetRequest returns a request value for making API operation for AWS Data Exchange.

This operation deletes a data set.

// Example sending a request using DeleteDataSetRequest.
req := client.DeleteDataSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRevisionRequest

func (c *Client) DeleteRevisionRequest(input *DeleteRevisionInput) DeleteRevisionRequest

DeleteRevisionRequest returns a request value for making API operation for AWS Data Exchange.

This operation deletes a revision.

// Example sending a request using DeleteRevisionRequest.
req := client.DeleteRevisionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetAssetRequest

func (c *Client) GetAssetRequest(input *GetAssetInput) GetAssetRequest

GetAssetRequest returns a request value for making API operation for AWS Data Exchange.

This operation returns information about an asset.

// Example sending a request using GetAssetRequest.
req := client.GetAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDataSetRequest

func (c *Client) GetDataSetRequest(input *GetDataSetInput) GetDataSetRequest

GetDataSetRequest returns a request value for making API operation for AWS Data Exchange.

This operation returns information about a data set.

// Example sending a request using GetDataSetRequest.
req := client.GetDataSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetJobRequest

func (c *Client) GetJobRequest(input *GetJobInput) GetJobRequest

GetJobRequest returns a request value for making API operation for AWS Data Exchange.

This operation returns information about a job.

// Example sending a request using GetJobRequest.
req := client.GetJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRevisionRequest

func (c *Client) GetRevisionRequest(input *GetRevisionInput) GetRevisionRequest

GetRevisionRequest returns a request value for making API operation for AWS Data Exchange.

This operation returns information about a revision.

// Example sending a request using GetRevisionRequest.
req := client.GetRevisionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListDataSetRevisionsRequest

func (c *Client) ListDataSetRevisionsRequest(input *ListDataSetRevisionsInput) ListDataSetRevisionsRequest

ListDataSetRevisionsRequest returns a request value for making API operation for AWS Data Exchange.

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

// Example sending a request using ListDataSetRevisionsRequest.
req := client.ListDataSetRevisionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListDataSetsRequest

func (c *Client) ListDataSetsRequest(input *ListDataSetsInput) ListDataSetsRequest

ListDataSetsRequest returns a request value for making 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.

// Example sending a request using ListDataSetsRequest.
req := client.ListDataSetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListJobsRequest

func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest

ListJobsRequest returns a request value for making API operation for AWS Data Exchange.

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

// Example sending a request using ListJobsRequest.
req := client.ListJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListRevisionAssetsRequest

func (c *Client) ListRevisionAssetsRequest(input *ListRevisionAssetsInput) ListRevisionAssetsRequest

ListRevisionAssetsRequest returns a request value for making API operation for AWS Data Exchange.

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

// Example sending a request using ListRevisionAssetsRequest.
req := client.ListRevisionAssetsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Data Exchange.

This operation lists the tags on the resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListTagsForResource

func (*Client) StartJobRequest

func (c *Client) StartJobRequest(input *StartJobInput) StartJobRequest

StartJobRequest returns a request value for making API operation for AWS Data Exchange.

This operation starts a job.

// Example sending a request using StartJobRequest.
req := client.StartJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS Data Exchange.

This operation tags a resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS Data Exchange.

This operation removes one or more tags from a resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UntagResource

func (*Client) UpdateAssetRequest

func (c *Client) UpdateAssetRequest(input *UpdateAssetInput) UpdateAssetRequest

UpdateAssetRequest returns a request value for making API operation for AWS Data Exchange.

This operation updates an asset.

// Example sending a request using UpdateAssetRequest.
req := client.UpdateAssetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDataSetRequest

func (c *Client) UpdateDataSetRequest(input *UpdateDataSetInput) UpdateDataSetRequest

UpdateDataSetRequest returns a request value for making API operation for AWS Data Exchange.

This operation updates a data set.

// Example sending a request using UpdateDataSetRequest.
req := client.UpdateDataSetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRevisionRequest

func (c *Client) UpdateRevisionRequest(input *UpdateRevisionInput) UpdateRevisionRequest

UpdateRevisionRequest returns a request value for making API operation for AWS Data Exchange.

This operation updates a revision.

// Example sending a request using UpdateRevisionRequest.
req := client.UpdateRevisionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

type Code

type Code string
const (
	CodeAccessDeniedException         Code = "ACCESS_DENIED_EXCEPTION"
	CodeInternalServerException       Code = "INTERNAL_SERVER_EXCEPTION"
	CodeMalwareDetected               Code = "MALWARE_DETECTED"
	CodeResourceNotFoundException     Code = "RESOURCE_NOT_FOUND_EXCEPTION"
	CodeServiceQuotaExceededException Code = "SERVICE_QUOTA_EXCEEDED_EXCEPTION"
	CodeValidationException           Code = "VALIDATION_EXCEPTION"
	CodeMalwareScanEncryptedFile      Code = "MALWARE_SCAN_ENCRYPTED_FILE"
)

Enum values for Code

func (Code) MarshalValue

func (enum Code) MarshalValue() (string, error)

func (Code) MarshalValueBuf

func (enum Code) MarshalValueBuf(b []byte) ([]byte, error)

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 AssetType `type:"string" required:"true" enum:"true"`

	// 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) MarshalFields

func (s CreateDataSetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" enum:"true"`

	// 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 Origin `type:"string" enum:"true"`

	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) MarshalFields

func (s CreateDataSetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDataSetOutput) String

func (s CreateDataSetOutput) String() string

String returns the string representation

type CreateDataSetRequest

type CreateDataSetRequest struct {
	*aws.Request
	Input *CreateDataSetInput
	Copy  func(*CreateDataSetInput) CreateDataSetRequest
}

CreateDataSetRequest is the request type for the CreateDataSet API operation.

func (CreateDataSetRequest) Send

Send marshals and sends the CreateDataSet API request.

type CreateDataSetResponse

type CreateDataSetResponse struct {
	*CreateDataSetOutput
	// contains filtered or unexported fields
}

CreateDataSetResponse is the response type for the CreateDataSet API operation.

func (*CreateDataSetResponse) SDKResponseMetdata

func (r *CreateDataSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDataSet request.

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 Type `type:"string" required:"true" enum:"true"`
	// 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) MarshalFields

func (s CreateJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 State `type:"string" enum:"true"`

	Type Type `type:"string" enum:"true"`

	// 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) MarshalFields

func (s CreateJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateJobOutput) String

func (s CreateJobOutput) String() string

String returns the string representation

type CreateJobRequest

type CreateJobRequest struct {
	*aws.Request
	Input *CreateJobInput
	Copy  func(*CreateJobInput) CreateJobRequest
}

CreateJobRequest is the request type for the CreateJob API operation.

func (CreateJobRequest) Send

Send marshals and sends the CreateJob API request.

type CreateJobResponse

type CreateJobResponse struct {
	*CreateJobOutput
	// contains filtered or unexported fields
}

CreateJobResponse is the response type for the CreateJob API operation.

func (*CreateJobResponse) SDKResponseMetdata

func (r *CreateJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateJob request.

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) MarshalFields

func (s CreateRevisionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s CreateRevisionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRevisionOutput) String

func (s CreateRevisionOutput) String() string

String returns the string representation

type CreateRevisionRequest

type CreateRevisionRequest struct {
	*aws.Request
	Input *CreateRevisionInput
	Copy  func(*CreateRevisionInput) CreateRevisionRequest
}

CreateRevisionRequest is the request type for the CreateRevision API operation.

func (CreateRevisionRequest) Send

Send marshals and sends the CreateRevision API request.

type CreateRevisionResponse

type CreateRevisionResponse struct {
	*CreateRevisionOutput
	// contains filtered or unexported fields
}

CreateRevisionResponse is the response type for the CreateRevision API operation.

func (*CreateRevisionResponse) SDKResponseMetdata

func (r *CreateRevisionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateRevision request.

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 AssetType `type:"string" required:"true" enum:"true"`

	// 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 Origin `type:"string" required:"true" enum:"true"`

	// 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) MarshalFields

func (s DataSetEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s DeleteAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s DeleteAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAssetOutput) String

func (s DeleteAssetOutput) String() string

String returns the string representation

type DeleteAssetRequest

type DeleteAssetRequest struct {
	*aws.Request
	Input *DeleteAssetInput
	Copy  func(*DeleteAssetInput) DeleteAssetRequest
}

DeleteAssetRequest is the request type for the DeleteAsset API operation.

func (DeleteAssetRequest) Send

Send marshals and sends the DeleteAsset API request.

type DeleteAssetResponse

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

DeleteAssetResponse is the response type for the DeleteAsset API operation.

func (*DeleteAssetResponse) SDKResponseMetdata

func (r *DeleteAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteAsset request.

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) MarshalFields

func (s DeleteDataSetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s DeleteDataSetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDataSetOutput) String

func (s DeleteDataSetOutput) String() string

String returns the string representation

type DeleteDataSetRequest

type DeleteDataSetRequest struct {
	*aws.Request
	Input *DeleteDataSetInput
	Copy  func(*DeleteDataSetInput) DeleteDataSetRequest
}

DeleteDataSetRequest is the request type for the DeleteDataSet API operation.

func (DeleteDataSetRequest) Send

Send marshals and sends the DeleteDataSet API request.

type DeleteDataSetResponse

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

DeleteDataSetResponse is the response type for the DeleteDataSet API operation.

func (*DeleteDataSetResponse) SDKResponseMetdata

func (r *DeleteDataSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDataSet request.

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) MarshalFields

func (s DeleteRevisionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s DeleteRevisionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRevisionOutput) String

func (s DeleteRevisionOutput) String() string

String returns the string representation

type DeleteRevisionRequest

type DeleteRevisionRequest struct {
	*aws.Request
	Input *DeleteRevisionInput
	Copy  func(*DeleteRevisionInput) DeleteRevisionRequest
}

DeleteRevisionRequest is the request type for the DeleteRevision API operation.

func (DeleteRevisionRequest) Send

Send marshals and sends the DeleteRevision API request.

type DeleteRevisionResponse

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

DeleteRevisionResponse is the response type for the DeleteRevision API operation.

func (*DeleteRevisionResponse) SDKResponseMetdata

func (r *DeleteRevisionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRevision request.

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) MarshalFields

func (s Details) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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"`

	// 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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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"`

	// 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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExportAssetsToS3ResponseDetails) String

String returns the string representation

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) MarshalFields

func (s GetAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" enum:"true"`

	// 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) MarshalFields

func (s GetAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetAssetOutput) String

func (s GetAssetOutput) String() string

String returns the string representation

type GetAssetRequest

type GetAssetRequest struct {
	*aws.Request
	Input *GetAssetInput
	Copy  func(*GetAssetInput) GetAssetRequest
}

GetAssetRequest is the request type for the GetAsset API operation.

func (GetAssetRequest) Send

Send marshals and sends the GetAsset API request.

type GetAssetResponse

type GetAssetResponse struct {
	*GetAssetOutput
	// contains filtered or unexported fields
}

GetAssetResponse is the response type for the GetAsset API operation.

func (*GetAssetResponse) SDKResponseMetdata

func (r *GetAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetAsset request.

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) MarshalFields

func (s GetDataSetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" enum:"true"`

	// 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 Origin `type:"string" enum:"true"`

	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) MarshalFields

func (s GetDataSetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDataSetOutput) String

func (s GetDataSetOutput) String() string

String returns the string representation

type GetDataSetRequest

type GetDataSetRequest struct {
	*aws.Request
	Input *GetDataSetInput
	Copy  func(*GetDataSetInput) GetDataSetRequest
}

GetDataSetRequest is the request type for the GetDataSet API operation.

func (GetDataSetRequest) Send

Send marshals and sends the GetDataSet API request.

type GetDataSetResponse

type GetDataSetResponse struct {
	*GetDataSetOutput
	// contains filtered or unexported fields
}

GetDataSetResponse is the response type for the GetDataSet API operation.

func (*GetDataSetResponse) SDKResponseMetdata

func (r *GetDataSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDataSet request.

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) MarshalFields

func (s GetJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 State `type:"string" enum:"true"`

	Type Type `type:"string" enum:"true"`

	// 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) MarshalFields

func (s GetJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetJobOutput) String

func (s GetJobOutput) String() string

String returns the string representation

type GetJobRequest

type GetJobRequest struct {
	*aws.Request
	Input *GetJobInput
	Copy  func(*GetJobInput) GetJobRequest
}

GetJobRequest is the request type for the GetJob API operation.

func (GetJobRequest) Send

Send marshals and sends the GetJob API request.

type GetJobResponse

type GetJobResponse struct {
	*GetJobOutput
	// contains filtered or unexported fields
}

GetJobResponse is the response type for the GetJob API operation.

func (*GetJobResponse) SDKResponseMetdata

func (r *GetJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetJob request.

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) MarshalFields

func (s GetRevisionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s GetRevisionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRevisionOutput) String

func (s GetRevisionOutput) String() string

String returns the string representation

type GetRevisionRequest

type GetRevisionRequest struct {
	*aws.Request
	Input *GetRevisionInput
	Copy  func(*GetRevisionInput) GetRevisionRequest
}

GetRevisionRequest is the request type for the GetRevision API operation.

func (GetRevisionRequest) Send

Send marshals and sends the GetRevision API request.

type GetRevisionResponse

type GetRevisionResponse struct {
	*GetRevisionOutput
	// contains filtered or unexported fields
}

GetRevisionResponse is the response type for the GetRevision API operation.

func (*GetRevisionResponse) SDKResponseMetdata

func (r *GetRevisionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRevision request.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImportAssetsFromS3ResponseDetails) 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 State `type:"string" required:"true" enum:"true"`

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

	// 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) MarshalFields

func (s JobEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 Code `type:"string" required:"true" enum:"true"`

	Details *Details `type:"structure"`

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

	// 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 unqiue identifier for the resource related to the error.
	ResourceId *string `type:"string"`

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

An error that occurred with the job request.

func (JobError) MarshalFields

func (s JobError) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobError) String

func (s JobError) String() string

String returns the string representation

type JobErrorLimitName

type JobErrorLimitName string

The name of the limit that was reached.

const (
	JobErrorLimitNameAssetsperrevision JobErrorLimitName = "Assets per revision"
	JobErrorLimitNameAssetsizeinGb     JobErrorLimitName = "Asset size in GB"
)

Enum values for JobErrorLimitName

func (JobErrorLimitName) MarshalValue

func (enum JobErrorLimitName) MarshalValue() (string, error)

func (JobErrorLimitName) MarshalValueBuf

func (enum JobErrorLimitName) MarshalValueBuf(b []byte) ([]byte, error)

type JobErrorResourceTypes

type JobErrorResourceTypes string

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

const (
	JobErrorResourceTypesRevision JobErrorResourceTypes = "REVISION"
	JobErrorResourceTypesAsset    JobErrorResourceTypes = "ASSET"
)

Enum values for JobErrorResourceTypes

func (JobErrorResourceTypes) MarshalValue

func (enum JobErrorResourceTypes) MarshalValue() (string, error)

func (JobErrorResourceTypes) MarshalValueBuf

func (enum JobErrorResourceTypes) MarshalValueBuf(b []byte) ([]byte, error)

type LimitName

type LimitName string
const (
	LimitNameProductsperaccount                                   LimitName = "Products per account"
	LimitNameDatasetsperaccount                                   LimitName = "Data sets per account"
	LimitNameDatasetsperproduct                                   LimitName = "Data sets per product"
	LimitNameRevisionsperdataset                                  LimitName = "Revisions per data set"
	LimitNameAssetsperrevision                                    LimitName = "Assets per revision"
	LimitNameAssetsperimportjobfromAmazonS3                       LimitName = "Assets per import job from Amazon S3"
	LimitNameAssetperexportjobfromAmazonS3                        LimitName = "Asset per export job from Amazon S3"
	LimitNameAssetsizeinGb                                        LimitName = "Asset size in GB"
	LimitNameConcurrentinprogressjobstoimportassetsfromAmazonS3   LimitName = "Concurrent in progress jobs to import assets from Amazon S3"
	LimitNameConcurrentinprogressjobstoimportassetsfromasignedUrl LimitName = "Concurrent in progress jobs to import assets from a signed URL"
	LimitNameConcurrentinprogressjobstoexportassetstoAmazonS3     LimitName = "Concurrent in progress jobs to export assets to Amazon S3"
	LimitNameConcurrentinprogressjobstoexportassetstoasignedUrl   LimitName = "Concurrent in progress jobs to export assets to a signed URL"
)

Enum values for LimitName

func (LimitName) MarshalValue

func (enum LimitName) MarshalValue() (string, error)

func (LimitName) MarshalValueBuf

func (enum LimitName) MarshalValueBuf(b []byte) ([]byte, error)

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDataSetRevisionsOutput) String

String returns the string representation

type ListDataSetRevisionsPaginator

type ListDataSetRevisionsPaginator struct {
	aws.Pager
}

ListDataSetRevisionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDataSetRevisionsPaginator

func NewListDataSetRevisionsPaginator(req ListDataSetRevisionsRequest) ListDataSetRevisionsPaginator

NewListDataSetRevisionsRequestPaginator returns a paginator for ListDataSetRevisions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDataSetRevisionsRequest(input)
p := dataexchange.NewListDataSetRevisionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDataSetRevisionsPaginator) CurrentPage

type ListDataSetRevisionsRequest

type ListDataSetRevisionsRequest struct {
	*aws.Request
	Input *ListDataSetRevisionsInput
	Copy  func(*ListDataSetRevisionsInput) ListDataSetRevisionsRequest
}

ListDataSetRevisionsRequest is the request type for the ListDataSetRevisions API operation.

func (ListDataSetRevisionsRequest) Send

Send marshals and sends the ListDataSetRevisions API request.

type ListDataSetRevisionsResponse

type ListDataSetRevisionsResponse struct {
	*ListDataSetRevisionsOutput
	// contains filtered or unexported fields
}

ListDataSetRevisionsResponse is the response type for the ListDataSetRevisions API operation.

func (*ListDataSetRevisionsResponse) SDKResponseMetdata

func (r *ListDataSetRevisionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDataSetRevisions request.

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) MarshalFields

func (s ListDataSetsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s ListDataSetsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDataSetsOutput) String

func (s ListDataSetsOutput) String() string

String returns the string representation

type ListDataSetsPaginator

type ListDataSetsPaginator struct {
	aws.Pager
}

ListDataSetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDataSetsPaginator

func NewListDataSetsPaginator(req ListDataSetsRequest) ListDataSetsPaginator

NewListDataSetsRequestPaginator returns a paginator for ListDataSets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDataSetsRequest(input)
p := dataexchange.NewListDataSetsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDataSetsPaginator) CurrentPage

func (p *ListDataSetsPaginator) CurrentPage() *ListDataSetsOutput

type ListDataSetsRequest

type ListDataSetsRequest struct {
	*aws.Request
	Input *ListDataSetsInput
	Copy  func(*ListDataSetsInput) ListDataSetsRequest
}

ListDataSetsRequest is the request type for the ListDataSets API operation.

func (ListDataSetsRequest) Send

Send marshals and sends the ListDataSets API request.

type ListDataSetsResponse

type ListDataSetsResponse struct {
	*ListDataSetsOutput
	// contains filtered or unexported fields
}

ListDataSetsResponse is the response type for the ListDataSets API operation.

func (*ListDataSetsResponse) SDKResponseMetdata

func (r *ListDataSetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDataSets request.

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) MarshalFields

func (s ListJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s ListJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListJobsPaginator

type ListJobsPaginator struct {
	aws.Pager
}

ListJobsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListJobsPaginator

func NewListJobsPaginator(req ListJobsRequest) ListJobsPaginator

NewListJobsRequestPaginator returns a paginator for ListJobs. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListJobsRequest(input)
p := dataexchange.NewListJobsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListJobsPaginator) CurrentPage

func (p *ListJobsPaginator) CurrentPage() *ListJobsOutput

type ListJobsRequest

type ListJobsRequest struct {
	*aws.Request
	Input *ListJobsInput
	Copy  func(*ListJobsInput) ListJobsRequest
}

ListJobsRequest is the request type for the ListJobs API operation.

func (ListJobsRequest) Send

Send marshals and sends the ListJobs API request.

type ListJobsResponse

type ListJobsResponse struct {
	*ListJobsOutput
	// contains filtered or unexported fields
}

ListJobsResponse is the response type for the ListJobs API operation.

func (*ListJobsResponse) SDKResponseMetdata

func (r *ListJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListJobs request.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRevisionAssetsOutput) String

func (s ListRevisionAssetsOutput) String() string

String returns the string representation

type ListRevisionAssetsPaginator

type ListRevisionAssetsPaginator struct {
	aws.Pager
}

ListRevisionAssetsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListRevisionAssetsPaginator

func NewListRevisionAssetsPaginator(req ListRevisionAssetsRequest) ListRevisionAssetsPaginator

NewListRevisionAssetsRequestPaginator returns a paginator for ListRevisionAssets. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListRevisionAssetsRequest(input)
p := dataexchange.NewListRevisionAssetsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListRevisionAssetsPaginator) CurrentPage

type ListRevisionAssetsRequest

type ListRevisionAssetsRequest struct {
	*aws.Request
	Input *ListRevisionAssetsInput
	Copy  func(*ListRevisionAssetsInput) ListRevisionAssetsRequest
}

ListRevisionAssetsRequest is the request type for the ListRevisionAssets API operation.

func (ListRevisionAssetsRequest) Send

Send marshals and sends the ListRevisionAssets API request.

type ListRevisionAssetsResponse

type ListRevisionAssetsResponse struct {
	*ListRevisionAssetsOutput
	// contains filtered or unexported fields
}

ListRevisionAssetsResponse is the response type for the ListRevisionAssets API operation.

func (*ListRevisionAssetsResponse) SDKResponseMetdata

func (r *ListRevisionAssetsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListRevisionAssets request.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type Origin

type Origin 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.

const (
	OriginOwned    Origin = "OWNED"
	OriginEntitled Origin = "ENTITLED"
)

Enum values for Origin

func (Origin) MarshalValue

func (enum Origin) MarshalValue() (string, error)

func (Origin) MarshalValueBuf

func (enum Origin) MarshalValueBuf(b []byte) ([]byte, error)

type OriginDetails

type OriginDetails struct {

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

func (OriginDetails) MarshalFields

func (s OriginDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s RequestDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 ResourceType

type ResourceType string
const (
	ResourceTypeDataSet  ResourceType = "DATA_SET"
	ResourceTypeRevision ResourceType = "REVISION"
	ResourceTypeAsset    ResourceType = "ASSET"
	ResourceTypeJob      ResourceType = "JOB"
)

Enum values for ResourceType

func (ResourceType) MarshalValue

func (enum ResourceType) MarshalValue() (string, error)

func (ResourceType) MarshalValueBuf

func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)

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) MarshalFields

func (s ResponseDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s RevisionEntry) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s S3SnapshotAsset) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3SnapshotAsset) String

func (s S3SnapshotAsset) String() string

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) MarshalFields

func (s StartJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s StartJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartJobOutput) String

func (s StartJobOutput) String() string

String returns the string representation

type StartJobRequest

type StartJobRequest struct {
	*aws.Request
	Input *StartJobInput
	Copy  func(*StartJobInput) StartJobRequest
}

StartJobRequest is the request type for the StartJob API operation.

func (StartJobRequest) Send

Send marshals and sends the StartJob API request.

type StartJobResponse

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

StartJobResponse is the response type for the StartJob API operation.

func (*StartJobResponse) SDKResponseMetdata

func (r *StartJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartJob request.

type State

type State string
const (
	StateWaiting    State = "WAITING"
	StateInProgress State = "IN_PROGRESS"
	StateError      State = "ERROR"
	StateCompleted  State = "COMPLETED"
	StateCancelled  State = "CANCELLED"
	StateTimedOut   State = "TIMED_OUT"
)

Enum values for State

func (State) MarshalValue

func (enum State) MarshalValue() (string, error)

func (State) MarshalValueBuf

func (enum State) MarshalValueBuf(b []byte) ([]byte, error)

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) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type Type

type Type string
const (
	TypeImportAssetsFromS3       Type = "IMPORT_ASSETS_FROM_S3"
	TypeImportAssetFromSignedUrl Type = "IMPORT_ASSET_FROM_SIGNED_URL"
	TypeExportAssetsToS3         Type = "EXPORT_ASSETS_TO_S3"
	TypeExportAssetToSignedUrl   Type = "EXPORT_ASSET_TO_SIGNED_URL"
)

Enum values for Type

func (Type) MarshalValue

func (enum Type) MarshalValue() (string, error)

func (Type) MarshalValueBuf

func (enum Type) MarshalValueBuf(b []byte) ([]byte, error)

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) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

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) MarshalFields

func (s UpdateAssetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" enum:"true"`

	// 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) MarshalFields

func (s UpdateAssetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAssetOutput) String

func (s UpdateAssetOutput) String() string

String returns the string representation

type UpdateAssetRequest

type UpdateAssetRequest struct {
	*aws.Request
	Input *UpdateAssetInput
	Copy  func(*UpdateAssetInput) UpdateAssetRequest
}

UpdateAssetRequest is the request type for the UpdateAsset API operation.

func (UpdateAssetRequest) Send

Send marshals and sends the UpdateAsset API request.

type UpdateAssetResponse

type UpdateAssetResponse struct {
	*UpdateAssetOutput
	// contains filtered or unexported fields
}

UpdateAssetResponse is the response type for the UpdateAsset API operation.

func (*UpdateAssetResponse) SDKResponseMetdata

func (r *UpdateAssetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateAsset request.

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) MarshalFields

func (s UpdateDataSetInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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 AssetType `type:"string" enum:"true"`

	// 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 Origin `type:"string" enum:"true"`

	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) MarshalFields

func (s UpdateDataSetOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDataSetOutput) String

func (s UpdateDataSetOutput) String() string

String returns the string representation

type UpdateDataSetRequest

type UpdateDataSetRequest struct {
	*aws.Request
	Input *UpdateDataSetInput
	Copy  func(*UpdateDataSetInput) UpdateDataSetRequest
}

UpdateDataSetRequest is the request type for the UpdateDataSet API operation.

func (UpdateDataSetRequest) Send

Send marshals and sends the UpdateDataSet API request.

type UpdateDataSetResponse

type UpdateDataSetResponse struct {
	*UpdateDataSetOutput
	// contains filtered or unexported fields
}

UpdateDataSetResponse is the response type for the UpdateDataSet API operation.

func (*UpdateDataSetResponse) SDKResponseMetdata

func (r *UpdateDataSetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDataSet request.

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) MarshalFields

func (s UpdateRevisionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

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) MarshalFields

func (s UpdateRevisionOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRevisionOutput) String

func (s UpdateRevisionOutput) String() string

String returns the string representation

type UpdateRevisionRequest

type UpdateRevisionRequest struct {
	*aws.Request
	Input *UpdateRevisionInput
	Copy  func(*UpdateRevisionInput) UpdateRevisionRequest
}

UpdateRevisionRequest is the request type for the UpdateRevision API operation.

func (UpdateRevisionRequest) Send

Send marshals and sends the UpdateRevision API request.

type UpdateRevisionResponse

type UpdateRevisionResponse struct {
	*UpdateRevisionOutput
	// contains filtered or unexported fields
}

UpdateRevisionResponse is the response type for the UpdateRevision API operation.

func (*UpdateRevisionResponse) SDKResponseMetdata

func (r *UpdateRevisionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRevision request.

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