| 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 |
Amazonka.Lambda.GetFunctionCodeSigningConfig
Description
Returns the code signing configuration for the specified function.
Synopsis
- data GetFunctionCodeSigningConfig = GetFunctionCodeSigningConfig' {
- functionName :: Text
- newGetFunctionCodeSigningConfig :: Text -> GetFunctionCodeSigningConfig
- getFunctionCodeSigningConfig_functionName :: Lens' GetFunctionCodeSigningConfig Text
- data GetFunctionCodeSigningConfigResponse = GetFunctionCodeSigningConfigResponse' {}
- newGetFunctionCodeSigningConfigResponse :: Int -> Text -> Text -> GetFunctionCodeSigningConfigResponse
- getFunctionCodeSigningConfigResponse_httpStatus :: Lens' GetFunctionCodeSigningConfigResponse Int
- getFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' GetFunctionCodeSigningConfigResponse Text
- getFunctionCodeSigningConfigResponse_functionName :: Lens' GetFunctionCodeSigningConfigResponse Text
Creating a Request
data GetFunctionCodeSigningConfig Source #
See: newGetFunctionCodeSigningConfig smart constructor.
Constructors
| GetFunctionCodeSigningConfig' | |
Fields
| |
Instances
newGetFunctionCodeSigningConfig Source #
Create a value of GetFunctionCodeSigningConfig 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:functionName:GetFunctionCodeSigningConfig', getFunctionCodeSigningConfig_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
getFunctionCodeSigningConfig_functionName :: Lens' GetFunctionCodeSigningConfig 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 GetFunctionCodeSigningConfigResponse Source #
See: newGetFunctionCodeSigningConfigResponse smart constructor.
Constructors
| GetFunctionCodeSigningConfigResponse' | |
Fields
| |
Instances
newGetFunctionCodeSigningConfigResponse Source #
Arguments
| :: Int | |
| -> Text |
|
| -> Text | |
| -> GetFunctionCodeSigningConfigResponse |
Create a value of GetFunctionCodeSigningConfigResponse 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:GetFunctionCodeSigningConfigResponse', getFunctionCodeSigningConfigResponse_httpStatus - The response's http status code.
$sel:codeSigningConfigArn:GetFunctionCodeSigningConfigResponse', getFunctionCodeSigningConfigResponse_codeSigningConfigArn - The The Amazon Resource Name (ARN) of the code signing configuration.
$sel:functionName:GetFunctionCodeSigningConfig', getFunctionCodeSigningConfigResponse_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
getFunctionCodeSigningConfigResponse_httpStatus :: Lens' GetFunctionCodeSigningConfigResponse Int Source #
The response's http status code.
getFunctionCodeSigningConfigResponse_codeSigningConfigArn :: Lens' GetFunctionCodeSigningConfigResponse Text Source #
The The Amazon Resource Name (ARN) of the code signing configuration.
getFunctionCodeSigningConfigResponse_functionName :: Lens' GetFunctionCodeSigningConfigResponse 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.