ReportsApi - axios parameter creator

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        cancelReport: (
            reportId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        cancelReportSchedule: (
            reportScheduleId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        createReport: (
            body: CreateReportSpecification,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        createReportSchedule: (
            body: CreateReportScheduleSpecification,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getReport: (
            reportId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getReportDocument: (
            reportDocumentId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getReports: (
            reportTypes?: string[],
            processingStatuses?: GetReportsProcessingStatusesEnum[],
            marketplaceIds?: string[],
            pageSize?: number,
            createdSince?: string,
            createdUntil?: string,
            nextToken?: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getReportSchedule: (
            reportScheduleId: string,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        getReportSchedules: (
            reportTypes: string[],
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
    }

    • cancelReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>

      Cancels the report that you specify. Only reports with processingStatus=IN_QUEUE can be cancelled. Cancelled reports are returned in subsequent calls to the getReport and getReports operations. 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • cancelReportSchedule: (
          reportScheduleId: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Cancels the report schedule 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • createReport: (
          body: CreateReportSpecification,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Creates a report. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • createReportSchedule: (
          body: CreateReportScheduleSpecification,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Creates a report schedule. If a report schedule with the same report type and marketplace IDs already exists, it will be cancelled and replaced with this one. 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • getReport: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>

      Returns report details (including the reportDocumentId, if available) for the report 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • getReportDocument: (
          reportDocumentId: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Returns the information required for retrieving a report document's contents. Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • getReports: (
          reportTypes?: string[],
          processingStatuses?: GetReportsProcessingStatusesEnum[],
          marketplaceIds?: string[],
          pageSize?: number,
          createdSince?: string,
          createdUntil?: string,
          nextToken?: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Returns report details for the reports 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • getReportSchedule: (
          reportScheduleId: string,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>

      Returns report schedule details for the report schedule 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

    • getReportSchedules: (reportTypes: string[], options?: RawAxiosRequestConfig) => Promise<RequestArgs>

      Returns report schedule details 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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.