get_opportunity_bulk_job_report_url
¶
get_opportunity_bulk_job_report_url(
catalog: CatalogIdentifier,
job_id: BulkJobId,
report_format: BulkFileFormat,
*,
config_overrides: Optional[PartnerCentralSellingClientConfig] = None,
report_type: Optional[BulkReportType] = None,
) -> GetOpportunityBulkJobReportUrlResponse
Gets the status of the failed-records report for a finished opportunity bulk job and, when the report is ready, a temporary URL to download it.
A report is available only after the job is COMPLETED or FAILED. The URL expires after 15 minutes, and the report expires after about 7 days.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog for the request. Valid values:
-
AWS: Production. -
Sandbox: Testing environments.
-
-
job_id(BulkJobId) –Specifies the identifier of the bulk job.
-
report_format(BulkFileFormat) –Specifies the format of the report. The only supported value is
CSV. -
report_type(Optional[BulkReportType], default:None) –Specifies which records the report covers. If you omit this field, the report covers the records that failed.
ALL_RECORDSisn't supported yet, and a request for it fails with aValidationException.
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.
-
ConflictException–This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
-
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/partner_central_selling.py
4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 | |