start_customer_account_bulk_job
¶
start_customer_account_bulk_job(
catalog: CatalogIdentifier,
client_token: ClientToken,
file_uri: FileUri,
*,
config_overrides: Optional[PartnerCentralSellingClientConfig] = None,
) -> StartCustomerAccountBulkJobResponse
Use StartCustomerAccountBulkJob to create many customer accounts from a single file. The job starts processing as soon as it is created.
Use GetCustomerAccountBulkJob to track progress, ListCustomerAccountBulkJobResults to review the outcome of each record, and GetCustomerAccountBulkJobReportUrl to download a report when the job finishes.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog for the request. Valid values:
-
AWS: Production. -
Sandbox: Testing environments.
-
-
client_token(ClientToken) –Specifies a unique, case-sensitive identifier that you provide to make the request idempotent. If you retry a request with the same token, the operation returns the original job instead of starting another one.
-
file_uri(FileUri) –Specifies the location of the file that contains the customer accounts to create.
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.
-
ServiceQuotaExceededException–This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
-
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
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 | |