public interface MarketplaceWebService
| Modifier and Type | Method and Description |
|---|---|
CancelFeedSubmissionsResponse |
cancelFeedSubmissions(CancelFeedSubmissionsRequest request)
Cancel Feed Submissions
cancels feed submissions - by default all of the submissions of the
last 30 days that have not started processing
|
Future<CancelFeedSubmissionsResponse> |
cancelFeedSubmissionsAsync(CancelFeedSubmissionsRequest request)
Non-blocking Cancel Feed Submissions
Returns
future pointer to CancelFeedSubmissionsResponse
If response is ready, call to future.get()
will return CancelFeedSubmissionsResponse. |
CancelReportRequestsResponse |
cancelReportRequests(CancelReportRequestsRequest request)
Cancel Report Requests
cancels report requests that have not yet started processing,
by default all those within the last 90 days
|
Future<CancelReportRequestsResponse> |
cancelReportRequestsAsync(CancelReportRequestsRequest request)
Non-blocking Cancel Report Requests
Returns
future pointer to CancelReportRequestsResponse
If response is ready, call to future.get()
will return CancelReportRequestsResponse. |
GetFeedSubmissionCountResponse |
getFeedSubmissionCount(GetFeedSubmissionCountRequest request)
Get Feed Submission Count
returns the number of feeds matching all of the specified criteria
|
Future<GetFeedSubmissionCountResponse> |
getFeedSubmissionCountAsync(GetFeedSubmissionCountRequest request)
Non-blocking Get Feed Submission Count
Returns
future pointer to GetFeedSubmissionCountResponse
If response is ready, call to future.get()
will return GetFeedSubmissionCountResponse. |
GetFeedSubmissionListResponse |
getFeedSubmissionList(GetFeedSubmissionListRequest request)
Get Feed Submission List
returns a list of feed submission identifiers and their associated metadata
|
Future<GetFeedSubmissionListResponse> |
getFeedSubmissionListAsync(GetFeedSubmissionListRequest request)
Non-blocking Get Feed Submission List
Returns
future pointer to GetFeedSubmissionListResponse
If response is ready, call to future.get()
will return GetFeedSubmissionListResponse. |
GetFeedSubmissionListByNextTokenResponse |
getFeedSubmissionListByNextToken(GetFeedSubmissionListByNextTokenRequest request)
Get Feed Submission List By Next Token
retrieve the next batch of list items and if there are more items to retrieve
|
Future<GetFeedSubmissionListByNextTokenResponse> |
getFeedSubmissionListByNextTokenAsync(GetFeedSubmissionListByNextTokenRequest request)
Non-blocking Get Feed Submission List By Next Token
Returns
future pointer to GetFeedSubmissionListByNextTokenResponse
If response is ready, call to future.get()
will return GetFeedSubmissionListByNextTokenResponse. |
GetFeedSubmissionResultResponse |
getFeedSubmissionResult(GetFeedSubmissionResultRequest request)
Get Feed Submission Result
retrieves the feed processing report
|
Future<GetFeedSubmissionResultResponse> |
getFeedSubmissionResultAsync(GetFeedSubmissionResultRequest request)
Non-blocking Get Feed Submission Result
Returns
future pointer to GetFeedSubmissionResultResponse
If response is ready, call to future.get()
will return GetFeedSubmissionResultResponse. |
GetReportResponse |
getReport(GetReportRequest request)
Get Report
The GetReport operation returns the contents of a report.
|
Future<GetReportResponse> |
getReportAsync(GetReportRequest request)
Non-blocking Get Report
Returns
future pointer to GetReportResponse
If response is ready, call to future.get()
will return GetReportResponse. |
GetReportCountResponse |
getReportCount(GetReportCountRequest request)
Get Report Count
returns a count of reports matching your criteria;
by default, the number of reports generated in the last 90 days,
regardless of acknowledgement status
|
Future<GetReportCountResponse> |
getReportCountAsync(GetReportCountRequest request)
Non-blocking Get Report Count
Returns
future pointer to GetReportCountResponse
If response is ready, call to future.get()
will return GetReportCountResponse. |
GetReportListResponse |
getReportList(GetReportListRequest request)
Get Report List
returns a list of reports; by default the most recent ten reports,
regardless of their acknowledgement status
|
Future<GetReportListResponse> |
getReportListAsync(GetReportListRequest request)
Non-blocking Get Report List
Returns
future pointer to GetReportListResponse
If response is ready, call to future.get()
will return GetReportListResponse. |
GetReportListByNextTokenResponse |
getReportListByNextToken(GetReportListByNextTokenRequest request)
Get Report List By Next Token
retrieve the next batch of list items and if there are more items to retrieve
|
Future<GetReportListByNextTokenResponse> |
getReportListByNextTokenAsync(GetReportListByNextTokenRequest request)
Non-blocking Get Report List By Next Token
Returns
future pointer to GetReportListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportListByNextTokenResponse. |
GetReportRequestCountResponse |
getReportRequestCount(GetReportRequestCountRequest request)
Get Report Request Count
returns a count of report requests; by default all the report
requests in the last 90 days
|
Future<GetReportRequestCountResponse> |
getReportRequestCountAsync(GetReportRequestCountRequest request)
Non-blocking Get Report Request Count
Returns
future pointer to GetReportRequestCountResponse
If response is ready, call to future.get()
will return GetReportRequestCountResponse. |
GetReportRequestListResponse |
getReportRequestList(GetReportRequestListRequest request)
Get Report Request List
returns a list of report requests ids and their associated metadata
|
Future<GetReportRequestListResponse> |
getReportRequestListAsync(GetReportRequestListRequest request)
Non-blocking Get Report Request List
Returns
future pointer to GetReportRequestListResponse
If response is ready, call to future.get()
will return GetReportRequestListResponse. |
GetReportRequestListByNextTokenResponse |
getReportRequestListByNextToken(GetReportRequestListByNextTokenRequest request)
Get Report Request List By Next Token
retrieve the next batch of list items and if there are more items to retrieve
|
Future<GetReportRequestListByNextTokenResponse> |
getReportRequestListByNextTokenAsync(GetReportRequestListByNextTokenRequest request)
Non-blocking Get Report Request List By Next Token
Returns
future pointer to GetReportRequestListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportRequestListByNextTokenResponse. |
GetReportScheduleCountResponse |
getReportScheduleCount(GetReportScheduleCountRequest request)
Get Report Schedule Count
returns the number of report schedules
|
Future<GetReportScheduleCountResponse> |
getReportScheduleCountAsync(GetReportScheduleCountRequest request)
Non-blocking Get Report Schedule Count
Returns
future pointer to GetReportScheduleCountResponse
If response is ready, call to future.get()
will return GetReportScheduleCountResponse. |
GetReportScheduleListResponse |
getReportScheduleList(GetReportScheduleListRequest request)
Get Report Schedule List
returns the list of report schedules
|
Future<GetReportScheduleListResponse> |
getReportScheduleListAsync(GetReportScheduleListRequest request)
Non-blocking Get Report Schedule List
Returns
future pointer to GetReportScheduleListResponse
If response is ready, call to future.get()
will return GetReportScheduleListResponse. |
GetReportScheduleListByNextTokenResponse |
getReportScheduleListByNextToken(GetReportScheduleListByNextTokenRequest request)
Get Report Schedule List By Next Token
retrieve the next batch of list items and if there are more items to retrieve
|
Future<GetReportScheduleListByNextTokenResponse> |
getReportScheduleListByNextTokenAsync(GetReportScheduleListByNextTokenRequest request)
Non-blocking Get Report Schedule List By Next Token
Returns
future pointer to GetReportScheduleListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportScheduleListByNextTokenResponse. |
ManageReportScheduleResponse |
manageReportSchedule(ManageReportScheduleRequest request)
Manage Report Schedule
Creates, updates, or deletes a report schedule
for a given report type, such as order reports in particular.
|
Future<ManageReportScheduleResponse> |
manageReportScheduleAsync(ManageReportScheduleRequest request)
Non-blocking Manage Report Schedule
Returns
future pointer to ManageReportScheduleResponse
If response is ready, call to future.get()
will return ManageReportScheduleResponse. |
RequestReportResponse |
requestReport(RequestReportRequest request)
Request Report
requests the generation of a report
|
Future<RequestReportResponse> |
requestReportAsync(RequestReportRequest request)
Non-blocking Request Report
Returns
future pointer to RequestReportResponse
If response is ready, call to future.get()
will return RequestReportResponse. |
SubmitFeedResponse |
submitFeed(SubmitFeedRequest request)
Submit Feed
Uploads a file for processing together with the necessary
metadata to process the file, such as which type of feed it is.
|
Future<SubmitFeedResponse> |
submitFeedAsync(SubmitFeedRequest request)
Non-blocking Submit Feed
Returns
future pointer to SubmitFeedResponse
If response is ready, call to future.get()
will return SubmitFeedResponse. |
SubmitFeedResponse |
submitFeedFromFile(SubmitFeedRequest request)
Submit Feed From File
Uploads a file from disk for processing together with the necessary
metadata to process the file, such as which type of feed it is.
|
Future<SubmitFeedResponse> |
submitFeedFromFileAsync(SubmitFeedRequest request)
Non-blocking Submit Feed From File
Returns
future pointer to SubmitFeedResponse
If response is ready, call to future.get()
will return SubmitFeedResponse. |
UpdateReportAcknowledgementsResponse |
updateReportAcknowledgements(UpdateReportAcknowledgementsRequest request)
Update Report Acknowledgements
The UpdateReportAcknowledgements operation updates the acknowledged status of one or more reports.
|
Future<UpdateReportAcknowledgementsResponse> |
updateReportAcknowledgementsAsync(UpdateReportAcknowledgementsRequest request)
Non-blocking Update Report Acknowledgements
Returns
future pointer to UpdateReportAcknowledgementsResponse
If response is ready, call to future.get()
will return UpdateReportAcknowledgementsResponse. |
GetReportResponse getReport(GetReportRequest request) throws MarketplaceWebServiceException
request - GetReport ActionMarketplaceWebServiceExceptionFuture<GetReportResponse> getReportAsync(GetReportRequest request)
future pointer to GetReportResponse
If response is ready, call to future.get()
will return GetReportResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportResponse>> responses = new ArrayList<Future<GetReportResponse>>();
for (GetReportRequest request : requests) {
responses.add(client.getReportAsync(request));
}
for (Future<GetReportResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportRequest requestGetReportScheduleCountResponse getReportScheduleCount(GetReportScheduleCountRequest request) throws MarketplaceWebServiceException
request - GetReportScheduleCount ActionMarketplaceWebServiceExceptionFuture<GetReportScheduleCountResponse> getReportScheduleCountAsync(GetReportScheduleCountRequest request)
future pointer to GetReportScheduleCountResponse
If response is ready, call to future.get()
will return GetReportScheduleCountResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportScheduleCountResponse>> responses = new ArrayList<Future<GetReportScheduleCountResponse>>();
for (GetReportScheduleCountRequest request : requests) {
responses.add(client.getReportScheduleCountAsync(request));
}
for (Future<GetReportScheduleCountResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportScheduleCountResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportScheduleCountRequest requestGetReportRequestListByNextTokenResponse getReportRequestListByNextToken(GetReportRequestListByNextTokenRequest request) throws MarketplaceWebServiceException
request - GetReportRequestListByNextToken ActionMarketplaceWebServiceExceptionFuture<GetReportRequestListByNextTokenResponse> getReportRequestListByNextTokenAsync(GetReportRequestListByNextTokenRequest request)
future pointer to GetReportRequestListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportRequestListByNextTokenResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportRequestListByNextTokenResponse>> responses = new ArrayList<Future<GetReportRequestListByNextTokenResponse>>();
for (GetReportRequestListByNextTokenRequest request : requests) {
responses.add(client.getReportRequestListByNextTokenAsync(request));
}
for (Future<GetReportRequestListByNextTokenResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportRequestListByNextTokenResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportRequestListByNextTokenRequest requestUpdateReportAcknowledgementsResponse updateReportAcknowledgements(UpdateReportAcknowledgementsRequest request) throws MarketplaceWebServiceException
request - UpdateReportAcknowledgements ActionMarketplaceWebServiceExceptionFuture<UpdateReportAcknowledgementsResponse> updateReportAcknowledgementsAsync(UpdateReportAcknowledgementsRequest request)
future pointer to UpdateReportAcknowledgementsResponse
If response is ready, call to future.get()
will return UpdateReportAcknowledgementsResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<UpdateReportAcknowledgementsResponse>> responses = new ArrayList<Future<UpdateReportAcknowledgementsResponse>>();
for (UpdateReportAcknowledgementsRequest request : requests) {
responses.add(client.updateReportAcknowledgementsAsync(request));
}
for (Future<UpdateReportAcknowledgementsResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
UpdateReportAcknowledgementsResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - UpdateReportAcknowledgementsRequest requestSubmitFeedResponse submitFeed(SubmitFeedRequest request) throws MarketplaceWebServiceException
request - SubmitFeed ActionMarketplaceWebServiceExceptionFuture<SubmitFeedResponse> submitFeedAsync(SubmitFeedRequest request)
future pointer to SubmitFeedResponse
If response is ready, call to future.get()
will return SubmitFeedResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<SubmitFeedResponse>> responses = new ArrayList<Future<SubmitFeedResponse>>();
for (SubmitFeedRequest request : requests) {
responses.add(client.submitFeedAsync(request));
}
for (Future<SubmitFeedResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
SubmitFeedResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - SubmitFeedRequest requestGetReportCountResponse getReportCount(GetReportCountRequest request) throws MarketplaceWebServiceException
request - GetReportCount ActionMarketplaceWebServiceExceptionFuture<GetReportCountResponse> getReportCountAsync(GetReportCountRequest request)
future pointer to GetReportCountResponse
If response is ready, call to future.get()
will return GetReportCountResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportCountResponse>> responses = new ArrayList<Future<GetReportCountResponse>>();
for (GetReportCountRequest request : requests) {
responses.add(client.getReportCountAsync(request));
}
for (Future<GetReportCountResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportCountResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportCountRequest requestGetFeedSubmissionListByNextTokenResponse getFeedSubmissionListByNextToken(GetFeedSubmissionListByNextTokenRequest request) throws MarketplaceWebServiceException
request - GetFeedSubmissionListByNextToken ActionMarketplaceWebServiceExceptionFuture<GetFeedSubmissionListByNextTokenResponse> getFeedSubmissionListByNextTokenAsync(GetFeedSubmissionListByNextTokenRequest request)
future pointer to GetFeedSubmissionListByNextTokenResponse
If response is ready, call to future.get()
will return GetFeedSubmissionListByNextTokenResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetFeedSubmissionListByNextTokenResponse>> responses = new ArrayList<Future<GetFeedSubmissionListByNextTokenResponse>>();
for (GetFeedSubmissionListByNextTokenRequest request : requests) {
responses.add(client.getFeedSubmissionListByNextTokenAsync(request));
}
for (Future<GetFeedSubmissionListByNextTokenResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetFeedSubmissionListByNextTokenResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetFeedSubmissionListByNextTokenRequest requestCancelFeedSubmissionsResponse cancelFeedSubmissions(CancelFeedSubmissionsRequest request) throws MarketplaceWebServiceException
request - CancelFeedSubmissions ActionMarketplaceWebServiceExceptionFuture<CancelFeedSubmissionsResponse> cancelFeedSubmissionsAsync(CancelFeedSubmissionsRequest request)
future pointer to CancelFeedSubmissionsResponse
If response is ready, call to future.get()
will return CancelFeedSubmissionsResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<CancelFeedSubmissionsResponse>> responses = new ArrayList<Future<CancelFeedSubmissionsResponse>>();
for (CancelFeedSubmissionsRequest request : requests) {
responses.add(client.cancelFeedSubmissionsAsync(request));
}
for (Future<CancelFeedSubmissionsResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
CancelFeedSubmissionsResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - CancelFeedSubmissionsRequest requestRequestReportResponse requestReport(RequestReportRequest request) throws MarketplaceWebServiceException
request - RequestReport ActionMarketplaceWebServiceExceptionFuture<RequestReportResponse> requestReportAsync(RequestReportRequest request)
future pointer to RequestReportResponse
If response is ready, call to future.get()
will return RequestReportResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<RequestReportResponse>> responses = new ArrayList<Future<RequestReportResponse>>();
for (RequestReportRequest request : requests) {
responses.add(client.requestReportAsync(request));
}
for (Future<RequestReportResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
RequestReportResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - RequestReportRequest requestGetFeedSubmissionCountResponse getFeedSubmissionCount(GetFeedSubmissionCountRequest request) throws MarketplaceWebServiceException
request - GetFeedSubmissionCount ActionMarketplaceWebServiceExceptionFuture<GetFeedSubmissionCountResponse> getFeedSubmissionCountAsync(GetFeedSubmissionCountRequest request)
future pointer to GetFeedSubmissionCountResponse
If response is ready, call to future.get()
will return GetFeedSubmissionCountResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetFeedSubmissionCountResponse>> responses = new ArrayList<Future<GetFeedSubmissionCountResponse>>();
for (GetFeedSubmissionCountRequest request : requests) {
responses.add(client.getFeedSubmissionCountAsync(request));
}
for (Future<GetFeedSubmissionCountResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetFeedSubmissionCountResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetFeedSubmissionCountRequest requestCancelReportRequestsResponse cancelReportRequests(CancelReportRequestsRequest request) throws MarketplaceWebServiceException
request - CancelReportRequests ActionMarketplaceWebServiceExceptionFuture<CancelReportRequestsResponse> cancelReportRequestsAsync(CancelReportRequestsRequest request)
future pointer to CancelReportRequestsResponse
If response is ready, call to future.get()
will return CancelReportRequestsResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<CancelReportRequestsResponse>> responses = new ArrayList<Future<CancelReportRequestsResponse>>();
for (CancelReportRequestsRequest request : requests) {
responses.add(client.cancelReportRequestsAsync(request));
}
for (Future<CancelReportRequestsResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
CancelReportRequestsResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - CancelReportRequestsRequest requestGetReportListResponse getReportList(GetReportListRequest request) throws MarketplaceWebServiceException
request - GetReportList ActionMarketplaceWebServiceExceptionFuture<GetReportListResponse> getReportListAsync(GetReportListRequest request)
future pointer to GetReportListResponse
If response is ready, call to future.get()
will return GetReportListResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportListResponse>> responses = new ArrayList<Future<GetReportListResponse>>();
for (GetReportListRequest request : requests) {
responses.add(client.getReportListAsync(request));
}
for (Future<GetReportListResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportListResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportListRequest requestGetFeedSubmissionResultResponse getFeedSubmissionResult(GetFeedSubmissionResultRequest request) throws MarketplaceWebServiceException
request - GetFeedSubmissionResult ActionMarketplaceWebServiceExceptionFuture<GetFeedSubmissionResultResponse> getFeedSubmissionResultAsync(GetFeedSubmissionResultRequest request)
future pointer to GetFeedSubmissionResultResponse
If response is ready, call to future.get()
will return GetFeedSubmissionResultResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetFeedSubmissionResultResponse>> responses = new ArrayList<Future<GetFeedSubmissionResultResponse>>();
for (GetFeedSubmissionResultRequest request : requests) {
responses.add(client.getFeedSubmissionResultAsync(request));
}
for (Future<GetFeedSubmissionResultResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetFeedSubmissionResultResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetFeedSubmissionResultRequest requestGetFeedSubmissionListResponse getFeedSubmissionList(GetFeedSubmissionListRequest request) throws MarketplaceWebServiceException
request - GetFeedSubmissionList ActionMarketplaceWebServiceExceptionFuture<GetFeedSubmissionListResponse> getFeedSubmissionListAsync(GetFeedSubmissionListRequest request)
future pointer to GetFeedSubmissionListResponse
If response is ready, call to future.get()
will return GetFeedSubmissionListResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetFeedSubmissionListResponse>> responses = new ArrayList<Future<GetFeedSubmissionListResponse>>();
for (GetFeedSubmissionListRequest request : requests) {
responses.add(client.getFeedSubmissionListAsync(request));
}
for (Future<GetFeedSubmissionListResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetFeedSubmissionListResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetFeedSubmissionListRequest requestGetReportRequestListResponse getReportRequestList(GetReportRequestListRequest request) throws MarketplaceWebServiceException
request - GetReportRequestList ActionMarketplaceWebServiceExceptionFuture<GetReportRequestListResponse> getReportRequestListAsync(GetReportRequestListRequest request)
future pointer to GetReportRequestListResponse
If response is ready, call to future.get()
will return GetReportRequestListResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportRequestListResponse>> responses = new ArrayList<Future<GetReportRequestListResponse>>();
for (GetReportRequestListRequest request : requests) {
responses.add(client.getReportRequestListAsync(request));
}
for (Future<GetReportRequestListResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportRequestListResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportRequestListRequest requestGetReportScheduleListByNextTokenResponse getReportScheduleListByNextToken(GetReportScheduleListByNextTokenRequest request) throws MarketplaceWebServiceException
request - GetReportScheduleListByNextToken ActionMarketplaceWebServiceExceptionFuture<GetReportScheduleListByNextTokenResponse> getReportScheduleListByNextTokenAsync(GetReportScheduleListByNextTokenRequest request)
future pointer to GetReportScheduleListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportScheduleListByNextTokenResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportScheduleListByNextTokenResponse>> responses = new ArrayList<Future<GetReportScheduleListByNextTokenResponse>>();
for (GetReportScheduleListByNextTokenRequest request : requests) {
responses.add(client.getReportScheduleListByNextTokenAsync(request));
}
for (Future<GetReportScheduleListByNextTokenResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportScheduleListByNextTokenResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportScheduleListByNextTokenRequest requestGetReportListByNextTokenResponse getReportListByNextToken(GetReportListByNextTokenRequest request) throws MarketplaceWebServiceException
request - GetReportListByNextToken ActionMarketplaceWebServiceExceptionFuture<GetReportListByNextTokenResponse> getReportListByNextTokenAsync(GetReportListByNextTokenRequest request)
future pointer to GetReportListByNextTokenResponse
If response is ready, call to future.get()
will return GetReportListByNextTokenResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportListByNextTokenResponse>> responses = new ArrayList<Future<GetReportListByNextTokenResponse>>();
for (GetReportListByNextTokenRequest request : requests) {
responses.add(client.getReportListByNextTokenAsync(request));
}
for (Future<GetReportListByNextTokenResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportListByNextTokenResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportListByNextTokenRequest requestManageReportScheduleResponse manageReportSchedule(ManageReportScheduleRequest request) throws MarketplaceWebServiceException
request - ManageReportSchedule ActionMarketplaceWebServiceExceptionFuture<ManageReportScheduleResponse> manageReportScheduleAsync(ManageReportScheduleRequest request)
future pointer to ManageReportScheduleResponse
If response is ready, call to future.get()
will return ManageReportScheduleResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<ManageReportScheduleResponse>> responses = new ArrayList<Future<ManageReportScheduleResponse>>();
for (ManageReportScheduleRequest request : requests) {
responses.add(client.manageReportScheduleAsync(request));
}
for (Future<ManageReportScheduleResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
ManageReportScheduleResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - ManageReportScheduleRequest requestGetReportRequestCountResponse getReportRequestCount(GetReportRequestCountRequest request) throws MarketplaceWebServiceException
request - GetReportRequestCount ActionMarketplaceWebServiceExceptionFuture<GetReportRequestCountResponse> getReportRequestCountAsync(GetReportRequestCountRequest request)
future pointer to GetReportRequestCountResponse
If response is ready, call to future.get()
will return GetReportRequestCountResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportRequestCountResponse>> responses = new ArrayList<Future<GetReportRequestCountResponse>>();
for (GetReportRequestCountRequest request : requests) {
responses.add(client.getReportRequestCountAsync(request));
}
for (Future<GetReportRequestCountResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportRequestCountResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportRequestCountRequest requestGetReportScheduleListResponse getReportScheduleList(GetReportScheduleListRequest request) throws MarketplaceWebServiceException
request - GetReportScheduleList ActionMarketplaceWebServiceExceptionFuture<GetReportScheduleListResponse> getReportScheduleListAsync(GetReportScheduleListRequest request)
future pointer to GetReportScheduleListResponse
If response is ready, call to future.get()
will return GetReportScheduleListResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<GetReportScheduleListResponse>> responses = new ArrayList<Future<GetReportScheduleListResponse>>();
for (GetReportScheduleListRequest request : requests) {
responses.add(client.getReportScheduleListAsync(request));
}
for (Future<GetReportScheduleListResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
GetReportScheduleListResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - GetReportScheduleListRequest requestSubmitFeedResponse submitFeedFromFile(SubmitFeedRequest request) throws MarketplaceWebServiceException
request - SubmitFeedRequest request without the contentMd5 field set.MarketplaceWebServiceExceptionFuture<SubmitFeedResponse> submitFeedFromFileAsync(SubmitFeedRequest request)
future pointer to SubmitFeedResponse
If response is ready, call to future.get()
will return SubmitFeedResponse.
If response is not ready, call to future.get() will block the
calling thread until response is returned.
Note, future.get() will throw wrapped runtime exception.
If service error has occured, MarketplaceWebServiceException can be extracted with
exception.getCause()
Usage example for parallel processing:
List<Future<SubmitFeedResponse>> responses = new ArrayList<Future<SubmitFeedResponse>>();
for (SubmitFeedRequest request : requests) {
responses.add(client.submitFeedFromFileAsync(request));
}
for (Future<SubmitFeedResponse> future : responses) {
while (!future.isDone()) {
Thread.yield();
}
try {
SubmitFeedResponse response = future.get();
// use response
} catch (Exception e) {
if (e instanceof MarketplaceWebServiceException) {
MarketplaceWebServiceException exception = MarketplaceWebServiceException.class.cast(e);
// handle MarketplaceWebServiceException
} else {
// handle other exceptions
}
}
}
request - SubmitFeedRequest requestCopyright © 2020. All rights reserved.