libZSservicesZSamazonka-signerZSamazonka-signer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Signer.StartSigningJob

Description

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

Creating a Request

data StartSigningJob Source #

See: newStartSigningJob smart constructor.

Constructors

StartSigningJob' 

Fields

  • profileOwner :: Maybe Text

    The AWS account ID of the signing profile owner.

  • 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.

  • profileName :: Text

    The name of the signing profile.

  • clientRequestToken :: Text

    String that identifies the signing request. All calls after the first that use this token return the same response as the first call.

Instances

Instances details
Eq StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Read StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Show StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Generic StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Associated Types

type Rep StartSigningJob :: Type -> Type #

NFData StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Methods

rnf :: StartSigningJob -> () #

Hashable StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

ToJSON StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

AWSRequest StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Associated Types

type AWSResponse StartSigningJob #

ToHeaders StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

ToPath StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

ToQuery StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

type Rep StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

type Rep StartSigningJob = D1 ('MetaData "StartSigningJob" "Amazonka.Signer.StartSigningJob" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "StartSigningJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "profileOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source)) :*: (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Destination) :*: (S1 ('MetaSel ('Just "profileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse StartSigningJob Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

newStartSigningJob Source #

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.

Constructors

StartSigningJobResponse' 

Fields

Instances

Instances details
Eq StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Read StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Show StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Generic StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Associated Types

type Rep StartSigningJobResponse :: Type -> Type #

NFData StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

Methods

rnf :: StartSigningJobResponse -> () #

type Rep StartSigningJobResponse Source # 
Instance details

Defined in Amazonka.Signer.StartSigningJob

type Rep StartSigningJobResponse = D1 ('MetaData "StartSigningJobResponse" "Amazonka.Signer.StartSigningJob" "libZSservicesZSamazonka-signerZSamazonka-signer" 'False) (C1 ('MetaCons "StartSigningJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_jobOwner :: Lens' StartSigningJobResponse (Maybe Text) Source #

The AWS account ID of the signing job owner.