libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ResourceGroups.PutGroupConfiguration

Description

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

Creating a Request

data PutGroupConfiguration Source #

See: newPutGroupConfiguration smart constructor.

Constructors

PutGroupConfiguration' 

Fields

  • group' :: Maybe Text

    The name or ARN of the resource group with the configuration that you want to update.

  • configuration :: Maybe [GroupConfigurationItem]

    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.

Instances

Instances details
Eq PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Read PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Generic PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfiguration :: Type -> Type #

NFData PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Methods

rnf :: PutGroupConfiguration -> () #

Hashable PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToJSON PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

AWSRequest PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type AWSResponse PutGroupConfiguration #

ToHeaders PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToPath PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToQuery PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfiguration = D1 ('MetaData "PutGroupConfiguration" "Amazonka.ResourceGroups.PutGroupConfiguration" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "PutGroupConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem]))))
type AWSResponse PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

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.

Constructors

PutGroupConfigurationResponse' 

Fields

Instances

Instances details
Eq PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Read PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Generic PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfigurationResponse :: Type -> Type #

NFData PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfigurationResponse = D1 ('MetaData "PutGroupConfigurationResponse" "Amazonka.ResourceGroups.PutGroupConfiguration" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "PutGroupConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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