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

Amazonka.ResourceGroups

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.

ForbiddenException

_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

TooManyRequestsException

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

InternalServerErrorException

_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

MethodNotAllowedException

_MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

UnauthorizedException

_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

BadRequestException

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

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.

SearchResources (Paginated)

data SearchResources Source #

See: newSearchResources smart constructor.

Instances

Instances details
Eq SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Read SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Show SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Generic SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Associated Types

type Rep SearchResources :: Type -> Type #

NFData SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Methods

rnf :: SearchResources -> () #

Hashable SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

ToJSON 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 #

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

type Rep SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResources = D1 ('MetaData "SearchResources" "Amazonka.ResourceGroups.SearchResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "SearchResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery))))
type AWSResponse SearchResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

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:nextToken: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.

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

$sel:resourceQuery: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
Eq SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Read SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Show SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Generic SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Associated Types

type Rep SearchResourcesResponse :: Type -> Type #

NFData SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

Methods

rnf :: SearchResourcesResponse -> () #

type Rep SearchResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.SearchResources

type Rep SearchResourcesResponse = D1 ('MetaData "SearchResourcesResponse" "Amazonka.ResourceGroups.SearchResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "SearchResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "queryErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryError])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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:

$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:nextToken: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: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.

GetTags

data GetTags Source #

See: newGetTags smart constructor.

Constructors

GetTags' Text 

Instances

Instances details
Eq GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

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

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

Read GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Show GetTags Source # 
Instance details

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

NFData GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

rnf :: GetTags -> () #

Hashable GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

hashWithSalt :: Int -> GetTags -> Int #

hash :: GetTags -> Int #

AWSRequest GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Associated Types

type AWSResponse GetTags #

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

type Rep GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTags = D1 ('MetaData "GetTags" "Amazonka.ResourceGroups.GetTags" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GetTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTags Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

newGetTags Source #

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:

$sel:arn: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
Eq GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Read GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Show GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Generic GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Associated Types

type Rep GetTagsResponse :: Type -> Type #

NFData GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

Methods

rnf :: GetTagsResponse -> () #

type Rep GetTagsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetTags

type Rep GetTagsResponse = D1 ('MetaData "GetTagsResponse" "Amazonka.ResourceGroups.GetTags" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:arn: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.

Tag

data Tag Source #

See: newTag smart constructor.

Constructors

Tag' Text (HashMap Text Text) 

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

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

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

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

AWSRequest Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Associated Types

type AWSResponse 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 #

type Rep Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ResourceGroups.Tag" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse Tag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

newTag Source #

Arguments

:: Text

$sel:arn: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:

$sel:arn:Tag', tag_arn - The ARN of the resource group to which to add tags.

$sel: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
Eq TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Read TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Show TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Generic TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Associated Types

type Rep TagResponse :: Type -> Type #

NFData TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

Methods

rnf :: TagResponse -> () #

type Rep TagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Tag

type Rep TagResponse = D1 ('MetaData "TagResponse" "Amazonka.ResourceGroups.Tag" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:arn:Tag', tagResponse_arn - The ARN of the tagged resource.

$sel:tags: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
Eq UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Read UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Show UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Generic UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type Rep UngroupResources :: Type -> Type #

NFData UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Methods

rnf :: UngroupResources -> () #

Hashable UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

ToJSON UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

AWSRequest UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type AWSResponse 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

type Rep UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

type Rep UngroupResources = D1 ('MetaData "UngroupResources" "Amazonka.ResourceGroups.UngroupResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse UngroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

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
Eq UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Read UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Show UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Generic UngroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UngroupResources

Associated Types

type Rep UngroupResourcesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "UngroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PendingResource])) :*: S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedResource])) :*: 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: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:failed:UngroupResourcesResponse', ungroupResourcesResponse_failed - A list of any resources that failed to be removed from the group by this operation.

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

GroupResources

data GroupResources Source #

See: newGroupResources smart constructor.

Instances

Instances details
Eq GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Read GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Show GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Generic GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type Rep GroupResources :: Type -> Type #

NFData GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Methods

rnf :: GroupResources -> () #

Hashable GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

ToJSON GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

AWSRequest GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type AWSResponse 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

type Rep GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResources = D1 ('MetaData "GroupResources" "Amazonka.ResourceGroups.GroupResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse GroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

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
Eq GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Read GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Show GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Generic GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Associated Types

type Rep GroupResourcesResponse :: Type -> Type #

NFData GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

Methods

rnf :: GroupResourcesResponse -> () #

type Rep GroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GroupResources

type Rep GroupResourcesResponse = D1 ('MetaData "GroupResourcesResponse" "Amazonka.ResourceGroups.GroupResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PendingResource])) :*: S1 ('MetaSel ('Just "succeeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "failed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedResource])) :*: 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: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:failed:GroupResourcesResponse', groupResourcesResponse_failed - A list of ARNs of any resources that failed to be added to the group by this operation.

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

PutGroupConfiguration

data PutGroupConfiguration Source #

See: newPutGroupConfiguration smart constructor.

Instances

Instances details
Eq PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Read PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Generic PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfiguration :: Type -> Type #

NFData PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Methods

rnf :: PutGroupConfiguration -> () #

Hashable PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToJSON PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

AWSRequest PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type AWSResponse PutGroupConfiguration #

ToHeaders PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToPath PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

ToQuery PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

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

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

newPutGroupConfiguration :: PutGroupConfiguration Source #

Create a value of PutGroupConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:configuration:PutGroupConfiguration', putGroupConfiguration_configuration - The new configuration to associate with the specified group. A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements.

For information about the syntax of a service configuration, see Service configurations for resource groups.

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

data PutGroupConfigurationResponse Source #

See: newPutGroupConfigurationResponse smart constructor.

Instances

Instances details
Eq PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Read PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Show PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Generic PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

Associated Types

type Rep PutGroupConfigurationResponse :: Type -> Type #

NFData PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

type Rep PutGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.PutGroupConfiguration

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

newPutGroupConfigurationResponse Source #

Create a value of PutGroupConfigurationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:PutGroupConfigurationResponse', putGroupConfigurationResponse_httpStatus - The response's http status code.

Untag

data Untag Source #

See: newUntag smart constructor.

Constructors

Untag' Text [Text] 

Instances

Instances details
Eq Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

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

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

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 #

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 #

NFData Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: Untag -> () #

Hashable Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

hashWithSalt :: Int -> Untag -> Int #

hash :: Untag -> Int #

ToJSON Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

AWSRequest Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type AWSResponse 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 #

type Rep Untag Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

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

Defined in Amazonka.ResourceGroups.Untag

newUntag Source #

Arguments

:: Text

$sel:arn: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:

$sel:arn: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.

$sel: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
Eq UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Read UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Show UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Generic UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Associated Types

type Rep UntagResponse :: Type -> Type #

NFData UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

Methods

rnf :: UntagResponse -> () #

type Rep UntagResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.Untag

type Rep UntagResponse = D1 ('MetaData "UntagResponse" "Amazonka.ResourceGroups.Untag" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:arn:Untag', untagResponse_arn - The ARN of the resource group from which tags have been removed.

$sel:keys:Untag', untagResponse_keys - The keys of the tags that were removed.

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

UpdateGroupQuery

data UpdateGroupQuery Source #

See: newUpdateGroupQuery smart constructor.

Instances

Instances details
Eq UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Read UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Show UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Generic UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type Rep UpdateGroupQuery :: Type -> Type #

NFData UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Methods

rnf :: UpdateGroupQuery -> () #

Hashable UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

ToJSON UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

AWSRequest UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type AWSResponse 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

type Rep UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

type Rep UpdateGroupQuery = D1 ('MetaData "UpdateGroupQuery" "Amazonka.ResourceGroups.UpdateGroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse UpdateGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

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.

$sel:groupName:UpdateGroupQuery', updateGroupQuery_groupName - Don't use this parameter. Use Group instead.

$sel:resourceQuery: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
Eq UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Read UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Show UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Generic UpdateGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroupQuery

Associated Types

type Rep UpdateGroupQueryResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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.

ListGroupResources (Paginated)

data ListGroupResources Source #

See: newListGroupResources smart constructor.

Instances

Instances details
Eq ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Read ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Show ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Generic ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResources :: Type -> Type #

NFData ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Methods

rnf :: ListGroupResources -> () #

Hashable ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

ToJSON 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 #

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

type Rep ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

type Rep ListGroupResources = D1 ('MetaData "ListGroupResources" "Amazonka.ResourceGroups.ListGroupResources" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroupResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "group'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceFilter]))) :*: (S1 ('MetaSel ('Just "nextToken") '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))))))
type AWSResponse ListGroupResources Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

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:group':ListGroupResources', listGroupResources_group - The name or the ARN of the resource group

$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:nextToken: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.

$sel:groupName: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.

data ListGroupResourcesResponse Source #

See: newListGroupResourcesResponse smart constructor.

Instances

Instances details
Eq ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Read ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Show ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Generic ListGroupResourcesResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroupResources

Associated Types

type Rep ListGroupResourcesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroupResourcesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListGroupResourcesItem])) :*: S1 ('MetaSel ('Just "queryErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueryError]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceIdentifier])) :*: 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:

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

$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:nextToken: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:resourceIdentifiers:ListGroupResourcesResponse', listGroupResourcesResponse_resourceIdentifiers - __/Deprecated - don't use this parameter. Use the Resources response field instead./__

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

GetGroupQuery

data GetGroupQuery Source #

See: newGetGroupQuery smart constructor.

Constructors

GetGroupQuery' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Read GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Generic GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQuery :: Type -> Type #

NFData GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQuery -> () #

Hashable GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

ToJSON GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

AWSRequest GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type AWSResponse 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

type Rep GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQuery = D1 ('MetaData "GetGroupQuery" "Amazonka.ResourceGroups.GetGroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse GetGroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

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.

$sel:groupName:GetGroupQuery', getGroupQuery_groupName - Don't use this parameter. Use Group instead.

data GetGroupQueryResponse Source #

See: newGetGroupQueryResponse smart constructor.

Instances

Instances details
Eq GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Read GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Show GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Generic GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Associated Types

type Rep GetGroupQueryResponse :: Type -> Type #

NFData GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

Methods

rnf :: GetGroupQueryResponse -> () #

type Rep GetGroupQueryResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupQuery

type Rep GetGroupQueryResponse = D1 ('MetaData "GetGroupQueryResponse" "Amazonka.ResourceGroups.GetGroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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.

CreateGroup

data CreateGroup Source #

See: newCreateGroup smart constructor.

Instances

Instances details
Eq CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Read CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Methods

rnf :: CreateGroup -> () #

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type AWSResponse 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

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

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

Defined in Amazonka.ResourceGroups.CreateGroup

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:

$sel:resourceQuery: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.

$sel:configuration: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.

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

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

$sel:name: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
Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.ResourceGroups.CreateGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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.

$sel:resourceQuery: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.

$sel:tags: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
Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

ToJSON DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type AWSResponse 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

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.ResourceGroups.DeleteGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

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:

$sel:group':DeleteGroup', deleteGroup_group - The name or the ARN of the resource group to delete.

$sel:groupName:DeleteGroup', deleteGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

data DeleteGroupResponse Source #

See: newDeleteGroupResponse smart constructor.

Instances

Instances details
Eq DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Read DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Show DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Generic DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Associated Types

type Rep DeleteGroupResponse :: Type -> Type #

NFData DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

Methods

rnf :: DeleteGroupResponse -> () #

type Rep DeleteGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.DeleteGroup

type Rep DeleteGroupResponse = D1 ('MetaData "DeleteGroupResponse" "Amazonka.ResourceGroups.DeleteGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:group':DeleteGroup', deleteGroupResponse_group - A full description of the deleted resource group.

$sel:httpStatus:DeleteGroupResponse', deleteGroupResponse_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
Eq UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Read UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Generic UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroup :: Type -> Type #

NFData UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroup -> () #

Hashable UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

ToJSON UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

AWSRequest UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type AWSResponse 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

type Rep UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroup = D1 ('MetaData "UpdateGroup" "Amazonka.ResourceGroups.UpdateGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "UpdateGroup'" '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 "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse UpdateGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

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:

$sel:group':UpdateGroup', updateGroup_group - The name or the ARN of the resource group to modify.

$sel:groupName:UpdateGroup', updateGroup_groupName - Don't use this parameter. Use Group instead.

$sel:description: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.

data UpdateGroupResponse Source #

See: newUpdateGroupResponse smart constructor.

Instances

Instances details
Eq UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Read UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Show UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Generic UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Associated Types

type Rep UpdateGroupResponse :: Type -> Type #

NFData UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

Methods

rnf :: UpdateGroupResponse -> () #

type Rep UpdateGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.UpdateGroup

type Rep UpdateGroupResponse = D1 ('MetaData "UpdateGroupResponse" "Amazonka.ResourceGroups.UpdateGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:group':UpdateGroup', updateGroupResponse_group - The update description of the resource group.

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

ListGroups (Paginated)

data ListGroups Source #

See: newListGroups smart constructor.

Instances

Instances details
Eq ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Read ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Show ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Generic ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

NFData ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Methods

rnf :: ListGroups -> () #

Hashable ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

ToJSON 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 #

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

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroups = D1 ('MetaData "ListGroups" "Amazonka.ResourceGroups.ListGroups" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListGroups Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

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:nextToken: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.

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

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Instances

Instances details
Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Read ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.ListGroups

type Rep ListGroupsResponse = D1 ('MetaData "ListGroupsResponse" "Amazonka.ResourceGroups.ListGroups" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "groupIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupIdentifier])) :*: 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:groups:ListGroupsResponse', listGroupsResponse_groups - /__Deprecated - don't use this field. Use the GroupIdentifiers response field instead.__/

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

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

GetGroup

data GetGroup Source #

See: newGetGroup smart constructor.

Constructors

GetGroup' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Read GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroup Source # 
Instance details

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

NFData GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroup -> () #

Hashable GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

hashWithSalt :: Int -> GetGroup -> Int #

hash :: GetGroup -> Int #

ToJSON GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

AWSRequest GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type AWSResponse 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

type Rep GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroup = D1 ('MetaData "GetGroup" "Amazonka.ResourceGroups.GetGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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))))
type AWSResponse GetGroup Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

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:

$sel:group':GetGroup', getGroup_group - The name or the ARN of the resource group to retrieve.

$sel:groupName:GetGroup', getGroup_groupName - Deprecated - don't use this parameter. Use Group instead.

data GetGroupResponse Source #

See: newGetGroupResponse smart constructor.

Instances

Instances details
Eq GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Read GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Show GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Generic GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Associated Types

type Rep GetGroupResponse :: Type -> Type #

NFData GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

Methods

rnf :: GetGroupResponse -> () #

type Rep GetGroupResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroup

type Rep GetGroupResponse = D1 ('MetaData "GetGroupResponse" "Amazonka.ResourceGroups.GetGroup" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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:

$sel:group':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
Eq GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Read GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Show GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Generic GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type Rep GetGroupConfiguration :: Type -> Type #

NFData GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Methods

rnf :: GetGroupConfiguration -> () #

Hashable GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

ToJSON GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

AWSRequest GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type AWSResponse 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

type Rep GetGroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

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

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

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
Eq GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Read GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Show GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Generic GetGroupConfigurationResponse Source # 
Instance details

Defined in Amazonka.ResourceGroups.GetGroupConfiguration

Associated Types

type Rep GetGroupConfigurationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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.

Types

GroupConfigurationStatus

newtype GroupConfigurationStatus Source #

Instances

Instances details
Eq GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Ord GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Read GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Show 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 #

NFData GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Hashable 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

FromJSON GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromJSONKey GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToLog GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToHeader GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToQuery 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

ToByteString 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

type Rep GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

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

GroupFilterName

newtype GroupFilterName Source #

Constructors

GroupFilterName' 

Instances

Instances details
Eq GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Ord GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Read GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Show GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Generic GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Associated Types

type Rep GroupFilterName :: Type -> Type #

NFData GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Methods

rnf :: GroupFilterName -> () #

Hashable 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

FromJSON GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromJSONKey GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToLog GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToHeader GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToQuery 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 #

ToByteString 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

type Rep GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

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

QueryErrorCode

newtype QueryErrorCode Source #

Constructors

QueryErrorCode' 

Instances

Instances details
Eq QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Ord QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Read QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Show QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Generic QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Associated Types

type Rep QueryErrorCode :: Type -> Type #

NFData QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Methods

rnf :: QueryErrorCode -> () #

Hashable 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

FromJSON QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromJSONKey QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToLog QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToHeader QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToQuery 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 #

ToByteString 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

type Rep QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

type Rep QueryErrorCode = D1 ('MetaData "QueryErrorCode" "Amazonka.ResourceGroups.Types.QueryErrorCode" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Ord QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Read QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Show QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Generic QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Associated Types

type Rep QueryType :: Type -> Type #

NFData QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

rnf :: QueryType -> () #

Hashable 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

FromJSON QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromJSONKey QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToLog QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToHeader QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToQuery QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

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 #

ToByteString QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toBS :: QueryType -> ByteString #

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 #

type Rep QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

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

ResourceFilterName

newtype ResourceFilterName Source #

Instances

Instances details
Eq ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Ord ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Read ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Show 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 #

NFData ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Methods

rnf :: ResourceFilterName -> () #

Hashable 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

FromJSON ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromJSONKey ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToLog ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToHeader ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToQuery 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

ToByteString 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

type Rep ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

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

ResourceStatusValue

newtype ResourceStatusValue Source #

Instances

Instances details
Eq ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Ord ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Read ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Show 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 #

NFData ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Methods

rnf :: ResourceStatusValue -> () #

Hashable 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

FromJSON ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromJSONKey ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToLog ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToHeader ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToQuery 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

ToByteString 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

type Rep ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

type Rep ResourceStatusValue = D1 ('MetaData "ResourceStatusValue" "Amazonka.ResourceGroups.Types.ResourceStatusValue" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Read FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Show 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 #

NFData FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Methods

rnf :: FailedResource -> () #

Hashable FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "FailedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") '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:resourceArn:FailedResource', failedResource_resourceArn - The ARN of the resource that failed to be added or removed.

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

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
Eq Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

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

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

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 #

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 #

NFData Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

rnf :: Group -> () #

Hashable Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

type Rep Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

type Rep Group = D1 ('MetaData "Group" "Amazonka.ResourceGroups.Types.Group" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Read GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Show 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 #

NFData GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Methods

rnf :: GroupConfiguration -> () #

Hashable GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupConfigurationStatus)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "proposedConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])))))

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:status:GroupConfiguration', groupConfiguration_status - The current status of an attempt to update the group configuration.

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

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
Eq GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Read GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Show 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 #

NFData GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Methods

rnf :: GroupConfigurationItem -> () #

Hashable GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

ToJSON GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Read GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Show 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 #

NFData GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Hashable GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

ToJSON GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Read GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Show 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 #

NFData GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Methods

rnf :: GroupFilter -> () #

Hashable GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

ToJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Read GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Show 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 #

NFData GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Methods

rnf :: GroupIdentifier -> () #

Hashable GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Read GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Show 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 #

NFData GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Methods

rnf :: GroupQuery -> () #

Hashable GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Read ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Show 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 #

NFData ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Methods

rnf :: ListGroupResourcesItem -> () #

Hashable ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroupResourcesItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdentifier))))

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

$sel:identifier:ListGroupResourcesItem', listGroupResourcesItem_identifier - Undocumented member.

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
Eq PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Read PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Show 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 #

NFData PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Methods

rnf :: PendingResource -> () #

Hashable PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Read QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Show 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 #

NFData QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Methods

rnf :: QueryError -> () #

Hashable QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Read ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Show 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 #

NFData ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Methods

rnf :: ResourceFilter -> () #

Hashable ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

ToJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Read ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Show 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 #

NFData ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Methods

rnf :: ResourceIdentifier -> () #

Hashable ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") '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:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The resource type of a resource, such as AWS::EC2::Instance.

$sel:resourceArn:ResourceIdentifier', resourceIdentifier_resourceArn - The ARN of a resource.

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
Eq ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Read ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Show 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 #

NFData ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Methods

rnf :: ResourceQuery -> () #

Hashable ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

ToJSON ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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
Eq ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Read ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Show 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 #

NFData ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Methods

rnf :: ResourceStatus -> () #

Hashable ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

FromJSON 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" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" '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.