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
- type AssetDestinationEntry
- type AssetDetails
- type AssetEntry
- type AssetSourceEntry
- type AssetType
- type CancelJobInput
- type CancelJobOutput
- type CancelJobRequest
- type CancelJobResponse
- type Client
- func (c *Client) CancelJobRequest(input *CancelJobInput) CancelJobRequest
- func (c *Client) CreateDataSetRequest(input *CreateDataSetInput) CreateDataSetRequest
- func (c *Client) CreateJobRequest(input *CreateJobInput) CreateJobRequest
- func (c *Client) CreateRevisionRequest(input *CreateRevisionInput) CreateRevisionRequest
- func (c *Client) DeleteAssetRequest(input *DeleteAssetInput) DeleteAssetRequest
- func (c *Client) DeleteDataSetRequest(input *DeleteDataSetInput) DeleteDataSetRequest
- func (c *Client) DeleteRevisionRequest(input *DeleteRevisionInput) DeleteRevisionRequest
- func (c *Client) GetAssetRequest(input *GetAssetInput) GetAssetRequest
- func (c *Client) GetDataSetRequest(input *GetDataSetInput) GetDataSetRequest
- func (c *Client) GetJobRequest(input *GetJobInput) GetJobRequest
- func (c *Client) GetRevisionRequest(input *GetRevisionInput) GetRevisionRequest
- func (c *Client) ListDataSetRevisionsRequest(input *ListDataSetRevisionsInput) ListDataSetRevisionsRequest
- func (c *Client) ListDataSetsRequest(input *ListDataSetsInput) ListDataSetsRequest
- func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest
- func (c *Client) ListRevisionAssetsRequest(input *ListRevisionAssetsInput) ListRevisionAssetsRequest
- func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Client) StartJobRequest(input *StartJobInput) StartJobRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateAssetRequest(input *UpdateAssetInput) UpdateAssetRequest
- func (c *Client) UpdateDataSetRequest(input *UpdateDataSetInput) UpdateDataSetRequest
- func (c *Client) UpdateRevisionRequest(input *UpdateRevisionInput) UpdateRevisionRequest
- type Code
- type CreateDataSetInput
- type CreateDataSetOutput
- type CreateDataSetRequest
- type CreateDataSetResponse
- type CreateJobInput
- type CreateJobOutput
- type CreateJobRequest
- type CreateJobResponse
- type CreateRevisionInput
- type CreateRevisionOutput
- type CreateRevisionRequest
- type CreateRevisionResponse
- type DataSetEntry
- type DeleteAssetInput
- type DeleteAssetOutput
- type DeleteAssetRequest
- type DeleteAssetResponse
- type DeleteDataSetInput
- type DeleteDataSetOutput
- type DeleteDataSetRequest
- type DeleteDataSetResponse
- type DeleteRevisionInput
- type DeleteRevisionOutput
- type DeleteRevisionRequest
- type DeleteRevisionResponse
- type Details
- type ExportAssetToSignedUrlRequestDetails
- type ExportAssetToSignedUrlResponseDetails
- type ExportAssetsToS3RequestDetails
- type ExportAssetsToS3ResponseDetails
- type GetAssetInput
- type GetAssetOutput
- type GetAssetRequest
- type GetAssetResponse
- type GetDataSetInput
- type GetDataSetOutput
- type GetDataSetRequest
- type GetDataSetResponse
- type GetJobInput
- type GetJobOutput
- type GetJobRequest
- type GetJobResponse
- type GetRevisionInput
- type GetRevisionOutput
- type GetRevisionRequest
- type GetRevisionResponse
- type ImportAssetFromSignedUrlJobErrorDetails
- type ImportAssetFromSignedUrlRequestDetails
- type ImportAssetFromSignedUrlResponseDetails
- type ImportAssetsFromS3RequestDetails
- type ImportAssetsFromS3ResponseDetails
- type JobEntry
- type JobError
- type JobErrorLimitName
- type JobErrorResourceTypes
- type LimitName
- type ListDataSetRevisionsInput
- type ListDataSetRevisionsOutput
- type ListDataSetRevisionsPaginator
- type ListDataSetRevisionsRequest
- type ListDataSetRevisionsResponse
- type ListDataSetsInput
- type ListDataSetsOutput
- type ListDataSetsPaginator
- type ListDataSetsRequest
- type ListDataSetsResponse
- type ListJobsInput
- type ListJobsOutput
- type ListJobsPaginator
- type ListJobsRequest
- type ListJobsResponse
- type ListRevisionAssetsInput
- type ListRevisionAssetsOutput
- type ListRevisionAssetsPaginator
- type ListRevisionAssetsRequest
- type ListRevisionAssetsResponse
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTagsForResourceResponse
- type Origin
- type OriginDetails
- type RequestDetails
- type ResourceType
- type ResponseDetails
- type RevisionEntry
- type S3SnapshotAsset
- type StartJobInput
- type StartJobOutput
- type StartJobRequest
- type StartJobResponse
- type State
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TagResourceResponse
- type Type
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateAssetInput
- type UpdateAssetOutput
- type UpdateAssetRequest
- type UpdateAssetResponse
- type UpdateDataSetInput
- type UpdateDataSetOutput
- type UpdateDataSetRequest
- type UpdateDataSetResponse
- type UpdateRevisionInput
- type UpdateRevisionOutput
- type UpdateRevisionRequest
- type UpdateRevisionResponse
Constants ¶
const ( ServiceName = "AWS Data Exchange" // Service's name ServiceID = "DataExchange" // Service's identifier EndpointsID = "dataexchange" // Service's Endpoint identifier )
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 ¶
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 ¶
func (r CancelJobRequest) Send(ctx context.Context) (*CancelJobResponse, error)
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 ¶
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 ¶
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 ¶
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 ¶
func (r CreateDataSetRequest) Send(ctx context.Context) (*CreateDataSetResponse, error)
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 ¶
func (r CreateJobRequest) Send(ctx context.Context) (*CreateJobResponse, error)
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 ¶
func (r CreateRevisionRequest) Send(ctx context.Context) (*CreateRevisionResponse, error)
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 ¶
func (r DeleteAssetRequest) Send(ctx context.Context) (*DeleteAssetResponse, error)
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 ¶
func (r DeleteDataSetRequest) Send(ctx context.Context) (*DeleteDataSetResponse, error)
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 ¶
func (r DeleteRevisionRequest) Send(ctx context.Context) (*DeleteRevisionResponse, error)
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.
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 ¶
func (s ExportAssetToSignedUrlRequestDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExportAssetToSignedUrlRequestDetails) String ¶
func (s ExportAssetToSignedUrlRequestDetails) String() string
String returns the string representation
func (*ExportAssetToSignedUrlRequestDetails) Validate ¶
func (s *ExportAssetToSignedUrlRequestDetails) Validate() error
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 ¶
func (s ExportAssetToSignedUrlResponseDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExportAssetToSignedUrlResponseDetails) String ¶
func (s ExportAssetToSignedUrlResponseDetails) String() 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 ¶
func (s ExportAssetsToS3RequestDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExportAssetsToS3RequestDetails) String ¶
func (s ExportAssetsToS3RequestDetails) String() 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 ¶
func (s ExportAssetsToS3ResponseDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExportAssetsToS3ResponseDetails) String ¶
func (s ExportAssetsToS3ResponseDetails) String() 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 ¶
func (r GetAssetRequest) Send(ctx context.Context) (*GetAssetResponse, error)
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 ¶
func (r GetDataSetRequest) Send(ctx context.Context) (*GetDataSetResponse, error)
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 ¶
func (r GetJobRequest) Send(ctx context.Context) (*GetJobResponse, error)
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 ¶
func (r GetRevisionRequest) Send(ctx context.Context) (*GetRevisionResponse, error)
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 ¶
func (s ImportAssetFromSignedUrlJobErrorDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportAssetFromSignedUrlJobErrorDetails) String ¶
func (s ImportAssetFromSignedUrlJobErrorDetails) String() 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 ¶
func (s ImportAssetFromSignedUrlRequestDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportAssetFromSignedUrlRequestDetails) String ¶
func (s ImportAssetFromSignedUrlRequestDetails) String() string
String returns the string representation
func (*ImportAssetFromSignedUrlRequestDetails) Validate ¶
func (s *ImportAssetFromSignedUrlRequestDetails) Validate() error
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 ¶
func (s ImportAssetFromSignedUrlResponseDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportAssetFromSignedUrlResponseDetails) String ¶
func (s ImportAssetFromSignedUrlResponseDetails) String() 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 ¶
func (s ImportAssetsFromS3RequestDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportAssetsFromS3RequestDetails) String ¶
func (s ImportAssetsFromS3RequestDetails) String() string
String returns the string representation
func (*ImportAssetsFromS3RequestDetails) Validate ¶
func (s *ImportAssetsFromS3RequestDetails) Validate() error
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 ¶
func (s ImportAssetsFromS3ResponseDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImportAssetsFromS3ResponseDetails) String ¶
func (s ImportAssetsFromS3ResponseDetails) String() string
String returns the string representation
type JobEntry ¶
type JobEntry struct { // The ARN for the job. // // Arn is a required field Arn *string `type:"string" required:"true"` // The date and time that the job was created, in ISO 8601 format. // // CreatedAt is a required field CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // Details of the operation to be performed by the job, such as export destination // details or import source details. // // Details is a required field Details *ResponseDetails `type:"structure" required:"true"` // Errors for jobs. Errors []JobError `type:"list"` // The unique identifier for the job. // // Id is a required field Id *string `type:"string" required:"true"` // The state of the job. // // State is a required field State 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.
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.
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 ¶
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 ¶
func (s ListDataSetRevisionsInput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (s ListDataSetRevisionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListDataSetRevisionsOutput) String ¶
func (s ListDataSetRevisionsOutput) String() string
String returns the string representation
type ListDataSetRevisionsPaginator ¶
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 ¶
func (p *ListDataSetRevisionsPaginator) CurrentPage() *ListDataSetRevisionsOutput
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 ¶
func (r ListDataSetRevisionsRequest) Send(ctx context.Context) (*ListDataSetRevisionsResponse, error)
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 ¶
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 ¶
func (r ListDataSetsRequest) Send(ctx context.Context) (*ListDataSetsResponse, error)
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 ¶
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 ¶
func (r ListJobsRequest) Send(ctx context.Context) (*ListJobsResponse, error)
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 ¶
func (s ListRevisionAssetsInput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (s ListRevisionAssetsOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
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 ¶
func (p *ListRevisionAssetsPaginator) CurrentPage() *ListRevisionAssetsOutput
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 ¶
func (r ListRevisionAssetsRequest) Send(ctx context.Context) (*ListRevisionAssetsResponse, error)
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 ¶
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
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 ¶
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceResponse, error)
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.
func (Origin) MarshalValue ¶
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 ¶
func (r StartJobRequest) Send(ctx context.Context) (*StartJobResponse, error)
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 ¶
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 ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
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 ¶
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 ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
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 ¶
func (r UpdateAssetRequest) Send(ctx context.Context) (*UpdateAssetResponse, error)
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 ¶
func (r UpdateDataSetRequest) Send(ctx context.Context) (*UpdateDataSetResponse, error)
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 ¶
func (r UpdateRevisionRequest) Send(ctx context.Context) (*UpdateRevisionResponse, error)
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.
Source Files ¶
- api_client.go
- api_doc.go
- api_enums.go
- api_errors.go
- api_op_CancelJob.go
- api_op_CreateDataSet.go
- api_op_CreateJob.go
- api_op_CreateRevision.go
- api_op_DeleteAsset.go
- api_op_DeleteDataSet.go
- api_op_DeleteRevision.go
- api_op_GetAsset.go
- api_op_GetDataSet.go
- api_op_GetJob.go
- api_op_GetRevision.go
- api_op_ListDataSetRevisions.go
- api_op_ListDataSets.go
- api_op_ListJobs.go
- api_op_ListRevisionAssets.go
- api_op_ListTagsForResource.go
- api_op_StartJob.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateAsset.go
- api_op_UpdateDataSet.go
- api_op_UpdateRevision.go
- api_types.go
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. |