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 version of a core definition that has already been defined. AWS Greengrass groups must each contain exactly one AWS Greengrass core.
- createCoreDefinitionVersion :: Text -> CreateCoreDefinitionVersion
- data CreateCoreDefinitionVersion
- ccdvAmznClientToken :: Lens' CreateCoreDefinitionVersion (Maybe Text)
- ccdvCores :: Lens' CreateCoreDefinitionVersion [Core]
- ccdvCoreDefinitionId :: Lens' CreateCoreDefinitionVersion Text
- createCoreDefinitionVersionResponse :: Int -> CreateCoreDefinitionVersionResponse
- data CreateCoreDefinitionVersionResponse
- ccdvrsARN :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text)
- ccdvrsCreationTimestamp :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text)
- ccdvrsVersion :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text)
- ccdvrsId :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text)
- ccdvrsResponseStatus :: Lens' CreateCoreDefinitionVersionResponse Int
Creating a Request
createCoreDefinitionVersion Source #
Creates a value of CreateCoreDefinitionVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccdvAmznClientToken
- A client token used to correlate requests and responses.ccdvCores
- A list of cores in the core definition version.ccdvCoreDefinitionId
- The ID of the core definition.
data CreateCoreDefinitionVersion Source #
See: createCoreDefinitionVersion
smart constructor.
Request Lenses
ccdvAmznClientToken :: Lens' CreateCoreDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
ccdvCores :: Lens' CreateCoreDefinitionVersion [Core] Source #
A list of cores in the core definition version.
ccdvCoreDefinitionId :: Lens' CreateCoreDefinitionVersion Text Source #
The ID of the core definition.
Destructuring the Response
createCoreDefinitionVersionResponse Source #
Creates a value of CreateCoreDefinitionVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccdvrsARN
- The ARN of the version.ccdvrsCreationTimestamp
- The time, in milliseconds since the epoch, when the version was created.ccdvrsVersion
- The unique ID of the version.ccdvrsId
- The ID of the version.ccdvrsResponseStatus
- -- | The response status code.
data CreateCoreDefinitionVersionResponse Source #
See: createCoreDefinitionVersionResponse
smart constructor.
Response Lenses
ccdvrsCreationTimestamp :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
ccdvrsVersion :: Lens' CreateCoreDefinitionVersionResponse (Maybe Text) Source #
The unique ID of the version.
ccdvrsResponseStatus :: Lens' CreateCoreDefinitionVersionResponse Int Source #
- - | The response status code.