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

Description

Derived from API version 2017-11-27 of the AWS service descriptions, licensed under Apache 2.0.

AWS Resource Groups

AWS Resource Groups lets you organize AWS resources such as Amazon EC2 instances, Amazon Relational Database Service databases, and Amazon S3 buckets into groups using criteria that you define as tags. A resource group is a collection of resources that match the resource types specified in a query, and share one or more tags or portions of tags. You can create a group of resources based on their roles in your cloud infrastructure, lifecycle stages, regions, application layers, or virtually any criteria. Resource Groups enable you to automate management tasks, such as those in AWS Systems Manager Automation documents, on tag-related resources in AWS Systems Manager. Groups of tagged resources also let you quickly view a custom console in AWS Systems Manager that shows AWS Config compliance and other monitoring data about member resources.

To create a resource group, build a resource query, and specify tags that identify the criteria that members of the group have in common. Tags are key-value pairs.

For more information about Resource Groups, see the AWS Resource Groups User Guide.

AWS Resource Groups uses a REST-compliant API that you can use to perform the following types of operations.

  • Create, Read, Update, and Delete (CRUD) operations on resource groups and resource query entities
  • Applying, editing, and removing tags from resource groups
  • Resolving resource group member ARNs so they can be returned as search results
  • Getting data about resources that are members of a group
  • Searching AWS resources based on a resource query
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-11-27 of the Amazon Resource Groups SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by ResourceGroups.

BadRequestException

_BadRequestException :: AsError a => Fold a ServiceError Source #

The request includes one or more parameters that violate validation rules.

ForbiddenException

_ForbiddenException :: AsError a => Fold a ServiceError Source #

The caller isn't authorized to make the request. Check permissions.

InternalServerErrorException

_InternalServerErrorException :: AsError a => Fold a ServiceError Source #

An internal error occurred while processing the request. Try again later.

MethodNotAllowedException

_MethodNotAllowedException :: AsError a => Fold a ServiceError Source #

The request uses an HTTP method that isn't allowed for the specified resource.

NotFoundException

_NotFoundException :: AsError a => Fold a ServiceError Source #

One or more of the specified resources don't exist.

TooManyRequestsException

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

You've exceeded throttling limits by making too many requests in a period of time.

UnauthorizedException

_UnauthorizedException :: AsError a => Fold a ServiceError Source #

The request was rejected because it doesn't have valid credentials for the target resource.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

CreateGroup

data CreateGroup Source #

See: newCreateGroup smart constructor.

Instances

Instances details
ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

ToHeaders CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Methods

toHeaders :: CreateGroup -> [Header] #

ToPath CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

ToQuery CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type AWSResponse CreateGroup #

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

Read CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Methods

rnf :: CreateGroup -> () #

Eq CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type AWSResponse CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type Rep CreateGroup = D1 ('MetaData "CreateGroup" "Amazonka.ResourceGroups.CreateGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "CreateGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceQuery)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateGroup Source #

Create a value of CreateGroup 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:

CreateGroup, createGroup_configuration - 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 details about the syntax of service configurations, see Service configurations for resource groups.

A resource group can contain either a Configuration or a ResourceQuery, but not both.

CreateGroup, createGroup_description - The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.

CreateGroup, createGroup_resourceQuery - The resource query that determines which AWS resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups.

A resource group can contain either a ResourceQuery or a Configuration, but not both.

CreateGroup, createGroup_tags - The tags to add to the group. A tag is key-value pair string.

CreateGroup, createGroup_name - The name of the group, which is the identifier of the group in other operations. You can't change the name of a resource group after you create it. A resource group name can consist of letters, numbers, hyphens, periods, and underscores. The name cannot start with AWS or aws; these are reserved. A resource group name must be unique within each AWS Region in your AWS account.

data CreateGroupResponse Source #

See: newCreateGroupResponse smart constructor.

Instances

Instances details
Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.ResourceGroups.CreateGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "CreateGroupResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "groupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupConfiguration))) :*: (S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceQuery)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateGroupResponse Source #

Create a value of CreateGroupResponse 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':CreateGroupResponse', createGroupResponse_group - The description of the resource group.

$sel:groupConfiguration:CreateGroupResponse', createGroupResponse_groupConfiguration - The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for resource groups.

CreateGroup, createGroupResponse_resourceQuery - The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.

CreateGroup, createGroupResponse_tags - The tags associated with the group.

$sel:httpStatus:CreateGroupResponse', createGroupResponse_httpStatus - The response's http status code.

DeleteGroup

data DeleteGroup Source #

See: newDeleteGroup smart constructor.

Constructors

DeleteGroup' (Maybe Text) (Maybe Text) 

Instances

Instances details
ToJSON DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

ToHeaders DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

ToQuery DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type AWSResponse DeleteGroup #

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.ResourceGroups.DeleteGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "DeleteGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDeleteGroup :: DeleteGroup Source #

Create a value of DeleteGroup 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:

DeleteGroup, deleteGroup_group - The name or the ARN of the resource group to delete.

DeleteGroup, deleteGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

data DeleteGroupResponse Source #

See: newDeleteGroupResponse smart constructor.

Instances

Instances details
Generic DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: Type -> Type #

Read DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

NFData DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

