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 |
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
- data PutFunctionCodeSigningConfig = PutFunctionCodeSigningConfig' {}
- newPutFunctionCodeSigningConfig :: Text -> Text -> PutFunctionCodeSigningConfig
- putFunctionCodeSigningConfig_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfig Text
- putFunctionCodeSigningConfig_functionName :: Lens' PutFunctionCodeSigningConfig Text
- data PutFunctionCodeSigningConfigResponse = PutFunctionCodeSigningConfigResponse' {}
- newPutFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> PutFunctionCodeSigningConfigResponse
- putFunctionCodeSigningConfigResponse_httpStatus :: Lens' PutFunctionCodeSigningConfigResponse Int
- putFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' PutFunctionCodeSigningConfigResponse Text
- putFunctionCodeSigningConfigResponse_functionName :: Lens' PutFunctionCodeSigningConfigResponse Text
Creating a Request
data PutFunctionCodeSigningConfig Source #
See: newPutFunctionCodeSigningConfig
smart constructor.
PutFunctionCodeSigningConfig' | |
|
Instances
newPutFunctionCodeSigningConfig Source #
:: Text | |
-> Text | |
-> PutFunctionCodeSigningConfig |
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 #
See: newPutFunctionCodeSigningConfigResponse
smart constructor.
PutFunctionCodeSigningConfigResponse' | |
|
Instances
newPutFunctionCodeSigningConfigResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> PutFunctionCodeSigningConfigResponse |
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_httpStatus :: Lens' PutFunctionCodeSigningConfigResponse Int Source #
The response's http status code.
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.