start_signing_job
¶
start_signing_job(
source: Source,
destination: Destination,
profile_name: ProfileName,
client_request_token: ClientRequestToken,
*,
config_overrides: Optional[signerClientConfig] = None,
profile_owner: Optional[AccountId] = None,
) -> StartSigningJobResponse
Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation. Note the following requirements:
-
You must create an Amazon S3 source bucket. For more information, see Creating a Bucket in the Amazon S3 Getting Started Guide.
-
Your S3 source bucket must be version enabled.
-
You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.
-
You specify the name of the source and destination buckets when calling the
StartSigningJoboperation. -
You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
-
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.
For a Java example that shows how to use this action, see StartSigningJob.
Parameters:
-
source(Source) –The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
-
destination(Destination) –The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
-
profile_name(ProfileName) –The name of the signing profile.
-
client_request_token(ClientRequestToken) –String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
-
profile_owner(Optional[AccountId], default:None) –The AWS account ID of the signing profile owner.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServiceErrorException–An internal error occurred.
-
ResourceNotFoundException–A specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
Instead of this error,
TooManyRequestsExceptionshould be used. -
TooManyRequestsException–The allowed number of job-signing requests has been exceeded.
This error supersedes the error
ThrottlingException. -
ValidationException–You signing certificate could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_signer/_services/signer.py
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 | |