Eq DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroupResponse = D1 ('MetaData "DeleteGroupResponse" "Amazonka.ResourceGroups.DeleteGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "DeleteGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteGroupResponse Source #

Create a value of DeleteGroupResponse 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:

DeleteGroup, deleteGroupResponse_group - A full description of the deleted resource group.

$sel:httpStatus:DeleteGroupResponse', deleteGroupResponse_httpStatus - The response's http status code.

GetGroup

data GetGroup Source #

See: newGetGroup smart constructor.

Constructors

GetGroup' (Maybe Text) (Maybe Text) 

Instances

Instances details
ToJSON GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

ToHeaders GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

toHeaders :: GetGroup -> [Header] #

ToPath GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

ToQuery GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

AWSRequest GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type AWSResponse GetGroup #

Generic GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type Rep GetGroup :: Type -> Type #

Methods

from :: GetGroup -> Rep GetGroup x #

to :: Rep GetGroup x -> GetGroup #

Read GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

NFData GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroup -> () #

Eq GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Hashable GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

hashWithSalt :: Int -> GetGroup -> Int #

hash :: GetGroup -> Int #

type AWSResponse GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroup = D1 ('MetaData "GetGroup" "Amazonka.ResourceGroups.GetGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetGroup :: GetGroup Source #

Create a value of GetGroup 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:

GetGroup, getGroup_group - The name or the ARN of the resource group to retrieve.

GetGroup, getGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

data GetGroupResponse Source #

See: newGetGroupResponse smart constructor.

Instances

Instances details
Generic GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type Rep GetGroupResponse :: Type -> Type #

Read GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

NFData GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroupResponse -> () #

Eq GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroupResponse = D1 ('MetaData "GetGroupResponse" "Amazonka.ResourceGroups.GetGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGroupResponse Source #

Create a value of GetGroupResponse 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:

GetGroup, getGroupResponse_group - A full description of the resource group.

$sel:httpStatus:GetGroupResponse', getGroupResponse_httpStatus - The response's http status code.

GetGroupConfiguration

data GetGroupConfiguration Source #

See: newGetGroupConfiguration smart constructor.

Instances

Instances details
ToJSON GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

ToHeaders GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

ToPath GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

ToQuery GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

AWSRequest GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type AWSResponse GetGroupConfiguration #

Generic GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type Rep GetGroupConfiguration :: Type -> Type #

Read GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Show GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

NFData GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Methods

rnf :: GetGroupConfiguration -> () #

Eq GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Hashable GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

type AWSResponse GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

type Rep GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

type Rep GetGroupConfiguration = D1 ('MetaData "GetGroupConfiguration" "Amazonka.ResourceGroups.GetGroupConfiguration" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroupConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetGroupConfiguration :: GetGroupConfiguration Source #

Create a value of GetGroupConfiguration 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':GetGroupConfiguration', getGroupConfiguration_group - The name or the ARN of the resource group.

data GetGroupConfigurationResponse Source #

See: newGetGroupConfigurationResponse smart constructor.

Instances

Instances details
Generic GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type Rep GetGroupConfigurationResponse :: Type -> Type #

Read GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Show GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

NFData GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Eq GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

type Rep GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

type Rep GetGroupConfigurationResponse = D1 ('MetaData "GetGroupConfigurationResponse" "Amazonka.ResourceGroups.GetGroupConfiguration" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroupConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGroupConfigurationResponse Source #

Create a value of GetGroupConfigurationResponse 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:groupConfiguration:GetGroupConfigurationResponse', getGroupConfigurationResponse_groupConfiguration - The service configuration associated with the specified group. For details about the service configuration syntax, see Service configurations for resource groups.

$sel:httpStatus:GetGroupConfigurationResponse', getGroupConfigurationResponse_httpStatus - The response's http status code.

GetGroupQuery

data GetGroupQuery Source #

See: newGetGroupQuery smart constructor.

Constructors

GetGroupQuery' (Maybe Text) (Maybe Text) 

Instances

Instances details
ToJSON GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToHeaders GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToPath GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToQuery GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

AWSRequest GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type AWSResponse GetGroupQuery #

Generic GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQuery :: Type -> Type #

Read GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

NFData GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQuery -> () #

Eq GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Hashable GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type AWSResponse GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQuery = D1 ('MetaData "GetGroupQuery" "Amazonka.ResourceGroups.GetGroupQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetGroupQuery :: GetGroupQuery Source #

Create a value of GetGroupQuery 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':GetGroupQuery', getGroupQuery_group - The name or the ARN of the resource group to query.

GetGroupQuery, getGroupQuery_groupName - Don't use this parameter. Use Group instead.

data GetGroupQueryResponse Source #

See: newGetGroupQueryResponse smart constructor.

Instances

Instances details
Generic GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQueryResponse :: Type -> Type #

Read GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

NFData GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQueryResponse -> () #

Eq GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQueryResponse = D1 ('MetaData "GetGroupQueryResponse" "Amazonka.ResourceGroups.GetGroupQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetGroupQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupQuery)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetGroupQueryResponse Source #

Create a value of GetGroupQueryResponse 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:groupQuery:GetGroupQueryResponse', getGroupQueryResponse_groupQuery - The resource query associated with the specified group. For more information about resource queries, see Create a tag-based group in Resource Groups.

$sel:httpStatus:GetGroupQueryResponse', getGroupQueryResponse_httpStatus - The response's http status code.

GetTags

data GetTags Source #

See: newGetTags smart constructor.

Constructors

GetTags' Text 

Instances

Instances details
ToHeaders GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

toHeaders :: GetTags -> [Header] #

ToPath GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

toPath :: GetTags -> ByteString #

ToQuery GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

AWSRequest GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Associated Types

type AWSResponse GetTags #

Generic GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Associated Types

type Rep GetTags :: Type -> Type #

Methods

from :: GetTags -> Rep GetTags x #

to :: Rep GetTags x -> GetTags #

Read GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Show GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

NFData GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

rnf :: GetTags -> () #

Eq GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

(==) :: GetTags -> GetTags -> Bool #

(/=) :: GetTags -> GetTags -> Bool #

Hashable GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

hashWithSalt :: Int -> GetTags -> Int #

hash :: GetTags -> Int #

type AWSResponse GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTags = D1 ('MetaData "GetTags" "Amazonka.ResourceGroups.GetTags" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetTags Source #

Arguments

:: Text

GetTags

-> GetTags 

Create a value of GetTags 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:

GetTags, getTags_arn - The ARN of the resource group whose tags you want to retrieve.

data GetTagsResponse Source #

See: newGetTagsResponse smart constructor.

Instances

Instances details
Generic GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Associated Types

type Rep GetTagsResponse :: Type -> Type #

Read GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Show GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

NFData GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

rnf :: GetTagsResponse -> () #

Eq GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTagsResponse = D1 ('MetaData "GetTagsResponse" "Amazonka.ResourceGroups.GetTags" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GetTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTagsResponse Source #

Create a value of GetTagsResponse 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:

GetTags, getTagsResponse_arn - The ARN of the tagged resource group.

$sel:tags:GetTagsResponse', getTagsResponse_tags - The tags associated with the specified resource group.

$sel:httpStatus:GetTagsResponse', getTagsResponse_httpStatus - The response's http status code.

GroupResources

data GroupResources Source #

See: newGroupResources smart constructor.

Instances

Instances details
ToJSON GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

ToHeaders GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

ToPath GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

ToQuery GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

AWSRequest GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type AWSResponse GroupResources #

Generic GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type Rep GroupResources :: Type -> Type #

Read GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Show GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

NFData GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Methods

rnf :: GroupResources -> () #

Eq GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Hashable GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type AWSResponse GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResources = D1 ('MetaData "GroupResources" "Amazonka.ResourceGroups.GroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newGroupResources Source #

Create a value of GroupResources 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':GroupResources', groupResources_group - The name or the ARN of the resource group to add resources to.

$sel:resourceArns:GroupResources', groupResources_resourceArns - The list of ARNs for resources to be added to the group.

data GroupResourcesResponse Source #

See: newGroupResourcesResponse smart constructor.

Instances

Instances details
Generic GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type Rep GroupResourcesResponse :: Type -> Type #

Read GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Show GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

NFData GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Methods

rnf :: GroupResourcesResponse -> () #

Eq GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResourcesResponse = D1 ('MetaData "GroupResourcesResponse" "Amazonka.ResourceGroups.GroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedResource])) :*: S1 ('MetaSel ('Just "pending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PendingResource]))) :*: (S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGroupResourcesResponse Source #

Create a value of GroupResourcesResponse 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:failed:GroupResourcesResponse', groupResourcesResponse_failed - A list of ARNs of any resources that failed to be added to the group by this operation.

$sel:pending:GroupResourcesResponse', groupResourcesResponse_pending - A list of ARNs of any resources that are still in the process of being added to the group by this operation. These pending additions continue asynchronously. You can check the status of pending additions by using the ListGroupResources operation, and checking the Resources array in the response and the Status field of each object in that array.

$sel:succeeded:GroupResourcesResponse', groupResourcesResponse_succeeded - A list of ARNs of resources that were successfully added to the group by this operation.

$sel:httpStatus:GroupResourcesResponse', groupResourcesResponse_httpStatus - The response's http status code.

ListGroupResources (Paginated)

data ListGroupResources Source #

See: newListGroupResources smart constructor.

Instances

Instances details
ToJSON ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

ToHeaders ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

ToPath ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

ToQuery ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

AWSPager ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

AWSRequest ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Associated Types

type AWSResponse ListGroupResources #

Generic ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResources :: Type -> Type #

Read ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Show ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

NFData ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Methods

rnf :: ListGroupResources -> () #

Eq ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Hashable ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type AWSResponse ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type Rep ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type Rep ListGroupResources = D1 ('MetaData "ListGroupResources" "Amazonka.ResourceGroups.ListGroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ListGroupResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceFilter])) :*: S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListGroupResources :: ListGroupResources Source #

Create a value of ListGroupResources 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:filters:ListGroupResources', listGroupResources_filters - Filters, formatted as ResourceFilter objects, that you want to apply to a ListGroupResources operation. Filters the results to include only those of the specified resource types.

  • resource-type - Filter resources by their type. Specify up to five resource types in the format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.

When you specify a resource-type filter for ListGroupResources, AWS Resource Groups validates your filter resource types against the types that are defined in the query associated with the group. For example, if a group contains only S3 buckets because its query specifies only that resource type, but your resource-type filter includes EC2 instances, AWS Resource Groups does not filter for EC2 instances. In this case, a ListGroupResources request returns a BadRequestException error with a message similar to the following:

The resource types specified as filters in the request are not valid.

The error includes a list of resource types that failed the validation because they are not part of the query associated with the group. This validation doesn't occur when the group query specifies AWS::AllSupported, because a group based on such a query can contain any of the allowed resource types for the query type (tag-based or AWS CloudFormation stack-based queries).

$sel:group':ListGroupResources', listGroupResources_group - The name or the ARN of the resource group

ListGroupResources, listGroupResources_groupName - /__Deprecated - don't use this parameter. Use the Group request field instead.__/

$sel:maxResults:ListGroupResources', listGroupResources_maxResults - The total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

ListGroupResources, listGroupResources_nextToken - The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value provided by a previous call's NextToken response to indicate where the output should continue from.

data ListGroupResourcesResponse Source #

See: newListGroupResourcesResponse smart constructor.

Instances

Instances details
Generic ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResourcesResponse :: Type -> Type #

Read ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Show ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

NFData ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Eq ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type Rep ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type Rep ListGroupResourcesResponse = D1 ('MetaData "ListGroupResourcesResponse" "Amazonka.ResourceGroups.ListGroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ListGroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryError]))) :*: (S1 ('MetaSel ('Just "resourceIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceIdentifier])) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListGroupResourcesItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListGroupResourcesResponse Source #

Create a value of ListGroupResourcesResponse 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:

ListGroupResources, listGroupResourcesResponse_nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

$sel:queryErrors:ListGroupResourcesResponse', listGroupResourcesResponse_queryErrors - A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

$sel:resourceIdentifiers:ListGroupResourcesResponse', listGroupResourcesResponse_resourceIdentifiers - __/Deprecated - don't use this parameter. Use the Resources response field instead./__

$sel:resources:ListGroupResourcesResponse', listGroupResourcesResponse_resources - An array of resources from which you can determine each resource's identity, type, and group membership status.

$sel:httpStatus:ListGroupResourcesResponse', listGroupResourcesResponse_httpStatus - The response's http status code.

ListGroups (Paginated)

data ListGroups Source #

See: newListGroups smart constructor.

Instances

Instances details
ToJSON ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

ToHeaders ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Methods

toHeaders :: ListGroups -> [Header] #

ToPath ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

ToQuery ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

AWSPager ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

AWSRequest ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Associated Types

type AWSResponse ListGroups #

Generic ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

Read ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Show ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

NFData ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Methods

rnf :: ListGroups -> () #

Eq ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Hashable ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type AWSResponse ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroups = D1 ('MetaData "ListGroups" "Amazonka.ResourceGroups.ListGroups" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ListGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupFilter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListGroups :: ListGroups Source #

Create a value of ListGroups 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:filters:ListGroups', listGroups_filters - Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.

  • resource-type - Filter the results to include only those of the specified resource types. Specify up to five resource types in the format AWS::ServiceCode::ResourceType . For example, AWS::EC2::Instance, or AWS::S3::Bucket.
  • configuration-type - Filter the results to include only those groups that have the specified configuration types attached. The current supported values are:

    • AWS:EC2::CapacityReservationPool
    • AWS:EC2::HostManagement

$sel:maxResults:ListGroups', listGroups_maxResults - The total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

ListGroups, listGroups_nextToken - The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value provided by a previous call's NextToken response to indicate where the output should continue from.

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Instances

Instances details
Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

Read ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroupsResponse = D1 ('MetaData "ListGroupsResponse" "Amazonka.ResourceGroups.ListGroups" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ListGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groupIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupIdentifier])) :*: S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListGroupsResponse Source #

Create a value of ListGroupsResponse 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:groupIdentifiers:ListGroupsResponse', listGroupsResponse_groupIdentifiers - A list of GroupIdentifier objects. Each identifier is an object that contains both the Name and the GroupArn.

$sel:groups:ListGroupsResponse', listGroupsResponse_groups - /__Deprecated - don't use this field. Use the GroupIdentifiers response field instead.__/

ListGroups, listGroupsResponse_nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

$sel:httpStatus:ListGroupsResponse', listGroupsResponse_httpStatus - The response's http status code.

PutGroupConfiguration

data PutGroupConfiguration Source #

See: newPutGroupConfiguration smart constructor.

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.

data PutGroupConfigurationResponse Source #

See: newPutGroupConfigurationResponse smart constructor.

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.

SearchResources (Paginated)

data SearchResources Source #

See: newSearchResources smart constructor.

Instances

Instances details
ToJSON SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

ToHeaders SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

ToPath SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

ToQuery SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

AWSPager SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

AWSRequest SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Associated Types

type AWSResponse SearchResources #

Generic SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Associated Types

type Rep SearchResources :: Type -> Type #

Read SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Show SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

NFData SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Methods

rnf :: SearchResources -> () #

Eq SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Hashable SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type AWSResponse SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResources = D1 ('MetaData "SearchResources" "Amazonka.ResourceGroups.SearchResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "SearchResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery))))

newSearchResources Source #

Create a value of SearchResources 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:maxResults:SearchResources', searchResources_maxResults - The total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

SearchResources, searchResources_nextToken - The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value provided by a previous call's NextToken response to indicate where the output should continue from.

SearchResources, searchResources_resourceQuery - The search query, using the same formats that are supported for resource group definition. For more information, see CreateGroup.

data SearchResourcesResponse Source #

See: newSearchResourcesResponse smart constructor.

Instances

Instances details
Generic SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Associated Types

type Rep SearchResourcesResponse :: Type -> Type #

Read SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Show SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

NFData SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Methods

rnf :: SearchResourcesResponse -> () #

Eq SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResourcesResponse = D1 ('MetaData "SearchResourcesResponse" "Amazonka.ResourceGroups.SearchResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "SearchResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryError]))) :*: (S1 ('MetaSel ('Just "resourceIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceIdentifier])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchResourcesResponse Source #

Create a value of SearchResourcesResponse 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:

SearchResources, searchResourcesResponse_nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

$sel:queryErrors:SearchResourcesResponse', searchResourcesResponse_queryErrors - A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

$sel:resourceIdentifiers:SearchResourcesResponse', searchResourcesResponse_resourceIdentifiers - The ARNs and resource types of resources that are members of the group that you specified.

$sel:httpStatus:SearchResourcesResponse', searchResourcesResponse_httpStatus - The response's http status code.

Tag

data Tag Source #

See: newTag smart constructor.

Constructors

Tag' Text (HashMap Text Text) 

Instances

Instances details
ToJSON Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

ToHeaders Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

toHeaders :: Tag -> [Header] #

ToPath Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

toPath :: Tag -> ByteString #

ToQuery Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

toQuery :: Tag -> QueryString #

AWSRequest Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Associated Types

type AWSResponse Tag #

Generic Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type AWSResponse Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ResourceGroups.Tag" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))

newTag Source #

Arguments

:: Text

Tag

-> Tag 

Create a value of Tag 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:

Tag, tag_arn - The ARN of the resource group to which to add tags.

Tag, tag_tags - The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.

data TagResponse Source #

See: newTagResponse smart constructor.

Instances

Instances details
Generic TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Associated Types

type Rep TagResponse :: Type -> Type #

Read TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Show TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

NFData TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

rnf :: TagResponse -> () #

Eq TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep TagResponse = D1 ('MetaData "TagResponse" "Amazonka.ResourceGroups.Tag" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "TagResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTagResponse Source #

Create a value of TagResponse 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:

Tag, tagResponse_arn - The ARN of the tagged resource.

Tag, tagResponse_tags - The tags that have been added to the specified resource group.

$sel:httpStatus:TagResponse', tagResponse_httpStatus - The response's http status code.

UngroupResources

data UngroupResources Source #

See: newUngroupResources smart constructor.

Instances

Instances details
ToJSON UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

ToHeaders UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

ToPath UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

ToQuery UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

AWSRequest UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type AWSResponse UngroupResources #

Generic UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type Rep UngroupResources :: Type -> Type #

Read UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Show UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

NFData UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Methods

rnf :: UngroupResources -> () #

Eq UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Hashable UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type AWSResponse UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type Rep UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type Rep UngroupResources = D1 ('MetaData "UngroupResources" "Amazonka.ResourceGroups.UngroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UngroupResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newUngroupResources Source #

Create a value of UngroupResources 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':UngroupResources', ungroupResources_group - The name or the ARN of the resource group from which to remove the resources.

$sel:resourceArns:UngroupResources', ungroupResources_resourceArns - The ARNs of the resources to be removed from the group.

data UngroupResourcesResponse Source #

See: newUngroupResourcesResponse smart constructor.

Instances

Instances details
Generic UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type Rep UngroupResourcesResponse :: Type -> Type #

Read UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Show UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

NFData UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Eq UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type Rep UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type Rep UngroupResourcesResponse = D1 ('MetaData "UngroupResourcesResponse" "Amazonka.ResourceGroups.UngroupResources" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UngroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedResource])) :*: S1 ('MetaSel ('Just "pending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PendingResource]))) :*: (S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUngroupResourcesResponse Source #

Create a value of UngroupResourcesResponse 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:failed:UngroupResourcesResponse', ungroupResourcesResponse_failed - A list of any resources that failed to be removed from the group by this operation.

$sel:pending:UngroupResourcesResponse', ungroupResourcesResponse_pending - A list of any resources that are still in the process of being removed from the group by this operation. These pending removals continue asynchronously. You can check the status of pending removals by using the ListGroupResources operation. After the resource is successfully removed, it no longer appears in the response.

$sel:succeeded:UngroupResourcesResponse', ungroupResourcesResponse_succeeded - A list of resources that were successfully removed from the group by this operation.

$sel:httpStatus:UngroupResourcesResponse', ungroupResourcesResponse_httpStatus - The response's http status code.

Untag

data Untag Source #

See: newUntag smart constructor.

Constructors

Untag' Text [Text] 

Instances

Instances details
ToJSON Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

ToHeaders Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toHeaders :: Untag -> [Header] #

ToPath Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toPath :: Untag -> ByteString #

ToQuery Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

toQuery :: Untag -> QueryString #

AWSRequest Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type AWSResponse Untag #

Generic Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type Rep Untag :: Type -> Type #

Methods

from :: Untag -> Rep Untag x #

to :: Rep Untag x -> Untag #

Read Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Show Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

showsPrec :: Int -> Untag -> ShowS #

show :: Untag -> String #

showList :: [Untag] -> ShowS #

NFData Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: Untag -> () #

Eq Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

(==) :: Untag -> Untag -> Bool #

(/=) :: Untag -> Untag -> Bool #

Hashable Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

hashWithSalt :: Int -> Untag -> Int #

hash :: Untag -> Int #

type AWSResponse Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep Untag = D1 ('MetaData "Untag" "Amazonka.ResourceGroups.Untag" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "Untag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newUntag Source #

Arguments

:: Text

Untag

-> Untag 

Create a value of Untag 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:

Untag, untag_arn - The ARN of the resource group from which to remove tags. The command removed both the specified keys and any values associated with those keys.

Untag, untag_keys - The keys of the tags to be removed.

data UntagResponse Source #

See: newUntagResponse smart constructor.

Constructors

UntagResponse' (Maybe Text) (Maybe [Text]) Int 

Instances

Instances details
Generic UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type Rep UntagResponse :: Type -> Type #

Read UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Show UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

NFData UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: UntagResponse -> () #

Eq UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep UntagResponse = D1 ('MetaData "UntagResponse" "Amazonka.ResourceGroups.Untag" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UntagResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUntagResponse Source #

Create a value of UntagResponse 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:

Untag, untagResponse_arn - The ARN of the resource group from which tags have been removed.

Untag, untagResponse_keys - The keys of the tags that were removed.

$sel:httpStatus:UntagResponse', untagResponse_httpStatus - The response's http status code.

UpdateGroup

data UpdateGroup Source #

See: newUpdateGroup smart constructor.

Constructors

UpdateGroup' (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
ToJSON UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

ToHeaders UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

toHeaders :: UpdateGroup -> [Header] #

ToPath UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

ToQuery UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type AWSResponse UpdateGroup #

Generic UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

Read UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

NFData UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

Eq UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Hashable UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type AWSResponse UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroup = D1 ('MetaData "UpdateGroup" "Amazonka.ResourceGroups.UpdateGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UpdateGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUpdateGroup :: UpdateGroup Source #

Create a value of UpdateGroup 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:

UpdateGroup, updateGroup_description - The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.

UpdateGroup, updateGroup_group - The name or the ARN of the resource group to modify.

UpdateGroup, updateGroup_groupName - Don't use this parameter. Use Group instead.

data UpdateGroupResponse Source #

See: newUpdateGroupResponse smart constructor.

Instances

Instances details
Generic UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

Read UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

NFData UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

Eq UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroupResponse = D1 ('MetaData "UpdateGroupResponse" "Amazonka.ResourceGroups.UpdateGroup" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UpdateGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Group)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateGroupResponse Source #

Create a value of UpdateGroupResponse 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:

UpdateGroup, updateGroupResponse_group - The update description of the resource group.

$sel:httpStatus:UpdateGroupResponse', updateGroupResponse_httpStatus - The response's http status code.

UpdateGroupQuery

data UpdateGroupQuery Source #

See: newUpdateGroupQuery smart constructor.

Instances

Instances details
ToJSON UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

ToHeaders UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

ToPath UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

ToQuery UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

AWSRequest UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type AWSResponse UpdateGroupQuery #

Generic UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type Rep UpdateGroupQuery :: Type -> Type #

Read UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Show UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

NFData UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Methods

rnf :: UpdateGroupQuery -> () #

Eq UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Hashable UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type AWSResponse UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type Rep UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type Rep UpdateGroupQuery = D1 ('MetaData "UpdateGroupQuery" "Amazonka.ResourceGroups.UpdateGroupQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UpdateGroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery))))

newUpdateGroupQuery Source #

Create a value of UpdateGroupQuery 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':UpdateGroupQuery', updateGroupQuery_group - The name or the ARN of the resource group to query.

UpdateGroupQuery, updateGroupQuery_groupName - Don't use this parameter. Use Group instead.

UpdateGroupQuery, updateGroupQuery_resourceQuery - The resource query to determine which AWS resources are members of this resource group.

A resource group can contain either a Configuration or a ResourceQuery, but not both.

data UpdateGroupQueryResponse Source #

See: newUpdateGroupQueryResponse smart constructor.

Instances

Instances details
Generic UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type Rep UpdateGroupQueryResponse :: Type -> Type #

Read UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Show UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

NFData UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Eq UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type Rep UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type Rep UpdateGroupQueryResponse = D1 ('MetaData "UpdateGroupQueryResponse" "Amazonka.ResourceGroups.UpdateGroupQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "UpdateGroupQueryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupQuery)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateGroupQueryResponse Source #

Create a value of UpdateGroupQueryResponse 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:groupQuery:UpdateGroupQueryResponse', updateGroupQueryResponse_groupQuery - The updated resource query associated with the resource group after the update.

$sel:httpStatus:UpdateGroupQueryResponse', updateGroupQueryResponse_httpStatus - The response's http status code.

Types

GroupConfigurationStatus

newtype GroupConfigurationStatus Source #

Instances

Instances details
FromJSON GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromJSONKey GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToJSON GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToJSONKey GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToByteString GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToHeader GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToLog GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToQuery GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromText GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToText GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromXML GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToXML GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Generic GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Associated Types

type Rep GroupConfigurationStatus :: Type -> Type #

Read GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Show GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

NFData GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Eq GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Ord GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Hashable GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

type Rep GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

type Rep GroupConfigurationStatus = D1 ('MetaData "GroupConfigurationStatus" "Amazonka.ResourceGroups.Types.GroupConfigurationStatus" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "GroupConfigurationStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGroupConfigurationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GroupFilterName

newtype GroupFilterName Source #

Constructors

GroupFilterName' 

Instances

Instances details
FromJSON GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromJSONKey GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToJSON GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToJSONKey GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToByteString GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToHeader GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToLog GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToQuery GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromText GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToText GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromXML GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToXML GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Methods

toXML :: GroupFilterName -> XML #

Generic GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Associated Types

type Rep GroupFilterName :: Type -> Type #

Read GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Show GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

NFData GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Methods

rnf :: GroupFilterName -> () #

Eq GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Ord GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Hashable GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

type Rep GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

type Rep GroupFilterName = D1 ('MetaData "GroupFilterName" "Amazonka.ResourceGroups.Types.GroupFilterName" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "GroupFilterName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGroupFilterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueryErrorCode

newtype QueryErrorCode Source #

Constructors

QueryErrorCode' 

Instances

Instances details
FromJSON QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromJSONKey QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToJSON QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToJSONKey QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToByteString QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToHeader QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToLog QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToQuery QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromText QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToText QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromXML QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToXML QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Methods

toXML :: QueryErrorCode -> XML #

Generic QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Associated Types

type Rep QueryErrorCode :: Type -> Type #

Read QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Show QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

NFData QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Methods

rnf :: QueryErrorCode -> () #

Eq QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Ord QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Hashable QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

type Rep QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

type Rep QueryErrorCode = D1 ('MetaData "QueryErrorCode" "Amazonka.ResourceGroups.Types.QueryErrorCode" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "QueryErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueryErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueryType

newtype QueryType Source #

Constructors

QueryType' 

Fields

Instances

Instances details
FromJSON QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromJSONKey QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToJSON QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToJSONKey QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToByteString QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toBS :: QueryType -> ByteString #

ToHeader QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToLog QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToQuery QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromText QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToText QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toText :: QueryType -> Text #

FromXML QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToXML QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toXML :: QueryType -> XML #

Generic QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Associated Types

type Rep QueryType :: Type -> Type #

Read QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Show QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

NFData QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

rnf :: QueryType -> () #

Eq QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Ord QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Hashable QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

type Rep QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

type Rep QueryType = D1 ('MetaData "QueryType" "Amazonka.ResourceGroups.Types.QueryType" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "QueryType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceFilterName

newtype ResourceFilterName Source #

Instances

Instances details
FromJSON ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromJSONKey ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToJSON ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToJSONKey ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToByteString ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToHeader ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToLog ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToQuery ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromText ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToText ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromXML ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToXML ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Generic ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Associated Types

type Rep ResourceFilterName :: Type -> Type #

Read ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Show ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

NFData ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Methods

rnf :: ResourceFilterName -> () #

Eq ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Ord ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Hashable ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

type Rep ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

type Rep ResourceFilterName = D1 ('MetaData "ResourceFilterName" "Amazonka.ResourceGroups.Types.ResourceFilterName" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "ResourceFilterName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceFilterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceStatusValue

newtype ResourceStatusValue Source #

Instances

Instances details
FromJSON ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromJSONKey ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToJSON ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToJSONKey ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToByteString ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToHeader ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToLog ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToQuery ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromText ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToText ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromXML ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToXML ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Generic ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Associated Types

type Rep ResourceStatusValue :: Type -> Type #

Read ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Show ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

NFData ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Methods

rnf :: ResourceStatusValue -> () #

Eq ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Ord ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Hashable ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

type Rep ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

type Rep ResourceStatusValue = D1 ('MetaData "ResourceStatusValue" "Amazonka.ResourceGroups.Types.ResourceStatusValue" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'True) (C1 ('MetaCons "ResourceStatusValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceStatusValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

FailedResource

data FailedResource Source #

A resource that failed to be added to or removed from a group.

See: newFailedResource smart constructor.

Instances

Instances details
FromJSON FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Generic FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Associated Types

type Rep FailedResource :: Type -> Type #

Read FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Show FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

NFData FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Methods

rnf :: FailedResource -> () #

Eq FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Hashable FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource = D1 ('MetaData "FailedResource" "Amazonka.ResourceGroups.Types.FailedResource" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "FailedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newFailedResource :: FailedResource Source #

Create a value of FailedResource 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:errorCode:FailedResource', failedResource_errorCode - The error code associated with the failure.

$sel:errorMessage:FailedResource', failedResource_errorMessage - The error message text associated with the failure.

$sel:resourceArn:FailedResource', failedResource_resourceArn - The ARN of the resource that failed to be added or removed.

Group

data Group Source #

A resource group that contains AWS resources. You can assign resources to the group by associating either of the following elements with the group:

  • ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same AWS Region and AWS account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.
  • GroupConfiguration - Use a service configuration to associate the group with an AWS service. The configuration specifies which resource types can be included in the group.

See: newGroup smart constructor.

Constructors

Group' (Maybe Text) Text Text 

Instances

Instances details
FromJSON Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Generic Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

Read Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Show Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

NFData Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

rnf :: Group -> () #

Eq Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

(==) :: Group -> Group -> Bool #

(/=) :: Group -> Group -> Bool #

Hashable Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

type Rep Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

type Rep Group = D1 ('MetaData "Group" "Amazonka.ResourceGroups.Types.Group" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGroup Source #

Create a value of Group 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:description:Group', group_description - The description of the resource group.

$sel:groupArn:Group', group_groupArn - The ARN of the resource group.

$sel:name:Group', group_name - The name of the resource group.

GroupConfiguration

data GroupConfiguration Source #

A service configuration associated with a resource group. The configuration options are determined by the AWS service that defines the Type, and specifies which resources can be included in the group. You can add a service configuration when you create the group by using CreateGroup, or later by using the PutGroupConfiguration operation. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfiguration smart constructor.

Instances

Instances details
FromJSON GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Generic GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Associated Types

type Rep GroupConfiguration :: Type -> Type #

Read GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Show GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

NFData GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Methods

rnf :: GroupConfiguration -> () #

Eq GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Hashable GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

type Rep GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

type Rep GroupConfiguration = D1 ('MetaData "GroupConfiguration" "Amazonka.ResourceGroups.Types.GroupConfiguration" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "proposedConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupConfigurationStatus)))))

newGroupConfiguration :: GroupConfiguration Source #

Create a value of GroupConfiguration 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:configuration:GroupConfiguration', groupConfiguration_configuration - The configuration currently associated with the group and in effect.

$sel:failureReason:GroupConfiguration', groupConfiguration_failureReason - If present, the reason why a request to update the group configuration failed.

$sel:proposedConfiguration:GroupConfiguration', groupConfiguration_proposedConfiguration - If present, the new configuration that is in the process of being applied to the group.

$sel:status:GroupConfiguration', groupConfiguration_status - The current status of an attempt to update the group configuration.

GroupConfigurationItem

data GroupConfigurationItem Source #

An item in a group configuration. A group service configuration can have one or more items. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfigurationItem smart constructor.

Instances

Instances details
FromJSON GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

ToJSON GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Generic GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Associated Types

type Rep GroupConfigurationItem :: Type -> Type #

Read GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Show GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

NFData GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Methods

rnf :: GroupConfigurationItem -> () #

Eq GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Hashable GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

type Rep GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

type Rep GroupConfigurationItem = D1 ('MetaData "GroupConfigurationItem" "Amazonka.ResourceGroups.Types.GroupConfigurationItem" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupConfigurationItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationParameter])) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGroupConfigurationItem Source #

Create a value of GroupConfigurationItem 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:parameters:GroupConfigurationItem', groupConfigurationItem_parameters - A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

$sel:type':GroupConfigurationItem', groupConfigurationItem_type - Specifies the type of group configuration item. Each item must have a unique value for type. For the list of types that you can specify for a configuration item, see Supported resource types and parameters.

GroupConfigurationParameter

data GroupConfigurationParameter Source #

A parameter for a group configuration item. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfigurationParameter smart constructor.

Instances

Instances details
FromJSON GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

ToJSON GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Generic GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Associated Types

type Rep GroupConfigurationParameter :: Type -> Type #

Read GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Show GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

NFData GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Eq GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Hashable GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

type Rep GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

type Rep GroupConfigurationParameter = D1 ('MetaData "GroupConfigurationParameter" "Amazonka.ResourceGroups.Types.GroupConfigurationParameter" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupConfigurationParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGroupConfigurationParameter Source #

Create a value of GroupConfigurationParameter 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:values:GroupConfigurationParameter', groupConfigurationParameter_values - The value or values to be used for the specified parameter. For the list of values you can use with each parameter, see Supported resource types and parameters.

$sel:name:GroupConfigurationParameter', groupConfigurationParameter_name - The name of the group configuration parameter. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

GroupFilter

data GroupFilter Source #

A filter collection that you can use to restrict the results from a List operation to only those you want to include.

See: newGroupFilter smart constructor.

Instances

Instances details
ToJSON GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Generic GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Associated Types

type Rep GroupFilter :: Type -> Type #

Read GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Show GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

NFData GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Methods

rnf :: GroupFilter -> () #

Eq GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Hashable GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

type Rep GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

type Rep GroupFilter = D1 ('MetaData "GroupFilter" "Amazonka.ResourceGroups.Types.GroupFilter" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GroupFilterName) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newGroupFilter Source #

Create a value of GroupFilter 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:name:GroupFilter', groupFilter_name - The name of the filter. Filter names are case-sensitive.

$sel:values:GroupFilter', groupFilter_values - One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.

GroupIdentifier

data GroupIdentifier Source #

The unique identifiers for a resource group.

See: newGroupIdentifier smart constructor.

Instances

Instances details
FromJSON GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Generic GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Associated Types

type Rep GroupIdentifier :: Type -> Type #

Read GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Show GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

NFData GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Methods

rnf :: GroupIdentifier -> () #

Eq GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Hashable GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

type Rep GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

type Rep GroupIdentifier = D1 ('MetaData "GroupIdentifier" "Amazonka.ResourceGroups.Types.GroupIdentifier" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGroupIdentifier :: GroupIdentifier Source #

Create a value of GroupIdentifier 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:groupArn:GroupIdentifier', groupIdentifier_groupArn - The ARN of the resource group.

$sel:groupName:GroupIdentifier', groupIdentifier_groupName - The name of the resource group.

GroupQuery

data GroupQuery Source #

A mapping of a query attached to a resource group that determines the AWS resources that are members of the group.

See: newGroupQuery smart constructor.

Instances

Instances details
FromJSON GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Generic GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Associated Types

type Rep GroupQuery :: Type -> Type #

Read GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Show GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

NFData GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Methods

rnf :: GroupQuery -> () #

Eq GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Hashable GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery = D1 ('MetaData "GroupQuery" "Amazonka.ResourceGroups.Types.GroupQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "GroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery)))

newGroupQuery Source #

Create a value of GroupQuery 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:groupName:GroupQuery', groupQuery_groupName - The name of the resource group that is associated with the specified resource query.

$sel:resourceQuery:GroupQuery', groupQuery_resourceQuery - The resource query that determines which AWS resources are members of the associated resource group.

ListGroupResourcesItem

data ListGroupResourcesItem Source #

A structure returned by the ListGroupResources operation that contains identity and group membership status information for one of the resources in the group.

See: newListGroupResourcesItem smart constructor.

Instances

Instances details
FromJSON ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Generic ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Associated Types

type Rep ListGroupResourcesItem :: Type -> Type #

Read ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Show ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

NFData ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Methods

rnf :: ListGroupResourcesItem -> () #

Eq ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Hashable ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

type Rep ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

type Rep ListGroupResourcesItem = D1 ('MetaData "ListGroupResourcesItem" "Amazonka.ResourceGroups.Types.ListGroupResourcesItem" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ListGroupResourcesItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdentifier)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus))))

newListGroupResourcesItem :: ListGroupResourcesItem Source #

Create a value of ListGroupResourcesItem 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:identifier:ListGroupResourcesItem', listGroupResourcesItem_identifier - Undocumented member.

$sel:status:ListGroupResourcesItem', listGroupResourcesItem_status - A structure that contains the status of this resource's membership in the group.

This field is present in the response only if the group is of type AWS::EC2::HostManagement.

PendingResource

data PendingResource Source #

A structure that identifies a resource that is currently pending addition to the group as a member. Adding a resource to a resource group happens asynchronously as a background task and this one isn't completed yet.

See: newPendingResource smart constructor.

Constructors

PendingResource' (Maybe Text) 

Instances

Instances details
FromJSON PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Generic PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Associated Types

type Rep PendingResource :: Type -> Type #

Read PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Show PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

NFData PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Methods

rnf :: PendingResource -> () #

Eq PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Hashable PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

type Rep PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

type Rep PendingResource = D1 ('MetaData "PendingResource" "Amazonka.ResourceGroups.Types.PendingResource" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "PendingResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPendingResource :: PendingResource Source #

Create a value of PendingResource 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:resourceArn:PendingResource', pendingResource_resourceArn - The Amazon resource name (ARN) of the resource that's in a pending state.

QueryError

data QueryError Source #

A two-part error structure that can occur in ListGroupResources or SearchResources operations on CloudFormation stack-based queries. The error occurs if the CloudFormation stack on which the query is based either does not exist, or has a status that renders the stack inactive. A QueryError occurrence does not necessarily mean that AWS Resource Groups could not complete the operation, but the resulting group might have no member resources.

See: newQueryError smart constructor.

Instances

Instances details
FromJSON QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Generic QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Associated Types

type Rep QueryError :: Type -> Type #

Read QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Show QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

NFData QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Methods

rnf :: QueryError -> () #

Eq QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Hashable QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

type Rep QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

type Rep QueryError = D1 ('MetaData "QueryError" "Amazonka.ResourceGroups.Types.QueryError" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "QueryError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryErrorCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newQueryError :: QueryError Source #

Create a value of QueryError 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:errorCode:QueryError', queryError_errorCode - Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

$sel:message:QueryError', queryError_message - A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

ResourceFilter

data ResourceFilter Source #

A filter name and value pair that is used to obtain more specific results from a list of resources.

See: newResourceFilter smart constructor.

Instances

Instances details
ToJSON ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Generic ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Associated Types

type Rep ResourceFilter :: Type -> Type #

Read ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Show ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

NFData ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Methods

rnf :: ResourceFilter -> () #

Eq ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Hashable ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

type Rep ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

type Rep ResourceFilter = D1 ('MetaData "ResourceFilter" "Amazonka.ResourceGroups.Types.ResourceFilter" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ResourceFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceFilterName) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newResourceFilter Source #

Create a value of ResourceFilter 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:name:ResourceFilter', resourceFilter_name - The name of the filter. Filter names are case-sensitive.

$sel:values:ResourceFilter', resourceFilter_values - One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.

ResourceIdentifier

data ResourceIdentifier Source #

A structure that contains the ARN of a resource and its resource type.

See: newResourceIdentifier smart constructor.

Instances

Instances details
FromJSON ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Generic ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Associated Types

type Rep ResourceIdentifier :: Type -> Type #

Read ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Show ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

NFData ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Methods

rnf :: ResourceIdentifier -> () #

Eq ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Hashable ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier = D1 ('MetaData "ResourceIdentifier" "Amazonka.ResourceGroups.Types.ResourceIdentifier" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ResourceIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResourceIdentifier :: ResourceIdentifier Source #

Create a value of ResourceIdentifier 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:resourceArn:ResourceIdentifier', resourceIdentifier_resourceArn - The ARN of a resource.

$sel:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The resource type of a resource, such as AWS::EC2::Instance.

ResourceQuery

data ResourceQuery Source #

The query that is used to define a resource group or a search for resources. A query specifies both a query type and a query string as a JSON object. See the examples section for example JSON strings.

The examples that follow are shown as standard JSON strings. If you include such a string as a parameter to the AWS CLI or an SDK API, you might need to 'escape' the string into a single line. For example, see the Quoting strings in the AWS CLI User Guide.

Example 1

The following generic example shows a resource query JSON string that includes only resources that meet the following criteria:

  • The resource type must be either resource_type1 or resource_type2.
  • The resource must have a tag Key1 with a value of either ValueA or ValueB.
  • The resource must have a tag Key2 with a value of either ValueC or ValueD.
{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": [ "resource_type1", "resource_type2"], "TagFilters": [ { "Key": "Key1", "Values": ["ValueA","ValueB"] }, { "Key":"Key2", "Values":["ValueC","ValueD"] } ] } }

This has the equivalent "shortcut" syntax of the following:

{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": [ "resource_type1", "resource_type2"], "TagFilters": [ { "Key1": ["ValueA","ValueB"] }, { "Key2": ["ValueC","ValueD"] } ] } }

Example 2

The following example shows a resource query JSON string that includes only Amazon EC2 instances that are tagged Stage with a value of Test.

{ "Type": "TAG_FILTERS_1_0", "Query": "{ "ResourceTypeFilters": "AWS::EC2::Instance", "TagFilters": { "Stage": "Test" } } }

Example 3

The following example shows a resource query JSON string that includes resource of any supported type as long as it is tagged Stage with a value of Prod.

{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": "AWS::AllSupported", "TagFilters": { "Stage": "Prod" } } }

Example 4

The following example shows a resource query JSON string that includes only Amazon EC2 instances and Amazon S3 buckets that are part of the specified AWS CloudFormation stack.

{ "Type": "CLOUDFORMATION_STACK_1_0", "Query": { "ResourceTypeFilters": [ "AWS::EC2::Instance", "AWS::S3::Bucket" ], "StackIdentifier": "arn:aws:cloudformation:us-west-2:123456789012:stack/AWStestuseraccount/fb0d5000-aba8-00e8-aa9e-50d5cEXAMPLE" } }

See: newResourceQuery smart constructor.

Instances

Instances details
FromJSON ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

ToJSON ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Generic ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Associated Types

type Rep ResourceQuery :: Type -> Type #

Read ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Show ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

NFData ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Methods

rnf :: ResourceQuery -> () #

Eq ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Hashable ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

type Rep ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

type Rep ResourceQuery = D1 ('MetaData "ResourceQuery" "Amazonka.ResourceGroups.Types.ResourceQuery" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ResourceQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QueryType) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceQuery Source #

Create a value of ResourceQuery 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:type':ResourceQuery', resourceQuery_type - The type of the query. You can use the following values:

  • CLOUDFORMATION_STACK_1_0: Specifies that the Query contains an ARN for a CloudFormation stack.
  • TAG_FILTERS_1_0: Specifies that the Query parameter contains a JSON string that represents a collection of simple tag filters for resource types and tags. The JSON string uses a syntax similar to the GetResources operation, but uses only the ResourceTypeFilters and TagFilters fields. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values.

    For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each:

    [{"Stage":["Test","Deploy"]},{"Version":["1","2"]}]

    The results of this query could include the following.

    • An EC2 instance that has the following two tags: {"Stage":"Deploy"}, and {"Version":"2"}
    • An S3 bucket that has the following two tags: {"Stage":"Test"}, and {"Version":"1"}

    The query would not include the following items in the results, however.

    • An EC2 instance that has only the following tag: {"Stage":"Deploy"}.

      The instance does not have all of the tag keys specified in the filter, so it is excluded from the results.

    • An RDS database that has the following two tags: {"Stage":"Archived"} and {"Version":"4"}

      The database has all of the tag keys, but none of those keys has an associated value that matches at least one of the specified values in the filter.

$sel:query:ResourceQuery', resourceQuery_searchQuery - The query that defines a group or a search.

ResourceStatus

data ResourceStatus Source #

A structure that identifies the current group membership status for a resource. Adding a resource to a resource group is performed asynchronously as a background task. A PENDING status indicates, for this resource, that the process isn't completed yet.

See: newResourceStatus smart constructor.

Instances

Instances details
FromJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Generic ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Associated Types

type Rep ResourceStatus :: Type -> Type #

Read ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Show ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

NFData ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Methods

rnf :: ResourceStatus -> () #

Eq ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Hashable ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

type Rep ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

type Rep ResourceStatus = D1 ('MetaData "ResourceStatus" "Amazonka.ResourceGroups.Types.ResourceStatus" "amazonka-resourcegroups-2.0-B1PbpVYkdAmDCiu1dJFqfU" 'False) (C1 ('MetaCons "ResourceStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatusValue))))

newResourceStatus :: ResourceStatus Source #

Create a value of ResourceStatus 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:name:ResourceStatus', resourceStatus_name - The current status.