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 |
Retrieves information about a configuration profile.
Synopsis
- data GetConfigurationProfile = GetConfigurationProfile' {}
- newGetConfigurationProfile :: Text -> Text -> GetConfigurationProfile
- getConfigurationProfile_applicationId :: Lens' GetConfigurationProfile Text
- getConfigurationProfile_configurationProfileId :: Lens' GetConfigurationProfile 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 GetConfigurationProfile Source #
See: newGetConfigurationProfile
smart constructor.
GetConfigurationProfile' | |
|
Instances
newGetConfigurationProfile Source #
Create a value of GetConfigurationProfile
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:
GetConfigurationProfile
, getConfigurationProfile_applicationId
- The ID of the application that includes the configuration profile you
want to get.
GetConfigurationProfile
, getConfigurationProfile_configurationProfileId
- The ID of the configuration profile that you want to get.
Request Lenses
getConfigurationProfile_applicationId :: Lens' GetConfigurationProfile Text Source #
The ID of the application that includes the configuration profile you want to get.
getConfigurationProfile_configurationProfileId :: Lens' GetConfigurationProfile Text Source #
The ID of the configuration profile that you want to get.
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.