Class FeedsApi
- java.lang.Object
-
- software.amazon.spapi.api.feeds.v2021_06_30.FeedsApi
-
public class FeedsApi extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeedsApi.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelFeed(java.lang.String feedId)
Cancels the feed that you specify.okhttp3.Call
cancelFeedAsync(java.lang.String feedId, ApiCallback<java.lang.Void> callback)
(asynchronously) Cancels the feed that you specify.okhttp3.Call
cancelFeedCall(java.lang.String feedId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelFeedApiResponse<java.lang.Void>
cancelFeedWithHttpInfo(java.lang.String feedId)
Cancels the feed that you specify.CreateFeedResponse
createFeed(CreateFeedSpecification body)
Creates a feed.okhttp3.Call
createFeedAsync(CreateFeedSpecification body, ApiCallback<CreateFeedResponse> callback)
(asynchronously) Creates a feed.okhttp3.Call
createFeedCall(CreateFeedSpecification body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createFeedCreateFeedDocumentResponse
createFeedDocument(CreateFeedDocumentSpecification body)
Creates a feed document for the feed type that you specify.okhttp3.Call
createFeedDocumentAsync(CreateFeedDocumentSpecification body, ApiCallback<CreateFeedDocumentResponse> callback)
(asynchronously) Creates a feed document for the feed type that you specify.okhttp3.Call
createFeedDocumentCall(CreateFeedDocumentSpecification body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createFeedDocumentApiResponse<CreateFeedDocumentResponse>
createFeedDocumentWithHttpInfo(CreateFeedDocumentSpecification body)
Creates a feed document for the feed type that you specify.ApiResponse<CreateFeedResponse>
createFeedWithHttpInfo(CreateFeedSpecification body)
Creates a feed.ApiClient
getApiClient()
Feed
getFeed(java.lang.String feedId)
Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify.okhttp3.Call
getFeedAsync(java.lang.String feedId, ApiCallback<Feed> callback)
(asynchronously) Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify.okhttp3.Call
getFeedCall(java.lang.String feedId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFeedFeedDocument
getFeedDocument(java.lang.String feedDocumentId)
Returns the information required for retrieving a feed document's contents.okhttp3.Call
getFeedDocumentAsync(java.lang.String feedDocumentId, ApiCallback<FeedDocument> callback)
(asynchronously) Returns the information required for retrieving a feed document's contents.okhttp3.Call
getFeedDocumentCall(java.lang.String feedDocumentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFeedDocumentApiResponse<FeedDocument>
getFeedDocumentWithHttpInfo(java.lang.String feedDocumentId)
Returns the information required for retrieving a feed document's contents.GetFeedsResponse
getFeeds(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken)
Returns feed details for the feeds that match the filters that you specify.okhttp3.Call
getFeedsAsync(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken, ApiCallback<GetFeedsResponse> callback)
(asynchronously) Returns feed details for the feeds that match the filters that you specify.okhttp3.Call
getFeedsCall(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFeedsApiResponse<GetFeedsResponse>
getFeedsWithHttpInfo(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken)
Returns feed details for the feeds that match the filters that you specify.ApiResponse<Feed>
getFeedWithHttpInfo(java.lang.String feedId)
Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify.void
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
FeedsApi
public FeedsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
cancelFeedCall
public okhttp3.Call cancelFeedCall(java.lang.String feedId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for cancelFeed- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
cancelFeed
public void cancelFeed(java.lang.String feedId) throws ApiException, LWAException
Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelFeedWithHttpInfo
public ApiResponse<java.lang.Void> cancelFeedWithHttpInfo(java.lang.String feedId) throws ApiException, LWAException
Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
cancelFeedAsync
public okhttp3.Call cancelFeedAsync(java.lang.String feedId, ApiCallback<java.lang.Void> callback) throws ApiException, LWAException
(asynchronously) Cancels the feed that you specify. Only feeds with `processingStatus=IN_QUEUE` can be cancelled. Cancelled feeds are returned in subsequent calls to the [`getFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeed) and [`getFeeds`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#getfeeds) operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
createFeedCall
public okhttp3.Call createFeedCall(CreateFeedSpecification body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for createFeed- Parameters:
body
- Information required to create the feed. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
createFeed
public CreateFeedResponse createFeed(CreateFeedSpecification body) throws ApiException, LWAException
Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).- Parameters:
body
- Information required to create the feed. (required)- Returns:
- CreateFeedResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createFeedWithHttpInfo
public ApiResponse<CreateFeedResponse> createFeedWithHttpInfo(CreateFeedSpecification body) throws ApiException, LWAException
Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).- Parameters:
body
- Information required to create the feed. (required)- Returns:
- ApiResponse<CreateFeedResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createFeedAsync
public okhttp3.Call createFeedAsync(CreateFeedSpecification body, ApiCallback<CreateFeedResponse> callback) throws ApiException, LWAException
(asynchronously) Creates a feed. Upload the contents of the feed document before calling this operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0083 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api). The rate limit for the [`JSON_LISTINGS_FEED`](https://developer-docs.amazon.com/sp-api/docs/listings-feed-type-values#listings-feed) feed type differs from the rate limit for the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#post-feeds2021-06-30feeds) operation. For more information, refer to the [Building Listings Management Workflows Guide](https://developer-docs.amazon.com/sp-api/docs/building-listings-management-workflows-guide#should-i-submit-in-bulk-using-the-json_listings_feed-or-individually-with-the-listings-items-api).- Parameters:
body
- Information required to create the feed. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
createFeedDocumentCall
public okhttp3.Call createFeedDocumentCall(CreateFeedDocumentSpecification body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for createFeedDocument- Parameters:
body
- Specifies the content type for the createFeedDocument operation. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
createFeedDocument
public CreateFeedDocumentResponse createFeedDocument(CreateFeedDocumentSpecification body) throws ApiException, LWAException
Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Specifies the content type for the createFeedDocument operation. (required)- Returns:
- CreateFeedDocumentResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createFeedDocumentWithHttpInfo
public ApiResponse<CreateFeedDocumentResponse> createFeedDocumentWithHttpInfo(CreateFeedDocumentSpecification body) throws ApiException, LWAException
Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Specifies the content type for the createFeedDocument operation. (required)- Returns:
- ApiResponse<CreateFeedDocumentResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
createFeedDocumentAsync
public okhttp3.Call createFeedDocumentAsync(CreateFeedDocumentSpecification body, ApiCallback<CreateFeedDocumentResponse> callback) throws ApiException, LWAException
(asynchronously) Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a `feedDocumentId` value that you can pass in with a subsequent call to the [`createFeed`](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-reference#createfeed) operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
body
- Specifies the content type for the createFeedDocument operation. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeedCall
public okhttp3.Call getFeedCall(java.lang.String feedId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getFeed- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeed
public Feed getFeed(java.lang.String feedId) throws ApiException, LWAException
Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)- Returns:
- Feed
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedWithHttpInfo
public ApiResponse<Feed> getFeedWithHttpInfo(java.lang.String feedId) throws ApiException, LWAException
Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)- Returns:
- ApiResponse<Feed>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedAsync
public okhttp3.Call getFeedAsync(java.lang.String feedId, ApiCallback<Feed> callback) throws ApiException, LWAException
(asynchronously) Returns feed details (including the `resultDocumentId`, if available) for the feed that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedId
- The identifier for the feed. This identifier is unique only in combination with a seller ID. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeedDocumentCall
public okhttp3.Call getFeedDocumentCall(java.lang.String feedDocumentId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getFeedDocument- Parameters:
feedDocumentId
- The identifier of the feed document. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeedDocument
public FeedDocument getFeedDocument(java.lang.String feedDocumentId) throws ApiException, LWAException
Returns the information required for retrieving a feed document's contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedDocumentId
- The identifier of the feed document. (required)- Returns:
- FeedDocument
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedDocumentWithHttpInfo
public ApiResponse<FeedDocument> getFeedDocumentWithHttpInfo(java.lang.String feedDocumentId) throws ApiException, LWAException
Returns the information required for retrieving a feed document's contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedDocumentId
- The identifier of the feed document. (required)- Returns:
- ApiResponse<FeedDocument>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedDocumentAsync
public okhttp3.Call getFeedDocumentAsync(java.lang.String feedDocumentId, ApiCallback<FeedDocument> callback) throws ApiException, LWAException
(asynchronously) Returns the information required for retrieving a feed document's contents. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedDocumentId
- The identifier of the feed document. (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeedsCall
public okhttp3.Call getFeedsCall(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, LWAException
Build call for getFeeds- Parameters:
feedTypes
- A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required. (optional)marketplaceIds
- A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. (optional)pageSize
- The maximum number of feeds to return in a single call. (optional, default to 10)processingStatuses
- A list of processing statuses used to filter feeds. (optional)createdSince
- The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days. (optional)createdUntil
- The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. (optional)nextToken
- A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body objectLWAException
- If calls to fetch LWA access token fails
-
getFeeds
public GetFeedsResponse getFeeds(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken) throws ApiException, LWAException
Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedTypes
- A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required. (optional)marketplaceIds
- A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. (optional)pageSize
- The maximum number of feeds to return in a single call. (optional, default to 10)processingStatuses
- A list of processing statuses used to filter feeds. (optional)createdSince
- The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days. (optional)createdUntil
- The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. (optional)nextToken
- A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail. (optional)- Returns:
- GetFeedsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedsWithHttpInfo
public ApiResponse<GetFeedsResponse> getFeedsWithHttpInfo(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken) throws ApiException, LWAException
Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedTypes
- A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required. (optional)marketplaceIds
- A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. (optional)pageSize
- The maximum number of feeds to return in a single call. (optional, default to 10)processingStatuses
- A list of processing statuses used to filter feeds. (optional)createdSince
- The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days. (optional)createdUntil
- The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. (optional)nextToken
- A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail. (optional)- Returns:
- ApiResponse<GetFeedsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyLWAException
- If calls to fetch LWA access token fails
-
getFeedsAsync
public okhttp3.Call getFeedsAsync(java.util.List<java.lang.String> feedTypes, java.util.List<java.lang.String> marketplaceIds, java.lang.Integer pageSize, java.util.List<java.lang.String> processingStatuses, org.threeten.bp.OffsetDateTime createdSince, org.threeten.bp.OffsetDateTime createdUntil, java.lang.String nextToken, ApiCallback<GetFeedsResponse> callback) throws ApiException, LWAException
(asynchronously) Returns feed details for the feeds that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).- Parameters:
feedTypes
- A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required. (optional)marketplaceIds
- A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify. (optional)pageSize
- The maximum number of feeds to return in a single call. (optional, default to 10)processingStatuses
- A list of processing statuses used to filter feeds. (optional)createdSince
- The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days. (optional)createdUntil
- The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now. (optional)nextToken
- A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail. (optional)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body objectLWAException
- If calls to fetch LWA access token fails
-
-