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 |
Create a new configuration in the AppConfig configuration store.
Synopsis
- data CreateHostedConfigurationVersion = CreateHostedConfigurationVersion' {}
- newCreateHostedConfigurationVersion :: Text -> Text -> ByteString -> Text -> CreateHostedConfigurationVersion
- createHostedConfigurationVersion_latestVersionNumber :: Lens' CreateHostedConfigurationVersion (Maybe Int)
- createHostedConfigurationVersion_description :: Lens' CreateHostedConfigurationVersion (Maybe Text)
- createHostedConfigurationVersion_applicationId :: Lens' CreateHostedConfigurationVersion Text
- createHostedConfigurationVersion_configurationProfileId :: Lens' CreateHostedConfigurationVersion Text
- createHostedConfigurationVersion_content :: Lens' CreateHostedConfigurationVersion ByteString
- createHostedConfigurationVersion_contentType :: Lens' CreateHostedConfigurationVersion Text
- data HostedConfigurationVersion = HostedConfigurationVersion' {}
- newHostedConfigurationVersion :: HostedConfigurationVersion
- hostedConfigurationVersion_content :: Lens' HostedConfigurationVersion (Maybe ByteString)
- hostedConfigurationVersion_versionNumber :: Lens' HostedConfigurationVersion (Maybe Int)
- hostedConfigurationVersion_applicationId :: Lens' HostedConfigurationVersion (Maybe Text)
- hostedConfigurationVersion_description :: Lens' HostedConfigurationVersion (Maybe Text)
- hostedConfigurationVersion_configurationProfileId :: Lens' HostedConfigurationVersion (Maybe Text)
- hostedConfigurationVersion_contentType :: Lens' HostedConfigurationVersion (Maybe Text)
Creating a Request
data CreateHostedConfigurationVersion Source #
See: newCreateHostedConfigurationVersion
smart constructor.
CreateHostedConfigurationVersion' | |
|
Instances
newCreateHostedConfigurationVersion Source #
:: Text | |
-> Text |
|
-> ByteString | |
-> Text | |
-> CreateHostedConfigurationVersion |
Create a value of CreateHostedConfigurationVersion
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:latestVersionNumber:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_latestVersionNumber
- An optional locking token used to prevent race conditions from
overwriting configuration updates when creating a new version. To ensure
your data is not overwritten when creating multiple hosted configuration
versions in rapid succession, specify the version of the latest hosted
configuration version.
$sel:description:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_description
- A description of the configuration.
$sel:applicationId:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_applicationId
- The application ID.
$sel:configurationProfileId:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_configurationProfileId
- The configuration profile ID.
$sel:content:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_content
- The content of the configuration or the configuration data.
$sel:contentType:CreateHostedConfigurationVersion'
, createHostedConfigurationVersion_contentType
- A standard MIME type describing the format of the configuration content.
For more information, see
Content-Type.
Request Lenses
createHostedConfigurationVersion_latestVersionNumber :: Lens' CreateHostedConfigurationVersion (Maybe Int) Source #
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version of the latest hosted configuration version.
createHostedConfigurationVersion_description :: Lens' CreateHostedConfigurationVersion (Maybe Text) Source #
A description of the configuration.
createHostedConfigurationVersion_applicationId :: Lens' CreateHostedConfigurationVersion Text Source #
The application ID.
createHostedConfigurationVersion_configurationProfileId :: Lens' CreateHostedConfigurationVersion Text Source #
The configuration profile ID.
createHostedConfigurationVersion_content :: Lens' CreateHostedConfigurationVersion ByteString Source #
The content of the configuration or the configuration data.
createHostedConfigurationVersion_contentType :: Lens' CreateHostedConfigurationVersion Text Source #
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
Destructuring the Response
data HostedConfigurationVersion Source #
See: newHostedConfigurationVersion
smart constructor.
HostedConfigurationVersion' | |
|
Instances
newHostedConfigurationVersion :: HostedConfigurationVersion Source #
Create a value of HostedConfigurationVersion
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:content:HostedConfigurationVersion'
, hostedConfigurationVersion_content
- The content of the configuration or the configuration data.
$sel:versionNumber:HostedConfigurationVersion'
, hostedConfigurationVersion_versionNumber
- The configuration version.
$sel:applicationId:HostedConfigurationVersion'
, hostedConfigurationVersion_applicationId
- The application ID.
$sel:description:HostedConfigurationVersion'
, hostedConfigurationVersion_description
- A description of the configuration.
$sel:configurationProfileId:HostedConfigurationVersion'
, hostedConfigurationVersion_configurationProfileId
- The configuration profile ID.
$sel:contentType:HostedConfigurationVersion'
, hostedConfigurationVersion_contentType
- A standard MIME type describing the format of the configuration content.
For more information, see
Content-Type.
Response Lenses
hostedConfigurationVersion_content :: Lens' HostedConfigurationVersion (Maybe ByteString) Source #
The content of the configuration or the configuration data.
hostedConfigurationVersion_versionNumber :: Lens' HostedConfigurationVersion (Maybe Int) Source #
The configuration version.
hostedConfigurationVersion_applicationId :: Lens' HostedConfigurationVersion (Maybe Text) Source #
The application ID.
hostedConfigurationVersion_description :: Lens' HostedConfigurationVersion (Maybe Text) Source #
A description of the configuration.
hostedConfigurationVersion_configurationProfileId :: Lens' HostedConfigurationVersion (Maybe Text) Source #
The configuration profile ID.
hostedConfigurationVersion_contentType :: Lens' HostedConfigurationVersion (Maybe Text) Source #
A standard MIME type describing the format of the configuration content. For more information, see Content-Type.