Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
GetFunctionCodeSigningConfig' | |
|
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:
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.
GetFunctionCodeSigningConfigResponse' | |
|
Instances
newGetFunctionCodeSigningConfigResponse Source #
:: 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.
GetFunctionCodeSigningConfigResponse
, getFunctionCodeSigningConfigResponse_codeSigningConfigArn
- The The Amazon Resource Name (ARN) of the code signing configuration.
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.