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 |
Attaches a service configuration to the specified group. This occurs asynchronously, and can take time to complete. You can use GetGroupConfiguration to check the status of the update.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:PutGroupConfiguration
Synopsis
- data PutGroupConfiguration = PutGroupConfiguration' {}
- newPutGroupConfiguration :: PutGroupConfiguration
- putGroupConfiguration_group :: Lens' PutGroupConfiguration (Maybe Text)
- putGroupConfiguration_configuration :: Lens' PutGroupConfiguration (Maybe [GroupConfigurationItem])
- data PutGroupConfigurationResponse = PutGroupConfigurationResponse' {
- httpStatus :: Int
- newPutGroupConfigurationResponse :: Int -> PutGroupConfigurationResponse
- putGroupConfigurationResponse_httpStatus :: Lens' PutGroupConfigurationResponse Int
Creating a Request
data PutGroupConfiguration Source #
See: newPutGroupConfiguration
smart constructor.
PutGroupConfiguration' | |
|
Instances
newPutGroupConfiguration :: PutGroupConfiguration Source #
Create a value of PutGroupConfiguration
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:group':PutGroupConfiguration'
, putGroupConfiguration_group
- The name or ARN of the resource group with the configuration that you
want to update.
$sel:configuration:PutGroupConfiguration'
, putGroupConfiguration_configuration
- The new configuration to associate with the specified group. A
configuration associates the resource group with an AWS service and
specifies how the service can interact with the resources in the group.
A configuration is an array of GroupConfigurationItem elements.
For information about the syntax of a service configuration, see Service configurations for resource groups.
A resource group can contain either a Configuration
or a
ResourceQuery
, but not both.
Request Lenses
putGroupConfiguration_group :: Lens' PutGroupConfiguration (Maybe Text) Source #
The name or ARN of the resource group with the configuration that you want to update.
putGroupConfiguration_configuration :: Lens' PutGroupConfiguration (Maybe [GroupConfigurationItem]) Source #
The new configuration to associate with the specified group. A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.
For information about the syntax of a service configuration, see Service configurations for resource groups.
A resource group can contain either a Configuration
or a
ResourceQuery
, but not both.
Destructuring the Response
data PutGroupConfigurationResponse Source #
See: newPutGroupConfigurationResponse
smart constructor.
PutGroupConfigurationResponse' | |
|
Instances
newPutGroupConfigurationResponse Source #
Create a value of PutGroupConfigurationResponse
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:PutGroupConfigurationResponse'
, putGroupConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
putGroupConfigurationResponse_httpStatus :: Lens' PutGroupConfigurationResponse Int Source #
The response's http status code.