libZSservicesZSamazonka-appconfigZSamazonka-appconfig
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppConfig.CreateHostedConfigurationVersion

Description

Create a new configuration in the AppConfig configuration store.

Synopsis

Creating a Request

data CreateHostedConfigurationVersion Source #

See: newCreateHostedConfigurationVersion smart constructor.

Constructors

CreateHostedConfigurationVersion' 

Fields

Instances

Instances details
Eq CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

Show CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

Generic CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

Associated Types

type Rep CreateHostedConfigurationVersion :: Type -> Type #

NFData CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

Hashable CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

AWSRequest CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

ToBody CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

ToHeaders CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

ToPath CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

ToQuery CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

type Rep CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

type Rep CreateHostedConfigurationVersion = D1 ('MetaData "CreateHostedConfigurationVersion" "Amazonka.AppConfig.CreateHostedConfigurationVersion" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "CreateHostedConfigurationVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latestVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "configurationProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive ByteString)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateHostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.CreateHostedConfigurationVersion

newCreateHostedConfigurationVersion Source #

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_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.

Constructors

HostedConfigurationVersion' 

Fields

Instances

Instances details
Eq HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

Show HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

Generic HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

Associated Types

type Rep HostedConfigurationVersion :: Type -> Type #

NFData HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

Hashable HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

type Rep HostedConfigurationVersion Source # 
Instance details

Defined in Amazonka.AppConfig.Types.HostedConfigurationVersion

type Rep HostedConfigurationVersion = D1 ('MetaData "HostedConfigurationVersion" "Amazonka.AppConfig.Types.HostedConfigurationVersion" "libZSservicesZSamazonka-appconfigZSamazonka-appconfig" 'False) (C1 ('MetaCons "HostedConfigurationVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive ByteString))) :*: (S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "configurationProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_contentType :: Lens' HostedConfigurationVersion (Maybe Text) Source #

A standard MIME type describing the format of the configuration content. For more information, see Content-Type.