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 |
Creates a version of a Lambda function definition that has already been defined.
Synopsis
- data CreateFunctionDefinitionVersion = CreateFunctionDefinitionVersion' {}
- newCreateFunctionDefinitionVersion :: Text -> CreateFunctionDefinitionVersion
- createFunctionDefinitionVersion_amznClientToken :: Lens' CreateFunctionDefinitionVersion (Maybe Text)
- createFunctionDefinitionVersion_defaultConfig :: Lens' CreateFunctionDefinitionVersion (Maybe FunctionDefaultConfig)
- createFunctionDefinitionVersion_functions :: Lens' CreateFunctionDefinitionVersion (Maybe [Function])
- createFunctionDefinitionVersion_functionDefinitionId :: Lens' CreateFunctionDefinitionVersion Text
- data CreateFunctionDefinitionVersionResponse = CreateFunctionDefinitionVersionResponse' {}
- newCreateFunctionDefinitionVersionResponse :: Int -> CreateFunctionDefinitionVersionResponse
- createFunctionDefinitionVersionResponse_arn :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text)
- createFunctionDefinitionVersionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text)
- createFunctionDefinitionVersionResponse_version :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text)
- createFunctionDefinitionVersionResponse_id :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text)
- createFunctionDefinitionVersionResponse_httpStatus :: Lens' CreateFunctionDefinitionVersionResponse Int
Creating a Request
data CreateFunctionDefinitionVersion Source #
Information needed to create a function definition version.
See: newCreateFunctionDefinitionVersion
smart constructor.
CreateFunctionDefinitionVersion' | |
|
Instances
newCreateFunctionDefinitionVersion Source #
Create a value of CreateFunctionDefinitionVersion
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:amznClientToken:CreateFunctionDefinitionVersion'
, createFunctionDefinitionVersion_amznClientToken
- A client token used to correlate requests and responses.
$sel:defaultConfig:CreateFunctionDefinitionVersion'
, createFunctionDefinitionVersion_defaultConfig
- The default configuration that applies to all Lambda functions in this
function definition version. Individual Lambda functions can override
these settings.
$sel:functions:CreateFunctionDefinitionVersion'
, createFunctionDefinitionVersion_functions
- A list of Lambda functions in this function definition version.
$sel:functionDefinitionId:CreateFunctionDefinitionVersion'
, createFunctionDefinitionVersion_functionDefinitionId
- The ID of the Lambda function definition.
Request Lenses
createFunctionDefinitionVersion_amznClientToken :: Lens' CreateFunctionDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createFunctionDefinitionVersion_defaultConfig :: Lens' CreateFunctionDefinitionVersion (Maybe FunctionDefaultConfig) Source #
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
createFunctionDefinitionVersion_functions :: Lens' CreateFunctionDefinitionVersion (Maybe [Function]) Source #
A list of Lambda functions in this function definition version.
createFunctionDefinitionVersion_functionDefinitionId :: Lens' CreateFunctionDefinitionVersion Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data CreateFunctionDefinitionVersionResponse Source #
See: newCreateFunctionDefinitionVersionResponse
smart constructor.
CreateFunctionDefinitionVersionResponse' | |
|
Instances
newCreateFunctionDefinitionVersionResponse Source #
Create a value of CreateFunctionDefinitionVersionResponse
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:arn:CreateFunctionDefinitionVersionResponse'
, createFunctionDefinitionVersionResponse_arn
- The ARN of the version.
$sel:creationTimestamp:CreateFunctionDefinitionVersionResponse'
, createFunctionDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:CreateFunctionDefinitionVersionResponse'
, createFunctionDefinitionVersionResponse_version
- The ID of the version.
$sel:id:CreateFunctionDefinitionVersionResponse'
, createFunctionDefinitionVersionResponse_id
- The ID of the parent definition that the version is associated with.
$sel:httpStatus:CreateFunctionDefinitionVersionResponse'
, createFunctionDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createFunctionDefinitionVersionResponse_arn :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The ARN of the version.
createFunctionDefinitionVersionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createFunctionDefinitionVersionResponse_version :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createFunctionDefinitionVersionResponse_id :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createFunctionDefinitionVersionResponse_httpStatus :: Lens' CreateFunctionDefinitionVersionResponse Int Source #
The response's http status code.