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 |
Create a new version of your custom platform.
Synopsis
- createPlatformVersion :: Text -> Text -> S3Location -> CreatePlatformVersion
- data CreatePlatformVersion
- cpvOptionSettings :: Lens' CreatePlatformVersion [ConfigurationOptionSetting]
- cpvEnvironmentName :: Lens' CreatePlatformVersion (Maybe Text)
- cpvPlatformName :: Lens' CreatePlatformVersion Text
- cpvPlatformVersion :: Lens' CreatePlatformVersion Text
- cpvPlatformDefinitionBundle :: Lens' CreatePlatformVersion S3Location
- createPlatformVersionResponse :: Int -> CreatePlatformVersionResponse
- data CreatePlatformVersionResponse
- cpvrsBuilder :: Lens' CreatePlatformVersionResponse (Maybe Builder)
- cpvrsPlatformSummary :: Lens' CreatePlatformVersionResponse (Maybe PlatformSummary)
- cpvrsResponseStatus :: Lens' CreatePlatformVersionResponse Int
Creating a Request
createPlatformVersion Source #
:: Text | |
-> Text | |
-> S3Location | |
-> CreatePlatformVersion |
Creates a value of CreatePlatformVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpvOptionSettings
- The configuration option settings to apply to the builder environment.cpvEnvironmentName
- The name of the builder environment.cpvPlatformName
- The name of your custom platform.cpvPlatformVersion
- The number, such as 1.0.2, for the new platform version.cpvPlatformDefinitionBundle
- The location of the platform definition archive in Amazon S3.
data CreatePlatformVersion Source #
Request to create a new platform version.
See: createPlatformVersion
smart constructor.
Instances
Request Lenses
cpvOptionSettings :: Lens' CreatePlatformVersion [ConfigurationOptionSetting] Source #
The configuration option settings to apply to the builder environment.
cpvEnvironmentName :: Lens' CreatePlatformVersion (Maybe Text) Source #
The name of the builder environment.
cpvPlatformName :: Lens' CreatePlatformVersion Text Source #
The name of your custom platform.
cpvPlatformVersion :: Lens' CreatePlatformVersion Text Source #
The number, such as 1.0.2, for the new platform version.
cpvPlatformDefinitionBundle :: Lens' CreatePlatformVersion S3Location Source #
The location of the platform definition archive in Amazon S3.
Destructuring the Response
createPlatformVersionResponse Source #
Creates a value of CreatePlatformVersionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpvrsBuilder
- The builder used to create the custom platform.cpvrsPlatformSummary
- Detailed information about the new version of the custom platform.cpvrsResponseStatus
- -- | The response status code.
data CreatePlatformVersionResponse Source #
See: createPlatformVersionResponse
smart constructor.
Instances
Response Lenses
cpvrsBuilder :: Lens' CreatePlatformVersionResponse (Maybe Builder) Source #
The builder used to create the custom platform.
cpvrsPlatformSummary :: Lens' CreatePlatformVersionResponse (Maybe PlatformSummary) Source #
Detailed information about the new version of the custom platform.
cpvrsResponseStatus :: Lens' CreatePlatformVersionResponse Int Source #
- - | The response status code.