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 |
Updates a configuration profile.
Synopsis
- data UpdateConfigurationProfile = UpdateConfigurationProfile' {}
- newUpdateConfigurationProfile :: Text -> Text -> UpdateConfigurationProfile
- updateConfigurationProfile_description :: Lens' UpdateConfigurationProfile (Maybe Text)
- updateConfigurationProfile_name :: Lens' UpdateConfigurationProfile (Maybe Text)
- updateConfigurationProfile_retrievalRoleArn :: Lens' UpdateConfigurationProfile (Maybe Text)
- updateConfigurationProfile_validators :: Lens' UpdateConfigurationProfile (Maybe [Validator])
- updateConfigurationProfile_applicationId :: Lens' UpdateConfigurationProfile Text
- updateConfigurationProfile_configurationProfileId :: Lens' UpdateConfigurationProfile Text
- data ConfigurationProfile = ConfigurationProfile' {
- applicationId :: Maybe Text
- description :: Maybe Text
- id :: Maybe Text
- locationUri :: Maybe Text
- name :: Maybe Text
- retrievalRoleArn :: Maybe Text
- type' :: Maybe Text
- validators :: Maybe [Validator]
- newConfigurationProfile :: ConfigurationProfile
- configurationProfile_applicationId :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_description :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_id :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_locationUri :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_name :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_retrievalRoleArn :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_type :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_validators :: Lens' ConfigurationProfile (Maybe [Validator])
Creating a Request
data UpdateConfigurationProfile Source #
See: newUpdateConfigurationProfile
smart constructor.
UpdateConfigurationProfile' | |
|
Instances
newUpdateConfigurationProfile Source #
Create a value of UpdateConfigurationProfile
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:
UpdateConfigurationProfile
, updateConfigurationProfile_description
- A description of the configuration profile.
UpdateConfigurationProfile
, updateConfigurationProfile_name
- The name of the configuration profile.
UpdateConfigurationProfile
, updateConfigurationProfile_retrievalRoleArn
- The ARN of an IAM role with permission to access the configuration at
the specified LocationUri
.
UpdateConfigurationProfile
, updateConfigurationProfile_validators
- A list of methods for validating the configuration.
UpdateConfigurationProfile
, updateConfigurationProfile_applicationId
- The application ID.
UpdateConfigurationProfile
, updateConfigurationProfile_configurationProfileId
- The ID of the configuration profile.
Request Lenses
updateConfigurationProfile_description :: Lens' UpdateConfigurationProfile (Maybe Text) Source #
A description of the configuration profile.
updateConfigurationProfile_name :: Lens' UpdateConfigurationProfile (Maybe Text) Source #
The name of the configuration profile.
updateConfigurationProfile_retrievalRoleArn :: Lens' UpdateConfigurationProfile (Maybe Text) Source #
The ARN of an IAM role with permission to access the configuration at
the specified LocationUri
.
updateConfigurationProfile_validators :: Lens' UpdateConfigurationProfile (Maybe [Validator]) Source #
A list of methods for validating the configuration.
updateConfigurationProfile_applicationId :: Lens' UpdateConfigurationProfile Text Source #
The application ID.
updateConfigurationProfile_configurationProfileId :: Lens' UpdateConfigurationProfile Text Source #
The ID of the configuration profile.
Destructuring the Response
data ConfigurationProfile Source #
See: newConfigurationProfile
smart constructor.
ConfigurationProfile' | |
|
Instances
newConfigurationProfile :: ConfigurationProfile Source #
Create a value of ConfigurationProfile
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:applicationId:ConfigurationProfile'
, configurationProfile_applicationId
- The application ID.
$sel:description:ConfigurationProfile'
, configurationProfile_description
- The configuration profile description.
$sel:id:ConfigurationProfile'
, configurationProfile_id
- The configuration profile ID.
$sel:locationUri:ConfigurationProfile'
, configurationProfile_locationUri
- The URI location of the configuration.
$sel:name:ConfigurationProfile'
, configurationProfile_name
- The name of the configuration profile.
$sel:retrievalRoleArn:ConfigurationProfile'
, configurationProfile_retrievalRoleArn
- The ARN of an IAM role with permission to access the configuration at
the specified LocationUri
.
ConfigurationProfile
, configurationProfile_type
- The type of configurations contained in the profile. AppConfig supports
feature flags
and freeform
configurations. We recommend you create
feature flag configurations to enable or disable new features and
freeform configurations to distribute configurations to an application.
When calling this API, enter one of the following values for Type
:
AWS.AppConfig.FeatureFlags
AWS.Freeform
$sel:validators:ConfigurationProfile'
, configurationProfile_validators
- A list of methods for validating the configuration.
Response Lenses
configurationProfile_applicationId :: Lens' ConfigurationProfile (Maybe Text) Source #
The application ID.
configurationProfile_description :: Lens' ConfigurationProfile (Maybe Text) Source #
The configuration profile description.
configurationProfile_id :: Lens' ConfigurationProfile (Maybe Text) Source #
The configuration profile ID.
configurationProfile_locationUri :: Lens' ConfigurationProfile (Maybe Text) Source #
The URI location of the configuration.
configurationProfile_name :: Lens' ConfigurationProfile (Maybe Text) Source #
The name of the configuration profile.
configurationProfile_retrievalRoleArn :: Lens' ConfigurationProfile (Maybe Text) Source #
The ARN of an IAM role with permission to access the configuration at
the specified LocationUri
.
configurationProfile_type :: Lens' ConfigurationProfile (Maybe Text) Source #
The type of configurations contained in the profile. AppConfig supports
feature flags
and freeform
configurations. We recommend you create
feature flag configurations to enable or disable new features and
freeform configurations to distribute configurations to an application.
When calling this API, enter one of the following values for Type
:
AWS.AppConfig.FeatureFlags
AWS.Freeform
configurationProfile_validators :: Lens' ConfigurationProfile (Maybe [Validator]) Source #
A list of methods for validating the configuration.