libZSservicesZSamazonka-lambdaZSamazonka-lambda
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.Lambda.PutFunctionCodeSigningConfig

Description

Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

Synopsis

Creating a Request

data PutFunctionCodeSigningConfig Source #

See: newPutFunctionCodeSigningConfig smart constructor.

Constructors

PutFunctionCodeSigningConfig' 

Fields

  • codeSigningConfigArn :: Text

    The The Amazon Resource Name (ARN) of the code signing configuration.

  • functionName :: Text

    The name of the Lambda function.

    Name formats

    • Function name - MyFunction.
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
    • Partial ARN - 123456789012:function:MyFunction.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Instances

Instances details
Eq PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Read PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Show PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Generic PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Associated Types

type Rep PutFunctionCodeSigningConfig :: Type -> Type #

NFData PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Hashable PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

ToJSON PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

AWSRequest PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

ToHeaders PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

ToPath PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

ToQuery PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

type Rep PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

type Rep PutFunctionCodeSigningConfig = D1 ('MetaData "PutFunctionCodeSigningConfig" "Amazonka.Lambda.PutFunctionCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "PutFunctionCodeSigningConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeSigningConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse PutFunctionCodeSigningConfig Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

newPutFunctionCodeSigningConfig Source #

Create a value of PutFunctionCodeSigningConfig 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:codeSigningConfigArn:PutFunctionCodeSigningConfig', putFunctionCodeSigningConfig_codeSigningConfigArn - The The Amazon Resource Name (ARN) of the code signing configuration.

$sel:functionName:PutFunctionCodeSigningConfig', putFunctionCodeSigningConfig_functionName - The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Request Lenses

putFunctionCodeSigningConfig_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfig Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

putFunctionCodeSigningConfig_functionName :: Lens' PutFunctionCodeSigningConfig Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Destructuring the Response

data PutFunctionCodeSigningConfigResponse Source #

Constructors

PutFunctionCodeSigningConfigResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • codeSigningConfigArn :: Text

    The The Amazon Resource Name (ARN) of the code signing configuration.

  • functionName :: Text

    The name of the Lambda function.

    Name formats

    • Function name - MyFunction.
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
    • Partial ARN - 123456789012:function:MyFunction.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Instances

Instances details
Eq PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Read PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Show PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

Generic PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

NFData PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

type Rep PutFunctionCodeSigningConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.PutFunctionCodeSigningConfig

type Rep PutFunctionCodeSigningConfigResponse = D1 ('MetaData "PutFunctionCodeSigningConfigResponse" "Amazonka.Lambda.PutFunctionCodeSigningConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "PutFunctionCodeSigningConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "codeSigningConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutFunctionCodeSigningConfigResponse Source #

Create a value of PutFunctionCodeSigningConfigResponse 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:httpStatus:PutFunctionCodeSigningConfigResponse', putFunctionCodeSigningConfigResponse_httpStatus - The response's http status code.

$sel:codeSigningConfigArn:PutFunctionCodeSigningConfig', putFunctionCodeSigningConfigResponse_codeSigningConfigArn - The The Amazon Resource Name (ARN) of the code signing configuration.

$sel:functionName:PutFunctionCodeSigningConfig', putFunctionCodeSigningConfigResponse_functionName - The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Response Lenses

putFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfigResponse Text Source #

The The Amazon Resource Name (ARN) of the code signing configuration.

putFunctionCodeSigningConfigResponse_functionName :: Lens' PutFunctionCodeSigningConfigResponse Text Source #

The name of the Lambda function.

Name formats

  • Function name - MyFunction.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
  • Partial ARN - 123456789012:function:MyFunction.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.