| 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 |
Amazonka.AppConfig.GetConfigurationProfile
Description
Retrieve 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' {
- retrievalRoleArn :: Maybe Text
- validators :: Maybe [Validator]
- locationUri :: Maybe Text
- applicationId :: Maybe Text
- name :: Maybe Text
- id :: Maybe Text
- description :: Maybe Text
- newConfigurationProfile :: ConfigurationProfile
- configurationProfile_retrievalRoleArn :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_validators :: Lens' ConfigurationProfile (Maybe [Validator])
- configurationProfile_locationUri :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_applicationId :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_name :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_id :: Lens' ConfigurationProfile (Maybe Text)
- configurationProfile_description :: Lens' ConfigurationProfile (Maybe Text)
Creating a Request
data GetConfigurationProfile Source #
See: newGetConfigurationProfile smart constructor.
Constructors
| GetConfigurationProfile' | |
Fields
| |
Instances
newGetConfigurationProfile Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetConfigurationProfile |
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:
$sel:applicationId:GetConfigurationProfile', getConfigurationProfile_applicationId - The ID of the application that includes the configuration profile you
want to get.
$sel:configurationProfileId:GetConfigurationProfile', getConfigurationProfile_configurationProfileId - The ID of the configuration profile 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 you want to get.
Destructuring the Response
data ConfigurationProfile Source #
See: newConfigurationProfile smart constructor.
Constructors
| ConfigurationProfile' | |
Fields
| |
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:retrievalRoleArn:ConfigurationProfile', configurationProfile_retrievalRoleArn - The ARN of an IAM role with permission to access the configuration at
the specified LocationUri.
$sel:validators:ConfigurationProfile', configurationProfile_validators - A list of methods for validating the configuration.
$sel:locationUri:ConfigurationProfile', configurationProfile_locationUri - The URI location of the configuration.
$sel:applicationId:ConfigurationProfile', configurationProfile_applicationId - The application ID.
$sel:name:ConfigurationProfile', configurationProfile_name - The name of the configuration profile.
$sel:id:ConfigurationProfile', configurationProfile_id - The configuration profile ID.
$sel:description:ConfigurationProfile', configurationProfile_description - The configuration profile description.
Response Lenses
configurationProfile_retrievalRoleArn :: Lens' ConfigurationProfile (Maybe Text) Source #
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
configurationProfile_validators :: Lens' ConfigurationProfile (Maybe [Validator]) Source #
A list of methods for validating the configuration.
configurationProfile_locationUri :: Lens' ConfigurationProfile (Maybe Text) Source #
The URI location of the configuration.
configurationProfile_applicationId :: Lens' ConfigurationProfile (Maybe Text) Source #
The application ID.
configurationProfile_name :: Lens' ConfigurationProfile (Maybe Text) Source #
The name of the configuration profile.
configurationProfile_id :: Lens' ConfigurationProfile (Maybe Text) Source #
The configuration profile ID.
configurationProfile_description :: Lens' ConfigurationProfile (Maybe Text) Source #
The configuration profile description.