amazonka-resourcegroups-2.0: Amazon Resource Groups SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • 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.

  • group' :: Maybe Text

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

Instances

Instances details
ToJSON PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.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

AWSRequest PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type AWSResponse PutGroupConfiguration #

Generic PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfiguration :: Type -> Type #

Read PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

NFData PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Methods

rnf :: PutGroupConfiguration -> () #

Eq PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Hashable PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type AWSResponse 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" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "PutGroupConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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.

$sel:group':PutGroupConfiguration', putGroupConfiguration_group - The name or ARN of the resource group with the configuration that you want to update.

Request Lenses

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.

putGroupConfiguration_group :: Lens' PutGroupConfiguration (Maybe Text) Source #

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

Destructuring the Response

data PutGroupConfigurationResponse Source #

See: newPutGroupConfigurationResponse smart constructor.

Constructors

PutGroupConfigurationResponse' 

Fields

Instances

Instances details
Generic PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfigurationResponse :: Type -> Type #

Read PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

NFData PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Eq 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" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" '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