Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Initiates a signing job to be performed on the code provided. Signing
jobs are viewable by the ListSigningJobs
operation for two years after
they are performed. Note the following requirements:
- You must create an Amazon S3 source bucket. For more information, see Create a Bucket in the Amazon S3 Getting Started Guide.
- Your S3 source bucket must be version enabled.
- You must create an S3 destination bucket. Code signing uses your S3 destination bucket to write your signed code.
- You specify the name of the source and destination buckets when
calling the
StartSigningJob
operation. - You must also specify a request token that identifies your request to code signing.
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 http://docs.aws.amazon.com/acm/latest/userguide/
Synopsis
- data StartSigningJob = StartSigningJob' {}
- newStartSigningJob :: Source -> Destination -> Text -> Text -> StartSigningJob
- startSigningJob_profileOwner :: Lens' StartSigningJob (Maybe Text)
- startSigningJob_source :: Lens' StartSigningJob Source
- startSigningJob_destination :: Lens' StartSigningJob Destination
- startSigningJob_profileName :: Lens' StartSigningJob Text
- startSigningJob_clientRequestToken :: Lens' StartSigningJob Text
- data StartSigningJobResponse = StartSigningJobResponse' {}
- newStartSigningJobResponse :: Int -> StartSigningJobResponse
- startSigningJobResponse_jobId :: Lens' StartSigningJobResponse (Maybe Text)
- startSigningJobResponse_jobOwner :: Lens' StartSigningJobResponse (Maybe Text)
- startSigningJobResponse_httpStatus :: Lens' StartSigningJobResponse Int
Creating a Request
data StartSigningJob Source #
See: newStartSigningJob
smart constructor.
StartSigningJob' | |
|
Instances
:: Source | |
-> Destination | |
-> Text | |
-> Text | |
-> StartSigningJob |
Create a value of StartSigningJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:profileOwner:StartSigningJob'
, startSigningJob_profileOwner
- The AWS account ID of the signing profile owner.
$sel:source:StartSigningJob'
, startSigningJob_source
- The S3 bucket that contains the object to sign or a BLOB that contains
your raw code.
$sel:destination:StartSigningJob'
, startSigningJob_destination
- The S3 bucket in which to save your signed object. The destination
contains the name of your bucket and an optional prefix.
$sel:profileName:StartSigningJob'
, startSigningJob_profileName
- The name of the signing profile.
$sel:clientRequestToken:StartSigningJob'
, startSigningJob_clientRequestToken
- String that identifies the signing request. All calls after the first
that use this token return the same response as the first call.
Request Lenses
startSigningJob_profileOwner :: Lens' StartSigningJob (Maybe Text) Source #
The AWS account ID of the signing profile owner.
startSigningJob_source :: Lens' StartSigningJob Source Source #
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
startSigningJob_destination :: Lens' StartSigningJob Destination Source #
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
startSigningJob_profileName :: Lens' StartSigningJob Text Source #
The name of the signing profile.
startSigningJob_clientRequestToken :: Lens' StartSigningJob Text Source #
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
Destructuring the Response
data StartSigningJobResponse Source #
See: newStartSigningJobResponse
smart constructor.
Instances
newStartSigningJobResponse Source #
Create a value of StartSigningJobResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobId:StartSigningJobResponse'
, startSigningJobResponse_jobId
- The ID of your signing job.
$sel:jobOwner:StartSigningJobResponse'
, startSigningJobResponse_jobOwner
- The AWS account ID of the signing job owner.
$sel:httpStatus:StartSigningJobResponse'
, startSigningJobResponse_httpStatus
- The response's http status code.
Response Lenses
startSigningJobResponse_jobId :: Lens' StartSigningJobResponse (Maybe Text) Source #
The ID of your signing job.
startSigningJobResponse_jobOwner :: Lens' StartSigningJobResponse (Maybe Text) Source #
The AWS account ID of the signing job owner.
startSigningJobResponse_httpStatus :: Lens' StartSigningJobResponse Int Source #
The response's http status code.