| 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 |
Amazonka.Greengrass.CreateFunctionDefinitionVersion
Description
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_id :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text)
- createFunctionDefinitionVersionResponse_version :: 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.
Constructors
| CreateFunctionDefinitionVersion' | |
Fields
| |
Instances
newCreateFunctionDefinitionVersion Source #
Arguments
| :: Text | |
| -> CreateFunctionDefinitionVersion |
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.
CreateFunctionDefinitionVersion, createFunctionDefinitionVersion_defaultConfig - The default configuration that applies to all Lambda functions in this
function definition version. Individual Lambda functions can override
these settings.
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.
Constructors
| CreateFunctionDefinitionVersionResponse' | |
Fields
| |
Instances
newCreateFunctionDefinitionVersionResponse Source #
Arguments
| :: Int | |
| -> CreateFunctionDefinitionVersionResponse |
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:
CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_arn - The ARN of the version.
CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the version was created.
CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_id - The ID of the parent definition that the version is associated with.
CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_version - The ID of the version.
$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_id :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createFunctionDefinitionVersionResponse_version :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createFunctionDefinitionVersionResponse_httpStatus :: Lens' CreateFunctionDefinitionVersionResponse Int Source #
The response's http status code.