list_opportunity_bulk_job_results
async
¶
list_opportunity_bulk_job_results(
catalog: CatalogIdentifier,
job_id: BulkJobId,
*,
config_overrides: Optional[AsyncPartnerCentralSellingClientConfig] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[str] = None,
status: Optional[BulkRecordStatus] = None,
) -> ListOpportunityBulkJobResultsResponse
Lists the outcome of each record in an opportunity bulk job. You can filter the results by record status.
Results are paginated. Use NextToken to retrieve additional results.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog for the request. Valid values:
-
AWS: Production. -
Sandbox: Testing environments.
-
-
max_results(Optional[PageSize], default:None) –Specifies the maximum number of results to return in a single call.
Default: 20
-
next_token(Optional[str], default:None) –A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.
-
job_id(BulkJobId) –Specifies the identifier of the bulk job.
-
status(Optional[BulkRecordStatus], default:None) –Filters the results to records with this status.
Raises:
-
AccessDeniedException–This error occurs when you don't have permission to perform the requested action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
-
InternalServerException–This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
-
ResourceNotFoundException–This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
-
ThrottlingException–This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
-
ValidationException–The input fails to satisfy the constraints specified by the service or business validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_selling/_services/async_partner_central_selling.py
4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 | |