| 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 |
Amazonka.Discovery.AssociateConfigurationItemsToApplication
Description
Associates one or more configuration items with an application.
Synopsis
- data AssociateConfigurationItemsToApplication = AssociateConfigurationItemsToApplication' {}
- newAssociateConfigurationItemsToApplication :: Text -> AssociateConfigurationItemsToApplication
- associateConfigurationItemsToApplication_applicationConfigurationId :: Lens' AssociateConfigurationItemsToApplication Text
- associateConfigurationItemsToApplication_configurationIds :: Lens' AssociateConfigurationItemsToApplication [Text]
- data AssociateConfigurationItemsToApplicationResponse = AssociateConfigurationItemsToApplicationResponse' {
- httpStatus :: Int
- newAssociateConfigurationItemsToApplicationResponse :: Int -> AssociateConfigurationItemsToApplicationResponse
- associateConfigurationItemsToApplicationResponse_httpStatus :: Lens' AssociateConfigurationItemsToApplicationResponse Int
Creating a Request
data AssociateConfigurationItemsToApplication Source #
See: newAssociateConfigurationItemsToApplication smart constructor.
Constructors
| AssociateConfigurationItemsToApplication' | |
Fields
| |
Instances
newAssociateConfigurationItemsToApplication Source #
Arguments
| :: Text |
|
| -> AssociateConfigurationItemsToApplication |
Create a value of AssociateConfigurationItemsToApplication 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:applicationConfigurationId:AssociateConfigurationItemsToApplication', associateConfigurationItemsToApplication_applicationConfigurationId - The configuration ID of an application with which items are to be
associated.
$sel:configurationIds:AssociateConfigurationItemsToApplication', associateConfigurationItemsToApplication_configurationIds - The ID of each configuration item to be associated with an application.
Request Lenses
associateConfigurationItemsToApplication_applicationConfigurationId :: Lens' AssociateConfigurationItemsToApplication Text Source #
The configuration ID of an application with which items are to be associated.
associateConfigurationItemsToApplication_configurationIds :: Lens' AssociateConfigurationItemsToApplication [Text] Source #
The ID of each configuration item to be associated with an application.
Destructuring the Response
data AssociateConfigurationItemsToApplicationResponse Source #
See: newAssociateConfigurationItemsToApplicationResponse smart constructor.
Constructors
| AssociateConfigurationItemsToApplicationResponse' | |
Fields
| |
Instances
newAssociateConfigurationItemsToApplicationResponse Source #
Arguments
| :: Int |
|
| -> AssociateConfigurationItemsToApplicationResponse |
Create a value of AssociateConfigurationItemsToApplicationResponse 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:httpStatus:AssociateConfigurationItemsToApplicationResponse', associateConfigurationItemsToApplicationResponse_httpStatus - The response's http status code.
Response Lenses
associateConfigurationItemsToApplicationResponse_httpStatus :: Lens' AssociateConfigurationItemsToApplicationResponse Int Source #
The response's http status code.