Documentation
¶
Index ¶
- type CancelFeedResponse
- type CreateFeedDocumentRequest
- type CreateFeedDocumentResponse
- type CreateFeedRequest
- type CreateFeedResponse
- type FeedOptions
- type FeedsAPI
- func (f *FeedsAPI) CancelFeed(ctx context.Context, feedId string) (*CancelFeedResponse, error)
- func (f *FeedsAPI) CreateFeed(ctx context.Context, request *CreateFeedRequest) (*CreateFeedResponse, error)
- func (f *FeedsAPI) CreateFeedDocument(ctx context.Context, request *CreateFeedDocumentRequest) (*CreateFeedDocumentResponse, error)
- func (f *FeedsAPI) GetFeed(ctx context.Context, feedId string) (*GetFeedResponse, error)
- func (f *FeedsAPI) GetFeedDocument(ctx context.Context, feedDocumentId string) (*GetFeedDocumentResponse, error)
- func (f *FeedsAPI) GetFeeds(ctx context.Context, request *GetFeedsRequest) (*GetFeedsResponse, error)
- type GetFeedDocumentResponse
- type GetFeedResponse
- type GetFeedsRequest
- type GetFeedsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelFeedResponse ¶
type CancelFeedResponse struct {
FeedId string `json:"feedId"`
}
CancelFeedResponse represents the response from canceling a feed
type CreateFeedDocumentRequest ¶
type CreateFeedDocumentRequest struct {
ContentType string `json:"contentType"`
}
CreateFeedDocumentRequest represents the request for creating a feed document
type CreateFeedDocumentResponse ¶
type CreateFeedDocumentResponse struct {
FeedDocumentId string `json:"feedDocumentId"`
Url string `json:"url"`
}
CreateFeedDocumentResponse represents the response from creating a feed document
type CreateFeedRequest ¶
type CreateFeedRequest struct {
FeedType string `json:"feedType"`
MarketplaceIds []string `json:"marketplaceIds"`
InputFeedDocumentId string `json:"inputFeedDocumentId"`
FeedOptions *FeedOptions `json:"feedOptions,omitempty"`
}
CreateFeedRequest represents the request for creating a feed
type CreateFeedResponse ¶
type CreateFeedResponse struct {
FeedId string `json:"feedId"`
}
CreateFeedResponse represents the response from creating a feed
type FeedsAPI ¶
type FeedsAPI struct {
// contains filtered or unexported fields
}
FeedsAPI represents the Feeds API client
func NewFeedsAPI ¶
func NewFeedsAPI(config *client.Configuration) *FeedsAPI
NewFeedsAPI creates a new Feeds API client
func (*FeedsAPI) CancelFeed ¶
CancelFeed cancels a feed
func (*FeedsAPI) CreateFeed ¶
func (f *FeedsAPI) CreateFeed(ctx context.Context, request *CreateFeedRequest) (*CreateFeedResponse, error)
CreateFeed creates a new feed
func (*FeedsAPI) CreateFeedDocument ¶
func (f *FeedsAPI) CreateFeedDocument(ctx context.Context, request *CreateFeedDocumentRequest) (*CreateFeedDocumentResponse, error)
CreateFeedDocument creates a feed document
func (*FeedsAPI) GetFeedDocument ¶
func (f *FeedsAPI) GetFeedDocument(ctx context.Context, feedDocumentId string) (*GetFeedDocumentResponse, error)
GetFeedDocument retrieves feed document information
func (*FeedsAPI) GetFeeds ¶
func (f *FeedsAPI) GetFeeds(ctx context.Context, request *GetFeedsRequest) (*GetFeedsResponse, error)
GetFeeds retrieves a list of feeds
type GetFeedDocumentResponse ¶
type GetFeedDocumentResponse struct {
FeedDocumentId string `json:"feedDocumentId"`
Url string `json:"url"`
CompressionAlgorithm string `json:"compressionAlgorithm,omitempty"`
}
GetFeedDocumentResponse represents the response from getting a feed document
type GetFeedResponse ¶
type GetFeedResponse struct {
FeedId string `json:"feedId"`
FeedType string `json:"feedType"`
MarketplaceIds []string `json:"marketplaceIds"`
CreatedTime time.Time `json:"createdTime"`
ProcessingStatus string `json:"processingStatus"`
ProcessingStartTime *time.Time `json:"processingStartTime,omitempty"`
ProcessingEndTime *time.Time `json:"processingEndTime,omitempty"`
ResultFeedDocumentId *string `json:"resultFeedDocumentId,omitempty"`
FeedDocumentId string `json:"feedDocumentId"`
}
GetFeedResponse represents the response from getting a feed
type GetFeedsRequest ¶
type GetFeedsRequest struct {
FeedTypes []string `json:"feedTypes,omitempty"`
MarketplaceIds []string `json:"marketplaceIds,omitempty"`
ProcessingStatuses []string `json:"processingStatuses,omitempty"`
CreatedSince string `json:"createdSince,omitempty"`
CreatedUntil string `json:"createdUntil,omitempty"`
NextToken string `json:"nextToken,omitempty"`
PageSize int `json:"pageSize,omitempty"`
}
GetFeedsRequest represents the request for getting feeds
type GetFeedsResponse ¶
type GetFeedsResponse struct {
Feeds []GetFeedResponse `json:"feeds"`
NextToken string `json:"nextToken,omitempty"`
}
GetFeedsResponse represents the response from getting feeds