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 |
Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.
Synopsis
- data GetFunctionDefinitionVersion = GetFunctionDefinitionVersion' {}
- newGetFunctionDefinitionVersion :: Text -> Text -> GetFunctionDefinitionVersion
- getFunctionDefinitionVersion_nextToken :: Lens' GetFunctionDefinitionVersion (Maybe Text)
- getFunctionDefinitionVersion_functionDefinitionId :: Lens' GetFunctionDefinitionVersion Text
- getFunctionDefinitionVersion_functionDefinitionVersionId :: Lens' GetFunctionDefinitionVersion Text
- data GetFunctionDefinitionVersionResponse = GetFunctionDefinitionVersionResponse' {
- definition :: Maybe FunctionDefinitionVersion
- arn :: Maybe Text
- nextToken :: Maybe Text
- creationTimestamp :: Maybe Text
- version :: Maybe Text
- id :: Maybe Text
- httpStatus :: Int
- newGetFunctionDefinitionVersionResponse :: Int -> GetFunctionDefinitionVersionResponse
- getFunctionDefinitionVersionResponse_definition :: Lens' GetFunctionDefinitionVersionResponse (Maybe FunctionDefinitionVersion)
- getFunctionDefinitionVersionResponse_arn :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text)
- getFunctionDefinitionVersionResponse_nextToken :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text)
- getFunctionDefinitionVersionResponse_creationTimestamp :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text)
- getFunctionDefinitionVersionResponse_version :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text)
- getFunctionDefinitionVersionResponse_id :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text)
- getFunctionDefinitionVersionResponse_httpStatus :: Lens' GetFunctionDefinitionVersionResponse Int
Creating a Request
data GetFunctionDefinitionVersion Source #
See: newGetFunctionDefinitionVersion
smart constructor.
GetFunctionDefinitionVersion' | |
|
Instances
newGetFunctionDefinitionVersion Source #
:: Text | |
-> Text |
|
-> GetFunctionDefinitionVersion |
Create a value of GetFunctionDefinitionVersion
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:nextToken:GetFunctionDefinitionVersion'
, getFunctionDefinitionVersion_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:functionDefinitionId:GetFunctionDefinitionVersion'
, getFunctionDefinitionVersion_functionDefinitionId
- The ID of the Lambda function definition.
$sel:functionDefinitionVersionId:GetFunctionDefinitionVersion'
, getFunctionDefinitionVersion_functionDefinitionVersionId
- The ID of the function definition version. This value maps to the
''Version'' property of the corresponding ''VersionInformation''
object, which is returned by ''ListFunctionDefinitionVersions''
requests. If the version is the last one that was associated with a
function definition, the value also maps to the ''LatestVersion''
property of the corresponding ''DefinitionInformation'' object.
Request Lenses
getFunctionDefinitionVersion_nextToken :: Lens' GetFunctionDefinitionVersion (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getFunctionDefinitionVersion_functionDefinitionId :: Lens' GetFunctionDefinitionVersion Text Source #
The ID of the Lambda function definition.
getFunctionDefinitionVersion_functionDefinitionVersionId :: Lens' GetFunctionDefinitionVersion Text Source #
The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.
Destructuring the Response
data GetFunctionDefinitionVersionResponse Source #
See: newGetFunctionDefinitionVersionResponse
smart constructor.
GetFunctionDefinitionVersionResponse' | |
|
Instances
newGetFunctionDefinitionVersionResponse Source #
Create a value of GetFunctionDefinitionVersionResponse
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:definition:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_definition
- Information on the definition.
$sel:arn:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_arn
- The ARN of the function definition version.
$sel:nextToken:GetFunctionDefinitionVersion'
, getFunctionDefinitionVersionResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:creationTimestamp:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the function definition
version was created.
$sel:version:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_version
- The version of the function definition version.
$sel:id:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_id
- The ID of the function definition version.
$sel:httpStatus:GetFunctionDefinitionVersionResponse'
, getFunctionDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getFunctionDefinitionVersionResponse_definition :: Lens' GetFunctionDefinitionVersionResponse (Maybe FunctionDefinitionVersion) Source #
Information on the definition.
getFunctionDefinitionVersionResponse_arn :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #
The ARN of the function definition version.
getFunctionDefinitionVersionResponse_nextToken :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
getFunctionDefinitionVersionResponse_creationTimestamp :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the function definition version was created.
getFunctionDefinitionVersionResponse_version :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #
The version of the function definition version.
getFunctionDefinitionVersionResponse_id :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #
The ID of the function definition version.
getFunctionDefinitionVersionResponse_httpStatus :: Lens' GetFunctionDefinitionVersionResponse Int Source #
The response's http status code.