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 Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
Synopsis
- data CreateFunctionDefinition = CreateFunctionDefinition' {}
- newCreateFunctionDefinition :: CreateFunctionDefinition
- createFunctionDefinition_amznClientToken :: Lens' CreateFunctionDefinition (Maybe Text)
- createFunctionDefinition_initialVersion :: Lens' CreateFunctionDefinition (Maybe FunctionDefinitionVersion)
- createFunctionDefinition_name :: Lens' CreateFunctionDefinition (Maybe Text)
- createFunctionDefinition_tags :: Lens' CreateFunctionDefinition (Maybe (HashMap Text Text))
- data CreateFunctionDefinitionResponse = CreateFunctionDefinitionResponse' {
- latestVersionArn :: Maybe Text
- arn :: Maybe Text
- name :: Maybe Text
- creationTimestamp :: Maybe Text
- id :: Maybe Text
- latestVersion :: Maybe Text
- lastUpdatedTimestamp :: Maybe Text
- httpStatus :: Int
- newCreateFunctionDefinitionResponse :: Int -> CreateFunctionDefinitionResponse
- createFunctionDefinitionResponse_latestVersionArn :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_arn :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_name :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_id :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_latestVersion :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- createFunctionDefinitionResponse_httpStatus :: Lens' CreateFunctionDefinitionResponse Int
Creating a Request
data CreateFunctionDefinition Source #
See: newCreateFunctionDefinition
smart constructor.
CreateFunctionDefinition' | |
|
Instances
newCreateFunctionDefinition :: CreateFunctionDefinition Source #
Create a value of CreateFunctionDefinition
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:CreateFunctionDefinition'
, createFunctionDefinition_amznClientToken
- A client token used to correlate requests and responses.
$sel:initialVersion:CreateFunctionDefinition'
, createFunctionDefinition_initialVersion
- Information about the initial version of the function definition.
$sel:name:CreateFunctionDefinition'
, createFunctionDefinition_name
- The name of the function definition.
$sel:tags:CreateFunctionDefinition'
, createFunctionDefinition_tags
- Tag(s) to add to the new resource.
Request Lenses
createFunctionDefinition_amznClientToken :: Lens' CreateFunctionDefinition (Maybe Text) Source #
A client token used to correlate requests and responses.
createFunctionDefinition_initialVersion :: Lens' CreateFunctionDefinition (Maybe FunctionDefinitionVersion) Source #
Information about the initial version of the function definition.
createFunctionDefinition_name :: Lens' CreateFunctionDefinition (Maybe Text) Source #
The name of the function definition.
createFunctionDefinition_tags :: Lens' CreateFunctionDefinition (Maybe (HashMap Text Text)) Source #
Tag(s) to add to the new resource.
Destructuring the Response
data CreateFunctionDefinitionResponse Source #
See: newCreateFunctionDefinitionResponse
smart constructor.
CreateFunctionDefinitionResponse' | |
|
Instances
newCreateFunctionDefinitionResponse Source #
Create a value of CreateFunctionDefinitionResponse
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:latestVersionArn:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_arn
- The ARN of the definition.
$sel:name:CreateFunctionDefinition'
, createFunctionDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:httpStatus:CreateFunctionDefinitionResponse'
, createFunctionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
createFunctionDefinitionResponse_latestVersionArn :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
createFunctionDefinitionResponse_arn :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
createFunctionDefinitionResponse_name :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The name of the definition.
createFunctionDefinitionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
createFunctionDefinitionResponse_id :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The ID of the definition.
createFunctionDefinitionResponse_latestVersion :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
createFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
createFunctionDefinitionResponse_httpStatus :: Lens' CreateFunctionDefinitionResponse Int Source #
The response's http status code.