Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- createFunctionDefinition :: CreateFunctionDefinition
- data CreateFunctionDefinition
- cfdAmznClientToken :: Lens' CreateFunctionDefinition (Maybe Text)
- cfdInitialVersion :: Lens' CreateFunctionDefinition (Maybe FunctionDefinitionVersion)
- cfdName :: Lens' CreateFunctionDefinition (Maybe Text)
- createFunctionDefinitionResponse :: Int -> CreateFunctionDefinitionResponse
- data CreateFunctionDefinitionResponse
- cfdrsLatestVersionARN :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsARN :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsName :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsCreationTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsId :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsLatestVersion :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsLastUpdatedTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text)
- cfdrsResponseStatus :: Lens' CreateFunctionDefinitionResponse Int
Creating a Request
createFunctionDefinition :: CreateFunctionDefinition Source #
Creates a value of CreateFunctionDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfdAmznClientToken
- A client token used to correlate requests and responses.cfdInitialVersion
- Information about the initial version of the function definition.cfdName
- The name of the function definition.
data CreateFunctionDefinition Source #
See: createFunctionDefinition
smart constructor.
Request Lenses
cfdAmznClientToken :: Lens' CreateFunctionDefinition (Maybe Text) Source #
A client token used to correlate requests and responses.
cfdInitialVersion :: Lens' CreateFunctionDefinition (Maybe FunctionDefinitionVersion) Source #
Information about the initial version of the function definition.
Destructuring the Response
createFunctionDefinitionResponse Source #
Creates a value of CreateFunctionDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfdrsLatestVersionARN
- The ARN of the latest version of the definition.cfdrsARN
- The ARN of the definition.cfdrsName
- The name of the definition.cfdrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.cfdrsId
- The ID of the definition.cfdrsLatestVersion
- The latest version of the definition.cfdrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.cfdrsResponseStatus
- -- | The response status code.
data CreateFunctionDefinitionResponse Source #
See: createFunctionDefinitionResponse
smart constructor.
Response Lenses
cfdrsLatestVersionARN :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
cfdrsName :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The name of the definition.
cfdrsCreationTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
cfdrsLatestVersion :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The latest version of the definition.
cfdrsLastUpdatedTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
cfdrsResponseStatus :: Lens' CreateFunctionDefinitionResponse Int Source #
- - | The response status code.