packages feed

amazonka-resourcegroups 1.6.1 → 2.0

raw patch · 83 files changed

+7224/−2746 lines, 83 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.ResourceGroups: TagFilters10 :: QueryType
- Network.AWS.ResourceGroups: _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups: data Group
- Network.AWS.ResourceGroups: data GroupQuery
- Network.AWS.ResourceGroups: data QueryType
- Network.AWS.ResourceGroups: data ResourceIdentifier
- Network.AWS.ResourceGroups: data ResourceQuery
- Network.AWS.ResourceGroups: gDescription :: Lens' Group (Maybe Text)
- Network.AWS.ResourceGroups: gGroupARN :: Lens' Group Text
- Network.AWS.ResourceGroups: gName :: Lens' Group Text
- Network.AWS.ResourceGroups: gqGroupName :: Lens' GroupQuery Text
- Network.AWS.ResourceGroups: gqResourceQuery :: Lens' GroupQuery ResourceQuery
- Network.AWS.ResourceGroups: group' :: Text -> Text -> Group
- Network.AWS.ResourceGroups: groupQuery :: Text -> ResourceQuery -> GroupQuery
- Network.AWS.ResourceGroups: resourceGroups :: Service
- Network.AWS.ResourceGroups: resourceIdentifier :: ResourceIdentifier
- Network.AWS.ResourceGroups: resourceQuery :: QueryType -> Text -> ResourceQuery
- Network.AWS.ResourceGroups: riResourceARN :: Lens' ResourceIdentifier (Maybe Text)
- Network.AWS.ResourceGroups: riResourceType :: Lens' ResourceIdentifier (Maybe Text)
- Network.AWS.ResourceGroups: rqSearchQuery :: Lens' ResourceQuery Text
- Network.AWS.ResourceGroups: rqType :: Lens' ResourceQuery QueryType
- Network.AWS.ResourceGroups.CreateGroup: cgDescription :: Lens' CreateGroup (Maybe Text)
- Network.AWS.ResourceGroups.CreateGroup: cgName :: Lens' CreateGroup Text
- Network.AWS.ResourceGroups.CreateGroup: cgResourceQuery :: Lens' CreateGroup ResourceQuery
- Network.AWS.ResourceGroups.CreateGroup: cgTags :: Lens' CreateGroup (HashMap Text Text)
- Network.AWS.ResourceGroups.CreateGroup: cgrsGroup :: Lens' CreateGroupResponse (Maybe Group)
- Network.AWS.ResourceGroups.CreateGroup: cgrsResourceQuery :: Lens' CreateGroupResponse (Maybe ResourceQuery)
- Network.AWS.ResourceGroups.CreateGroup: cgrsResponseStatus :: Lens' CreateGroupResponse Int
- Network.AWS.ResourceGroups.CreateGroup: cgrsTags :: Lens' CreateGroupResponse (HashMap Text Text)
- Network.AWS.ResourceGroups.CreateGroup: createGroup :: Text -> ResourceQuery -> CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: createGroupResponse :: Int -> CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: data CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: data CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Data.Data.Data Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Data.Data.Data Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse
- Network.AWS.ResourceGroups.CreateGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.CreateGroup: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.CreateGroup.CreateGroup
- Network.AWS.ResourceGroups.DeleteGroup: data DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: data DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: deleteGroup :: Text -> DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: deleteGroupResponse :: Int -> DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: dgGroupName :: Lens' DeleteGroup Text
- Network.AWS.ResourceGroups.DeleteGroup: dgrsGroup :: Lens' DeleteGroupResponse (Maybe Group)
- Network.AWS.ResourceGroups.DeleteGroup: dgrsResponseStatus :: Lens' DeleteGroupResponse Int
- Network.AWS.ResourceGroups.DeleteGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance Data.Data.Data Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance Data.Data.Data Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse
- Network.AWS.ResourceGroups.DeleteGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.DeleteGroup: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup
- Network.AWS.ResourceGroups.GetGroup: data GetGroup
- Network.AWS.ResourceGroups.GetGroup: data GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: getGroup :: Text -> GetGroup
- Network.AWS.ResourceGroups.GetGroup: getGroupResponse :: Int -> GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: ggGroupName :: Lens' GetGroup Text
- Network.AWS.ResourceGroups.GetGroup: ggrsGroup :: Lens' GetGroupResponse (Maybe Group)
- Network.AWS.ResourceGroups.GetGroup: ggrsResponseStatus :: Lens' GetGroupResponse Int
- Network.AWS.ResourceGroups.GetGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance Data.Data.Data Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance Data.Data.Data Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroup.GetGroupResponse
- Network.AWS.ResourceGroups.GetGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroup: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetGroup.GetGroup
- Network.AWS.ResourceGroups.GetGroupQuery: data GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: data GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: getGroupQuery :: Text -> GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: getGroupQueryResponse :: Int -> GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: ggqGroupName :: Lens' GetGroupQuery Text
- Network.AWS.ResourceGroups.GetGroupQuery: ggqrsGroupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery)
- Network.AWS.ResourceGroups.GetGroupQuery: ggqrsResponseStatus :: Lens' GetGroupQueryResponse Int
- Network.AWS.ResourceGroups.GetGroupQuery: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance Data.Data.Data Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance Data.Data.Data Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
- Network.AWS.ResourceGroups.GetGroupQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetGroupQuery: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery
- Network.AWS.ResourceGroups.GetTags: data GetTags
- Network.AWS.ResourceGroups.GetTags: data GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: getTags :: Text -> GetTags
- Network.AWS.ResourceGroups.GetTags: getTagsResponse :: Int -> GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: gtARN :: Lens' GetTags Text
- Network.AWS.ResourceGroups.GetTags: gtrsARN :: Lens' GetTagsResponse (Maybe Text)
- Network.AWS.ResourceGroups.GetTags: gtrsResponseStatus :: Lens' GetTagsResponse Int
- Network.AWS.ResourceGroups.GetTags: gtrsTags :: Lens' GetTagsResponse (HashMap Text Text)
- Network.AWS.ResourceGroups.GetTags: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance Data.Data.Data Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance Data.Data.Data Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance GHC.Read.Read Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance GHC.Read.Read Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance GHC.Show.Show Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance GHC.Show.Show Network.AWS.ResourceGroups.GetTags.GetTagsResponse
- Network.AWS.ResourceGroups.GetTags: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.GetTags: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetTags.GetTags
- Network.AWS.ResourceGroups.ListGroupResources: data ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: data ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance Data.Data.Data Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Data.Data.Data Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroupResources: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: lgrGroupName :: Lens' ListGroupResources Text
- Network.AWS.ResourceGroups.ListGroupResources: lgrMaxResults :: Lens' ListGroupResources (Maybe Natural)
- Network.AWS.ResourceGroups.ListGroupResources: lgrNextToken :: Lens' ListGroupResources (Maybe Text)
- Network.AWS.ResourceGroups.ListGroupResources: lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text)
- Network.AWS.ResourceGroups.ListGroupResources: lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier]
- Network.AWS.ResourceGroups.ListGroupResources: lgrrsResponseStatus :: Lens' ListGroupResourcesResponse Int
- Network.AWS.ResourceGroups.ListGroupResources: listGroupResources :: Text -> ListGroupResources
- Network.AWS.ResourceGroups.ListGroupResources: listGroupResourcesResponse :: Int -> ListGroupResourcesResponse
- Network.AWS.ResourceGroups.ListGroups: data ListGroups
- Network.AWS.ResourceGroups.ListGroups: data ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance Data.Data.Data Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Data.Data.Data Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse
- Network.AWS.ResourceGroups.ListGroups: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.ListGroups.ListGroups
- Network.AWS.ResourceGroups.ListGroups: lgMaxResults :: Lens' ListGroups (Maybe Natural)
- Network.AWS.ResourceGroups.ListGroups: lgNextToken :: Lens' ListGroups (Maybe Text)
- Network.AWS.ResourceGroups.ListGroups: lgrsGroups :: Lens' ListGroupsResponse [Group]
- Network.AWS.ResourceGroups.ListGroups: lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)
- Network.AWS.ResourceGroups.ListGroups: lgrsResponseStatus :: Lens' ListGroupsResponse Int
- Network.AWS.ResourceGroups.ListGroups: listGroups :: ListGroups
- Network.AWS.ResourceGroups.ListGroups: listGroupsResponse :: Int -> ListGroupsResponse
- Network.AWS.ResourceGroups.SearchResources: data SearchResources
- Network.AWS.ResourceGroups.SearchResources: data SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Data.Data.Data Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Data.Data.Data Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Classes.Eq Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Classes.Eq Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Generics.Generic Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Generics.Generic Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Read.Read Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Read.Read Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Show.Show Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance GHC.Show.Show Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.SearchResources.SearchResources
- Network.AWS.ResourceGroups.SearchResources: searchResources :: ResourceQuery -> SearchResources
- Network.AWS.ResourceGroups.SearchResources: searchResourcesResponse :: Int -> SearchResourcesResponse
- Network.AWS.ResourceGroups.SearchResources: srMaxResults :: Lens' SearchResources (Maybe Natural)
- Network.AWS.ResourceGroups.SearchResources: srNextToken :: Lens' SearchResources (Maybe Text)
- Network.AWS.ResourceGroups.SearchResources: srResourceQuery :: Lens' SearchResources ResourceQuery
- Network.AWS.ResourceGroups.SearchResources: srrsNextToken :: Lens' SearchResourcesResponse (Maybe Text)
- Network.AWS.ResourceGroups.SearchResources: srrsResourceIdentifiers :: Lens' SearchResourcesResponse [ResourceIdentifier]
- Network.AWS.ResourceGroups.SearchResources: srrsResponseStatus :: Lens' SearchResourcesResponse Int
- Network.AWS.ResourceGroups.Tag: data Tag
- Network.AWS.ResourceGroups.Tag: data TagResponse
- Network.AWS.ResourceGroups.Tag: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Data.Data.Data Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Data.Data.Data Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance GHC.Classes.Eq Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance GHC.Classes.Eq Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance GHC.Generics.Generic Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance GHC.Generics.Generic Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance GHC.Read.Read Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance GHC.Read.Read Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance GHC.Show.Show Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance GHC.Show.Show Network.AWS.ResourceGroups.Tag.TagResponse
- Network.AWS.ResourceGroups.Tag: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.Tag.Tag
- Network.AWS.ResourceGroups.Tag: tag :: Text -> Tag
- Network.AWS.ResourceGroups.Tag: tagARN :: Lens' Tag Text
- Network.AWS.ResourceGroups.Tag: tagResponse :: Int -> TagResponse
- Network.AWS.ResourceGroups.Tag: tagTags :: Lens' Tag (HashMap Text Text)
- Network.AWS.ResourceGroups.Tag: tagrsARN :: Lens' TagResponse (Maybe Text)
- Network.AWS.ResourceGroups.Tag: tagrsResponseStatus :: Lens' TagResponse Int
- Network.AWS.ResourceGroups.Tag: tagrsTags :: Lens' TagResponse (HashMap Text Text)
- Network.AWS.ResourceGroups.Types: TagFilters10 :: QueryType
- Network.AWS.ResourceGroups.Types: _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.ResourceGroups.Types: data Group
- Network.AWS.ResourceGroups.Types: data GroupQuery
- Network.AWS.ResourceGroups.Types: data QueryType
- Network.AWS.ResourceGroups.Types: data ResourceIdentifier
- Network.AWS.ResourceGroups.Types: data ResourceQuery
- Network.AWS.ResourceGroups.Types: gDescription :: Lens' Group (Maybe Text)
- Network.AWS.ResourceGroups.Types: gGroupARN :: Lens' Group Text
- Network.AWS.ResourceGroups.Types: gName :: Lens' Group Text
- Network.AWS.ResourceGroups.Types: gqGroupName :: Lens' GroupQuery Text
- Network.AWS.ResourceGroups.Types: gqResourceQuery :: Lens' GroupQuery ResourceQuery
- Network.AWS.ResourceGroups.Types: group' :: Text -> Text -> Group
- Network.AWS.ResourceGroups.Types: groupQuery :: Text -> ResourceQuery -> GroupQuery
- Network.AWS.ResourceGroups.Types: resourceGroups :: Service
- Network.AWS.ResourceGroups.Types: resourceIdentifier :: ResourceIdentifier
- Network.AWS.ResourceGroups.Types: resourceQuery :: QueryType -> Text -> ResourceQuery
- Network.AWS.ResourceGroups.Types: riResourceARN :: Lens' ResourceIdentifier (Maybe Text)
- Network.AWS.ResourceGroups.Types: riResourceType :: Lens' ResourceIdentifier (Maybe Text)
- Network.AWS.ResourceGroups.Types: rqSearchQuery :: Lens' ResourceQuery Text
- Network.AWS.ResourceGroups.Types: rqType :: Lens' ResourceQuery QueryType
- Network.AWS.ResourceGroups.Untag: data Untag
- Network.AWS.ResourceGroups.Untag: data UntagResponse
- Network.AWS.ResourceGroups.Untag: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Data.Data.Data Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Data.Data.Data Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance GHC.Classes.Eq Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance GHC.Classes.Eq Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance GHC.Generics.Generic Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance GHC.Generics.Generic Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance GHC.Read.Read Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance GHC.Read.Read Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance GHC.Show.Show Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance GHC.Show.Show Network.AWS.ResourceGroups.Untag.UntagResponse
- Network.AWS.ResourceGroups.Untag: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.Untag.Untag
- Network.AWS.ResourceGroups.Untag: uARN :: Lens' Untag Text
- Network.AWS.ResourceGroups.Untag: uKeys :: Lens' Untag [Text]
- Network.AWS.ResourceGroups.Untag: untag :: Text -> Untag
- Network.AWS.ResourceGroups.Untag: untagResponse :: Int -> UntagResponse
- Network.AWS.ResourceGroups.Untag: ursARN :: Lens' UntagResponse (Maybe Text)
- Network.AWS.ResourceGroups.Untag: ursKeys :: Lens' UntagResponse [Text]
- Network.AWS.ResourceGroups.Untag: ursResponseStatus :: Lens' UntagResponse Int
- Network.AWS.ResourceGroups.UpdateGroup: data UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: data UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroup: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: ugDescription :: Lens' UpdateGroup (Maybe Text)
- Network.AWS.ResourceGroups.UpdateGroup: ugGroupName :: Lens' UpdateGroup Text
- Network.AWS.ResourceGroups.UpdateGroup: ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group)
- Network.AWS.ResourceGroups.UpdateGroup: ugrsResponseStatus :: Lens' UpdateGroupResponse Int
- Network.AWS.ResourceGroups.UpdateGroup: updateGroup :: Text -> UpdateGroup
- Network.AWS.ResourceGroups.UpdateGroup: updateGroupResponse :: Int -> UpdateGroupResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: data UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: data UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: ugqGroupName :: Lens' UpdateGroupQuery Text
- Network.AWS.ResourceGroups.UpdateGroupQuery: ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery)
- Network.AWS.ResourceGroups.UpdateGroupQuery: ugqrsResponseStatus :: Lens' UpdateGroupQueryResponse Int
- Network.AWS.ResourceGroups.UpdateGroupQuery: updateGroupQuery :: Text -> ResourceQuery -> UpdateGroupQuery
- Network.AWS.ResourceGroups.UpdateGroupQuery: updateGroupQueryResponse :: Int -> UpdateGroupQueryResponse
+ Amazonka.ResourceGroups: CreateGroup' :: Maybe [GroupConfigurationItem] -> Maybe Text -> Maybe ResourceQuery -> Maybe (HashMap Text Text) -> Text -> CreateGroup
+ Amazonka.ResourceGroups: CreateGroupResponse' :: Maybe Group -> Maybe GroupConfiguration -> Maybe ResourceQuery -> Maybe (HashMap Text Text) -> Int -> CreateGroupResponse
+ Amazonka.ResourceGroups: DeleteGroup' :: Maybe Text -> Maybe Text -> DeleteGroup
+ Amazonka.ResourceGroups: DeleteGroupResponse' :: Maybe Group -> Int -> DeleteGroupResponse
+ Amazonka.ResourceGroups: FailedResource' :: Maybe Text -> Maybe Text -> Maybe Text -> FailedResource
+ Amazonka.ResourceGroups: GetGroup' :: Maybe Text -> Maybe Text -> GetGroup
+ Amazonka.ResourceGroups: GetGroupConfiguration' :: Maybe Text -> GetGroupConfiguration
+ Amazonka.ResourceGroups: GetGroupConfigurationResponse' :: Maybe GroupConfiguration -> Int -> GetGroupConfigurationResponse
+ Amazonka.ResourceGroups: GetGroupQuery' :: Maybe Text -> Maybe Text -> GetGroupQuery
+ Amazonka.ResourceGroups: GetGroupQueryResponse' :: Maybe GroupQuery -> Int -> GetGroupQueryResponse
+ Amazonka.ResourceGroups: GetGroupResponse' :: Maybe Group -> Int -> GetGroupResponse
+ Amazonka.ResourceGroups: GetTags' :: Text -> GetTags
+ Amazonka.ResourceGroups: GetTagsResponse' :: Maybe Text -> Maybe (HashMap Text Text) -> Int -> GetTagsResponse
+ Amazonka.ResourceGroups: Group' :: Maybe Text -> Text -> Text -> Group
+ Amazonka.ResourceGroups: GroupConfiguration' :: Maybe [GroupConfigurationItem] -> Maybe Text -> Maybe [GroupConfigurationItem] -> Maybe GroupConfigurationStatus -> GroupConfiguration
+ Amazonka.ResourceGroups: GroupConfigurationItem' :: Maybe [GroupConfigurationParameter] -> Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups: GroupConfigurationParameter' :: Maybe [Text] -> Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups: GroupConfigurationStatus' :: Text -> GroupConfigurationStatus
+ Amazonka.ResourceGroups: GroupFilter' :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups: GroupFilterName' :: Text -> GroupFilterName
+ Amazonka.ResourceGroups: GroupIdentifier' :: Maybe Text -> Maybe Text -> GroupIdentifier
+ Amazonka.ResourceGroups: GroupQuery' :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups: GroupResources' :: Text -> NonEmpty Text -> GroupResources
+ Amazonka.ResourceGroups: GroupResourcesResponse' :: Maybe [FailedResource] -> Maybe [PendingResource] -> Maybe (NonEmpty Text) -> Int -> GroupResourcesResponse
+ Amazonka.ResourceGroups: ListGroupResources' :: Maybe [ResourceFilter] -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> ListGroupResources
+ Amazonka.ResourceGroups: ListGroupResourcesItem' :: Maybe ResourceIdentifier -> Maybe ResourceStatus -> ListGroupResourcesItem
+ Amazonka.ResourceGroups: ListGroupResourcesResponse' :: Maybe Text -> Maybe [QueryError] -> Maybe [ResourceIdentifier] -> Maybe [ListGroupResourcesItem] -> Int -> ListGroupResourcesResponse
+ Amazonka.ResourceGroups: ListGroups' :: Maybe [GroupFilter] -> Maybe Natural -> Maybe Text -> ListGroups
+ Amazonka.ResourceGroups: ListGroupsResponse' :: Maybe [GroupIdentifier] -> Maybe [Group] -> Maybe Text -> Int -> ListGroupsResponse
+ Amazonka.ResourceGroups: PendingResource' :: Maybe Text -> PendingResource
+ Amazonka.ResourceGroups: PutGroupConfiguration' :: Maybe [GroupConfigurationItem] -> Maybe Text -> PutGroupConfiguration
+ Amazonka.ResourceGroups: PutGroupConfigurationResponse' :: Int -> PutGroupConfigurationResponse
+ Amazonka.ResourceGroups: QueryError' :: Maybe QueryErrorCode -> Maybe Text -> QueryError
+ Amazonka.ResourceGroups: QueryErrorCode' :: Text -> QueryErrorCode
+ Amazonka.ResourceGroups: QueryType' :: Text -> QueryType
+ Amazonka.ResourceGroups: ResourceFilter' :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups: ResourceFilterName' :: Text -> ResourceFilterName
+ Amazonka.ResourceGroups: ResourceIdentifier' :: Maybe Text -> Maybe Text -> ResourceIdentifier
+ Amazonka.ResourceGroups: ResourceQuery' :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups: ResourceStatus' :: Maybe ResourceStatusValue -> ResourceStatus
+ Amazonka.ResourceGroups: ResourceStatusValue' :: Text -> ResourceStatusValue
+ Amazonka.ResourceGroups: SearchResources' :: Maybe Natural -> Maybe Text -> ResourceQuery -> SearchResources
+ Amazonka.ResourceGroups: SearchResourcesResponse' :: Maybe Text -> Maybe [QueryError] -> Maybe [ResourceIdentifier] -> Int -> SearchResourcesResponse
+ Amazonka.ResourceGroups: Tag' :: Text -> HashMap Text Text -> Tag
+ Amazonka.ResourceGroups: TagResponse' :: Maybe Text -> Maybe (HashMap Text Text) -> Int -> TagResponse
+ Amazonka.ResourceGroups: UngroupResources' :: Text -> NonEmpty Text -> UngroupResources
+ Amazonka.ResourceGroups: UngroupResourcesResponse' :: Maybe [FailedResource] -> Maybe [PendingResource] -> Maybe (NonEmpty Text) -> Int -> UngroupResourcesResponse
+ Amazonka.ResourceGroups: Untag' :: Text -> [Text] -> Untag
+ Amazonka.ResourceGroups: UntagResponse' :: Maybe Text -> Maybe [Text] -> Int -> UntagResponse
+ Amazonka.ResourceGroups: UpdateGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> UpdateGroup
+ Amazonka.ResourceGroups: UpdateGroupQuery' :: Maybe Text -> Maybe Text -> ResourceQuery -> UpdateGroupQuery
+ Amazonka.ResourceGroups: UpdateGroupQueryResponse' :: Maybe GroupQuery -> Int -> UpdateGroupQueryResponse
+ Amazonka.ResourceGroups: UpdateGroupResponse' :: Maybe Group -> Int -> UpdateGroupResponse
+ Amazonka.ResourceGroups: [fromGroupConfigurationStatus] :: GroupConfigurationStatus -> Text
+ Amazonka.ResourceGroups: [fromGroupFilterName] :: GroupFilterName -> Text
+ Amazonka.ResourceGroups: [fromQueryErrorCode] :: QueryErrorCode -> Text
+ Amazonka.ResourceGroups: [fromQueryType] :: QueryType -> Text
+ Amazonka.ResourceGroups: [fromResourceFilterName] :: ResourceFilterName -> Text
+ Amazonka.ResourceGroups: [fromResourceStatusValue] :: ResourceStatusValue -> Text
+ Amazonka.ResourceGroups: _BadRequestException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _ForbiddenException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _InternalServerErrorException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _MethodNotAllowedException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _NotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: _UnauthorizedException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups: data CreateGroup
+ Amazonka.ResourceGroups: data CreateGroupResponse
+ Amazonka.ResourceGroups: data DeleteGroup
+ Amazonka.ResourceGroups: data DeleteGroupResponse
+ Amazonka.ResourceGroups: data FailedResource
+ Amazonka.ResourceGroups: data GetGroup
+ Amazonka.ResourceGroups: data GetGroupConfiguration
+ Amazonka.ResourceGroups: data GetGroupConfigurationResponse
+ Amazonka.ResourceGroups: data GetGroupQuery
+ Amazonka.ResourceGroups: data GetGroupQueryResponse
+ Amazonka.ResourceGroups: data GetGroupResponse
+ Amazonka.ResourceGroups: data GetTags
+ Amazonka.ResourceGroups: data GetTagsResponse
+ Amazonka.ResourceGroups: data Group
+ Amazonka.ResourceGroups: data GroupConfiguration
+ Amazonka.ResourceGroups: data GroupConfigurationItem
+ Amazonka.ResourceGroups: data GroupConfigurationParameter
+ Amazonka.ResourceGroups: data GroupFilter
+ Amazonka.ResourceGroups: data GroupIdentifier
+ Amazonka.ResourceGroups: data GroupQuery
+ Amazonka.ResourceGroups: data GroupResources
+ Amazonka.ResourceGroups: data GroupResourcesResponse
+ Amazonka.ResourceGroups: data ListGroupResources
+ Amazonka.ResourceGroups: data ListGroupResourcesItem
+ Amazonka.ResourceGroups: data ListGroupResourcesResponse
+ Amazonka.ResourceGroups: data ListGroups
+ Amazonka.ResourceGroups: data ListGroupsResponse
+ Amazonka.ResourceGroups: data PendingResource
+ Amazonka.ResourceGroups: data PutGroupConfiguration
+ Amazonka.ResourceGroups: data PutGroupConfigurationResponse
+ Amazonka.ResourceGroups: data QueryError
+ Amazonka.ResourceGroups: data ResourceFilter
+ Amazonka.ResourceGroups: data ResourceIdentifier
+ Amazonka.ResourceGroups: data ResourceQuery
+ Amazonka.ResourceGroups: data ResourceStatus
+ Amazonka.ResourceGroups: data SearchResources
+ Amazonka.ResourceGroups: data SearchResourcesResponse
+ Amazonka.ResourceGroups: data Tag
+ Amazonka.ResourceGroups: data TagResponse
+ Amazonka.ResourceGroups: data UngroupResources
+ Amazonka.ResourceGroups: data UngroupResourcesResponse
+ Amazonka.ResourceGroups: data Untag
+ Amazonka.ResourceGroups: data UntagResponse
+ Amazonka.ResourceGroups: data UpdateGroup
+ Amazonka.ResourceGroups: data UpdateGroupQuery
+ Amazonka.ResourceGroups: data UpdateGroupQueryResponse
+ Amazonka.ResourceGroups: data UpdateGroupResponse
+ Amazonka.ResourceGroups: defaultService :: Service
+ Amazonka.ResourceGroups: newCreateGroup :: Text -> CreateGroup
+ Amazonka.ResourceGroups: newCreateGroupResponse :: Int -> CreateGroupResponse
+ Amazonka.ResourceGroups: newDeleteGroup :: DeleteGroup
+ Amazonka.ResourceGroups: newDeleteGroupResponse :: Int -> DeleteGroupResponse
+ Amazonka.ResourceGroups: newFailedResource :: FailedResource
+ Amazonka.ResourceGroups: newGetGroup :: GetGroup
+ Amazonka.ResourceGroups: newGetGroupConfiguration :: GetGroupConfiguration
+ Amazonka.ResourceGroups: newGetGroupConfigurationResponse :: Int -> GetGroupConfigurationResponse
+ Amazonka.ResourceGroups: newGetGroupQuery :: GetGroupQuery
+ Amazonka.ResourceGroups: newGetGroupQueryResponse :: Int -> GetGroupQueryResponse
+ Amazonka.ResourceGroups: newGetGroupResponse :: Int -> GetGroupResponse
+ Amazonka.ResourceGroups: newGetTags :: Text -> GetTags
+ Amazonka.ResourceGroups: newGetTagsResponse :: Int -> GetTagsResponse
+ Amazonka.ResourceGroups: newGroup :: Text -> Text -> Group
+ Amazonka.ResourceGroups: newGroupConfiguration :: GroupConfiguration
+ Amazonka.ResourceGroups: newGroupConfigurationItem :: Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups: newGroupConfigurationParameter :: Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups: newGroupFilter :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups: newGroupIdentifier :: GroupIdentifier
+ Amazonka.ResourceGroups: newGroupQuery :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups: newGroupResources :: Text -> NonEmpty Text -> GroupResources
+ Amazonka.ResourceGroups: newGroupResourcesResponse :: Int -> GroupResourcesResponse
+ Amazonka.ResourceGroups: newListGroupResources :: ListGroupResources
+ Amazonka.ResourceGroups: newListGroupResourcesItem :: ListGroupResourcesItem
+ Amazonka.ResourceGroups: newListGroupResourcesResponse :: Int -> ListGroupResourcesResponse
+ Amazonka.ResourceGroups: newListGroups :: ListGroups
+ Amazonka.ResourceGroups: newListGroupsResponse :: Int -> ListGroupsResponse
+ Amazonka.ResourceGroups: newPendingResource :: PendingResource
+ Amazonka.ResourceGroups: newPutGroupConfiguration :: PutGroupConfiguration
+ Amazonka.ResourceGroups: newPutGroupConfigurationResponse :: Int -> PutGroupConfigurationResponse
+ Amazonka.ResourceGroups: newQueryError :: QueryError
+ Amazonka.ResourceGroups: newResourceFilter :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups: newResourceIdentifier :: ResourceIdentifier
+ Amazonka.ResourceGroups: newResourceQuery :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups: newResourceStatus :: ResourceStatus
+ Amazonka.ResourceGroups: newSearchResources :: ResourceQuery -> SearchResources
+ Amazonka.ResourceGroups: newSearchResourcesResponse :: Int -> SearchResourcesResponse
+ Amazonka.ResourceGroups: newTag :: Text -> Tag
+ Amazonka.ResourceGroups: newTagResponse :: Int -> TagResponse
+ Amazonka.ResourceGroups: newUngroupResources :: Text -> NonEmpty Text -> UngroupResources
+ Amazonka.ResourceGroups: newUngroupResourcesResponse :: Int -> UngroupResourcesResponse
+ Amazonka.ResourceGroups: newUntag :: Text -> Untag
+ Amazonka.ResourceGroups: newUntagResponse :: Int -> UntagResponse
+ Amazonka.ResourceGroups: newUpdateGroup :: UpdateGroup
+ Amazonka.ResourceGroups: newUpdateGroupQuery :: ResourceQuery -> UpdateGroupQuery
+ Amazonka.ResourceGroups: newUpdateGroupQueryResponse :: Int -> UpdateGroupQueryResponse
+ Amazonka.ResourceGroups: newUpdateGroupResponse :: Int -> UpdateGroupResponse
+ Amazonka.ResourceGroups: newtype GroupConfigurationStatus
+ Amazonka.ResourceGroups: newtype GroupFilterName
+ Amazonka.ResourceGroups: newtype QueryErrorCode
+ Amazonka.ResourceGroups: newtype QueryType
+ Amazonka.ResourceGroups: newtype ResourceFilterName
+ Amazonka.ResourceGroups: newtype ResourceStatusValue
+ Amazonka.ResourceGroups: pattern GroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus
+ Amazonka.ResourceGroups: pattern GroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus
+ Amazonka.ResourceGroups: pattern GroupConfigurationStatus_UPDATING :: GroupConfigurationStatus
+ Amazonka.ResourceGroups: pattern GroupFilterName_Configuration_type :: GroupFilterName
+ Amazonka.ResourceGroups: pattern GroupFilterName_Resource_type :: GroupFilterName
+ Amazonka.ResourceGroups: pattern QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE :: QueryErrorCode
+ Amazonka.ResourceGroups: pattern QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING :: QueryErrorCode
+ Amazonka.ResourceGroups: pattern QueryType_CLOUDFORMATION_STACK_1_0 :: QueryType
+ Amazonka.ResourceGroups: pattern QueryType_TAG_FILTERS_1_0 :: QueryType
+ Amazonka.ResourceGroups: pattern ResourceFilterName_Resource_type :: ResourceFilterName
+ Amazonka.ResourceGroups: pattern ResourceStatusValue_PENDING :: ResourceStatusValue
+ Amazonka.ResourceGroups.CreateGroup: CreateGroup' :: Maybe [GroupConfigurationItem] -> Maybe Text -> Maybe ResourceQuery -> Maybe (HashMap Text Text) -> Text -> CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: CreateGroupResponse' :: Maybe Group -> Maybe GroupConfiguration -> Maybe ResourceQuery -> Maybe (HashMap Text Text) -> Int -> CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: [$sel:configuration:CreateGroup'] :: CreateGroup -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.CreateGroup: [$sel:description:CreateGroup'] :: CreateGroup -> Maybe Text
+ Amazonka.ResourceGroups.CreateGroup: [$sel:group':CreateGroupResponse'] :: CreateGroupResponse -> Maybe Group
+ Amazonka.ResourceGroups.CreateGroup: [$sel:groupConfiguration:CreateGroupResponse'] :: CreateGroupResponse -> Maybe GroupConfiguration
+ Amazonka.ResourceGroups.CreateGroup: [$sel:httpStatus:CreateGroupResponse'] :: CreateGroupResponse -> Int
+ Amazonka.ResourceGroups.CreateGroup: [$sel:name:CreateGroup'] :: CreateGroup -> Text
+ Amazonka.ResourceGroups.CreateGroup: [$sel:resourceQuery:CreateGroup'] :: CreateGroup -> Maybe ResourceQuery
+ Amazonka.ResourceGroups.CreateGroup: [$sel:resourceQuery:CreateGroupResponse'] :: CreateGroupResponse -> Maybe ResourceQuery
+ Amazonka.ResourceGroups.CreateGroup: [$sel:tags:CreateGroup'] :: CreateGroup -> Maybe (HashMap Text Text)
+ Amazonka.ResourceGroups.CreateGroup: [$sel:tags:CreateGroupResponse'] :: CreateGroupResponse -> Maybe (HashMap Text Text)
+ Amazonka.ResourceGroups.CreateGroup: createGroupResponse_group :: Lens' CreateGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.CreateGroup: createGroupResponse_groupConfiguration :: Lens' CreateGroupResponse (Maybe GroupConfiguration)
+ Amazonka.ResourceGroups.CreateGroup: createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
+ Amazonka.ResourceGroups.CreateGroup: createGroupResponse_resourceQuery :: Lens' CreateGroupResponse (Maybe ResourceQuery)
+ Amazonka.ResourceGroups.CreateGroup: createGroupResponse_tags :: Lens' CreateGroupResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.CreateGroup: createGroup_configuration :: Lens' CreateGroup (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.CreateGroup: createGroup_description :: Lens' CreateGroup (Maybe Text)
+ Amazonka.ResourceGroups.CreateGroup: createGroup_name :: Lens' CreateGroup Text
+ Amazonka.ResourceGroups.CreateGroup: createGroup_resourceQuery :: Lens' CreateGroup (Maybe ResourceQuery)
+ Amazonka.ResourceGroups.CreateGroup: createGroup_tags :: Lens' CreateGroup (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.CreateGroup: data CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: data CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.CreateGroup.CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.CreateGroup.CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.CreateGroup.CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Read.Read Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Read.Read Amazonka.ResourceGroups.CreateGroup.CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Show.Show Amazonka.ResourceGroups.CreateGroup.CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: instance GHC.Show.Show Amazonka.ResourceGroups.CreateGroup.CreateGroupResponse
+ Amazonka.ResourceGroups.CreateGroup: newCreateGroup :: Text -> CreateGroup
+ Amazonka.ResourceGroups.CreateGroup: newCreateGroupResponse :: Int -> CreateGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: DeleteGroup' :: Maybe Text -> Maybe Text -> DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: DeleteGroupResponse' :: Maybe Group -> Int -> DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: [$sel:group':DeleteGroup'] :: DeleteGroup -> Maybe Text
+ Amazonka.ResourceGroups.DeleteGroup: [$sel:group':DeleteGroupResponse'] :: DeleteGroupResponse -> Maybe Group
+ Amazonka.ResourceGroups.DeleteGroup: [$sel:groupName:DeleteGroup'] :: DeleteGroup -> Maybe Text
+ Amazonka.ResourceGroups.DeleteGroup: [$sel:httpStatus:DeleteGroupResponse'] :: DeleteGroupResponse -> Int
+ Amazonka.ResourceGroups.DeleteGroup: data DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: data DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: deleteGroupResponse_group :: Lens' DeleteGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.DeleteGroup: deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int
+ Amazonka.ResourceGroups.DeleteGroup: deleteGroup_group :: Lens' DeleteGroup (Maybe Text)
+ Amazonka.ResourceGroups.DeleteGroup: deleteGroup_groupName :: Lens' DeleteGroup (Maybe Text)
+ Amazonka.ResourceGroups.DeleteGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.DeleteGroup.DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.DeleteGroup.DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.DeleteGroup.DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Read.Read Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Read.Read Amazonka.ResourceGroups.DeleteGroup.DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Show.Show Amazonka.ResourceGroups.DeleteGroup.DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: instance GHC.Show.Show Amazonka.ResourceGroups.DeleteGroup.DeleteGroupResponse
+ Amazonka.ResourceGroups.DeleteGroup: newDeleteGroup :: DeleteGroup
+ Amazonka.ResourceGroups.DeleteGroup: newDeleteGroupResponse :: Int -> DeleteGroupResponse
+ Amazonka.ResourceGroups.GetGroup: GetGroup' :: Maybe Text -> Maybe Text -> GetGroup
+ Amazonka.ResourceGroups.GetGroup: GetGroupResponse' :: Maybe Group -> Int -> GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: [$sel:group':GetGroup'] :: GetGroup -> Maybe Text
+ Amazonka.ResourceGroups.GetGroup: [$sel:group':GetGroupResponse'] :: GetGroupResponse -> Maybe Group
+ Amazonka.ResourceGroups.GetGroup: [$sel:groupName:GetGroup'] :: GetGroup -> Maybe Text
+ Amazonka.ResourceGroups.GetGroup: [$sel:httpStatus:GetGroupResponse'] :: GetGroupResponse -> Int
+ Amazonka.ResourceGroups.GetGroup: data GetGroup
+ Amazonka.ResourceGroups.GetGroup: data GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.GetGroup: getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
+ Amazonka.ResourceGroups.GetGroup: getGroup_group :: Lens' GetGroup (Maybe Text)
+ Amazonka.ResourceGroups.GetGroup: getGroup_groupName :: Lens' GetGroup (Maybe Text)
+ Amazonka.ResourceGroups.GetGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroup.GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroup.GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroup.GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroup.GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroup.GetGroup
+ Amazonka.ResourceGroups.GetGroup: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroup.GetGroupResponse
+ Amazonka.ResourceGroups.GetGroup: newGetGroup :: GetGroup
+ Amazonka.ResourceGroups.GetGroup: newGetGroupResponse :: Int -> GetGroupResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: GetGroupConfiguration' :: Maybe Text -> GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: GetGroupConfigurationResponse' :: Maybe GroupConfiguration -> Int -> GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: [$sel:group':GetGroupConfiguration'] :: GetGroupConfiguration -> Maybe Text
+ Amazonka.ResourceGroups.GetGroupConfiguration: [$sel:groupConfiguration:GetGroupConfigurationResponse'] :: GetGroupConfigurationResponse -> Maybe GroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: [$sel:httpStatus:GetGroupConfigurationResponse'] :: GetGroupConfigurationResponse -> Int
+ Amazonka.ResourceGroups.GetGroupConfiguration: data GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: data GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: getGroupConfigurationResponse_groupConfiguration :: Lens' GetGroupConfigurationResponse (Maybe GroupConfiguration)
+ Amazonka.ResourceGroups.GetGroupConfiguration: getGroupConfigurationResponse_httpStatus :: Lens' GetGroupConfigurationResponse Int
+ Amazonka.ResourceGroups.GetGroupConfiguration: getGroupConfiguration_group :: Lens' GetGroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroupConfiguration.GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupConfiguration: newGetGroupConfiguration :: GetGroupConfiguration
+ Amazonka.ResourceGroups.GetGroupConfiguration: newGetGroupConfigurationResponse :: Int -> GetGroupConfigurationResponse
+ Amazonka.ResourceGroups.GetGroupQuery: GetGroupQuery' :: Maybe Text -> Maybe Text -> GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: GetGroupQueryResponse' :: Maybe GroupQuery -> Int -> GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: [$sel:group':GetGroupQuery'] :: GetGroupQuery -> Maybe Text
+ Amazonka.ResourceGroups.GetGroupQuery: [$sel:groupName:GetGroupQuery'] :: GetGroupQuery -> Maybe Text
+ Amazonka.ResourceGroups.GetGroupQuery: [$sel:groupQuery:GetGroupQueryResponse'] :: GetGroupQueryResponse -> Maybe GroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: [$sel:httpStatus:GetGroupQueryResponse'] :: GetGroupQueryResponse -> Int
+ Amazonka.ResourceGroups.GetGroupQuery: data GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: data GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: getGroupQueryResponse_groupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery)
+ Amazonka.ResourceGroups.GetGroupQuery: getGroupQueryResponse_httpStatus :: Lens' GetGroupQueryResponse Int
+ Amazonka.ResourceGroups.GetGroupQuery: getGroupQuery_group :: Lens' GetGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.GetGroupQuery: getGroupQuery_groupName :: Lens' GetGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.GetGroupQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Read.Read Amazonka.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroupQuery.GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: instance GHC.Show.Show Amazonka.ResourceGroups.GetGroupQuery.GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetGroupQuery: newGetGroupQuery :: GetGroupQuery
+ Amazonka.ResourceGroups.GetGroupQuery: newGetGroupQueryResponse :: Int -> GetGroupQueryResponse
+ Amazonka.ResourceGroups.GetTags: GetTags' :: Text -> GetTags
+ Amazonka.ResourceGroups.GetTags: GetTagsResponse' :: Maybe Text -> Maybe (HashMap Text Text) -> Int -> GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: [$sel:arn:GetTags'] :: GetTags -> Text
+ Amazonka.ResourceGroups.GetTags: [$sel:arn:GetTagsResponse'] :: GetTagsResponse -> Maybe Text
+ Amazonka.ResourceGroups.GetTags: [$sel:httpStatus:GetTagsResponse'] :: GetTagsResponse -> Int
+ Amazonka.ResourceGroups.GetTags: [$sel:tags:GetTagsResponse'] :: GetTagsResponse -> Maybe (HashMap Text Text)
+ Amazonka.ResourceGroups.GetTags: data GetTags
+ Amazonka.ResourceGroups.GetTags: data GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: getTagsResponse_arn :: Lens' GetTagsResponse (Maybe Text)
+ Amazonka.ResourceGroups.GetTags: getTagsResponse_httpStatus :: Lens' GetTagsResponse Int
+ Amazonka.ResourceGroups.GetTags: getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.GetTags: getTags_arn :: Lens' GetTags Text
+ Amazonka.ResourceGroups.GetTags: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GetTags.GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance GHC.Classes.Eq Amazonka.ResourceGroups.GetTags.GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance GHC.Generics.Generic Amazonka.ResourceGroups.GetTags.GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: instance GHC.Read.Read Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance GHC.Read.Read Amazonka.ResourceGroups.GetTags.GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: instance GHC.Show.Show Amazonka.ResourceGroups.GetTags.GetTags
+ Amazonka.ResourceGroups.GetTags: instance GHC.Show.Show Amazonka.ResourceGroups.GetTags.GetTagsResponse
+ Amazonka.ResourceGroups.GetTags: newGetTags :: Text -> GetTags
+ Amazonka.ResourceGroups.GetTags: newGetTagsResponse :: Int -> GetTagsResponse
+ Amazonka.ResourceGroups.GroupResources: GroupResources' :: Text -> NonEmpty Text -> GroupResources
+ Amazonka.ResourceGroups.GroupResources: GroupResourcesResponse' :: Maybe [FailedResource] -> Maybe [PendingResource] -> Maybe (NonEmpty Text) -> Int -> GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: [$sel:failed:GroupResourcesResponse'] :: GroupResourcesResponse -> Maybe [FailedResource]
+ Amazonka.ResourceGroups.GroupResources: [$sel:group':GroupResources'] :: GroupResources -> Text
+ Amazonka.ResourceGroups.GroupResources: [$sel:httpStatus:GroupResourcesResponse'] :: GroupResourcesResponse -> Int
+ Amazonka.ResourceGroups.GroupResources: [$sel:pending:GroupResourcesResponse'] :: GroupResourcesResponse -> Maybe [PendingResource]
+ Amazonka.ResourceGroups.GroupResources: [$sel:resourceArns:GroupResources'] :: GroupResources -> NonEmpty Text
+ Amazonka.ResourceGroups.GroupResources: [$sel:succeeded:GroupResourcesResponse'] :: GroupResourcesResponse -> Maybe (NonEmpty Text)
+ Amazonka.ResourceGroups.GroupResources: data GroupResources
+ Amazonka.ResourceGroups.GroupResources: data GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: groupResourcesResponse_failed :: Lens' GroupResourcesResponse (Maybe [FailedResource])
+ Amazonka.ResourceGroups.GroupResources: groupResourcesResponse_httpStatus :: Lens' GroupResourcesResponse Int
+ Amazonka.ResourceGroups.GroupResources: groupResourcesResponse_pending :: Lens' GroupResourcesResponse (Maybe [PendingResource])
+ Amazonka.ResourceGroups.GroupResources: groupResourcesResponse_succeeded :: Lens' GroupResourcesResponse (Maybe (NonEmpty Text))
+ Amazonka.ResourceGroups.GroupResources: groupResources_group :: Lens' GroupResources Text
+ Amazonka.ResourceGroups.GroupResources: groupResources_resourceArns :: Lens' GroupResources (NonEmpty Text)
+ Amazonka.ResourceGroups.GroupResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.GroupResources.GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.GroupResources.GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.GroupResources.GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.GroupResources.GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.GroupResources.GroupResources
+ Amazonka.ResourceGroups.GroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.GroupResources.GroupResourcesResponse
+ Amazonka.ResourceGroups.GroupResources: newGroupResources :: Text -> NonEmpty Text -> GroupResources
+ Amazonka.ResourceGroups.GroupResources: newGroupResourcesResponse :: Int -> GroupResourcesResponse
+ Amazonka.ResourceGroups.Lens: createGroupResponse_group :: Lens' CreateGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.Lens: createGroupResponse_groupConfiguration :: Lens' CreateGroupResponse (Maybe GroupConfiguration)
+ Amazonka.ResourceGroups.Lens: createGroupResponse_httpStatus :: Lens' CreateGroupResponse Int
+ Amazonka.ResourceGroups.Lens: createGroupResponse_resourceQuery :: Lens' CreateGroupResponse (Maybe ResourceQuery)
+ Amazonka.ResourceGroups.Lens: createGroupResponse_tags :: Lens' CreateGroupResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.Lens: createGroup_configuration :: Lens' CreateGroup (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Lens: createGroup_description :: Lens' CreateGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: createGroup_name :: Lens' CreateGroup Text
+ Amazonka.ResourceGroups.Lens: createGroup_resourceQuery :: Lens' CreateGroup (Maybe ResourceQuery)
+ Amazonka.ResourceGroups.Lens: createGroup_tags :: Lens' CreateGroup (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.Lens: deleteGroupResponse_group :: Lens' DeleteGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.Lens: deleteGroupResponse_httpStatus :: Lens' DeleteGroupResponse Int
+ Amazonka.ResourceGroups.Lens: deleteGroup_group :: Lens' DeleteGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: deleteGroup_groupName :: Lens' DeleteGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: failedResource_errorCode :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Lens: failedResource_errorMessage :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Lens: failedResource_resourceArn :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getGroupConfigurationResponse_groupConfiguration :: Lens' GetGroupConfigurationResponse (Maybe GroupConfiguration)
+ Amazonka.ResourceGroups.Lens: getGroupConfigurationResponse_httpStatus :: Lens' GetGroupConfigurationResponse Int
+ Amazonka.ResourceGroups.Lens: getGroupConfiguration_group :: Lens' GetGroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getGroupQueryResponse_groupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery)
+ Amazonka.ResourceGroups.Lens: getGroupQueryResponse_httpStatus :: Lens' GetGroupQueryResponse Int
+ Amazonka.ResourceGroups.Lens: getGroupQuery_group :: Lens' GetGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getGroupQuery_groupName :: Lens' GetGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getGroupResponse_group :: Lens' GetGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.Lens: getGroupResponse_httpStatus :: Lens' GetGroupResponse Int
+ Amazonka.ResourceGroups.Lens: getGroup_group :: Lens' GetGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getGroup_groupName :: Lens' GetGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getTagsResponse_arn :: Lens' GetTagsResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: getTagsResponse_httpStatus :: Lens' GetTagsResponse Int
+ Amazonka.ResourceGroups.Lens: getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.Lens: getTags_arn :: Lens' GetTags Text
+ Amazonka.ResourceGroups.Lens: groupConfigurationItem_parameters :: Lens' GroupConfigurationItem (Maybe [GroupConfigurationParameter])
+ Amazonka.ResourceGroups.Lens: groupConfigurationItem_type :: Lens' GroupConfigurationItem Text
+ Amazonka.ResourceGroups.Lens: groupConfigurationParameter_name :: Lens' GroupConfigurationParameter Text
+ Amazonka.ResourceGroups.Lens: groupConfigurationParameter_values :: Lens' GroupConfigurationParameter (Maybe [Text])
+ Amazonka.ResourceGroups.Lens: groupConfiguration_configuration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Lens: groupConfiguration_failureReason :: Lens' GroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.Lens: groupConfiguration_proposedConfiguration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Lens: groupConfiguration_status :: Lens' GroupConfiguration (Maybe GroupConfigurationStatus)
+ Amazonka.ResourceGroups.Lens: groupFilter_name :: Lens' GroupFilter GroupFilterName
+ Amazonka.ResourceGroups.Lens: groupFilter_values :: Lens' GroupFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Lens: groupIdentifier_groupArn :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Lens: groupIdentifier_groupName :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Lens: groupQuery_groupName :: Lens' GroupQuery Text
+ Amazonka.ResourceGroups.Lens: groupQuery_resourceQuery :: Lens' GroupQuery ResourceQuery
+ Amazonka.ResourceGroups.Lens: groupResourcesResponse_failed :: Lens' GroupResourcesResponse (Maybe [FailedResource])
+ Amazonka.ResourceGroups.Lens: groupResourcesResponse_httpStatus :: Lens' GroupResourcesResponse Int
+ Amazonka.ResourceGroups.Lens: groupResourcesResponse_pending :: Lens' GroupResourcesResponse (Maybe [PendingResource])
+ Amazonka.ResourceGroups.Lens: groupResourcesResponse_succeeded :: Lens' GroupResourcesResponse (Maybe (NonEmpty Text))
+ Amazonka.ResourceGroups.Lens: groupResources_group :: Lens' GroupResources Text
+ Amazonka.ResourceGroups.Lens: groupResources_resourceArns :: Lens' GroupResources (NonEmpty Text)
+ Amazonka.ResourceGroups.Lens: group_description :: Lens' Group (Maybe Text)
+ Amazonka.ResourceGroups.Lens: group_groupArn :: Lens' Group Text
+ Amazonka.ResourceGroups.Lens: group_name :: Lens' Group Text
+ Amazonka.ResourceGroups.Lens: listGroupResourcesItem_identifier :: Lens' ListGroupResourcesItem (Maybe ResourceIdentifier)
+ Amazonka.ResourceGroups.Lens: listGroupResourcesItem_status :: Lens' ListGroupResourcesItem (Maybe ResourceStatus)
+ Amazonka.ResourceGroups.Lens: listGroupResourcesResponse_httpStatus :: Lens' ListGroupResourcesResponse Int
+ Amazonka.ResourceGroups.Lens: listGroupResourcesResponse_nextToken :: Lens' ListGroupResourcesResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: listGroupResourcesResponse_queryErrors :: Lens' ListGroupResourcesResponse (Maybe [QueryError])
+ Amazonka.ResourceGroups.Lens: listGroupResourcesResponse_resourceIdentifiers :: Lens' ListGroupResourcesResponse (Maybe [ResourceIdentifier])
+ Amazonka.ResourceGroups.Lens: listGroupResourcesResponse_resources :: Lens' ListGroupResourcesResponse (Maybe [ListGroupResourcesItem])
+ Amazonka.ResourceGroups.Lens: listGroupResources_filters :: Lens' ListGroupResources (Maybe [ResourceFilter])
+ Amazonka.ResourceGroups.Lens: listGroupResources_group :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.Lens: listGroupResources_groupName :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.Lens: listGroupResources_maxResults :: Lens' ListGroupResources (Maybe Natural)
+ Amazonka.ResourceGroups.Lens: listGroupResources_nextToken :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.Lens: listGroupsResponse_groupIdentifiers :: Lens' ListGroupsResponse (Maybe [GroupIdentifier])
+ Amazonka.ResourceGroups.Lens: listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [Group])
+ Amazonka.ResourceGroups.Lens: listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int
+ Amazonka.ResourceGroups.Lens: listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: listGroups_filters :: Lens' ListGroups (Maybe [GroupFilter])
+ Amazonka.ResourceGroups.Lens: listGroups_maxResults :: Lens' ListGroups (Maybe Natural)
+ Amazonka.ResourceGroups.Lens: listGroups_nextToken :: Lens' ListGroups (Maybe Text)
+ Amazonka.ResourceGroups.Lens: pendingResource_resourceArn :: Lens' PendingResource (Maybe Text)
+ Amazonka.ResourceGroups.Lens: putGroupConfigurationResponse_httpStatus :: Lens' PutGroupConfigurationResponse Int
+ Amazonka.ResourceGroups.Lens: putGroupConfiguration_configuration :: Lens' PutGroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Lens: putGroupConfiguration_group :: Lens' PutGroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.Lens: queryError_errorCode :: Lens' QueryError (Maybe QueryErrorCode)
+ Amazonka.ResourceGroups.Lens: queryError_message :: Lens' QueryError (Maybe Text)
+ Amazonka.ResourceGroups.Lens: resourceFilter_name :: Lens' ResourceFilter ResourceFilterName
+ Amazonka.ResourceGroups.Lens: resourceFilter_values :: Lens' ResourceFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Lens: resourceIdentifier_resourceArn :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Lens: resourceIdentifier_resourceType :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Lens: resourceQuery_searchQuery :: Lens' ResourceQuery Text
+ Amazonka.ResourceGroups.Lens: resourceQuery_type :: Lens' ResourceQuery QueryType
+ Amazonka.ResourceGroups.Lens: resourceStatus_name :: Lens' ResourceStatus (Maybe ResourceStatusValue)
+ Amazonka.ResourceGroups.Lens: searchResourcesResponse_httpStatus :: Lens' SearchResourcesResponse Int
+ Amazonka.ResourceGroups.Lens: searchResourcesResponse_nextToken :: Lens' SearchResourcesResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: searchResourcesResponse_queryErrors :: Lens' SearchResourcesResponse (Maybe [QueryError])
+ Amazonka.ResourceGroups.Lens: searchResourcesResponse_resourceIdentifiers :: Lens' SearchResourcesResponse (Maybe [ResourceIdentifier])
+ Amazonka.ResourceGroups.Lens: searchResources_maxResults :: Lens' SearchResources (Maybe Natural)
+ Amazonka.ResourceGroups.Lens: searchResources_nextToken :: Lens' SearchResources (Maybe Text)
+ Amazonka.ResourceGroups.Lens: searchResources_resourceQuery :: Lens' SearchResources ResourceQuery
+ Amazonka.ResourceGroups.Lens: tagResponse_arn :: Lens' TagResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: tagResponse_httpStatus :: Lens' TagResponse Int
+ Amazonka.ResourceGroups.Lens: tagResponse_tags :: Lens' TagResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.Lens: tag_arn :: Lens' Tag Text
+ Amazonka.ResourceGroups.Lens: tag_tags :: Lens' Tag (HashMap Text Text)
+ Amazonka.ResourceGroups.Lens: ungroupResourcesResponse_failed :: Lens' UngroupResourcesResponse (Maybe [FailedResource])
+ Amazonka.ResourceGroups.Lens: ungroupResourcesResponse_httpStatus :: Lens' UngroupResourcesResponse Int
+ Amazonka.ResourceGroups.Lens: ungroupResourcesResponse_pending :: Lens' UngroupResourcesResponse (Maybe [PendingResource])
+ Amazonka.ResourceGroups.Lens: ungroupResourcesResponse_succeeded :: Lens' UngroupResourcesResponse (Maybe (NonEmpty Text))
+ Amazonka.ResourceGroups.Lens: ungroupResources_group :: Lens' UngroupResources Text
+ Amazonka.ResourceGroups.Lens: ungroupResources_resourceArns :: Lens' UngroupResources (NonEmpty Text)
+ Amazonka.ResourceGroups.Lens: untagResponse_arn :: Lens' UntagResponse (Maybe Text)
+ Amazonka.ResourceGroups.Lens: untagResponse_httpStatus :: Lens' UntagResponse Int
+ Amazonka.ResourceGroups.Lens: untagResponse_keys :: Lens' UntagResponse (Maybe [Text])
+ Amazonka.ResourceGroups.Lens: untag_arn :: Lens' Untag Text
+ Amazonka.ResourceGroups.Lens: untag_keys :: Lens' Untag [Text]
+ Amazonka.ResourceGroups.Lens: updateGroupQueryResponse_groupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery)
+ Amazonka.ResourceGroups.Lens: updateGroupQueryResponse_httpStatus :: Lens' UpdateGroupQueryResponse Int
+ Amazonka.ResourceGroups.Lens: updateGroupQuery_group :: Lens' UpdateGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.Lens: updateGroupQuery_groupName :: Lens' UpdateGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.Lens: updateGroupQuery_resourceQuery :: Lens' UpdateGroupQuery ResourceQuery
+ Amazonka.ResourceGroups.Lens: updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.Lens: updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
+ Amazonka.ResourceGroups.Lens: updateGroup_description :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: updateGroup_group :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.Lens: updateGroup_groupName :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.ListGroupResources: ListGroupResources' :: Maybe [ResourceFilter] -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: ListGroupResourcesResponse' :: Maybe Text -> Maybe [QueryError] -> Maybe [ResourceIdentifier] -> Maybe [ListGroupResourcesItem] -> Int -> ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:filters:ListGroupResources'] :: ListGroupResources -> Maybe [ResourceFilter]
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:group':ListGroupResources'] :: ListGroupResources -> Maybe Text
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:groupName:ListGroupResources'] :: ListGroupResources -> Maybe Text
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:httpStatus:ListGroupResourcesResponse'] :: ListGroupResourcesResponse -> Int
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:maxResults:ListGroupResources'] :: ListGroupResources -> Maybe Natural
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:nextToken:ListGroupResources'] :: ListGroupResources -> Maybe Text
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:nextToken:ListGroupResourcesResponse'] :: ListGroupResourcesResponse -> Maybe Text
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:queryErrors:ListGroupResourcesResponse'] :: ListGroupResourcesResponse -> Maybe [QueryError]
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:resourceIdentifiers:ListGroupResourcesResponse'] :: ListGroupResourcesResponse -> Maybe [ResourceIdentifier]
+ Amazonka.ResourceGroups.ListGroupResources: [$sel:resources:ListGroupResourcesResponse'] :: ListGroupResourcesResponse -> Maybe [ListGroupResourcesItem]
+ Amazonka.ResourceGroups.ListGroupResources: data ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: data ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Amazonka.Pager.AWSPager Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.ListGroupResources.ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.ListGroupResources.ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResourcesResponse_httpStatus :: Lens' ListGroupResourcesResponse Int
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResourcesResponse_nextToken :: Lens' ListGroupResourcesResponse (Maybe Text)
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResourcesResponse_queryErrors :: Lens' ListGroupResourcesResponse (Maybe [QueryError])
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResourcesResponse_resourceIdentifiers :: Lens' ListGroupResourcesResponse (Maybe [ResourceIdentifier])
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResourcesResponse_resources :: Lens' ListGroupResourcesResponse (Maybe [ListGroupResourcesItem])
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResources_filters :: Lens' ListGroupResources (Maybe [ResourceFilter])
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResources_group :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResources_groupName :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResources_maxResults :: Lens' ListGroupResources (Maybe Natural)
+ Amazonka.ResourceGroups.ListGroupResources: listGroupResources_nextToken :: Lens' ListGroupResources (Maybe Text)
+ Amazonka.ResourceGroups.ListGroupResources: newListGroupResources :: ListGroupResources
+ Amazonka.ResourceGroups.ListGroupResources: newListGroupResourcesResponse :: Int -> ListGroupResourcesResponse
+ Amazonka.ResourceGroups.ListGroups: ListGroups' :: Maybe [GroupFilter] -> Maybe Natural -> Maybe Text -> ListGroups
+ Amazonka.ResourceGroups.ListGroups: ListGroupsResponse' :: Maybe [GroupIdentifier] -> Maybe [Group] -> Maybe Text -> Int -> ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: [$sel:filters:ListGroups'] :: ListGroups -> Maybe [GroupFilter]
+ Amazonka.ResourceGroups.ListGroups: [$sel:groupIdentifiers:ListGroupsResponse'] :: ListGroupsResponse -> Maybe [GroupIdentifier]
+ Amazonka.ResourceGroups.ListGroups: [$sel:groups:ListGroupsResponse'] :: ListGroupsResponse -> Maybe [Group]
+ Amazonka.ResourceGroups.ListGroups: [$sel:httpStatus:ListGroupsResponse'] :: ListGroupsResponse -> Int
+ Amazonka.ResourceGroups.ListGroups: [$sel:maxResults:ListGroups'] :: ListGroups -> Maybe Natural
+ Amazonka.ResourceGroups.ListGroups: [$sel:nextToken:ListGroups'] :: ListGroups -> Maybe Text
+ Amazonka.ResourceGroups.ListGroups: [$sel:nextToken:ListGroupsResponse'] :: ListGroupsResponse -> Maybe Text
+ Amazonka.ResourceGroups.ListGroups: data ListGroups
+ Amazonka.ResourceGroups.ListGroups: data ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Amazonka.Pager.AWSPager Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.ListGroups.ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Classes.Eq Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Classes.Eq Amazonka.ResourceGroups.ListGroups.ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Generics.Generic Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Generics.Generic Amazonka.ResourceGroups.ListGroups.ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Read.Read Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Read.Read Amazonka.ResourceGroups.ListGroups.ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Show.Show Amazonka.ResourceGroups.ListGroups.ListGroups
+ Amazonka.ResourceGroups.ListGroups: instance GHC.Show.Show Amazonka.ResourceGroups.ListGroups.ListGroupsResponse
+ Amazonka.ResourceGroups.ListGroups: listGroupsResponse_groupIdentifiers :: Lens' ListGroupsResponse (Maybe [GroupIdentifier])
+ Amazonka.ResourceGroups.ListGroups: listGroupsResponse_groups :: Lens' ListGroupsResponse (Maybe [Group])
+ Amazonka.ResourceGroups.ListGroups: listGroupsResponse_httpStatus :: Lens' ListGroupsResponse Int
+ Amazonka.ResourceGroups.ListGroups: listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text)
+ Amazonka.ResourceGroups.ListGroups: listGroups_filters :: Lens' ListGroups (Maybe [GroupFilter])
+ Amazonka.ResourceGroups.ListGroups: listGroups_maxResults :: Lens' ListGroups (Maybe Natural)
+ Amazonka.ResourceGroups.ListGroups: listGroups_nextToken :: Lens' ListGroups (Maybe Text)
+ Amazonka.ResourceGroups.ListGroups: newListGroups :: ListGroups
+ Amazonka.ResourceGroups.ListGroups: newListGroupsResponse :: Int -> ListGroupsResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: PutGroupConfiguration' :: Maybe [GroupConfigurationItem] -> Maybe Text -> PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: PutGroupConfigurationResponse' :: Int -> PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: [$sel:configuration:PutGroupConfiguration'] :: PutGroupConfiguration -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.PutGroupConfiguration: [$sel:group':PutGroupConfiguration'] :: PutGroupConfiguration -> Maybe Text
+ Amazonka.ResourceGroups.PutGroupConfiguration: [$sel:httpStatus:PutGroupConfigurationResponse'] :: PutGroupConfigurationResponse -> Int
+ Amazonka.ResourceGroups.PutGroupConfiguration: data PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: data PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Classes.Eq Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Classes.Eq Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Generics.Generic Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Generics.Generic Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Read.Read Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Read.Read Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Show.Show Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: instance GHC.Show.Show Amazonka.ResourceGroups.PutGroupConfiguration.PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: newPutGroupConfiguration :: PutGroupConfiguration
+ Amazonka.ResourceGroups.PutGroupConfiguration: newPutGroupConfigurationResponse :: Int -> PutGroupConfigurationResponse
+ Amazonka.ResourceGroups.PutGroupConfiguration: putGroupConfigurationResponse_httpStatus :: Lens' PutGroupConfigurationResponse Int
+ Amazonka.ResourceGroups.PutGroupConfiguration: putGroupConfiguration_configuration :: Lens' PutGroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.PutGroupConfiguration: putGroupConfiguration_group :: Lens' PutGroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.SearchResources: SearchResources' :: Maybe Natural -> Maybe Text -> ResourceQuery -> SearchResources
+ Amazonka.ResourceGroups.SearchResources: SearchResourcesResponse' :: Maybe Text -> Maybe [QueryError] -> Maybe [ResourceIdentifier] -> Int -> SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: [$sel:httpStatus:SearchResourcesResponse'] :: SearchResourcesResponse -> Int
+ Amazonka.ResourceGroups.SearchResources: [$sel:maxResults:SearchResources'] :: SearchResources -> Maybe Natural
+ Amazonka.ResourceGroups.SearchResources: [$sel:nextToken:SearchResources'] :: SearchResources -> Maybe Text
+ Amazonka.ResourceGroups.SearchResources: [$sel:nextToken:SearchResourcesResponse'] :: SearchResourcesResponse -> Maybe Text
+ Amazonka.ResourceGroups.SearchResources: [$sel:queryErrors:SearchResourcesResponse'] :: SearchResourcesResponse -> Maybe [QueryError]
+ Amazonka.ResourceGroups.SearchResources: [$sel:resourceIdentifiers:SearchResourcesResponse'] :: SearchResourcesResponse -> Maybe [ResourceIdentifier]
+ Amazonka.ResourceGroups.SearchResources: [$sel:resourceQuery:SearchResources'] :: SearchResources -> ResourceQuery
+ Amazonka.ResourceGroups.SearchResources: data SearchResources
+ Amazonka.ResourceGroups.SearchResources: data SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Amazonka.Pager.AWSPager Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.SearchResources.SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.SearchResources.SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.SearchResources.SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Read.Read Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Read.Read Amazonka.ResourceGroups.SearchResources.SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Show.Show Amazonka.ResourceGroups.SearchResources.SearchResources
+ Amazonka.ResourceGroups.SearchResources: instance GHC.Show.Show Amazonka.ResourceGroups.SearchResources.SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: newSearchResources :: ResourceQuery -> SearchResources
+ Amazonka.ResourceGroups.SearchResources: newSearchResourcesResponse :: Int -> SearchResourcesResponse
+ Amazonka.ResourceGroups.SearchResources: searchResourcesResponse_httpStatus :: Lens' SearchResourcesResponse Int
+ Amazonka.ResourceGroups.SearchResources: searchResourcesResponse_nextToken :: Lens' SearchResourcesResponse (Maybe Text)
+ Amazonka.ResourceGroups.SearchResources: searchResourcesResponse_queryErrors :: Lens' SearchResourcesResponse (Maybe [QueryError])
+ Amazonka.ResourceGroups.SearchResources: searchResourcesResponse_resourceIdentifiers :: Lens' SearchResourcesResponse (Maybe [ResourceIdentifier])
+ Amazonka.ResourceGroups.SearchResources: searchResources_maxResults :: Lens' SearchResources (Maybe Natural)
+ Amazonka.ResourceGroups.SearchResources: searchResources_nextToken :: Lens' SearchResources (Maybe Text)
+ Amazonka.ResourceGroups.SearchResources: searchResources_resourceQuery :: Lens' SearchResources ResourceQuery
+ Amazonka.ResourceGroups.Tag: Tag' :: Text -> HashMap Text Text -> Tag
+ Amazonka.ResourceGroups.Tag: TagResponse' :: Maybe Text -> Maybe (HashMap Text Text) -> Int -> TagResponse
+ Amazonka.ResourceGroups.Tag: [$sel:arn:Tag'] :: Tag -> Text
+ Amazonka.ResourceGroups.Tag: [$sel:arn:TagResponse'] :: TagResponse -> Maybe Text
+ Amazonka.ResourceGroups.Tag: [$sel:httpStatus:TagResponse'] :: TagResponse -> Int
+ Amazonka.ResourceGroups.Tag: [$sel:tags:Tag'] :: Tag -> HashMap Text Text
+ Amazonka.ResourceGroups.Tag: [$sel:tags:TagResponse'] :: TagResponse -> Maybe (HashMap Text Text)
+ Amazonka.ResourceGroups.Tag: data Tag
+ Amazonka.ResourceGroups.Tag: data TagResponse
+ Amazonka.ResourceGroups.Tag: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Tag.TagResponse
+ Amazonka.ResourceGroups.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance GHC.Classes.Eq Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance GHC.Classes.Eq Amazonka.ResourceGroups.Tag.TagResponse
+ Amazonka.ResourceGroups.Tag: instance GHC.Generics.Generic Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance GHC.Generics.Generic Amazonka.ResourceGroups.Tag.TagResponse
+ Amazonka.ResourceGroups.Tag: instance GHC.Read.Read Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance GHC.Read.Read Amazonka.ResourceGroups.Tag.TagResponse
+ Amazonka.ResourceGroups.Tag: instance GHC.Show.Show Amazonka.ResourceGroups.Tag.Tag
+ Amazonka.ResourceGroups.Tag: instance GHC.Show.Show Amazonka.ResourceGroups.Tag.TagResponse
+ Amazonka.ResourceGroups.Tag: newTag :: Text -> Tag
+ Amazonka.ResourceGroups.Tag: newTagResponse :: Int -> TagResponse
+ Amazonka.ResourceGroups.Tag: tagResponse_arn :: Lens' TagResponse (Maybe Text)
+ Amazonka.ResourceGroups.Tag: tagResponse_httpStatus :: Lens' TagResponse Int
+ Amazonka.ResourceGroups.Tag: tagResponse_tags :: Lens' TagResponse (Maybe (HashMap Text Text))
+ Amazonka.ResourceGroups.Tag: tag_arn :: Lens' Tag Text
+ Amazonka.ResourceGroups.Tag: tag_tags :: Lens' Tag (HashMap Text Text)
+ Amazonka.ResourceGroups.Types: FailedResource' :: Maybe Text -> Maybe Text -> Maybe Text -> FailedResource
+ Amazonka.ResourceGroups.Types: Group' :: Maybe Text -> Text -> Text -> Group
+ Amazonka.ResourceGroups.Types: GroupConfiguration' :: Maybe [GroupConfigurationItem] -> Maybe Text -> Maybe [GroupConfigurationItem] -> Maybe GroupConfigurationStatus -> GroupConfiguration
+ Amazonka.ResourceGroups.Types: GroupConfigurationItem' :: Maybe [GroupConfigurationParameter] -> Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups.Types: GroupConfigurationParameter' :: Maybe [Text] -> Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types: GroupConfigurationStatus' :: Text -> GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: GroupFilter' :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups.Types: GroupFilterName' :: Text -> GroupFilterName
+ Amazonka.ResourceGroups.Types: GroupIdentifier' :: Maybe Text -> Maybe Text -> GroupIdentifier
+ Amazonka.ResourceGroups.Types: GroupQuery' :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups.Types: ListGroupResourcesItem' :: Maybe ResourceIdentifier -> Maybe ResourceStatus -> ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types: PendingResource' :: Maybe Text -> PendingResource
+ Amazonka.ResourceGroups.Types: QueryError' :: Maybe QueryErrorCode -> Maybe Text -> QueryError
+ Amazonka.ResourceGroups.Types: QueryErrorCode' :: Text -> QueryErrorCode
+ Amazonka.ResourceGroups.Types: QueryType' :: Text -> QueryType
+ Amazonka.ResourceGroups.Types: ResourceFilter' :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups.Types: ResourceFilterName' :: Text -> ResourceFilterName
+ Amazonka.ResourceGroups.Types: ResourceIdentifier' :: Maybe Text -> Maybe Text -> ResourceIdentifier
+ Amazonka.ResourceGroups.Types: ResourceQuery' :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups.Types: ResourceStatus' :: Maybe ResourceStatusValue -> ResourceStatus
+ Amazonka.ResourceGroups.Types: ResourceStatusValue' :: Text -> ResourceStatusValue
+ Amazonka.ResourceGroups.Types: [$sel:configuration:GroupConfiguration'] :: GroupConfiguration -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.Types: [$sel:description:Group'] :: Group -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:errorCode:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:errorCode:QueryError'] :: QueryError -> Maybe QueryErrorCode
+ Amazonka.ResourceGroups.Types: [$sel:errorMessage:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:failureReason:GroupConfiguration'] :: GroupConfiguration -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:groupArn:Group'] :: Group -> Text
+ Amazonka.ResourceGroups.Types: [$sel:groupArn:GroupIdentifier'] :: GroupIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:groupName:GroupIdentifier'] :: GroupIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:groupName:GroupQuery'] :: GroupQuery -> Text
+ Amazonka.ResourceGroups.Types: [$sel:identifier:ListGroupResourcesItem'] :: ListGroupResourcesItem -> Maybe ResourceIdentifier
+ Amazonka.ResourceGroups.Types: [$sel:message:QueryError'] :: QueryError -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:name:Group'] :: Group -> Text
+ Amazonka.ResourceGroups.Types: [$sel:name:GroupConfigurationParameter'] :: GroupConfigurationParameter -> Text
+ Amazonka.ResourceGroups.Types: [$sel:name:GroupFilter'] :: GroupFilter -> GroupFilterName
+ Amazonka.ResourceGroups.Types: [$sel:name:ResourceFilter'] :: ResourceFilter -> ResourceFilterName
+ Amazonka.ResourceGroups.Types: [$sel:name:ResourceStatus'] :: ResourceStatus -> Maybe ResourceStatusValue
+ Amazonka.ResourceGroups.Types: [$sel:parameters:GroupConfigurationItem'] :: GroupConfigurationItem -> Maybe [GroupConfigurationParameter]
+ Amazonka.ResourceGroups.Types: [$sel:proposedConfiguration:GroupConfiguration'] :: GroupConfiguration -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.Types: [$sel:query:ResourceQuery'] :: ResourceQuery -> Text
+ Amazonka.ResourceGroups.Types: [$sel:resourceArn:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:resourceArn:PendingResource'] :: PendingResource -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:resourceArn:ResourceIdentifier'] :: ResourceIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:resourceQuery:GroupQuery'] :: GroupQuery -> ResourceQuery
+ Amazonka.ResourceGroups.Types: [$sel:resourceType:ResourceIdentifier'] :: ResourceIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types: [$sel:status:GroupConfiguration'] :: GroupConfiguration -> Maybe GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: [$sel:status:ListGroupResourcesItem'] :: ListGroupResourcesItem -> Maybe ResourceStatus
+ Amazonka.ResourceGroups.Types: [$sel:type':GroupConfigurationItem'] :: GroupConfigurationItem -> Text
+ Amazonka.ResourceGroups.Types: [$sel:type':ResourceQuery'] :: ResourceQuery -> QueryType
+ Amazonka.ResourceGroups.Types: [$sel:values:GroupConfigurationParameter'] :: GroupConfigurationParameter -> Maybe [Text]
+ Amazonka.ResourceGroups.Types: [$sel:values:GroupFilter'] :: GroupFilter -> NonEmpty Text
+ Amazonka.ResourceGroups.Types: [$sel:values:ResourceFilter'] :: ResourceFilter -> NonEmpty Text
+ Amazonka.ResourceGroups.Types: [fromGroupConfigurationStatus] :: GroupConfigurationStatus -> Text
+ Amazonka.ResourceGroups.Types: [fromGroupFilterName] :: GroupFilterName -> Text
+ Amazonka.ResourceGroups.Types: [fromQueryErrorCode] :: QueryErrorCode -> Text
+ Amazonka.ResourceGroups.Types: [fromQueryType] :: QueryType -> Text
+ Amazonka.ResourceGroups.Types: [fromResourceFilterName] :: ResourceFilterName -> Text
+ Amazonka.ResourceGroups.Types: [fromResourceStatusValue] :: ResourceStatusValue -> Text
+ Amazonka.ResourceGroups.Types: _BadRequestException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _ForbiddenException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _InternalServerErrorException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _MethodNotAllowedException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _NotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: _UnauthorizedException :: AsError a => Fold a ServiceError
+ Amazonka.ResourceGroups.Types: data FailedResource
+ Amazonka.ResourceGroups.Types: data Group
+ Amazonka.ResourceGroups.Types: data GroupConfiguration
+ Amazonka.ResourceGroups.Types: data GroupConfigurationItem
+ Amazonka.ResourceGroups.Types: data GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types: data GroupFilter
+ Amazonka.ResourceGroups.Types: data GroupIdentifier
+ Amazonka.ResourceGroups.Types: data GroupQuery
+ Amazonka.ResourceGroups.Types: data ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types: data PendingResource
+ Amazonka.ResourceGroups.Types: data QueryError
+ Amazonka.ResourceGroups.Types: data ResourceFilter
+ Amazonka.ResourceGroups.Types: data ResourceIdentifier
+ Amazonka.ResourceGroups.Types: data ResourceQuery
+ Amazonka.ResourceGroups.Types: data ResourceStatus
+ Amazonka.ResourceGroups.Types: defaultService :: Service
+ Amazonka.ResourceGroups.Types: failedResource_errorCode :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types: failedResource_errorMessage :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types: failedResource_resourceArn :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types: groupConfigurationItem_parameters :: Lens' GroupConfigurationItem (Maybe [GroupConfigurationParameter])
+ Amazonka.ResourceGroups.Types: groupConfigurationItem_type :: Lens' GroupConfigurationItem Text
+ Amazonka.ResourceGroups.Types: groupConfigurationParameter_name :: Lens' GroupConfigurationParameter Text
+ Amazonka.ResourceGroups.Types: groupConfigurationParameter_values :: Lens' GroupConfigurationParameter (Maybe [Text])
+ Amazonka.ResourceGroups.Types: groupConfiguration_configuration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Types: groupConfiguration_failureReason :: Lens' GroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.Types: groupConfiguration_proposedConfiguration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Types: groupConfiguration_status :: Lens' GroupConfiguration (Maybe GroupConfigurationStatus)
+ Amazonka.ResourceGroups.Types: groupFilter_name :: Lens' GroupFilter GroupFilterName
+ Amazonka.ResourceGroups.Types: groupFilter_values :: Lens' GroupFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Types: groupIdentifier_groupArn :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types: groupIdentifier_groupName :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types: groupQuery_groupName :: Lens' GroupQuery Text
+ Amazonka.ResourceGroups.Types: groupQuery_resourceQuery :: Lens' GroupQuery ResourceQuery
+ Amazonka.ResourceGroups.Types: group_description :: Lens' Group (Maybe Text)
+ Amazonka.ResourceGroups.Types: group_groupArn :: Lens' Group Text
+ Amazonka.ResourceGroups.Types: group_name :: Lens' Group Text
+ Amazonka.ResourceGroups.Types: listGroupResourcesItem_identifier :: Lens' ListGroupResourcesItem (Maybe ResourceIdentifier)
+ Amazonka.ResourceGroups.Types: listGroupResourcesItem_status :: Lens' ListGroupResourcesItem (Maybe ResourceStatus)
+ Amazonka.ResourceGroups.Types: newFailedResource :: FailedResource
+ Amazonka.ResourceGroups.Types: newGroup :: Text -> Text -> Group
+ Amazonka.ResourceGroups.Types: newGroupConfiguration :: GroupConfiguration
+ Amazonka.ResourceGroups.Types: newGroupConfigurationItem :: Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups.Types: newGroupConfigurationParameter :: Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types: newGroupFilter :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups.Types: newGroupIdentifier :: GroupIdentifier
+ Amazonka.ResourceGroups.Types: newGroupQuery :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups.Types: newListGroupResourcesItem :: ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types: newPendingResource :: PendingResource
+ Amazonka.ResourceGroups.Types: newQueryError :: QueryError
+ Amazonka.ResourceGroups.Types: newResourceFilter :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups.Types: newResourceIdentifier :: ResourceIdentifier
+ Amazonka.ResourceGroups.Types: newResourceQuery :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups.Types: newResourceStatus :: ResourceStatus
+ Amazonka.ResourceGroups.Types: newtype GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: newtype GroupFilterName
+ Amazonka.ResourceGroups.Types: newtype QueryErrorCode
+ Amazonka.ResourceGroups.Types: newtype QueryType
+ Amazonka.ResourceGroups.Types: newtype ResourceFilterName
+ Amazonka.ResourceGroups.Types: newtype ResourceStatusValue
+ Amazonka.ResourceGroups.Types: pattern GroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: pattern GroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: pattern GroupConfigurationStatus_UPDATING :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types: pattern GroupFilterName_Configuration_type :: GroupFilterName
+ Amazonka.ResourceGroups.Types: pattern GroupFilterName_Resource_type :: GroupFilterName
+ Amazonka.ResourceGroups.Types: pattern QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE :: QueryErrorCode
+ Amazonka.ResourceGroups.Types: pattern QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING :: QueryErrorCode
+ Amazonka.ResourceGroups.Types: pattern QueryType_CLOUDFORMATION_STACK_1_0 :: QueryType
+ Amazonka.ResourceGroups.Types: pattern QueryType_TAG_FILTERS_1_0 :: QueryType
+ Amazonka.ResourceGroups.Types: pattern ResourceFilterName_Resource_type :: ResourceFilterName
+ Amazonka.ResourceGroups.Types: pattern ResourceStatusValue_PENDING :: ResourceStatusValue
+ Amazonka.ResourceGroups.Types: pendingResource_resourceArn :: Lens' PendingResource (Maybe Text)
+ Amazonka.ResourceGroups.Types: queryError_errorCode :: Lens' QueryError (Maybe QueryErrorCode)
+ Amazonka.ResourceGroups.Types: queryError_message :: Lens' QueryError (Maybe Text)
+ Amazonka.ResourceGroups.Types: resourceFilter_name :: Lens' ResourceFilter ResourceFilterName
+ Amazonka.ResourceGroups.Types: resourceFilter_values :: Lens' ResourceFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Types: resourceIdentifier_resourceArn :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types: resourceIdentifier_resourceType :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types: resourceQuery_searchQuery :: Lens' ResourceQuery Text
+ Amazonka.ResourceGroups.Types: resourceQuery_type :: Lens' ResourceQuery QueryType
+ Amazonka.ResourceGroups.Types: resourceStatus_name :: Lens' ResourceStatus (Maybe ResourceStatusValue)
+ Amazonka.ResourceGroups.Types.FailedResource: FailedResource' :: Maybe Text -> Maybe Text -> Maybe Text -> FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: [$sel:errorCode:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types.FailedResource: [$sel:errorMessage:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types.FailedResource: [$sel:resourceArn:FailedResource'] :: FailedResource -> Maybe Text
+ Amazonka.ResourceGroups.Types.FailedResource: data FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: failedResource_errorCode :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types.FailedResource: failedResource_errorMessage :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types.FailedResource: failedResource_resourceArn :: Lens' FailedResource (Maybe Text)
+ Amazonka.ResourceGroups.Types.FailedResource: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance GHC.Read.Read Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: instance GHC.Show.Show Amazonka.ResourceGroups.Types.FailedResource.FailedResource
+ Amazonka.ResourceGroups.Types.FailedResource: newFailedResource :: FailedResource
+ Amazonka.ResourceGroups.Types.Group: Group' :: Maybe Text -> Text -> Text -> Group
+ Amazonka.ResourceGroups.Types.Group: [$sel:description:Group'] :: Group -> Maybe Text
+ Amazonka.ResourceGroups.Types.Group: [$sel:groupArn:Group'] :: Group -> Text
+ Amazonka.ResourceGroups.Types.Group: [$sel:name:Group'] :: Group -> Text
+ Amazonka.ResourceGroups.Types.Group: data Group
+ Amazonka.ResourceGroups.Types.Group: group_description :: Lens' Group (Maybe Text)
+ Amazonka.ResourceGroups.Types.Group: group_groupArn :: Lens' Group Text
+ Amazonka.ResourceGroups.Types.Group: group_name :: Lens' Group Text
+ Amazonka.ResourceGroups.Types.Group: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance GHC.Read.Read Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: instance GHC.Show.Show Amazonka.ResourceGroups.Types.Group.Group
+ Amazonka.ResourceGroups.Types.Group: newGroup :: Text -> Text -> Group
+ Amazonka.ResourceGroups.Types.GroupConfiguration: GroupConfiguration' :: Maybe [GroupConfigurationItem] -> Maybe Text -> Maybe [GroupConfigurationItem] -> Maybe GroupConfigurationStatus -> GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: [$sel:configuration:GroupConfiguration'] :: GroupConfiguration -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.Types.GroupConfiguration: [$sel:failureReason:GroupConfiguration'] :: GroupConfiguration -> Maybe Text
+ Amazonka.ResourceGroups.Types.GroupConfiguration: [$sel:proposedConfiguration:GroupConfiguration'] :: GroupConfiguration -> Maybe [GroupConfigurationItem]
+ Amazonka.ResourceGroups.Types.GroupConfiguration: [$sel:status:GroupConfiguration'] :: GroupConfiguration -> Maybe GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfiguration: data GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: groupConfiguration_configuration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Types.GroupConfiguration: groupConfiguration_failureReason :: Lens' GroupConfiguration (Maybe Text)
+ Amazonka.ResourceGroups.Types.GroupConfiguration: groupConfiguration_proposedConfiguration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem])
+ Amazonka.ResourceGroups.Types.GroupConfiguration: groupConfiguration_status :: Lens' GroupConfiguration (Maybe GroupConfigurationStatus)
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupConfiguration.GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfiguration: newGroupConfiguration :: GroupConfiguration
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: GroupConfigurationItem' :: Maybe [GroupConfigurationParameter] -> Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: [$sel:parameters:GroupConfigurationItem'] :: GroupConfigurationItem -> Maybe [GroupConfigurationParameter]
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: [$sel:type':GroupConfigurationItem'] :: GroupConfigurationItem -> Text
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: data GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: groupConfigurationItem_parameters :: Lens' GroupConfigurationItem (Maybe [GroupConfigurationParameter])
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: groupConfigurationItem_type :: Lens' GroupConfigurationItem Text
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupConfigurationItem.GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationItem: newGroupConfigurationItem :: Text -> GroupConfigurationItem
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: GroupConfigurationParameter' :: Maybe [Text] -> Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: [$sel:name:GroupConfigurationParameter'] :: GroupConfigurationParameter -> Text
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: [$sel:values:GroupConfigurationParameter'] :: GroupConfigurationParameter -> Maybe [Text]
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: data GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: groupConfigurationParameter_name :: Lens' GroupConfigurationParameter Text
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: groupConfigurationParameter_values :: Lens' GroupConfigurationParameter (Maybe [Text])
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupConfigurationParameter.GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationParameter: newGroupConfigurationParameter :: Text -> GroupConfigurationParameter
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: GroupConfigurationStatus' :: Text -> GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: [fromGroupConfigurationStatus] :: GroupConfigurationStatus -> Text
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupConfigurationStatus.GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: newtype GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: pattern GroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: pattern GroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupConfigurationStatus: pattern GroupConfigurationStatus_UPDATING :: GroupConfigurationStatus
+ Amazonka.ResourceGroups.Types.GroupFilter: GroupFilter' :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: [$sel:name:GroupFilter'] :: GroupFilter -> GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilter: [$sel:values:GroupFilter'] :: GroupFilter -> NonEmpty Text
+ Amazonka.ResourceGroups.Types.GroupFilter: data GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: groupFilter_name :: Lens' GroupFilter GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilter: groupFilter_values :: Lens' GroupFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Types.GroupFilter: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupFilter.GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilter: newGroupFilter :: GroupFilterName -> NonEmpty Text -> GroupFilter
+ Amazonka.ResourceGroups.Types.GroupFilterName: GroupFilterName' :: Text -> GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: [fromGroupFilterName] :: GroupFilterName -> Text
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupFilterName.GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: newtype GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: pattern GroupFilterName_Configuration_type :: GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupFilterName: pattern GroupFilterName_Resource_type :: GroupFilterName
+ Amazonka.ResourceGroups.Types.GroupIdentifier: GroupIdentifier' :: Maybe Text -> Maybe Text -> GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: [$sel:groupArn:GroupIdentifier'] :: GroupIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types.GroupIdentifier: [$sel:groupName:GroupIdentifier'] :: GroupIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types.GroupIdentifier: data GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: groupIdentifier_groupArn :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types.GroupIdentifier: groupIdentifier_groupName :: Lens' GroupIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupIdentifier.GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupIdentifier: newGroupIdentifier :: GroupIdentifier
+ Amazonka.ResourceGroups.Types.GroupQuery: GroupQuery' :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: [$sel:groupName:GroupQuery'] :: GroupQuery -> Text
+ Amazonka.ResourceGroups.Types.GroupQuery: [$sel:resourceQuery:GroupQuery'] :: GroupQuery -> ResourceQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: data GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: groupQuery_groupName :: Lens' GroupQuery Text
+ Amazonka.ResourceGroups.Types.GroupQuery: groupQuery_resourceQuery :: Lens' GroupQuery ResourceQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance GHC.Read.Read Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: instance GHC.Show.Show Amazonka.ResourceGroups.Types.GroupQuery.GroupQuery
+ Amazonka.ResourceGroups.Types.GroupQuery: newGroupQuery :: Text -> ResourceQuery -> GroupQuery
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: ListGroupResourcesItem' :: Maybe ResourceIdentifier -> Maybe ResourceStatus -> ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: [$sel:identifier:ListGroupResourcesItem'] :: ListGroupResourcesItem -> Maybe ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: [$sel:status:ListGroupResourcesItem'] :: ListGroupResourcesItem -> Maybe ResourceStatus
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: data ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ListGroupResourcesItem.ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: listGroupResourcesItem_identifier :: Lens' ListGroupResourcesItem (Maybe ResourceIdentifier)
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: listGroupResourcesItem_status :: Lens' ListGroupResourcesItem (Maybe ResourceStatus)
+ Amazonka.ResourceGroups.Types.ListGroupResourcesItem: newListGroupResourcesItem :: ListGroupResourcesItem
+ Amazonka.ResourceGroups.Types.PendingResource: PendingResource' :: Maybe Text -> PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: [$sel:resourceArn:PendingResource'] :: PendingResource -> Maybe Text
+ Amazonka.ResourceGroups.Types.PendingResource: data PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance GHC.Read.Read Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: instance GHC.Show.Show Amazonka.ResourceGroups.Types.PendingResource.PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: newPendingResource :: PendingResource
+ Amazonka.ResourceGroups.Types.PendingResource: pendingResource_resourceArn :: Lens' PendingResource (Maybe Text)
+ Amazonka.ResourceGroups.Types.QueryError: QueryError' :: Maybe QueryErrorCode -> Maybe Text -> QueryError
+ Amazonka.ResourceGroups.Types.QueryError: [$sel:errorCode:QueryError'] :: QueryError -> Maybe QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryError: [$sel:message:QueryError'] :: QueryError -> Maybe Text
+ Amazonka.ResourceGroups.Types.QueryError: data QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance GHC.Read.Read Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: instance GHC.Show.Show Amazonka.ResourceGroups.Types.QueryError.QueryError
+ Amazonka.ResourceGroups.Types.QueryError: newQueryError :: QueryError
+ Amazonka.ResourceGroups.Types.QueryError: queryError_errorCode :: Lens' QueryError (Maybe QueryErrorCode)
+ Amazonka.ResourceGroups.Types.QueryError: queryError_message :: Lens' QueryError (Maybe Text)
+ Amazonka.ResourceGroups.Types.QueryErrorCode: QueryErrorCode' :: Text -> QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: [fromQueryErrorCode] :: QueryErrorCode -> Text
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance GHC.Read.Read Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: instance GHC.Show.Show Amazonka.ResourceGroups.Types.QueryErrorCode.QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: newtype QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: pattern QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE :: QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryErrorCode: pattern QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING :: QueryErrorCode
+ Amazonka.ResourceGroups.Types.QueryType: QueryType' :: Text -> QueryType
+ Amazonka.ResourceGroups.Types.QueryType: [fromQueryType] :: QueryType -> Text
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance GHC.Read.Read Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: instance GHC.Show.Show Amazonka.ResourceGroups.Types.QueryType.QueryType
+ Amazonka.ResourceGroups.Types.QueryType: newtype QueryType
+ Amazonka.ResourceGroups.Types.QueryType: pattern QueryType_CLOUDFORMATION_STACK_1_0 :: QueryType
+ Amazonka.ResourceGroups.Types.QueryType: pattern QueryType_TAG_FILTERS_1_0 :: QueryType
+ Amazonka.ResourceGroups.Types.ResourceFilter: ResourceFilter' :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: [$sel:name:ResourceFilter'] :: ResourceFilter -> ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilter: [$sel:values:ResourceFilter'] :: ResourceFilter -> NonEmpty Text
+ Amazonka.ResourceGroups.Types.ResourceFilter: data ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceFilter.ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: newResourceFilter :: ResourceFilterName -> NonEmpty Text -> ResourceFilter
+ Amazonka.ResourceGroups.Types.ResourceFilter: resourceFilter_name :: Lens' ResourceFilter ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilter: resourceFilter_values :: Lens' ResourceFilter (NonEmpty Text)
+ Amazonka.ResourceGroups.Types.ResourceFilterName: ResourceFilterName' :: Text -> ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: [fromResourceFilterName] :: ResourceFilterName -> Text
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceFilterName.ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: newtype ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceFilterName: pattern ResourceFilterName_Resource_type :: ResourceFilterName
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: ResourceIdentifier' :: Maybe Text -> Maybe Text -> ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: [$sel:resourceArn:ResourceIdentifier'] :: ResourceIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: [$sel:resourceType:ResourceIdentifier'] :: ResourceIdentifier -> Maybe Text
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: data ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceIdentifier.ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: newResourceIdentifier :: ResourceIdentifier
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: resourceIdentifier_resourceArn :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types.ResourceIdentifier: resourceIdentifier_resourceType :: Lens' ResourceIdentifier (Maybe Text)
+ Amazonka.ResourceGroups.Types.ResourceQuery: ResourceQuery' :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: [$sel:query:ResourceQuery'] :: ResourceQuery -> Text
+ Amazonka.ResourceGroups.Types.ResourceQuery: [$sel:type':ResourceQuery'] :: ResourceQuery -> QueryType
+ Amazonka.ResourceGroups.Types.ResourceQuery: data ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceQuery.ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: newResourceQuery :: QueryType -> Text -> ResourceQuery
+ Amazonka.ResourceGroups.Types.ResourceQuery: resourceQuery_searchQuery :: Lens' ResourceQuery Text
+ Amazonka.ResourceGroups.Types.ResourceQuery: resourceQuery_type :: Lens' ResourceQuery QueryType
+ Amazonka.ResourceGroups.Types.ResourceStatus: ResourceStatus' :: Maybe ResourceStatusValue -> ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: [$sel:name:ResourceStatus'] :: ResourceStatus -> Maybe ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatus: data ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceStatus.ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: newResourceStatus :: ResourceStatus
+ Amazonka.ResourceGroups.Types.ResourceStatus: resourceStatus_name :: Lens' ResourceStatus (Maybe ResourceStatusValue)
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: ResourceStatusValue' :: Text -> ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: [fromResourceStatusValue] :: ResourceStatusValue -> Text
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.ByteString.ToByteString Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.Headers.ToHeader Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.Log.ToLog Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.Text.FromText Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.Text.ToText Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.XML.FromXML Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Amazonka.Data.XML.ToXML Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance GHC.Classes.Eq Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance GHC.Classes.Ord Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance GHC.Generics.Generic Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance GHC.Read.Read Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: instance GHC.Show.Show Amazonka.ResourceGroups.Types.ResourceStatusValue.ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: newtype ResourceStatusValue
+ Amazonka.ResourceGroups.Types.ResourceStatusValue: pattern ResourceStatusValue_PENDING :: ResourceStatusValue
+ Amazonka.ResourceGroups.UngroupResources: UngroupResources' :: Text -> NonEmpty Text -> UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: UngroupResourcesResponse' :: Maybe [FailedResource] -> Maybe [PendingResource] -> Maybe (NonEmpty Text) -> Int -> UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: [$sel:failed:UngroupResourcesResponse'] :: UngroupResourcesResponse -> Maybe [FailedResource]
+ Amazonka.ResourceGroups.UngroupResources: [$sel:group':UngroupResources'] :: UngroupResources -> Text
+ Amazonka.ResourceGroups.UngroupResources: [$sel:httpStatus:UngroupResourcesResponse'] :: UngroupResourcesResponse -> Int
+ Amazonka.ResourceGroups.UngroupResources: [$sel:pending:UngroupResourcesResponse'] :: UngroupResourcesResponse -> Maybe [PendingResource]
+ Amazonka.ResourceGroups.UngroupResources: [$sel:resourceArns:UngroupResources'] :: UngroupResources -> NonEmpty Text
+ Amazonka.ResourceGroups.UngroupResources: [$sel:succeeded:UngroupResourcesResponse'] :: UngroupResourcesResponse -> Maybe (NonEmpty Text)
+ Amazonka.ResourceGroups.UngroupResources: data UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: data UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UngroupResources.UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Classes.Eq Amazonka.ResourceGroups.UngroupResources.UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Generics.Generic Amazonka.ResourceGroups.UngroupResources.UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Read.Read Amazonka.ResourceGroups.UngroupResources.UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.UngroupResources.UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: instance GHC.Show.Show Amazonka.ResourceGroups.UngroupResources.UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: newUngroupResources :: Text -> NonEmpty Text -> UngroupResources
+ Amazonka.ResourceGroups.UngroupResources: newUngroupResourcesResponse :: Int -> UngroupResourcesResponse
+ Amazonka.ResourceGroups.UngroupResources: ungroupResourcesResponse_failed :: Lens' UngroupResourcesResponse (Maybe [FailedResource])
+ Amazonka.ResourceGroups.UngroupResources: ungroupResourcesResponse_httpStatus :: Lens' UngroupResourcesResponse Int
+ Amazonka.ResourceGroups.UngroupResources: ungroupResourcesResponse_pending :: Lens' UngroupResourcesResponse (Maybe [PendingResource])
+ Amazonka.ResourceGroups.UngroupResources: ungroupResourcesResponse_succeeded :: Lens' UngroupResourcesResponse (Maybe (NonEmpty Text))
+ Amazonka.ResourceGroups.UngroupResources: ungroupResources_group :: Lens' UngroupResources Text
+ Amazonka.ResourceGroups.UngroupResources: ungroupResources_resourceArns :: Lens' UngroupResources (NonEmpty Text)
+ Amazonka.ResourceGroups.Untag: Untag' :: Text -> [Text] -> Untag
+ Amazonka.ResourceGroups.Untag: UntagResponse' :: Maybe Text -> Maybe [Text] -> Int -> UntagResponse
+ Amazonka.ResourceGroups.Untag: [$sel:arn:Untag'] :: Untag -> Text
+ Amazonka.ResourceGroups.Untag: [$sel:arn:UntagResponse'] :: UntagResponse -> Maybe Text
+ Amazonka.ResourceGroups.Untag: [$sel:httpStatus:UntagResponse'] :: UntagResponse -> Int
+ Amazonka.ResourceGroups.Untag: [$sel:keys:Untag'] :: Untag -> [Text]
+ Amazonka.ResourceGroups.Untag: [$sel:keys:UntagResponse'] :: UntagResponse -> Maybe [Text]
+ Amazonka.ResourceGroups.Untag: data Untag
+ Amazonka.ResourceGroups.Untag: data UntagResponse
+ Amazonka.ResourceGroups.Untag: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.Untag.UntagResponse
+ Amazonka.ResourceGroups.Untag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance GHC.Classes.Eq Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance GHC.Classes.Eq Amazonka.ResourceGroups.Untag.UntagResponse
+ Amazonka.ResourceGroups.Untag: instance GHC.Generics.Generic Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance GHC.Generics.Generic Amazonka.ResourceGroups.Untag.UntagResponse
+ Amazonka.ResourceGroups.Untag: instance GHC.Read.Read Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance GHC.Read.Read Amazonka.ResourceGroups.Untag.UntagResponse
+ Amazonka.ResourceGroups.Untag: instance GHC.Show.Show Amazonka.ResourceGroups.Untag.Untag
+ Amazonka.ResourceGroups.Untag: instance GHC.Show.Show Amazonka.ResourceGroups.Untag.UntagResponse
+ Amazonka.ResourceGroups.Untag: newUntag :: Text -> Untag
+ Amazonka.ResourceGroups.Untag: newUntagResponse :: Int -> UntagResponse
+ Amazonka.ResourceGroups.Untag: untagResponse_arn :: Lens' UntagResponse (Maybe Text)
+ Amazonka.ResourceGroups.Untag: untagResponse_httpStatus :: Lens' UntagResponse Int
+ Amazonka.ResourceGroups.Untag: untagResponse_keys :: Lens' UntagResponse (Maybe [Text])
+ Amazonka.ResourceGroups.Untag: untag_arn :: Lens' Untag Text
+ Amazonka.ResourceGroups.Untag: untag_keys :: Lens' Untag [Text]
+ Amazonka.ResourceGroups.UpdateGroup: UpdateGroup' :: Maybe Text -> Maybe Text -> Maybe Text -> UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: UpdateGroupResponse' :: Maybe Group -> Int -> UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: [$sel:description:UpdateGroup'] :: UpdateGroup -> Maybe Text
+ Amazonka.ResourceGroups.UpdateGroup: [$sel:group':UpdateGroup'] :: UpdateGroup -> Maybe Text
+ Amazonka.ResourceGroups.UpdateGroup: [$sel:group':UpdateGroupResponse'] :: UpdateGroupResponse -> Maybe Group
+ Amazonka.ResourceGroups.UpdateGroup: [$sel:groupName:UpdateGroup'] :: UpdateGroup -> Maybe Text
+ Amazonka.ResourceGroups.UpdateGroup: [$sel:httpStatus:UpdateGroupResponse'] :: UpdateGroupResponse -> Int
+ Amazonka.ResourceGroups.UpdateGroup: data UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: data UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UpdateGroup.UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Classes.Eq Amazonka.ResourceGroups.UpdateGroup.UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Generics.Generic Amazonka.ResourceGroups.UpdateGroup.UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Read.Read Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Read.Read Amazonka.ResourceGroups.UpdateGroup.UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Show.Show Amazonka.ResourceGroups.UpdateGroup.UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: instance GHC.Show.Show Amazonka.ResourceGroups.UpdateGroup.UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: newUpdateGroup :: UpdateGroup
+ Amazonka.ResourceGroups.UpdateGroup: newUpdateGroupResponse :: Int -> UpdateGroupResponse
+ Amazonka.ResourceGroups.UpdateGroup: updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
+ Amazonka.ResourceGroups.UpdateGroup: updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
+ Amazonka.ResourceGroups.UpdateGroup: updateGroup_description :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.UpdateGroup: updateGroup_group :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.UpdateGroup: updateGroup_groupName :: Lens' UpdateGroup (Maybe Text)
+ Amazonka.ResourceGroups.UpdateGroupQuery: UpdateGroupQuery' :: Maybe Text -> Maybe Text -> ResourceQuery -> UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: UpdateGroupQueryResponse' :: Maybe GroupQuery -> Int -> UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: [$sel:group':UpdateGroupQuery'] :: UpdateGroupQuery -> Maybe Text
+ Amazonka.ResourceGroups.UpdateGroupQuery: [$sel:groupName:UpdateGroupQuery'] :: UpdateGroupQuery -> Maybe Text
+ Amazonka.ResourceGroups.UpdateGroupQuery: [$sel:groupQuery:UpdateGroupQueryResponse'] :: UpdateGroupQueryResponse -> Maybe GroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: [$sel:httpStatus:UpdateGroupQueryResponse'] :: UpdateGroupQueryResponse -> Int
+ Amazonka.ResourceGroups.UpdateGroupQuery: [$sel:resourceQuery:UpdateGroupQuery'] :: UpdateGroupQuery -> ResourceQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: data UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: data UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Amazonka.Data.Headers.ToHeaders Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Amazonka.Data.Path.ToPath Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Amazonka.Data.Query.ToQuery Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Amazonka.Types.AWSRequest Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Control.DeepSeq.NFData Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance Data.Hashable.Class.Hashable Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Classes.Eq Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Generics.Generic Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Read.Read Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Read.Read Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Show.Show Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: instance GHC.Show.Show Amazonka.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: newUpdateGroupQuery :: ResourceQuery -> UpdateGroupQuery
+ Amazonka.ResourceGroups.UpdateGroupQuery: newUpdateGroupQueryResponse :: Int -> UpdateGroupQueryResponse
+ Amazonka.ResourceGroups.UpdateGroupQuery: updateGroupQueryResponse_groupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery)
+ Amazonka.ResourceGroups.UpdateGroupQuery: updateGroupQueryResponse_httpStatus :: Lens' UpdateGroupQueryResponse Int
+ Amazonka.ResourceGroups.UpdateGroupQuery: updateGroupQuery_group :: Lens' UpdateGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.UpdateGroupQuery: updateGroupQuery_groupName :: Lens' UpdateGroupQuery (Maybe Text)
+ Amazonka.ResourceGroups.UpdateGroupQuery: updateGroupQuery_resourceQuery :: Lens' UpdateGroupQuery ResourceQuery

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2017-11-27@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.ResourceGroups](http://hackage.haskell.org/package/amazonka-resourcegroups/docs/Network-AWS-ResourceGroups.html)+See [Amazonka.ResourceGroups](http://hackage.haskell.org/package/amazonka-resourcegroups/docs/Amazonka-ResourceGroups.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-resourcegroups.cabal view
@@ -1,97 +1,120 @@-name:                  amazonka-resourcegroups-version:               1.6.1-synopsis:              Amazon Resource Groups SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-resourcegroups+version:            2.0+synopsis:           Amazon Resource Groups SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.ResourceGroups" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2017-11-27@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.ResourceGroups.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.ResourceGroups" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-resourcegroups+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-resourcegroups  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.ResourceGroups-        , Network.AWS.ResourceGroups.CreateGroup-        , Network.AWS.ResourceGroups.DeleteGroup-        , Network.AWS.ResourceGroups.GetGroup-        , Network.AWS.ResourceGroups.GetGroupQuery-        , Network.AWS.ResourceGroups.GetTags-        , Network.AWS.ResourceGroups.ListGroupResources-        , Network.AWS.ResourceGroups.ListGroups-        , Network.AWS.ResourceGroups.SearchResources-        , Network.AWS.ResourceGroups.Tag-        , Network.AWS.ResourceGroups.Types-        , Network.AWS.ResourceGroups.Untag-        , Network.AWS.ResourceGroups.UpdateGroup-        , Network.AWS.ResourceGroups.UpdateGroupQuery-        , Network.AWS.ResourceGroups.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.ResourceGroups.Types.Product-        , Network.AWS.ResourceGroups.Types.Sum+  exposed-modules:+    Amazonka.ResourceGroups+    Amazonka.ResourceGroups.CreateGroup+    Amazonka.ResourceGroups.DeleteGroup+    Amazonka.ResourceGroups.GetGroup+    Amazonka.ResourceGroups.GetGroupConfiguration+    Amazonka.ResourceGroups.GetGroupQuery+    Amazonka.ResourceGroups.GetTags+    Amazonka.ResourceGroups.GroupResources+    Amazonka.ResourceGroups.Lens+    Amazonka.ResourceGroups.ListGroupResources+    Amazonka.ResourceGroups.ListGroups+    Amazonka.ResourceGroups.PutGroupConfiguration+    Amazonka.ResourceGroups.SearchResources+    Amazonka.ResourceGroups.Tag+    Amazonka.ResourceGroups.Types+    Amazonka.ResourceGroups.Types.FailedResource+    Amazonka.ResourceGroups.Types.Group+    Amazonka.ResourceGroups.Types.GroupConfiguration+    Amazonka.ResourceGroups.Types.GroupConfigurationItem+    Amazonka.ResourceGroups.Types.GroupConfigurationParameter+    Amazonka.ResourceGroups.Types.GroupConfigurationStatus+    Amazonka.ResourceGroups.Types.GroupFilter+    Amazonka.ResourceGroups.Types.GroupFilterName+    Amazonka.ResourceGroups.Types.GroupIdentifier+    Amazonka.ResourceGroups.Types.GroupQuery+    Amazonka.ResourceGroups.Types.ListGroupResourcesItem+    Amazonka.ResourceGroups.Types.PendingResource+    Amazonka.ResourceGroups.Types.QueryError+    Amazonka.ResourceGroups.Types.QueryErrorCode+    Amazonka.ResourceGroups.Types.QueryType+    Amazonka.ResourceGroups.Types.ResourceFilter+    Amazonka.ResourceGroups.Types.ResourceFilterName+    Amazonka.ResourceGroups.Types.ResourceIdentifier+    Amazonka.ResourceGroups.Types.ResourceQuery+    Amazonka.ResourceGroups.Types.ResourceStatus+    Amazonka.ResourceGroups.Types.ResourceStatusValue+    Amazonka.ResourceGroups.UngroupResources+    Amazonka.ResourceGroups.Untag+    Amazonka.ResourceGroups.UpdateGroup+    Amazonka.ResourceGroups.UpdateGroupQuery+    Amazonka.ResourceGroups.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-resourcegroups-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.ResourceGroups-        , Test.AWS.Gen.ResourceGroups-        , Test.AWS.ResourceGroups.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.Gen.ResourceGroups+    Test.Amazonka.ResourceGroups+    Test.Amazonka.ResourceGroups.Internal -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-resourcegroups-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-core            >=2.0 && <2.1+    , amazonka-resourcegroups+    , amazonka-test            >=2.0 && <2.1+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
fixture/DeleteGroup.yaml view
@@ -1,5 +1,5 @@ ----method: DELETE+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
fixture/GetGroup.yaml view
@@ -1,5 +1,5 @@ ----method: GET+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
+ fixture/GetGroupConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  resource-groups.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetGroupConfigurationResponse.proto view
fixture/GetGroupQuery.yaml view
@@ -1,5 +1,5 @@ ----method: GET+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
+ fixture/GroupResources.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  resource-groups.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GroupResourcesResponse.proto view
fixture/ListGroupResources.yaml view
@@ -1,5 +1,5 @@ ----method: GET+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
fixture/ListGroups.yaml view
@@ -1,5 +1,5 @@ ----method: GET+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
+ fixture/PutGroupConfiguration.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  resource-groups.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/PutGroupConfigurationResponse.proto view
+ fixture/UngroupResources.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  resource-groups.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UngroupResourcesResponse.proto view
fixture/UpdateGroup.yaml view
@@ -1,5 +1,5 @@ ----method: PUT+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
fixture/UpdateGroupQuery.yaml view
@@ -1,5 +1,5 @@ ----method: PUT+method: POST headers:   Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/resource-groups/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?   Host:                  resource-groups.us-east-1.amazonaws.com
+ gen/Amazonka/ResourceGroups.hs view
@@ -0,0 +1,308 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.ResourceGroups+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- 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+-- <https://docs.aws.amazon.com/ARG/latest/userguide/welcome.html 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+module Amazonka.ResourceGroups+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** BadRequestException+    _BadRequestException,++    -- ** ForbiddenException+    _ForbiddenException,++    -- ** InternalServerErrorException+    _InternalServerErrorException,++    -- ** MethodNotAllowedException+    _MethodNotAllowedException,++    -- ** NotFoundException+    _NotFoundException,++    -- ** TooManyRequestsException+    _TooManyRequestsException,++    -- ** UnauthorizedException+    _UnauthorizedException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** CreateGroup+    CreateGroup (CreateGroup'),+    newCreateGroup,+    CreateGroupResponse (CreateGroupResponse'),+    newCreateGroupResponse,++    -- ** DeleteGroup+    DeleteGroup (DeleteGroup'),+    newDeleteGroup,+    DeleteGroupResponse (DeleteGroupResponse'),+    newDeleteGroupResponse,++    -- ** GetGroup+    GetGroup (GetGroup'),+    newGetGroup,+    GetGroupResponse (GetGroupResponse'),+    newGetGroupResponse,++    -- ** GetGroupConfiguration+    GetGroupConfiguration (GetGroupConfiguration'),+    newGetGroupConfiguration,+    GetGroupConfigurationResponse (GetGroupConfigurationResponse'),+    newGetGroupConfigurationResponse,++    -- ** GetGroupQuery+    GetGroupQuery (GetGroupQuery'),+    newGetGroupQuery,+    GetGroupQueryResponse (GetGroupQueryResponse'),+    newGetGroupQueryResponse,++    -- ** GetTags+    GetTags (GetTags'),+    newGetTags,+    GetTagsResponse (GetTagsResponse'),+    newGetTagsResponse,++    -- ** GroupResources+    GroupResources (GroupResources'),+    newGroupResources,+    GroupResourcesResponse (GroupResourcesResponse'),+    newGroupResourcesResponse,++    -- ** ListGroupResources (Paginated)+    ListGroupResources (ListGroupResources'),+    newListGroupResources,+    ListGroupResourcesResponse (ListGroupResourcesResponse'),+    newListGroupResourcesResponse,++    -- ** ListGroups (Paginated)+    ListGroups (ListGroups'),+    newListGroups,+    ListGroupsResponse (ListGroupsResponse'),+    newListGroupsResponse,++    -- ** PutGroupConfiguration+    PutGroupConfiguration (PutGroupConfiguration'),+    newPutGroupConfiguration,+    PutGroupConfigurationResponse (PutGroupConfigurationResponse'),+    newPutGroupConfigurationResponse,++    -- ** SearchResources (Paginated)+    SearchResources (SearchResources'),+    newSearchResources,+    SearchResourcesResponse (SearchResourcesResponse'),+    newSearchResourcesResponse,++    -- ** Tag+    Tag (Tag'),+    newTag,+    TagResponse (TagResponse'),+    newTagResponse,++    -- ** UngroupResources+    UngroupResources (UngroupResources'),+    newUngroupResources,+    UngroupResourcesResponse (UngroupResourcesResponse'),+    newUngroupResourcesResponse,++    -- ** Untag+    Untag (Untag'),+    newUntag,+    UntagResponse (UntagResponse'),+    newUntagResponse,++    -- ** UpdateGroup+    UpdateGroup (UpdateGroup'),+    newUpdateGroup,+    UpdateGroupResponse (UpdateGroupResponse'),+    newUpdateGroupResponse,++    -- ** UpdateGroupQuery+    UpdateGroupQuery (UpdateGroupQuery'),+    newUpdateGroupQuery,+    UpdateGroupQueryResponse (UpdateGroupQueryResponse'),+    newUpdateGroupQueryResponse,++    -- * Types++    -- ** GroupConfigurationStatus+    GroupConfigurationStatus (..),++    -- ** GroupFilterName+    GroupFilterName (..),++    -- ** QueryErrorCode+    QueryErrorCode (..),++    -- ** QueryType+    QueryType (..),++    -- ** ResourceFilterName+    ResourceFilterName (..),++    -- ** ResourceStatusValue+    ResourceStatusValue (..),++    -- ** FailedResource+    FailedResource (FailedResource'),+    newFailedResource,++    -- ** Group+    Group (Group'),+    newGroup,++    -- ** GroupConfiguration+    GroupConfiguration (GroupConfiguration'),+    newGroupConfiguration,++    -- ** GroupConfigurationItem+    GroupConfigurationItem (GroupConfigurationItem'),+    newGroupConfigurationItem,++    -- ** GroupConfigurationParameter+    GroupConfigurationParameter (GroupConfigurationParameter'),+    newGroupConfigurationParameter,++    -- ** GroupFilter+    GroupFilter (GroupFilter'),+    newGroupFilter,++    -- ** GroupIdentifier+    GroupIdentifier (GroupIdentifier'),+    newGroupIdentifier,++    -- ** GroupQuery+    GroupQuery (GroupQuery'),+    newGroupQuery,++    -- ** ListGroupResourcesItem+    ListGroupResourcesItem (ListGroupResourcesItem'),+    newListGroupResourcesItem,++    -- ** PendingResource+    PendingResource (PendingResource'),+    newPendingResource,++    -- ** QueryError+    QueryError (QueryError'),+    newQueryError,++    -- ** ResourceFilter+    ResourceFilter (ResourceFilter'),+    newResourceFilter,++    -- ** ResourceIdentifier+    ResourceIdentifier (ResourceIdentifier'),+    newResourceIdentifier,++    -- ** ResourceQuery+    ResourceQuery (ResourceQuery'),+    newResourceQuery,++    -- ** ResourceStatus+    ResourceStatus (ResourceStatus'),+    newResourceStatus,+  )+where++import Amazonka.ResourceGroups.CreateGroup+import Amazonka.ResourceGroups.DeleteGroup+import Amazonka.ResourceGroups.GetGroup+import Amazonka.ResourceGroups.GetGroupConfiguration+import Amazonka.ResourceGroups.GetGroupQuery+import Amazonka.ResourceGroups.GetTags+import Amazonka.ResourceGroups.GroupResources+import Amazonka.ResourceGroups.Lens+import Amazonka.ResourceGroups.ListGroupResources+import Amazonka.ResourceGroups.ListGroups+import Amazonka.ResourceGroups.PutGroupConfiguration+import Amazonka.ResourceGroups.SearchResources+import Amazonka.ResourceGroups.Tag+import Amazonka.ResourceGroups.Types+import Amazonka.ResourceGroups.UngroupResources+import Amazonka.ResourceGroups.Untag+import Amazonka.ResourceGroups.UpdateGroup+import Amazonka.ResourceGroups.UpdateGroupQuery+import Amazonka.ResourceGroups.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'ResourceGroups'.++-- $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.++-- $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.
+ gen/Amazonka/ResourceGroups/CreateGroup.hs view
@@ -0,0 +1,323 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.CreateGroup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a resource group with the specified name and description. You+-- can optionally include a resource query, or a service configuration. For+-- more information about constructing a resource query, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+-- For more information about service configurations, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:CreateGroup@+module Amazonka.ResourceGroups.CreateGroup+  ( -- * Creating a Request+    CreateGroup (..),+    newCreateGroup,++    -- * Request Lenses+    createGroup_configuration,+    createGroup_description,+    createGroup_resourceQuery,+    createGroup_tags,+    createGroup_name,++    -- * Destructuring the Response+    CreateGroupResponse (..),+    newCreateGroupResponse,++    -- * Response Lenses+    createGroupResponse_group,+    createGroupResponse_groupConfiguration,+    createGroupResponse_resourceQuery,+    createGroupResponse_tags,+    createGroupResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newCreateGroup' smart constructor.+data CreateGroup = CreateGroup'+  { -- | 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+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+    --+    -- A resource group can contain either a @Configuration@ or a+    -- @ResourceQuery@, but not both.+    configuration :: Prelude.Maybe [GroupConfigurationItem],+    -- | The description of the resource group. Descriptions can consist of+    -- letters, numbers, hyphens, underscores, periods, and spaces.+    description :: Prelude.Maybe Prelude.Text,+    -- | The resource query that determines which AWS resources are members of+    -- this group. For more information about resource queries, see+    -- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+    --+    -- A resource group can contain either a @ResourceQuery@ or a+    -- @Configuration@, but not both.+    resourceQuery :: Prelude.Maybe ResourceQuery,+    -- | The tags to add to the group. A tag is key-value pair string.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | 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.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configuration', '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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- A resource group can contain either a @Configuration@ or a+-- @ResourceQuery@, but not both.+--+-- 'description', 'createGroup_description' - The description of the resource group. Descriptions can consist of+-- letters, numbers, hyphens, underscores, periods, and spaces.+--+-- 'resourceQuery', 'createGroup_resourceQuery' - The resource query that determines which AWS resources are members of+-- this group. For more information about resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- A resource group can contain either a @ResourceQuery@ or a+-- @Configuration@, but not both.+--+-- 'tags', 'createGroup_tags' - The tags to add to the group. A tag is key-value pair string.+--+-- 'name', '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.+newCreateGroup ::+  -- | 'name'+  Prelude.Text ->+  CreateGroup+newCreateGroup pName_ =+  CreateGroup'+    { configuration = Prelude.Nothing,+      description = Prelude.Nothing,+      resourceQuery = Prelude.Nothing,+      tags = Prelude.Nothing,+      name = pName_+    }++-- | 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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- A resource group can contain either a @Configuration@ or a+-- @ResourceQuery@, but not both.+createGroup_configuration :: Lens.Lens' CreateGroup (Prelude.Maybe [GroupConfigurationItem])+createGroup_configuration = Lens.lens (\CreateGroup' {configuration} -> configuration) (\s@CreateGroup' {} a -> s {configuration = a} :: CreateGroup) Prelude.. Lens.mapping Lens.coerced++-- | The description of the resource group. Descriptions can consist of+-- letters, numbers, hyphens, underscores, periods, and spaces.+createGroup_description :: Lens.Lens' CreateGroup (Prelude.Maybe Prelude.Text)+createGroup_description = Lens.lens (\CreateGroup' {description} -> description) (\s@CreateGroup' {} a -> s {description = a} :: CreateGroup)++-- | The resource query that determines which AWS resources are members of+-- this group. For more information about resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- A resource group can contain either a @ResourceQuery@ or a+-- @Configuration@, but not both.+createGroup_resourceQuery :: Lens.Lens' CreateGroup (Prelude.Maybe ResourceQuery)+createGroup_resourceQuery = Lens.lens (\CreateGroup' {resourceQuery} -> resourceQuery) (\s@CreateGroup' {} a -> s {resourceQuery = a} :: CreateGroup)++-- | The tags to add to the group. A tag is key-value pair string.+createGroup_tags :: Lens.Lens' CreateGroup (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createGroup_tags = Lens.lens (\CreateGroup' {tags} -> tags) (\s@CreateGroup' {} a -> s {tags = a} :: CreateGroup) Prelude.. Lens.mapping Lens.coerced++-- | 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.+createGroup_name :: Lens.Lens' CreateGroup Prelude.Text+createGroup_name = Lens.lens (\CreateGroup' {name} -> name) (\s@CreateGroup' {} a -> s {name = a} :: CreateGroup)++instance Core.AWSRequest CreateGroup where+  type AWSResponse CreateGroup = CreateGroupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateGroupResponse'+            Prelude.<$> (x Data..?> "Group")+            Prelude.<*> (x Data..?> "GroupConfiguration")+            Prelude.<*> (x Data..?> "ResourceQuery")+            Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateGroup where+  hashWithSalt _salt CreateGroup' {..} =+    _salt+      `Prelude.hashWithSalt` configuration+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` resourceQuery+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` name++instance Prelude.NFData CreateGroup where+  rnf CreateGroup' {..} =+    Prelude.rnf configuration+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf resourceQuery+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders CreateGroup where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON CreateGroup where+  toJSON CreateGroup' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Configuration" Data..=) Prelude.<$> configuration,+            ("Description" Data..=) Prelude.<$> description,+            ("ResourceQuery" Data..=) Prelude.<$> resourceQuery,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Name" Data..= name)+          ]+      )++instance Data.ToPath CreateGroup where+  toPath = Prelude.const "/groups"++instance Data.ToQuery CreateGroup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateGroupResponse' smart constructor.+data CreateGroupResponse = CreateGroupResponse'+  { -- | The description of the resource group.+    group' :: Prelude.Maybe Group,+    -- | The service configuration associated with the resource group. For+    -- details about the syntax of a service configuration, see+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+    groupConfiguration :: Prelude.Maybe GroupConfiguration,+    -- | The resource query associated with the group. For more information about+    -- resource queries, see+    -- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+    resourceQuery :: Prelude.Maybe ResourceQuery,+    -- | The tags associated with the group.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'createGroupResponse_group' - The description of the resource group.+--+-- 'groupConfiguration', 'createGroupResponse_groupConfiguration' - The service configuration associated with the resource group. For+-- details about the syntax of a service configuration, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- 'resourceQuery', 'createGroupResponse_resourceQuery' - The resource query associated with the group. For more information about+-- resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- 'tags', 'createGroupResponse_tags' - The tags associated with the group.+--+-- 'httpStatus', 'createGroupResponse_httpStatus' - The response's http status code.+newCreateGroupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateGroupResponse+newCreateGroupResponse pHttpStatus_ =+  CreateGroupResponse'+    { group' = Prelude.Nothing,+      groupConfiguration = Prelude.Nothing,+      resourceQuery = Prelude.Nothing,+      tags = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The description of the resource group.+createGroupResponse_group :: Lens.Lens' CreateGroupResponse (Prelude.Maybe Group)+createGroupResponse_group = Lens.lens (\CreateGroupResponse' {group'} -> group') (\s@CreateGroupResponse' {} a -> s {group' = a} :: CreateGroupResponse)++-- | The service configuration associated with the resource group. For+-- details about the syntax of a service configuration, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+createGroupResponse_groupConfiguration :: Lens.Lens' CreateGroupResponse (Prelude.Maybe GroupConfiguration)+createGroupResponse_groupConfiguration = Lens.lens (\CreateGroupResponse' {groupConfiguration} -> groupConfiguration) (\s@CreateGroupResponse' {} a -> s {groupConfiguration = a} :: CreateGroupResponse)++-- | The resource query associated with the group. For more information about+-- resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+createGroupResponse_resourceQuery :: Lens.Lens' CreateGroupResponse (Prelude.Maybe ResourceQuery)+createGroupResponse_resourceQuery = Lens.lens (\CreateGroupResponse' {resourceQuery} -> resourceQuery) (\s@CreateGroupResponse' {} a -> s {resourceQuery = a} :: CreateGroupResponse)++-- | The tags associated with the group.+createGroupResponse_tags :: Lens.Lens' CreateGroupResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+createGroupResponse_tags = Lens.lens (\CreateGroupResponse' {tags} -> tags) (\s@CreateGroupResponse' {} a -> s {tags = a} :: CreateGroupResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+createGroupResponse_httpStatus :: Lens.Lens' CreateGroupResponse Prelude.Int+createGroupResponse_httpStatus = Lens.lens (\CreateGroupResponse' {httpStatus} -> httpStatus) (\s@CreateGroupResponse' {} a -> s {httpStatus = a} :: CreateGroupResponse)++instance Prelude.NFData CreateGroupResponse where+  rnf CreateGroupResponse' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupConfiguration+      `Prelude.seq` Prelude.rnf resourceQuery+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/DeleteGroup.hs view
@@ -0,0 +1,177 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.DeleteGroup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes the specified resource group. Deleting a resource group does not+-- delete any resources that are members of the group; it only deletes the+-- group structure.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:DeleteGroup@+module Amazonka.ResourceGroups.DeleteGroup+  ( -- * Creating a Request+    DeleteGroup (..),+    newDeleteGroup,++    -- * Request Lenses+    deleteGroup_group,+    deleteGroup_groupName,++    -- * Destructuring the Response+    DeleteGroupResponse (..),+    newDeleteGroupResponse,++    -- * Response Lenses+    deleteGroupResponse_group,+    deleteGroupResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newDeleteGroup' smart constructor.+data DeleteGroup = DeleteGroup'+  { -- | The name or the ARN of the resource group to delete.+    group' :: Prelude.Maybe Prelude.Text,+    -- | Deprecated - don\'t use this parameter. Use @Group@ instead.+    groupName :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'deleteGroup_group' - The name or the ARN of the resource group to delete.+--+-- 'groupName', 'deleteGroup_groupName' - Deprecated - don\'t use this parameter. Use @Group@ instead.+newDeleteGroup ::+  DeleteGroup+newDeleteGroup =+  DeleteGroup'+    { group' = Prelude.Nothing,+      groupName = Prelude.Nothing+    }++-- | The name or the ARN of the resource group to delete.+deleteGroup_group :: Lens.Lens' DeleteGroup (Prelude.Maybe Prelude.Text)+deleteGroup_group = Lens.lens (\DeleteGroup' {group'} -> group') (\s@DeleteGroup' {} a -> s {group' = a} :: DeleteGroup)++-- | Deprecated - don\'t use this parameter. Use @Group@ instead.+deleteGroup_groupName :: Lens.Lens' DeleteGroup (Prelude.Maybe Prelude.Text)+deleteGroup_groupName = Lens.lens (\DeleteGroup' {groupName} -> groupName) (\s@DeleteGroup' {} a -> s {groupName = a} :: DeleteGroup)++instance Core.AWSRequest DeleteGroup where+  type AWSResponse DeleteGroup = DeleteGroupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeleteGroupResponse'+            Prelude.<$> (x Data..?> "Group")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteGroup where+  hashWithSalt _salt DeleteGroup' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName++instance Prelude.NFData DeleteGroup where+  rnf DeleteGroup' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName++instance Data.ToHeaders DeleteGroup where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON DeleteGroup where+  toJSON DeleteGroup' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName+          ]+      )++instance Data.ToPath DeleteGroup where+  toPath = Prelude.const "/delete-group"++instance Data.ToQuery DeleteGroup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteGroupResponse' smart constructor.+data DeleteGroupResponse = DeleteGroupResponse'+  { -- | A full description of the deleted resource group.+    group' :: Prelude.Maybe Group,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'deleteGroupResponse_group' - A full description of the deleted resource group.+--+-- 'httpStatus', 'deleteGroupResponse_httpStatus' - The response's http status code.+newDeleteGroupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteGroupResponse+newDeleteGroupResponse pHttpStatus_ =+  DeleteGroupResponse'+    { group' = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A full description of the deleted resource group.+deleteGroupResponse_group :: Lens.Lens' DeleteGroupResponse (Prelude.Maybe Group)+deleteGroupResponse_group = Lens.lens (\DeleteGroupResponse' {group'} -> group') (\s@DeleteGroupResponse' {} a -> s {group' = a} :: DeleteGroupResponse)++-- | The response's http status code.+deleteGroupResponse_httpStatus :: Lens.Lens' DeleteGroupResponse Prelude.Int+deleteGroupResponse_httpStatus = Lens.lens (\DeleteGroupResponse' {httpStatus} -> httpStatus) (\s@DeleteGroupResponse' {} a -> s {httpStatus = a} :: DeleteGroupResponse)++instance Prelude.NFData DeleteGroupResponse where+  rnf DeleteGroupResponse' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/GetGroup.hs view
@@ -0,0 +1,175 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.GetGroup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns information about a specified resource group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:GetGroup@+module Amazonka.ResourceGroups.GetGroup+  ( -- * Creating a Request+    GetGroup (..),+    newGetGroup,++    -- * Request Lenses+    getGroup_group,+    getGroup_groupName,++    -- * Destructuring the Response+    GetGroupResponse (..),+    newGetGroupResponse,++    -- * Response Lenses+    getGroupResponse_group,+    getGroupResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetGroup' smart constructor.+data GetGroup = GetGroup'+  { -- | The name or the ARN of the resource group to retrieve.+    group' :: Prelude.Maybe Prelude.Text,+    -- | Deprecated - don\'t use this parameter. Use @Group@ instead.+    groupName :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'getGroup_group' - The name or the ARN of the resource group to retrieve.+--+-- 'groupName', 'getGroup_groupName' - Deprecated - don\'t use this parameter. Use @Group@ instead.+newGetGroup ::+  GetGroup+newGetGroup =+  GetGroup'+    { group' = Prelude.Nothing,+      groupName = Prelude.Nothing+    }++-- | The name or the ARN of the resource group to retrieve.+getGroup_group :: Lens.Lens' GetGroup (Prelude.Maybe Prelude.Text)+getGroup_group = Lens.lens (\GetGroup' {group'} -> group') (\s@GetGroup' {} a -> s {group' = a} :: GetGroup)++-- | Deprecated - don\'t use this parameter. Use @Group@ instead.+getGroup_groupName :: Lens.Lens' GetGroup (Prelude.Maybe Prelude.Text)+getGroup_groupName = Lens.lens (\GetGroup' {groupName} -> groupName) (\s@GetGroup' {} a -> s {groupName = a} :: GetGroup)++instance Core.AWSRequest GetGroup where+  type AWSResponse GetGroup = GetGroupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetGroupResponse'+            Prelude.<$> (x Data..?> "Group")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetGroup where+  hashWithSalt _salt GetGroup' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName++instance Prelude.NFData GetGroup where+  rnf GetGroup' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName++instance Data.ToHeaders GetGroup where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON GetGroup where+  toJSON GetGroup' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName+          ]+      )++instance Data.ToPath GetGroup where+  toPath = Prelude.const "/get-group"++instance Data.ToQuery GetGroup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetGroupResponse' smart constructor.+data GetGroupResponse = GetGroupResponse'+  { -- | A full description of the resource group.+    group' :: Prelude.Maybe Group,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'getGroupResponse_group' - A full description of the resource group.+--+-- 'httpStatus', 'getGroupResponse_httpStatus' - The response's http status code.+newGetGroupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetGroupResponse+newGetGroupResponse pHttpStatus_ =+  GetGroupResponse'+    { group' = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A full description of the resource group.+getGroupResponse_group :: Lens.Lens' GetGroupResponse (Prelude.Maybe Group)+getGroupResponse_group = Lens.lens (\GetGroupResponse' {group'} -> group') (\s@GetGroupResponse' {} a -> s {group' = a} :: GetGroupResponse)++-- | The response's http status code.+getGroupResponse_httpStatus :: Lens.Lens' GetGroupResponse Prelude.Int+getGroupResponse_httpStatus = Lens.lens (\GetGroupResponse' {httpStatus} -> httpStatus) (\s@GetGroupResponse' {} a -> s {httpStatus = a} :: GetGroupResponse)++instance Prelude.NFData GetGroupResponse where+  rnf GetGroupResponse' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/GetGroupConfiguration.hs view
@@ -0,0 +1,168 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.GetGroupConfiguration+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns the service configuration associated with the specified resource+-- group. For details about the service configuration syntax, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:GetGroupConfiguration@+module Amazonka.ResourceGroups.GetGroupConfiguration+  ( -- * Creating a Request+    GetGroupConfiguration (..),+    newGetGroupConfiguration,++    -- * Request Lenses+    getGroupConfiguration_group,++    -- * Destructuring the Response+    GetGroupConfigurationResponse (..),+    newGetGroupConfigurationResponse,++    -- * Response Lenses+    getGroupConfigurationResponse_groupConfiguration,+    getGroupConfigurationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetGroupConfiguration' smart constructor.+data GetGroupConfiguration = GetGroupConfiguration'+  { -- | The name or the ARN of the resource group.+    group' :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroupConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'getGroupConfiguration_group' - The name or the ARN of the resource group.+newGetGroupConfiguration ::+  GetGroupConfiguration+newGetGroupConfiguration =+  GetGroupConfiguration' {group' = Prelude.Nothing}++-- | The name or the ARN of the resource group.+getGroupConfiguration_group :: Lens.Lens' GetGroupConfiguration (Prelude.Maybe Prelude.Text)+getGroupConfiguration_group = Lens.lens (\GetGroupConfiguration' {group'} -> group') (\s@GetGroupConfiguration' {} a -> s {group' = a} :: GetGroupConfiguration)++instance Core.AWSRequest GetGroupConfiguration where+  type+    AWSResponse GetGroupConfiguration =+      GetGroupConfigurationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetGroupConfigurationResponse'+            Prelude.<$> (x Data..?> "GroupConfiguration")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetGroupConfiguration where+  hashWithSalt _salt GetGroupConfiguration' {..} =+    _salt `Prelude.hashWithSalt` group'++instance Prelude.NFData GetGroupConfiguration where+  rnf GetGroupConfiguration' {..} = Prelude.rnf group'++instance Data.ToHeaders GetGroupConfiguration where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON GetGroupConfiguration where+  toJSON GetGroupConfiguration' {..} =+    Data.object+      ( Prelude.catMaybes+          [("Group" Data..=) Prelude.<$> group']+      )++instance Data.ToPath GetGroupConfiguration where+  toPath = Prelude.const "/get-group-configuration"++instance Data.ToQuery GetGroupConfiguration where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetGroupConfigurationResponse' smart constructor.+data GetGroupConfigurationResponse = GetGroupConfigurationResponse'+  { -- | The service configuration associated with the specified group. For+    -- details about the service configuration syntax, see+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+    groupConfiguration :: Prelude.Maybe GroupConfiguration,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroupConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupConfiguration', 'getGroupConfigurationResponse_groupConfiguration' - The service configuration associated with the specified group. For+-- details about the service configuration syntax, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- 'httpStatus', 'getGroupConfigurationResponse_httpStatus' - The response's http status code.+newGetGroupConfigurationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetGroupConfigurationResponse+newGetGroupConfigurationResponse pHttpStatus_ =+  GetGroupConfigurationResponse'+    { groupConfiguration =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The service configuration associated with the specified group. For+-- details about the service configuration syntax, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+getGroupConfigurationResponse_groupConfiguration :: Lens.Lens' GetGroupConfigurationResponse (Prelude.Maybe GroupConfiguration)+getGroupConfigurationResponse_groupConfiguration = Lens.lens (\GetGroupConfigurationResponse' {groupConfiguration} -> groupConfiguration) (\s@GetGroupConfigurationResponse' {} a -> s {groupConfiguration = a} :: GetGroupConfigurationResponse)++-- | The response's http status code.+getGroupConfigurationResponse_httpStatus :: Lens.Lens' GetGroupConfigurationResponse Prelude.Int+getGroupConfigurationResponse_httpStatus = Lens.lens (\GetGroupConfigurationResponse' {httpStatus} -> httpStatus) (\s@GetGroupConfigurationResponse' {} a -> s {httpStatus = a} :: GetGroupConfigurationResponse)++instance Prelude.NFData GetGroupConfigurationResponse where+  rnf GetGroupConfigurationResponse' {..} =+    Prelude.rnf groupConfiguration+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/GetGroupQuery.hs view
@@ -0,0 +1,186 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.GetGroupQuery+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves the resource query associated with the specified resource+-- group. For more information about resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:GetGroupQuery@+module Amazonka.ResourceGroups.GetGroupQuery+  ( -- * Creating a Request+    GetGroupQuery (..),+    newGetGroupQuery,++    -- * Request Lenses+    getGroupQuery_group,+    getGroupQuery_groupName,++    -- * Destructuring the Response+    GetGroupQueryResponse (..),+    newGetGroupQueryResponse,++    -- * Response Lenses+    getGroupQueryResponse_groupQuery,+    getGroupQueryResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetGroupQuery' smart constructor.+data GetGroupQuery = GetGroupQuery'+  { -- | The name or the ARN of the resource group to query.+    group' :: Prelude.Maybe Prelude.Text,+    -- | Don\'t use this parameter. Use @Group@ instead.+    groupName :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroupQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'getGroupQuery_group' - The name or the ARN of the resource group to query.+--+-- 'groupName', 'getGroupQuery_groupName' - Don\'t use this parameter. Use @Group@ instead.+newGetGroupQuery ::+  GetGroupQuery+newGetGroupQuery =+  GetGroupQuery'+    { group' = Prelude.Nothing,+      groupName = Prelude.Nothing+    }++-- | The name or the ARN of the resource group to query.+getGroupQuery_group :: Lens.Lens' GetGroupQuery (Prelude.Maybe Prelude.Text)+getGroupQuery_group = Lens.lens (\GetGroupQuery' {group'} -> group') (\s@GetGroupQuery' {} a -> s {group' = a} :: GetGroupQuery)++-- | Don\'t use this parameter. Use @Group@ instead.+getGroupQuery_groupName :: Lens.Lens' GetGroupQuery (Prelude.Maybe Prelude.Text)+getGroupQuery_groupName = Lens.lens (\GetGroupQuery' {groupName} -> groupName) (\s@GetGroupQuery' {} a -> s {groupName = a} :: GetGroupQuery)++instance Core.AWSRequest GetGroupQuery where+  type+    AWSResponse GetGroupQuery =+      GetGroupQueryResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetGroupQueryResponse'+            Prelude.<$> (x Data..?> "GroupQuery")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetGroupQuery where+  hashWithSalt _salt GetGroupQuery' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName++instance Prelude.NFData GetGroupQuery where+  rnf GetGroupQuery' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName++instance Data.ToHeaders GetGroupQuery where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON GetGroupQuery where+  toJSON GetGroupQuery' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName+          ]+      )++instance Data.ToPath GetGroupQuery where+  toPath = Prelude.const "/get-group-query"++instance Data.ToQuery GetGroupQuery where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetGroupQueryResponse' smart constructor.+data GetGroupQueryResponse = GetGroupQueryResponse'+  { -- | The resource query associated with the specified group. For more+    -- information about resource queries, see+    -- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+    groupQuery :: Prelude.Maybe GroupQuery,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetGroupQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupQuery', 'getGroupQueryResponse_groupQuery' - The resource query associated with the specified group. For more+-- information about resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- 'httpStatus', 'getGroupQueryResponse_httpStatus' - The response's http status code.+newGetGroupQueryResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetGroupQueryResponse+newGetGroupQueryResponse pHttpStatus_ =+  GetGroupQueryResponse'+    { groupQuery =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The resource query associated with the specified group. For more+-- information about resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+getGroupQueryResponse_groupQuery :: Lens.Lens' GetGroupQueryResponse (Prelude.Maybe GroupQuery)+getGroupQueryResponse_groupQuery = Lens.lens (\GetGroupQueryResponse' {groupQuery} -> groupQuery) (\s@GetGroupQueryResponse' {} a -> s {groupQuery = a} :: GetGroupQueryResponse)++-- | The response's http status code.+getGroupQueryResponse_httpStatus :: Lens.Lens' GetGroupQueryResponse Prelude.Int+getGroupQueryResponse_httpStatus = Lens.lens (\GetGroupQueryResponse' {httpStatus} -> httpStatus) (\s@GetGroupQueryResponse' {} a -> s {httpStatus = a} :: GetGroupQueryResponse)++instance Prelude.NFData GetGroupQueryResponse where+  rnf GetGroupQueryResponse' {..} =+    Prelude.rnf groupQuery+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/GetTags.hs view
@@ -0,0 +1,166 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.GetTags+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of tags that are associated with a resource group,+-- specified by an ARN.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:GetTags@+module Amazonka.ResourceGroups.GetTags+  ( -- * Creating a Request+    GetTags (..),+    newGetTags,++    -- * Request Lenses+    getTags_arn,++    -- * Destructuring the Response+    GetTagsResponse (..),+    newGetTagsResponse,++    -- * Response Lenses+    getTagsResponse_arn,+    getTagsResponse_tags,+    getTagsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newGetTags' smart constructor.+data GetTags = GetTags'+  { -- | The ARN of the resource group whose tags you want to retrieve.+    arn :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTags' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'getTags_arn' - The ARN of the resource group whose tags you want to retrieve.+newGetTags ::+  -- | 'arn'+  Prelude.Text ->+  GetTags+newGetTags pArn_ = GetTags' {arn = pArn_}++-- | The ARN of the resource group whose tags you want to retrieve.+getTags_arn :: Lens.Lens' GetTags Prelude.Text+getTags_arn = Lens.lens (\GetTags' {arn} -> arn) (\s@GetTags' {} a -> s {arn = a} :: GetTags)++instance Core.AWSRequest GetTags where+  type AWSResponse GetTags = GetTagsResponse+  request overrides =+    Request.get (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetTagsResponse'+            Prelude.<$> (x Data..?> "Arn")+            Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetTags where+  hashWithSalt _salt GetTags' {..} =+    _salt `Prelude.hashWithSalt` arn++instance Prelude.NFData GetTags where+  rnf GetTags' {..} = Prelude.rnf arn++instance Data.ToHeaders GetTags where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToPath GetTags where+  toPath GetTags' {..} =+    Prelude.mconcat+      ["/resources/", Data.toBS arn, "/tags"]++instance Data.ToQuery GetTags where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetTagsResponse' smart constructor.+data GetTagsResponse = GetTagsResponse'+  { -- | The ARN of the tagged resource group.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The tags associated with the specified resource group.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTagsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'getTagsResponse_arn' - The ARN of the tagged resource group.+--+-- 'tags', 'getTagsResponse_tags' - The tags associated with the specified resource group.+--+-- 'httpStatus', 'getTagsResponse_httpStatus' - The response's http status code.+newGetTagsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetTagsResponse+newGetTagsResponse pHttpStatus_ =+  GetTagsResponse'+    { arn = Prelude.Nothing,+      tags = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The ARN of the tagged resource group.+getTagsResponse_arn :: Lens.Lens' GetTagsResponse (Prelude.Maybe Prelude.Text)+getTagsResponse_arn = Lens.lens (\GetTagsResponse' {arn} -> arn) (\s@GetTagsResponse' {} a -> s {arn = a} :: GetTagsResponse)++-- | The tags associated with the specified resource group.+getTagsResponse_tags :: Lens.Lens' GetTagsResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+getTagsResponse_tags = Lens.lens (\GetTagsResponse' {tags} -> tags) (\s@GetTagsResponse' {} a -> s {tags = a} :: GetTagsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+getTagsResponse_httpStatus :: Lens.Lens' GetTagsResponse Prelude.Int+getTagsResponse_httpStatus = Lens.lens (\GetTagsResponse' {httpStatus} -> httpStatus) (\s@GetTagsResponse' {} a -> s {httpStatus = a} :: GetTagsResponse)++instance Prelude.NFData GetTagsResponse where+  rnf GetTagsResponse' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/GroupResources.hs view
@@ -0,0 +1,226 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.GroupResources+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds the specified resources to the specified group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:GroupResources@+module Amazonka.ResourceGroups.GroupResources+  ( -- * Creating a Request+    GroupResources (..),+    newGroupResources,++    -- * Request Lenses+    groupResources_group,+    groupResources_resourceArns,++    -- * Destructuring the Response+    GroupResourcesResponse (..),+    newGroupResourcesResponse,++    -- * Response Lenses+    groupResourcesResponse_failed,+    groupResourcesResponse_pending,+    groupResourcesResponse_succeeded,+    groupResourcesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newGroupResources' smart constructor.+data GroupResources = GroupResources'+  { -- | The name or the ARN of the resource group to add resources to.+    group' :: Prelude.Text,+    -- | The list of ARNs for resources to be added to the group.+    resourceArns :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupResources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'groupResources_group' - The name or the ARN of the resource group to add resources to.+--+-- 'resourceArns', 'groupResources_resourceArns' - The list of ARNs for resources to be added to the group.+newGroupResources ::+  -- | 'group''+  Prelude.Text ->+  -- | 'resourceArns'+  Prelude.NonEmpty Prelude.Text ->+  GroupResources+newGroupResources pGroup_ pResourceArns_ =+  GroupResources'+    { group' = pGroup_,+      resourceArns = Lens.coerced Lens.# pResourceArns_+    }++-- | The name or the ARN of the resource group to add resources to.+groupResources_group :: Lens.Lens' GroupResources Prelude.Text+groupResources_group = Lens.lens (\GroupResources' {group'} -> group') (\s@GroupResources' {} a -> s {group' = a} :: GroupResources)++-- | The list of ARNs for resources to be added to the group.+groupResources_resourceArns :: Lens.Lens' GroupResources (Prelude.NonEmpty Prelude.Text)+groupResources_resourceArns = Lens.lens (\GroupResources' {resourceArns} -> resourceArns) (\s@GroupResources' {} a -> s {resourceArns = a} :: GroupResources) Prelude.. Lens.coerced++instance Core.AWSRequest GroupResources where+  type+    AWSResponse GroupResources =+      GroupResourcesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GroupResourcesResponse'+            Prelude.<$> (x Data..?> "Failed" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "Pending" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "Succeeded")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GroupResources where+  hashWithSalt _salt GroupResources' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` resourceArns++instance Prelude.NFData GroupResources where+  rnf GroupResources' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf resourceArns++instance Data.ToHeaders GroupResources where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON GroupResources where+  toJSON GroupResources' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Group" Data..= group'),+            Prelude.Just ("ResourceArns" Data..= resourceArns)+          ]+      )++instance Data.ToPath GroupResources where+  toPath = Prelude.const "/group-resources"++instance Data.ToQuery GroupResources where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGroupResourcesResponse' smart constructor.+data GroupResourcesResponse = GroupResourcesResponse'+  { -- | A list of ARNs of any resources that failed to be added to the group by+    -- this operation.+    failed :: Prelude.Maybe [FailedResource],+    -- | 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.+    pending :: Prelude.Maybe [PendingResource],+    -- | A list of ARNs of resources that were successfully added to the group by+    -- this operation.+    succeeded :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupResourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failed', 'groupResourcesResponse_failed' - A list of ARNs of any resources that failed to be added to the group by+-- this operation.+--+-- 'pending', '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.+--+-- 'succeeded', 'groupResourcesResponse_succeeded' - A list of ARNs of resources that were successfully added to the group by+-- this operation.+--+-- 'httpStatus', 'groupResourcesResponse_httpStatus' - The response's http status code.+newGroupResourcesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GroupResourcesResponse+newGroupResourcesResponse pHttpStatus_ =+  GroupResourcesResponse'+    { failed = Prelude.Nothing,+      pending = Prelude.Nothing,+      succeeded = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of ARNs of any resources that failed to be added to the group by+-- this operation.+groupResourcesResponse_failed :: Lens.Lens' GroupResourcesResponse (Prelude.Maybe [FailedResource])+groupResourcesResponse_failed = Lens.lens (\GroupResourcesResponse' {failed} -> failed) (\s@GroupResourcesResponse' {} a -> s {failed = a} :: GroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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.+groupResourcesResponse_pending :: Lens.Lens' GroupResourcesResponse (Prelude.Maybe [PendingResource])+groupResourcesResponse_pending = Lens.lens (\GroupResourcesResponse' {pending} -> pending) (\s@GroupResourcesResponse' {} a -> s {pending = a} :: GroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A list of ARNs of resources that were successfully added to the group by+-- this operation.+groupResourcesResponse_succeeded :: Lens.Lens' GroupResourcesResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+groupResourcesResponse_succeeded = Lens.lens (\GroupResourcesResponse' {succeeded} -> succeeded) (\s@GroupResourcesResponse' {} a -> s {succeeded = a} :: GroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+groupResourcesResponse_httpStatus :: Lens.Lens' GroupResourcesResponse Prelude.Int+groupResourcesResponse_httpStatus = Lens.lens (\GroupResourcesResponse' {httpStatus} -> httpStatus) (\s@GroupResourcesResponse' {} a -> s {httpStatus = a} :: GroupResourcesResponse)++instance Prelude.NFData GroupResourcesResponse where+  rnf GroupResourcesResponse' {..} =+    Prelude.rnf failed+      `Prelude.seq` Prelude.rnf pending+      `Prelude.seq` Prelude.rnf succeeded+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/Lens.hs view
@@ -0,0 +1,233 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Lens+  ( -- * Operations++    -- ** CreateGroup+    createGroup_configuration,+    createGroup_description,+    createGroup_resourceQuery,+    createGroup_tags,+    createGroup_name,+    createGroupResponse_group,+    createGroupResponse_groupConfiguration,+    createGroupResponse_resourceQuery,+    createGroupResponse_tags,+    createGroupResponse_httpStatus,++    -- ** DeleteGroup+    deleteGroup_group,+    deleteGroup_groupName,+    deleteGroupResponse_group,+    deleteGroupResponse_httpStatus,++    -- ** GetGroup+    getGroup_group,+    getGroup_groupName,+    getGroupResponse_group,+    getGroupResponse_httpStatus,++    -- ** GetGroupConfiguration+    getGroupConfiguration_group,+    getGroupConfigurationResponse_groupConfiguration,+    getGroupConfigurationResponse_httpStatus,++    -- ** GetGroupQuery+    getGroupQuery_group,+    getGroupQuery_groupName,+    getGroupQueryResponse_groupQuery,+    getGroupQueryResponse_httpStatus,++    -- ** GetTags+    getTags_arn,+    getTagsResponse_arn,+    getTagsResponse_tags,+    getTagsResponse_httpStatus,++    -- ** GroupResources+    groupResources_group,+    groupResources_resourceArns,+    groupResourcesResponse_failed,+    groupResourcesResponse_pending,+    groupResourcesResponse_succeeded,+    groupResourcesResponse_httpStatus,++    -- ** ListGroupResources+    listGroupResources_filters,+    listGroupResources_group,+    listGroupResources_groupName,+    listGroupResources_maxResults,+    listGroupResources_nextToken,+    listGroupResourcesResponse_nextToken,+    listGroupResourcesResponse_queryErrors,+    listGroupResourcesResponse_resourceIdentifiers,+    listGroupResourcesResponse_resources,+    listGroupResourcesResponse_httpStatus,++    -- ** ListGroups+    listGroups_filters,+    listGroups_maxResults,+    listGroups_nextToken,+    listGroupsResponse_groupIdentifiers,+    listGroupsResponse_groups,+    listGroupsResponse_nextToken,+    listGroupsResponse_httpStatus,++    -- ** PutGroupConfiguration+    putGroupConfiguration_configuration,+    putGroupConfiguration_group,+    putGroupConfigurationResponse_httpStatus,++    -- ** SearchResources+    searchResources_maxResults,+    searchResources_nextToken,+    searchResources_resourceQuery,+    searchResourcesResponse_nextToken,+    searchResourcesResponse_queryErrors,+    searchResourcesResponse_resourceIdentifiers,+    searchResourcesResponse_httpStatus,++    -- ** Tag+    tag_arn,+    tag_tags,+    tagResponse_arn,+    tagResponse_tags,+    tagResponse_httpStatus,++    -- ** UngroupResources+    ungroupResources_group,+    ungroupResources_resourceArns,+    ungroupResourcesResponse_failed,+    ungroupResourcesResponse_pending,+    ungroupResourcesResponse_succeeded,+    ungroupResourcesResponse_httpStatus,++    -- ** Untag+    untag_arn,+    untag_keys,+    untagResponse_arn,+    untagResponse_keys,+    untagResponse_httpStatus,++    -- ** UpdateGroup+    updateGroup_description,+    updateGroup_group,+    updateGroup_groupName,+    updateGroupResponse_group,+    updateGroupResponse_httpStatus,++    -- ** UpdateGroupQuery+    updateGroupQuery_group,+    updateGroupQuery_groupName,+    updateGroupQuery_resourceQuery,+    updateGroupQueryResponse_groupQuery,+    updateGroupQueryResponse_httpStatus,++    -- * Types++    -- ** FailedResource+    failedResource_errorCode,+    failedResource_errorMessage,+    failedResource_resourceArn,++    -- ** Group+    group_description,+    group_groupArn,+    group_name,++    -- ** GroupConfiguration+    groupConfiguration_configuration,+    groupConfiguration_failureReason,+    groupConfiguration_proposedConfiguration,+    groupConfiguration_status,++    -- ** GroupConfigurationItem+    groupConfigurationItem_parameters,+    groupConfigurationItem_type,++    -- ** GroupConfigurationParameter+    groupConfigurationParameter_values,+    groupConfigurationParameter_name,++    -- ** GroupFilter+    groupFilter_name,+    groupFilter_values,++    -- ** GroupIdentifier+    groupIdentifier_groupArn,+    groupIdentifier_groupName,++    -- ** GroupQuery+    groupQuery_groupName,+    groupQuery_resourceQuery,++    -- ** ListGroupResourcesItem+    listGroupResourcesItem_identifier,+    listGroupResourcesItem_status,++    -- ** PendingResource+    pendingResource_resourceArn,++    -- ** QueryError+    queryError_errorCode,+    queryError_message,++    -- ** ResourceFilter+    resourceFilter_name,+    resourceFilter_values,++    -- ** ResourceIdentifier+    resourceIdentifier_resourceArn,+    resourceIdentifier_resourceType,++    -- ** ResourceQuery+    resourceQuery_type,+    resourceQuery_searchQuery,++    -- ** ResourceStatus+    resourceStatus_name,+  )+where++import Amazonka.ResourceGroups.CreateGroup+import Amazonka.ResourceGroups.DeleteGroup+import Amazonka.ResourceGroups.GetGroup+import Amazonka.ResourceGroups.GetGroupConfiguration+import Amazonka.ResourceGroups.GetGroupQuery+import Amazonka.ResourceGroups.GetTags+import Amazonka.ResourceGroups.GroupResources+import Amazonka.ResourceGroups.ListGroupResources+import Amazonka.ResourceGroups.ListGroups+import Amazonka.ResourceGroups.PutGroupConfiguration+import Amazonka.ResourceGroups.SearchResources+import Amazonka.ResourceGroups.Tag+import Amazonka.ResourceGroups.Types.FailedResource+import Amazonka.ResourceGroups.Types.Group+import Amazonka.ResourceGroups.Types.GroupConfiguration+import Amazonka.ResourceGroups.Types.GroupConfigurationItem+import Amazonka.ResourceGroups.Types.GroupConfigurationParameter+import Amazonka.ResourceGroups.Types.GroupFilter+import Amazonka.ResourceGroups.Types.GroupIdentifier+import Amazonka.ResourceGroups.Types.GroupQuery+import Amazonka.ResourceGroups.Types.ListGroupResourcesItem+import Amazonka.ResourceGroups.Types.PendingResource+import Amazonka.ResourceGroups.Types.QueryError+import Amazonka.ResourceGroups.Types.ResourceFilter+import Amazonka.ResourceGroups.Types.ResourceIdentifier+import Amazonka.ResourceGroups.Types.ResourceQuery+import Amazonka.ResourceGroups.Types.ResourceStatus+import Amazonka.ResourceGroups.UngroupResources+import Amazonka.ResourceGroups.Untag+import Amazonka.ResourceGroups.UpdateGroup+import Amazonka.ResourceGroups.UpdateGroupQuery
+ gen/Amazonka/ResourceGroups/ListGroupResources.hs view
@@ -0,0 +1,434 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.ListGroupResources+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of ARNs of the resources that are members of a specified+-- resource group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:ListGroupResources@+--+-- -   @cloudformation:DescribeStacks@+--+-- -   @cloudformation:ListStackResources@+--+-- -   @tag:GetResources@+--+-- This operation returns paginated results.+module Amazonka.ResourceGroups.ListGroupResources+  ( -- * Creating a Request+    ListGroupResources (..),+    newListGroupResources,++    -- * Request Lenses+    listGroupResources_filters,+    listGroupResources_group,+    listGroupResources_groupName,+    listGroupResources_maxResults,+    listGroupResources_nextToken,++    -- * Destructuring the Response+    ListGroupResourcesResponse (..),+    newListGroupResourcesResponse,++    -- * Response Lenses+    listGroupResourcesResponse_nextToken,+    listGroupResourcesResponse_queryErrors,+    listGroupResourcesResponse_resourceIdentifiers,+    listGroupResourcesResponse_resources,+    listGroupResourcesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newListGroupResources' smart constructor.+data ListGroupResources = ListGroupResources'+  { -- | 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).+    filters :: Prelude.Maybe [ResourceFilter],+    -- | The name or the ARN of the resource group+    group' :: Prelude.Maybe Prelude.Text,+    -- | /__Deprecated - don\'t use this parameter. Use the @Group@ request field+    -- instead.__/+    groupName :: Prelude.Maybe Prelude.Text,+    -- | 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.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | 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.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupResources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filters', '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).+--+-- 'group'', 'listGroupResources_group' - The name or the ARN of the resource group+--+-- 'groupName', 'listGroupResources_groupName' - /__Deprecated - don\'t use this parameter. Use the @Group@ request field+-- instead.__/+--+-- 'maxResults', '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.+--+-- 'nextToken', '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.+newListGroupResources ::+  ListGroupResources+newListGroupResources =+  ListGroupResources'+    { filters = Prelude.Nothing,+      group' = Prelude.Nothing,+      groupName = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | 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).+listGroupResources_filters :: Lens.Lens' ListGroupResources (Prelude.Maybe [ResourceFilter])+listGroupResources_filters = Lens.lens (\ListGroupResources' {filters} -> filters) (\s@ListGroupResources' {} a -> s {filters = a} :: ListGroupResources) Prelude.. Lens.mapping Lens.coerced++-- | The name or the ARN of the resource group+listGroupResources_group :: Lens.Lens' ListGroupResources (Prelude.Maybe Prelude.Text)+listGroupResources_group = Lens.lens (\ListGroupResources' {group'} -> group') (\s@ListGroupResources' {} a -> s {group' = a} :: ListGroupResources)++-- | /__Deprecated - don\'t use this parameter. Use the @Group@ request field+-- instead.__/+listGroupResources_groupName :: Lens.Lens' ListGroupResources (Prelude.Maybe Prelude.Text)+listGroupResources_groupName = Lens.lens (\ListGroupResources' {groupName} -> groupName) (\s@ListGroupResources' {} a -> s {groupName = a} :: ListGroupResources)++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that the service might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listGroupResources_maxResults :: Lens.Lens' ListGroupResources (Prelude.Maybe Prelude.Natural)+listGroupResources_maxResults = Lens.lens (\ListGroupResources' {maxResults} -> maxResults) (\s@ListGroupResources' {} a -> s {maxResults = a} :: ListGroupResources)++-- | 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.+listGroupResources_nextToken :: Lens.Lens' ListGroupResources (Prelude.Maybe Prelude.Text)+listGroupResources_nextToken = Lens.lens (\ListGroupResources' {nextToken} -> nextToken) (\s@ListGroupResources' {} a -> s {nextToken = a} :: ListGroupResources)++instance Core.AWSPager ListGroupResources where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listGroupResourcesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listGroupResourcesResponse_resourceIdentifiers+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listGroupResourcesResponse_resources+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listGroupResources_nextToken+          Lens..~ rs+          Lens.^? listGroupResourcesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListGroupResources where+  type+    AWSResponse ListGroupResources =+      ListGroupResourcesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListGroupResourcesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "QueryErrors" Core..!@ Prelude.mempty)+            Prelude.<*> ( x+                            Data..?> "ResourceIdentifiers"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "Resources" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListGroupResources where+  hashWithSalt _salt ListGroupResources' {..} =+    _salt+      `Prelude.hashWithSalt` filters+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListGroupResources where+  rnf ListGroupResources' {..} =+    Prelude.rnf filters+      `Prelude.seq` Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListGroupResources where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON ListGroupResources where+  toJSON ListGroupResources' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filters" Data..=) Prelude.<$> filters,+            ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListGroupResources where+  toPath = Prelude.const "/list-group-resources"++instance Data.ToQuery ListGroupResources where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListGroupResourcesResponse' smart constructor.+data ListGroupResourcesResponse = ListGroupResourcesResponse'+  { -- | 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@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | 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@.+    queryErrors :: Prelude.Maybe [QueryError],+    -- | __/Deprecated - don\'t use this parameter. Use the @Resources@ response+    -- field instead./__+    resourceIdentifiers :: Prelude.Maybe [ResourceIdentifier],+    -- | An array of resources from which you can determine each resource\'s+    -- identity, type, and group membership status.+    resources :: Prelude.Maybe [ListGroupResourcesItem],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupResourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', '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@.+--+-- 'queryErrors', '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@.+--+-- 'resourceIdentifiers', 'listGroupResourcesResponse_resourceIdentifiers' - __/Deprecated - don\'t use this parameter. Use the @Resources@ response+-- field instead./__+--+-- 'resources', 'listGroupResourcesResponse_resources' - An array of resources from which you can determine each resource\'s+-- identity, type, and group membership status.+--+-- 'httpStatus', 'listGroupResourcesResponse_httpStatus' - The response's http status code.+newListGroupResourcesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListGroupResourcesResponse+newListGroupResourcesResponse pHttpStatus_ =+  ListGroupResourcesResponse'+    { nextToken =+        Prelude.Nothing,+      queryErrors = Prelude.Nothing,+      resourceIdentifiers = Prelude.Nothing,+      resources = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | 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@.+listGroupResourcesResponse_nextToken :: Lens.Lens' ListGroupResourcesResponse (Prelude.Maybe Prelude.Text)+listGroupResourcesResponse_nextToken = Lens.lens (\ListGroupResourcesResponse' {nextToken} -> nextToken) (\s@ListGroupResourcesResponse' {} a -> s {nextToken = a} :: ListGroupResourcesResponse)++-- | 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@.+listGroupResourcesResponse_queryErrors :: Lens.Lens' ListGroupResourcesResponse (Prelude.Maybe [QueryError])+listGroupResourcesResponse_queryErrors = Lens.lens (\ListGroupResourcesResponse' {queryErrors} -> queryErrors) (\s@ListGroupResourcesResponse' {} a -> s {queryErrors = a} :: ListGroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | __/Deprecated - don\'t use this parameter. Use the @Resources@ response+-- field instead./__+listGroupResourcesResponse_resourceIdentifiers :: Lens.Lens' ListGroupResourcesResponse (Prelude.Maybe [ResourceIdentifier])+listGroupResourcesResponse_resourceIdentifiers = Lens.lens (\ListGroupResourcesResponse' {resourceIdentifiers} -> resourceIdentifiers) (\s@ListGroupResourcesResponse' {} a -> s {resourceIdentifiers = a} :: ListGroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | An array of resources from which you can determine each resource\'s+-- identity, type, and group membership status.+listGroupResourcesResponse_resources :: Lens.Lens' ListGroupResourcesResponse (Prelude.Maybe [ListGroupResourcesItem])+listGroupResourcesResponse_resources = Lens.lens (\ListGroupResourcesResponse' {resources} -> resources) (\s@ListGroupResourcesResponse' {} a -> s {resources = a} :: ListGroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listGroupResourcesResponse_httpStatus :: Lens.Lens' ListGroupResourcesResponse Prelude.Int+listGroupResourcesResponse_httpStatus = Lens.lens (\ListGroupResourcesResponse' {httpStatus} -> httpStatus) (\s@ListGroupResourcesResponse' {} a -> s {httpStatus = a} :: ListGroupResourcesResponse)++instance Prelude.NFData ListGroupResourcesResponse where+  rnf ListGroupResourcesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf queryErrors+      `Prelude.seq` Prelude.rnf resourceIdentifiers+      `Prelude.seq` Prelude.rnf resources+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/ListGroups.hs view
@@ -0,0 +1,346 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.ListGroups+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of existing resource groups in your account.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:ListGroups@+--+-- This operation returns paginated results.+module Amazonka.ResourceGroups.ListGroups+  ( -- * Creating a Request+    ListGroups (..),+    newListGroups,++    -- * Request Lenses+    listGroups_filters,+    listGroups_maxResults,+    listGroups_nextToken,++    -- * Destructuring the Response+    ListGroupsResponse (..),+    newListGroupsResponse,++    -- * Response Lenses+    listGroupsResponse_groupIdentifiers,+    listGroupsResponse_groups,+    listGroupsResponse_nextToken,+    listGroupsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newListGroups' smart constructor.+data ListGroups = ListGroups'+  { -- | 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@+    filters :: Prelude.Maybe [GroupFilter],+    -- | 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.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | 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.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroups' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filters', '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@+--+-- 'maxResults', '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.+--+-- 'nextToken', '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.+newListGroups ::+  ListGroups+newListGroups =+  ListGroups'+    { filters = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | 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@+listGroups_filters :: Lens.Lens' ListGroups (Prelude.Maybe [GroupFilter])+listGroups_filters = Lens.lens (\ListGroups' {filters} -> filters) (\s@ListGroups' {} a -> s {filters = a} :: ListGroups) Prelude.. Lens.mapping Lens.coerced++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that the service might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+listGroups_maxResults :: Lens.Lens' ListGroups (Prelude.Maybe Prelude.Natural)+listGroups_maxResults = Lens.lens (\ListGroups' {maxResults} -> maxResults) (\s@ListGroups' {} a -> s {maxResults = a} :: ListGroups)++-- | 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.+listGroups_nextToken :: Lens.Lens' ListGroups (Prelude.Maybe Prelude.Text)+listGroups_nextToken = Lens.lens (\ListGroups' {nextToken} -> nextToken) (\s@ListGroups' {} a -> s {nextToken = a} :: ListGroups)++instance Core.AWSPager ListGroups where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listGroupsResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listGroupsResponse_groupIdentifiers+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listGroupsResponse_groups+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listGroups_nextToken+          Lens..~ rs+          Lens.^? listGroupsResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListGroups where+  type AWSResponse ListGroups = ListGroupsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListGroupsResponse'+            Prelude.<$> ( x+                            Data..?> "GroupIdentifiers"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (x Data..?> "Groups" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListGroups where+  hashWithSalt _salt ListGroups' {..} =+    _salt+      `Prelude.hashWithSalt` filters+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListGroups where+  rnf ListGroups' {..} =+    Prelude.rnf filters+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListGroups where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON ListGroups where+  toJSON ListGroups' {..} =+    Data.object+      ( Prelude.catMaybes+          [("Filters" Data..=) Prelude.<$> filters]+      )++instance Data.ToPath ListGroups where+  toPath = Prelude.const "/groups-list"++instance Data.ToQuery ListGroups where+  toQuery ListGroups' {..} =+    Prelude.mconcat+      [ "maxResults" Data.=: maxResults,+        "nextToken" Data.=: nextToken+      ]++-- | /See:/ 'newListGroupsResponse' smart constructor.+data ListGroupsResponse = ListGroupsResponse'+  { -- | A list of GroupIdentifier objects. Each identifier is an object that+    -- contains both the @Name@ and the @GroupArn@.+    groupIdentifiers :: Prelude.Maybe [GroupIdentifier],+    -- | /__Deprecated - don\'t use this field. Use the @GroupIdentifiers@+    -- response field instead.__/+    groups :: Prelude.Maybe [Group],+    -- | 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@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupIdentifiers', 'listGroupsResponse_groupIdentifiers' - A list of GroupIdentifier objects. Each identifier is an object that+-- contains both the @Name@ and the @GroupArn@.+--+-- 'groups', 'listGroupsResponse_groups' - /__Deprecated - don\'t use this field. Use the @GroupIdentifiers@+-- response field instead.__/+--+-- 'nextToken', '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@.+--+-- 'httpStatus', 'listGroupsResponse_httpStatus' - The response's http status code.+newListGroupsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListGroupsResponse+newListGroupsResponse pHttpStatus_ =+  ListGroupsResponse'+    { groupIdentifiers =+        Prelude.Nothing,+      groups = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of GroupIdentifier objects. Each identifier is an object that+-- contains both the @Name@ and the @GroupArn@.+listGroupsResponse_groupIdentifiers :: Lens.Lens' ListGroupsResponse (Prelude.Maybe [GroupIdentifier])+listGroupsResponse_groupIdentifiers = Lens.lens (\ListGroupsResponse' {groupIdentifiers} -> groupIdentifiers) (\s@ListGroupsResponse' {} a -> s {groupIdentifiers = a} :: ListGroupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | /__Deprecated - don\'t use this field. Use the @GroupIdentifiers@+-- response field instead.__/+listGroupsResponse_groups :: Lens.Lens' ListGroupsResponse (Prelude.Maybe [Group])+listGroupsResponse_groups = Lens.lens (\ListGroupsResponse' {groups} -> groups) (\s@ListGroupsResponse' {} a -> s {groups = a} :: ListGroupsResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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@.+listGroupsResponse_nextToken :: Lens.Lens' ListGroupsResponse (Prelude.Maybe Prelude.Text)+listGroupsResponse_nextToken = Lens.lens (\ListGroupsResponse' {nextToken} -> nextToken) (\s@ListGroupsResponse' {} a -> s {nextToken = a} :: ListGroupsResponse)++-- | The response's http status code.+listGroupsResponse_httpStatus :: Lens.Lens' ListGroupsResponse Prelude.Int+listGroupsResponse_httpStatus = Lens.lens (\ListGroupsResponse' {httpStatus} -> httpStatus) (\s@ListGroupsResponse' {} a -> s {httpStatus = a} :: ListGroupsResponse)++instance Prelude.NFData ListGroupsResponse where+  rnf ListGroupsResponse' {..} =+    Prelude.rnf groupIdentifiers+      `Prelude.seq` Prelude.rnf groups+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/PutGroupConfiguration.hs view
@@ -0,0 +1,199 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.PutGroupConfiguration+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Attaches a service configuration to the specified group. This occurs+-- asynchronously, and can take time to complete. You can use+-- GetGroupConfiguration to check the status of the update.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:PutGroupConfiguration@+module Amazonka.ResourceGroups.PutGroupConfiguration+  ( -- * Creating a Request+    PutGroupConfiguration (..),+    newPutGroupConfiguration,++    -- * Request Lenses+    putGroupConfiguration_configuration,+    putGroupConfiguration_group,++    -- * Destructuring the Response+    PutGroupConfigurationResponse (..),+    newPutGroupConfigurationResponse,++    -- * Response Lenses+    putGroupConfigurationResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newPutGroupConfiguration' smart constructor.+data PutGroupConfiguration = PutGroupConfiguration'+  { -- | 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+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+    --+    -- A resource group can contain either a @Configuration@ or a+    -- @ResourceQuery@, but not both.+    configuration :: Prelude.Maybe [GroupConfigurationItem],+    -- | The name or ARN of the resource group with the configuration that you+    -- want to update.+    group' :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutGroupConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configuration', '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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- A resource group can contain either a @Configuration@ or a+-- @ResourceQuery@, but not both.+--+-- 'group'', 'putGroupConfiguration_group' - The name or ARN of the resource group with the configuration that you+-- want to update.+newPutGroupConfiguration ::+  PutGroupConfiguration+newPutGroupConfiguration =+  PutGroupConfiguration'+    { configuration =+        Prelude.Nothing,+      group' = Prelude.Nothing+    }++-- | 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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- A resource group can contain either a @Configuration@ or a+-- @ResourceQuery@, but not both.+putGroupConfiguration_configuration :: Lens.Lens' PutGroupConfiguration (Prelude.Maybe [GroupConfigurationItem])+putGroupConfiguration_configuration = Lens.lens (\PutGroupConfiguration' {configuration} -> configuration) (\s@PutGroupConfiguration' {} a -> s {configuration = a} :: PutGroupConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The name or ARN of the resource group with the configuration that you+-- want to update.+putGroupConfiguration_group :: Lens.Lens' PutGroupConfiguration (Prelude.Maybe Prelude.Text)+putGroupConfiguration_group = Lens.lens (\PutGroupConfiguration' {group'} -> group') (\s@PutGroupConfiguration' {} a -> s {group' = a} :: PutGroupConfiguration)++instance Core.AWSRequest PutGroupConfiguration where+  type+    AWSResponse PutGroupConfiguration =+      PutGroupConfigurationResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          PutGroupConfigurationResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable PutGroupConfiguration where+  hashWithSalt _salt PutGroupConfiguration' {..} =+    _salt+      `Prelude.hashWithSalt` configuration+      `Prelude.hashWithSalt` group'++instance Prelude.NFData PutGroupConfiguration where+  rnf PutGroupConfiguration' {..} =+    Prelude.rnf configuration+      `Prelude.seq` Prelude.rnf group'++instance Data.ToHeaders PutGroupConfiguration where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON PutGroupConfiguration where+  toJSON PutGroupConfiguration' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Configuration" Data..=) Prelude.<$> configuration,+            ("Group" Data..=) Prelude.<$> group'+          ]+      )++instance Data.ToPath PutGroupConfiguration where+  toPath = Prelude.const "/put-group-configuration"++instance Data.ToQuery PutGroupConfiguration where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newPutGroupConfigurationResponse' smart constructor.+data PutGroupConfigurationResponse = PutGroupConfigurationResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PutGroupConfigurationResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'putGroupConfigurationResponse_httpStatus' - The response's http status code.+newPutGroupConfigurationResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  PutGroupConfigurationResponse+newPutGroupConfigurationResponse pHttpStatus_ =+  PutGroupConfigurationResponse'+    { httpStatus =+        pHttpStatus_+    }++-- | The response's http status code.+putGroupConfigurationResponse_httpStatus :: Lens.Lens' PutGroupConfigurationResponse Prelude.Int+putGroupConfigurationResponse_httpStatus = Lens.lens (\PutGroupConfigurationResponse' {httpStatus} -> httpStatus) (\s@PutGroupConfigurationResponse' {} a -> s {httpStatus = a} :: PutGroupConfigurationResponse)++instance Prelude.NFData PutGroupConfigurationResponse where+  rnf PutGroupConfigurationResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/SearchResources.hs view
@@ -0,0 +1,319 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.SearchResources+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of AWS resource identifiers that matches the specified+-- query. The query uses the same format as a resource query in a+-- CreateGroup or UpdateGroupQuery operation.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:SearchResources@+--+-- -   @cloudformation:DescribeStacks@+--+-- -   @cloudformation:ListStackResources@+--+-- -   @tag:GetResources@+--+-- This operation returns paginated results.+module Amazonka.ResourceGroups.SearchResources+  ( -- * Creating a Request+    SearchResources (..),+    newSearchResources,++    -- * Request Lenses+    searchResources_maxResults,+    searchResources_nextToken,+    searchResources_resourceQuery,++    -- * Destructuring the Response+    SearchResourcesResponse (..),+    newSearchResourcesResponse,++    -- * Response Lenses+    searchResourcesResponse_nextToken,+    searchResourcesResponse_queryErrors,+    searchResourcesResponse_resourceIdentifiers,+    searchResourcesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newSearchResources' smart constructor.+data SearchResources = SearchResources'+  { -- | 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.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | 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.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The search query, using the same formats that are supported for resource+    -- group definition. For more information, see CreateGroup.+    resourceQuery :: ResourceQuery+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SearchResources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', '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.+--+-- 'nextToken', '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.+--+-- 'resourceQuery', 'searchResources_resourceQuery' - The search query, using the same formats that are supported for resource+-- group definition. For more information, see CreateGroup.+newSearchResources ::+  -- | 'resourceQuery'+  ResourceQuery ->+  SearchResources+newSearchResources pResourceQuery_ =+  SearchResources'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      resourceQuery = pResourceQuery_+    }++-- | The total number of results that you want included on each page of the+-- response. If you do not include this parameter, it defaults to a value+-- that is specific to the operation. If additional items exist beyond the+-- maximum you specify, the @NextToken@ response element is present and has+-- a value (is not null). Include that value as the @NextToken@ request+-- parameter in the next call to the operation to get the next part of the+-- results. Note that the service might return fewer results than the+-- maximum even when there are more results available. You should check+-- @NextToken@ after every operation to ensure that you receive all of the+-- results.+searchResources_maxResults :: Lens.Lens' SearchResources (Prelude.Maybe Prelude.Natural)+searchResources_maxResults = Lens.lens (\SearchResources' {maxResults} -> maxResults) (\s@SearchResources' {} a -> s {maxResults = a} :: SearchResources)++-- | The parameter for receiving additional results if you receive a+-- @NextToken@ response in a previous request. A @NextToken@ response+-- indicates that more output is available. Set this parameter to the value+-- provided by a previous call\'s @NextToken@ response to indicate where+-- the output should continue from.+searchResources_nextToken :: Lens.Lens' SearchResources (Prelude.Maybe Prelude.Text)+searchResources_nextToken = Lens.lens (\SearchResources' {nextToken} -> nextToken) (\s@SearchResources' {} a -> s {nextToken = a} :: SearchResources)++-- | The search query, using the same formats that are supported for resource+-- group definition. For more information, see CreateGroup.+searchResources_resourceQuery :: Lens.Lens' SearchResources ResourceQuery+searchResources_resourceQuery = Lens.lens (\SearchResources' {resourceQuery} -> resourceQuery) (\s@SearchResources' {} a -> s {resourceQuery = a} :: SearchResources)++instance Core.AWSPager SearchResources where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? searchResourcesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? searchResourcesResponse_resourceIdentifiers+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& searchResources_nextToken+          Lens..~ rs+          Lens.^? searchResourcesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest SearchResources where+  type+    AWSResponse SearchResources =+      SearchResourcesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          SearchResourcesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> (x Data..?> "QueryErrors" Core..!@ Prelude.mempty)+            Prelude.<*> ( x+                            Data..?> "ResourceIdentifiers"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable SearchResources where+  hashWithSalt _salt SearchResources' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken+      `Prelude.hashWithSalt` resourceQuery++instance Prelude.NFData SearchResources where+  rnf SearchResources' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf resourceQuery++instance Data.ToHeaders SearchResources where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON SearchResources where+  toJSON SearchResources' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken,+            Prelude.Just+              ("ResourceQuery" Data..= resourceQuery)+          ]+      )++instance Data.ToPath SearchResources where+  toPath = Prelude.const "/resources/search"++instance Data.ToQuery SearchResources where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newSearchResourcesResponse' smart constructor.+data SearchResourcesResponse = SearchResourcesResponse'+  { -- | 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@.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | 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@.+    queryErrors :: Prelude.Maybe [QueryError],+    -- | The ARNs and resource types of resources that are members of the group+    -- that you specified.+    resourceIdentifiers :: Prelude.Maybe [ResourceIdentifier],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'SearchResourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', '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@.+--+-- 'queryErrors', '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@.+--+-- 'resourceIdentifiers', 'searchResourcesResponse_resourceIdentifiers' - The ARNs and resource types of resources that are members of the group+-- that you specified.+--+-- 'httpStatus', 'searchResourcesResponse_httpStatus' - The response's http status code.+newSearchResourcesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  SearchResourcesResponse+newSearchResourcesResponse pHttpStatus_ =+  SearchResourcesResponse'+    { nextToken =+        Prelude.Nothing,+      queryErrors = Prelude.Nothing,+      resourceIdentifiers = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | 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@.+searchResourcesResponse_nextToken :: Lens.Lens' SearchResourcesResponse (Prelude.Maybe Prelude.Text)+searchResourcesResponse_nextToken = Lens.lens (\SearchResourcesResponse' {nextToken} -> nextToken) (\s@SearchResourcesResponse' {} a -> s {nextToken = a} :: SearchResourcesResponse)++-- | 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@.+searchResourcesResponse_queryErrors :: Lens.Lens' SearchResourcesResponse (Prelude.Maybe [QueryError])+searchResourcesResponse_queryErrors = Lens.lens (\SearchResourcesResponse' {queryErrors} -> queryErrors) (\s@SearchResourcesResponse' {} a -> s {queryErrors = a} :: SearchResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The ARNs and resource types of resources that are members of the group+-- that you specified.+searchResourcesResponse_resourceIdentifiers :: Lens.Lens' SearchResourcesResponse (Prelude.Maybe [ResourceIdentifier])+searchResourcesResponse_resourceIdentifiers = Lens.lens (\SearchResourcesResponse' {resourceIdentifiers} -> resourceIdentifiers) (\s@SearchResourcesResponse' {} a -> s {resourceIdentifiers = a} :: SearchResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+searchResourcesResponse_httpStatus :: Lens.Lens' SearchResourcesResponse Prelude.Int+searchResourcesResponse_httpStatus = Lens.lens (\SearchResourcesResponse' {httpStatus} -> httpStatus) (\s@SearchResourcesResponse' {} a -> s {httpStatus = a} :: SearchResourcesResponse)++instance Prelude.NFData SearchResourcesResponse where+  rnf SearchResourcesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf queryErrors+      `Prelude.seq` Prelude.rnf resourceIdentifiers+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/Tag.hs view
@@ -0,0 +1,195 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Tag+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Adds tags to a resource group with the specified ARN. Existing tags on a+-- resource group are not changed if they are not specified in the request+-- parameters.+--+-- Do not store personally identifiable information (PII) or other+-- confidential or sensitive information in tags. We use tags to provide+-- you with billing and administration services. Tags are not intended to+-- be used for private or sensitive data.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:Tag@+module Amazonka.ResourceGroups.Tag+  ( -- * Creating a Request+    Tag (..),+    newTag,++    -- * Request Lenses+    tag_arn,+    tag_tags,++    -- * Destructuring the Response+    TagResponse (..),+    newTagResponse,++    -- * Response Lenses+    tagResponse_arn,+    tagResponse_tags,+    tagResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newTag' smart constructor.+data Tag = Tag'+  { -- | The ARN of the resource group to which to add tags.+    arn :: Prelude.Text,+    -- | The tags to add to the specified resource group. A tag is a+    -- string-to-string map of key-value pairs.+    tags :: Prelude.HashMap Prelude.Text Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'tag_arn' - The ARN of the resource group to which to add tags.+--+-- 'tags', 'tag_tags' - The tags to add to the specified resource group. A tag is a+-- string-to-string map of key-value pairs.+newTag ::+  -- | 'arn'+  Prelude.Text ->+  Tag+newTag pArn_ =+  Tag' {arn = pArn_, tags = Prelude.mempty}++-- | The ARN of the resource group to which to add tags.+tag_arn :: Lens.Lens' Tag Prelude.Text+tag_arn = Lens.lens (\Tag' {arn} -> arn) (\s@Tag' {} a -> s {arn = a} :: Tag)++-- | The tags to add to the specified resource group. A tag is a+-- string-to-string map of key-value pairs.+tag_tags :: Lens.Lens' Tag (Prelude.HashMap Prelude.Text Prelude.Text)+tag_tags = Lens.lens (\Tag' {tags} -> tags) (\s@Tag' {} a -> s {tags = a} :: Tag) Prelude.. Lens.coerced++instance Core.AWSRequest Tag where+  type AWSResponse Tag = TagResponse+  request overrides =+    Request.putJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          TagResponse'+            Prelude.<$> (x Data..?> "Arn")+            Prelude.<*> (x Data..?> "Tags" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable Tag where+  hashWithSalt _salt Tag' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` tags++instance Prelude.NFData Tag where+  rnf Tag' {..} =+    Prelude.rnf arn `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders Tag where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON Tag where+  toJSON Tag' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("Tags" Data..= tags)]+      )++instance Data.ToPath Tag where+  toPath Tag' {..} =+    Prelude.mconcat+      ["/resources/", Data.toBS arn, "/tags"]++instance Data.ToQuery Tag where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResponse' smart constructor.+data TagResponse = TagResponse'+  { -- | The ARN of the tagged resource.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The tags that have been added to the specified resource group.+    tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'tagResponse_arn' - The ARN of the tagged resource.+--+-- 'tags', 'tagResponse_tags' - The tags that have been added to the specified resource group.+--+-- 'httpStatus', 'tagResponse_httpStatus' - The response's http status code.+newTagResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  TagResponse+newTagResponse pHttpStatus_ =+  TagResponse'+    { arn = Prelude.Nothing,+      tags = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The ARN of the tagged resource.+tagResponse_arn :: Lens.Lens' TagResponse (Prelude.Maybe Prelude.Text)+tagResponse_arn = Lens.lens (\TagResponse' {arn} -> arn) (\s@TagResponse' {} a -> s {arn = a} :: TagResponse)++-- | The tags that have been added to the specified resource group.+tagResponse_tags :: Lens.Lens' TagResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))+tagResponse_tags = Lens.lens (\TagResponse' {tags} -> tags) (\s@TagResponse' {} a -> s {tags = a} :: TagResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+tagResponse_httpStatus :: Lens.Lens' TagResponse Prelude.Int+tagResponse_httpStatus = Lens.lens (\TagResponse' {httpStatus} -> httpStatus) (\s@TagResponse' {} a -> s {httpStatus = a} :: TagResponse)++instance Prelude.NFData TagResponse where+  rnf TagResponse' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/Types.hs view
@@ -0,0 +1,296 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _BadRequestException,+    _ForbiddenException,+    _InternalServerErrorException,+    _MethodNotAllowedException,+    _NotFoundException,+    _TooManyRequestsException,+    _UnauthorizedException,++    -- * GroupConfigurationStatus+    GroupConfigurationStatus (..),++    -- * GroupFilterName+    GroupFilterName (..),++    -- * QueryErrorCode+    QueryErrorCode (..),++    -- * QueryType+    QueryType (..),++    -- * ResourceFilterName+    ResourceFilterName (..),++    -- * ResourceStatusValue+    ResourceStatusValue (..),++    -- * FailedResource+    FailedResource (..),+    newFailedResource,+    failedResource_errorCode,+    failedResource_errorMessage,+    failedResource_resourceArn,++    -- * Group+    Group (..),+    newGroup,+    group_description,+    group_groupArn,+    group_name,++    -- * GroupConfiguration+    GroupConfiguration (..),+    newGroupConfiguration,+    groupConfiguration_configuration,+    groupConfiguration_failureReason,+    groupConfiguration_proposedConfiguration,+    groupConfiguration_status,++    -- * GroupConfigurationItem+    GroupConfigurationItem (..),+    newGroupConfigurationItem,+    groupConfigurationItem_parameters,+    groupConfigurationItem_type,++    -- * GroupConfigurationParameter+    GroupConfigurationParameter (..),+    newGroupConfigurationParameter,+    groupConfigurationParameter_values,+    groupConfigurationParameter_name,++    -- * GroupFilter+    GroupFilter (..),+    newGroupFilter,+    groupFilter_name,+    groupFilter_values,++    -- * GroupIdentifier+    GroupIdentifier (..),+    newGroupIdentifier,+    groupIdentifier_groupArn,+    groupIdentifier_groupName,++    -- * GroupQuery+    GroupQuery (..),+    newGroupQuery,+    groupQuery_groupName,+    groupQuery_resourceQuery,++    -- * ListGroupResourcesItem+    ListGroupResourcesItem (..),+    newListGroupResourcesItem,+    listGroupResourcesItem_identifier,+    listGroupResourcesItem_status,++    -- * PendingResource+    PendingResource (..),+    newPendingResource,+    pendingResource_resourceArn,++    -- * QueryError+    QueryError (..),+    newQueryError,+    queryError_errorCode,+    queryError_message,++    -- * ResourceFilter+    ResourceFilter (..),+    newResourceFilter,+    resourceFilter_name,+    resourceFilter_values,++    -- * ResourceIdentifier+    ResourceIdentifier (..),+    newResourceIdentifier,+    resourceIdentifier_resourceArn,+    resourceIdentifier_resourceType,++    -- * ResourceQuery+    ResourceQuery (..),+    newResourceQuery,+    resourceQuery_type,+    resourceQuery_searchQuery,++    -- * ResourceStatus+    ResourceStatus (..),+    newResourceStatus,+    resourceStatus_name,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.FailedResource+import Amazonka.ResourceGroups.Types.Group+import Amazonka.ResourceGroups.Types.GroupConfiguration+import Amazonka.ResourceGroups.Types.GroupConfigurationItem+import Amazonka.ResourceGroups.Types.GroupConfigurationParameter+import Amazonka.ResourceGroups.Types.GroupConfigurationStatus+import Amazonka.ResourceGroups.Types.GroupFilter+import Amazonka.ResourceGroups.Types.GroupFilterName+import Amazonka.ResourceGroups.Types.GroupIdentifier+import Amazonka.ResourceGroups.Types.GroupQuery+import Amazonka.ResourceGroups.Types.ListGroupResourcesItem+import Amazonka.ResourceGroups.Types.PendingResource+import Amazonka.ResourceGroups.Types.QueryError+import Amazonka.ResourceGroups.Types.QueryErrorCode+import Amazonka.ResourceGroups.Types.QueryType+import Amazonka.ResourceGroups.Types.ResourceFilter+import Amazonka.ResourceGroups.Types.ResourceFilterName+import Amazonka.ResourceGroups.Types.ResourceIdentifier+import Amazonka.ResourceGroups.Types.ResourceQuery+import Amazonka.ResourceGroups.Types.ResourceStatus+import Amazonka.ResourceGroups.Types.ResourceStatusValue+import qualified Amazonka.Sign.V4 as Sign++-- | API version @2017-11-27@ of the Amazon Resource Groups SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "ResourceGroups",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "resource-groups",+      Core.signingName = "resource-groups",+      Core.version = "2017-11-27",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "ResourceGroups",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | The request includes one or more parameters that violate validation+-- rules.+_BadRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_BadRequestException =+  Core._MatchServiceError+    defaultService+    "BadRequestException"+    Prelude.. Core.hasStatus 400++-- | The caller isn\'t authorized to make the request. Check permissions.+_ForbiddenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ForbiddenException =+  Core._MatchServiceError+    defaultService+    "ForbiddenException"+    Prelude.. Core.hasStatus 403++-- | An internal error occurred while processing the request. Try again+-- later.+_InternalServerErrorException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServerErrorException =+  Core._MatchServiceError+    defaultService+    "InternalServerErrorException"+    Prelude.. Core.hasStatus 500++-- | The request uses an HTTP method that isn\'t allowed for the specified+-- resource.+_MethodNotAllowedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_MethodNotAllowedException =+  Core._MatchServiceError+    defaultService+    "MethodNotAllowedException"+    Prelude.. Core.hasStatus 405++-- | One or more of the specified resources don\'t exist.+_NotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_NotFoundException =+  Core._MatchServiceError+    defaultService+    "NotFoundException"+    Prelude.. Core.hasStatus 404++-- | You\'ve exceeded throttling limits by making too many requests in a+-- period of time.+_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyRequestsException =+  Core._MatchServiceError+    defaultService+    "TooManyRequestsException"+    Prelude.. Core.hasStatus 429++-- | The request was rejected because it doesn\'t have valid credentials for+-- the target resource.+_UnauthorizedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnauthorizedException =+  Core._MatchServiceError+    defaultService+    "UnauthorizedException"+    Prelude.. Core.hasStatus 401
+ gen/Amazonka/ResourceGroups/Types/FailedResource.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.FailedResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.FailedResource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A resource that failed to be added to or removed from a group.+--+-- /See:/ 'newFailedResource' smart constructor.+data FailedResource = FailedResource'+  { -- | The error code associated with the failure.+    errorCode :: Prelude.Maybe Prelude.Text,+    -- | The error message text associated with the failure.+    errorMessage :: Prelude.Maybe Prelude.Text,+    -- | The ARN of the resource that failed to be added or removed.+    resourceArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'FailedResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'failedResource_errorCode' - The error code associated with the failure.+--+-- 'errorMessage', 'failedResource_errorMessage' - The error message text associated with the failure.+--+-- 'resourceArn', 'failedResource_resourceArn' - The ARN of the resource that failed to be added or removed.+newFailedResource ::+  FailedResource+newFailedResource =+  FailedResource'+    { errorCode = Prelude.Nothing,+      errorMessage = Prelude.Nothing,+      resourceArn = Prelude.Nothing+    }++-- | The error code associated with the failure.+failedResource_errorCode :: Lens.Lens' FailedResource (Prelude.Maybe Prelude.Text)+failedResource_errorCode = Lens.lens (\FailedResource' {errorCode} -> errorCode) (\s@FailedResource' {} a -> s {errorCode = a} :: FailedResource)++-- | The error message text associated with the failure.+failedResource_errorMessage :: Lens.Lens' FailedResource (Prelude.Maybe Prelude.Text)+failedResource_errorMessage = Lens.lens (\FailedResource' {errorMessage} -> errorMessage) (\s@FailedResource' {} a -> s {errorMessage = a} :: FailedResource)++-- | The ARN of the resource that failed to be added or removed.+failedResource_resourceArn :: Lens.Lens' FailedResource (Prelude.Maybe Prelude.Text)+failedResource_resourceArn = Lens.lens (\FailedResource' {resourceArn} -> resourceArn) (\s@FailedResource' {} a -> s {resourceArn = a} :: FailedResource)++instance Data.FromJSON FailedResource where+  parseJSON =+    Data.withObject+      "FailedResource"+      ( \x ->+          FailedResource'+            Prelude.<$> (x Data..:? "ErrorCode")+            Prelude.<*> (x Data..:? "ErrorMessage")+            Prelude.<*> (x Data..:? "ResourceArn")+      )++instance Prelude.Hashable FailedResource where+  hashWithSalt _salt FailedResource' {..} =+    _salt+      `Prelude.hashWithSalt` errorCode+      `Prelude.hashWithSalt` errorMessage+      `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData FailedResource where+  rnf FailedResource' {..} =+    Prelude.rnf errorCode+      `Prelude.seq` Prelude.rnf errorMessage+      `Prelude.seq` Prelude.rnf resourceArn
+ gen/Amazonka/ResourceGroups/Types/Group.hs view
@@ -0,0 +1,112 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.Group+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.Group where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+data Group = Group'+  { -- | The description of the resource group.+    description :: Prelude.Maybe Prelude.Text,+    -- | The ARN of the resource group.+    groupArn :: Prelude.Text,+    -- | The name of the resource group.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Group' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'group_description' - The description of the resource group.+--+-- 'groupArn', 'group_groupArn' - The ARN of the resource group.+--+-- 'name', 'group_name' - The name of the resource group.+newGroup ::+  -- | 'groupArn'+  Prelude.Text ->+  -- | 'name'+  Prelude.Text ->+  Group+newGroup pGroupArn_ pName_ =+  Group'+    { description = Prelude.Nothing,+      groupArn = pGroupArn_,+      name = pName_+    }++-- | The description of the resource group.+group_description :: Lens.Lens' Group (Prelude.Maybe Prelude.Text)+group_description = Lens.lens (\Group' {description} -> description) (\s@Group' {} a -> s {description = a} :: Group)++-- | The ARN of the resource group.+group_groupArn :: Lens.Lens' Group Prelude.Text+group_groupArn = Lens.lens (\Group' {groupArn} -> groupArn) (\s@Group' {} a -> s {groupArn = a} :: Group)++-- | The name of the resource group.+group_name :: Lens.Lens' Group Prelude.Text+group_name = Lens.lens (\Group' {name} -> name) (\s@Group' {} a -> s {name = a} :: Group)++instance Data.FromJSON Group where+  parseJSON =+    Data.withObject+      "Group"+      ( \x ->+          Group'+            Prelude.<$> (x Data..:? "Description")+            Prelude.<*> (x Data..: "GroupArn")+            Prelude.<*> (x Data..: "Name")+      )++instance Prelude.Hashable Group where+  hashWithSalt _salt Group' {..} =+    _salt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` groupArn+      `Prelude.hashWithSalt` name++instance Prelude.NFData Group where+  rnf Group' {..} =+    Prelude.rnf description+      `Prelude.seq` Prelude.rnf groupArn+      `Prelude.seq` Prelude.rnf name
+ gen/Amazonka/ResourceGroups/Types/GroupConfiguration.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupConfiguration+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupConfiguration where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.GroupConfigurationItem+import Amazonka.ResourceGroups.Types.GroupConfigurationStatus++-- | 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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- /See:/ 'newGroupConfiguration' smart constructor.+data GroupConfiguration = GroupConfiguration'+  { -- | The configuration currently associated with the group and in effect.+    configuration :: Prelude.Maybe [GroupConfigurationItem],+    -- | If present, the reason why a request to update the group configuration+    -- failed.+    failureReason :: Prelude.Maybe Prelude.Text,+    -- | If present, the new configuration that is in the process of being+    -- applied to the group.+    proposedConfiguration :: Prelude.Maybe [GroupConfigurationItem],+    -- | The current status of an attempt to update the group configuration.+    status :: Prelude.Maybe GroupConfigurationStatus+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupConfiguration' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'configuration', 'groupConfiguration_configuration' - The configuration currently associated with the group and in effect.+--+-- 'failureReason', 'groupConfiguration_failureReason' - If present, the reason why a request to update the group configuration+-- failed.+--+-- 'proposedConfiguration', 'groupConfiguration_proposedConfiguration' - If present, the new configuration that is in the process of being+-- applied to the group.+--+-- 'status', 'groupConfiguration_status' - The current status of an attempt to update the group configuration.+newGroupConfiguration ::+  GroupConfiguration+newGroupConfiguration =+  GroupConfiguration'+    { configuration =+        Prelude.Nothing,+      failureReason = Prelude.Nothing,+      proposedConfiguration = Prelude.Nothing,+      status = Prelude.Nothing+    }++-- | The configuration currently associated with the group and in effect.+groupConfiguration_configuration :: Lens.Lens' GroupConfiguration (Prelude.Maybe [GroupConfigurationItem])+groupConfiguration_configuration = Lens.lens (\GroupConfiguration' {configuration} -> configuration) (\s@GroupConfiguration' {} a -> s {configuration = a} :: GroupConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | If present, the reason why a request to update the group configuration+-- failed.+groupConfiguration_failureReason :: Lens.Lens' GroupConfiguration (Prelude.Maybe Prelude.Text)+groupConfiguration_failureReason = Lens.lens (\GroupConfiguration' {failureReason} -> failureReason) (\s@GroupConfiguration' {} a -> s {failureReason = a} :: GroupConfiguration)++-- | If present, the new configuration that is in the process of being+-- applied to the group.+groupConfiguration_proposedConfiguration :: Lens.Lens' GroupConfiguration (Prelude.Maybe [GroupConfigurationItem])+groupConfiguration_proposedConfiguration = Lens.lens (\GroupConfiguration' {proposedConfiguration} -> proposedConfiguration) (\s@GroupConfiguration' {} a -> s {proposedConfiguration = a} :: GroupConfiguration) Prelude.. Lens.mapping Lens.coerced++-- | The current status of an attempt to update the group configuration.+groupConfiguration_status :: Lens.Lens' GroupConfiguration (Prelude.Maybe GroupConfigurationStatus)+groupConfiguration_status = Lens.lens (\GroupConfiguration' {status} -> status) (\s@GroupConfiguration' {} a -> s {status = a} :: GroupConfiguration)++instance Data.FromJSON GroupConfiguration where+  parseJSON =+    Data.withObject+      "GroupConfiguration"+      ( \x ->+          GroupConfiguration'+            Prelude.<$> (x Data..:? "Configuration" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..:? "FailureReason")+            Prelude.<*> ( x+                            Data..:? "ProposedConfiguration"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "Status")+      )++instance Prelude.Hashable GroupConfiguration where+  hashWithSalt _salt GroupConfiguration' {..} =+    _salt+      `Prelude.hashWithSalt` configuration+      `Prelude.hashWithSalt` failureReason+      `Prelude.hashWithSalt` proposedConfiguration+      `Prelude.hashWithSalt` status++instance Prelude.NFData GroupConfiguration where+  rnf GroupConfiguration' {..} =+    Prelude.rnf configuration+      `Prelude.seq` Prelude.rnf failureReason+      `Prelude.seq` Prelude.rnf proposedConfiguration+      `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/ResourceGroups/Types/GroupConfigurationItem.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupConfigurationItem+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupConfigurationItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.GroupConfigurationParameter++-- | An item in a group configuration. A group service configuration can have+-- one or more items. For details about group service configuration syntax,+-- see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- /See:/ 'newGroupConfigurationItem' smart constructor.+data GroupConfigurationItem = GroupConfigurationItem'+  { -- | A collection of parameters for this group configuration item. For the+    -- list of parameters that you can use with each configuration item type,+    -- see+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+    parameters :: Prelude.Maybe [GroupConfigurationParameter],+    -- | 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+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+    type' :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupConfigurationItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'parameters', '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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+--+-- 'type'', '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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+newGroupConfigurationItem ::+  -- | 'type''+  Prelude.Text ->+  GroupConfigurationItem+newGroupConfigurationItem pType_ =+  GroupConfigurationItem'+    { parameters =+        Prelude.Nothing,+      type' = pType_+    }++-- | A collection of parameters for this group configuration item. For the+-- list of parameters that you can use with each configuration item type,+-- see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+groupConfigurationItem_parameters :: Lens.Lens' GroupConfigurationItem (Prelude.Maybe [GroupConfigurationParameter])+groupConfigurationItem_parameters = Lens.lens (\GroupConfigurationItem' {parameters} -> parameters) (\s@GroupConfigurationItem' {} a -> s {parameters = a} :: GroupConfigurationItem) Prelude.. Lens.mapping Lens.coerced++-- | 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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+groupConfigurationItem_type :: Lens.Lens' GroupConfigurationItem Prelude.Text+groupConfigurationItem_type = Lens.lens (\GroupConfigurationItem' {type'} -> type') (\s@GroupConfigurationItem' {} a -> s {type' = a} :: GroupConfigurationItem)++instance Data.FromJSON GroupConfigurationItem where+  parseJSON =+    Data.withObject+      "GroupConfigurationItem"+      ( \x ->+          GroupConfigurationItem'+            Prelude.<$> (x Data..:? "Parameters" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..: "Type")+      )++instance Prelude.Hashable GroupConfigurationItem where+  hashWithSalt _salt GroupConfigurationItem' {..} =+    _salt+      `Prelude.hashWithSalt` parameters+      `Prelude.hashWithSalt` type'++instance Prelude.NFData GroupConfigurationItem where+  rnf GroupConfigurationItem' {..} =+    Prelude.rnf parameters+      `Prelude.seq` Prelude.rnf type'++instance Data.ToJSON GroupConfigurationItem where+  toJSON GroupConfigurationItem' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Parameters" Data..=) Prelude.<$> parameters,+            Prelude.Just ("Type" Data..= type')+          ]+      )
+ gen/Amazonka/ResourceGroups/Types/GroupConfigurationParameter.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupConfigurationParameter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupConfigurationParameter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A parameter for a group configuration item. For details about group+-- service configuration syntax, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html Service configurations for resource groups>.+--+-- /See:/ 'newGroupConfigurationParameter' smart constructor.+data GroupConfigurationParameter = GroupConfigurationParameter'+  { -- | The value or values to be used for the specified parameter. For the list+    -- of values you can use with each parameter, see+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+    values :: Prelude.Maybe [Prelude.Text],+    -- | The name of the group configuration parameter. For the list of+    -- parameters that you can use with each configuration item type, see+    -- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupConfigurationParameter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'values', '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+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+--+-- 'name', 'groupConfigurationParameter_name' - The name of the group configuration parameter. For the list of+-- parameters that you can use with each configuration item type, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+newGroupConfigurationParameter ::+  -- | 'name'+  Prelude.Text ->+  GroupConfigurationParameter+newGroupConfigurationParameter pName_ =+  GroupConfigurationParameter'+    { values =+        Prelude.Nothing,+      name = pName_+    }++-- | The value or values to be used for the specified parameter. For the list+-- of values you can use with each parameter, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+groupConfigurationParameter_values :: Lens.Lens' GroupConfigurationParameter (Prelude.Maybe [Prelude.Text])+groupConfigurationParameter_values = Lens.lens (\GroupConfigurationParameter' {values} -> values) (\s@GroupConfigurationParameter' {} a -> s {values = a} :: GroupConfigurationParameter) Prelude.. Lens.mapping Lens.coerced++-- | The name of the group configuration parameter. For the list of+-- parameters that you can use with each configuration item type, see+-- <https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Supported resource types and parameters>.+groupConfigurationParameter_name :: Lens.Lens' GroupConfigurationParameter Prelude.Text+groupConfigurationParameter_name = Lens.lens (\GroupConfigurationParameter' {name} -> name) (\s@GroupConfigurationParameter' {} a -> s {name = a} :: GroupConfigurationParameter)++instance Data.FromJSON GroupConfigurationParameter where+  parseJSON =+    Data.withObject+      "GroupConfigurationParameter"+      ( \x ->+          GroupConfigurationParameter'+            Prelude.<$> (x Data..:? "Values" Data..!= Prelude.mempty)+            Prelude.<*> (x Data..: "Name")+      )++instance Prelude.Hashable GroupConfigurationParameter where+  hashWithSalt _salt GroupConfigurationParameter' {..} =+    _salt+      `Prelude.hashWithSalt` values+      `Prelude.hashWithSalt` name++instance Prelude.NFData GroupConfigurationParameter where+  rnf GroupConfigurationParameter' {..} =+    Prelude.rnf values `Prelude.seq` Prelude.rnf name++instance Data.ToJSON GroupConfigurationParameter where+  toJSON GroupConfigurationParameter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Values" Data..=) Prelude.<$> values,+            Prelude.Just ("Name" Data..= name)+          ]+      )
+ gen/Amazonka/ResourceGroups/Types/GroupConfigurationStatus.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupConfigurationStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupConfigurationStatus+  ( GroupConfigurationStatus+      ( ..,+        GroupConfigurationStatus_UPDATE_COMPLETE,+        GroupConfigurationStatus_UPDATE_FAILED,+        GroupConfigurationStatus_UPDATING+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype GroupConfigurationStatus = GroupConfigurationStatus'+  { fromGroupConfigurationStatus ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern GroupConfigurationStatus_UPDATE_COMPLETE :: GroupConfigurationStatus+pattern GroupConfigurationStatus_UPDATE_COMPLETE = GroupConfigurationStatus' "UPDATE_COMPLETE"++pattern GroupConfigurationStatus_UPDATE_FAILED :: GroupConfigurationStatus+pattern GroupConfigurationStatus_UPDATE_FAILED = GroupConfigurationStatus' "UPDATE_FAILED"++pattern GroupConfigurationStatus_UPDATING :: GroupConfigurationStatus+pattern GroupConfigurationStatus_UPDATING = GroupConfigurationStatus' "UPDATING"++{-# COMPLETE+  GroupConfigurationStatus_UPDATE_COMPLETE,+  GroupConfigurationStatus_UPDATE_FAILED,+  GroupConfigurationStatus_UPDATING,+  GroupConfigurationStatus'+  #-}
+ gen/Amazonka/ResourceGroups/Types/GroupFilter.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.GroupFilterName++-- | 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.+data GroupFilter = GroupFilter'+  { -- | The name of the filter. Filter names are case-sensitive.+    name :: GroupFilterName,+    -- | One or more filter values. Allowed filter values vary by group filter+    -- name, and are case-sensitive.+    values :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'groupFilter_name' - The name of the filter. Filter names are case-sensitive.+--+-- 'values', 'groupFilter_values' - One or more filter values. Allowed filter values vary by group filter+-- name, and are case-sensitive.+newGroupFilter ::+  -- | 'name'+  GroupFilterName ->+  -- | 'values'+  Prelude.NonEmpty Prelude.Text ->+  GroupFilter+newGroupFilter pName_ pValues_ =+  GroupFilter'+    { name = pName_,+      values = Lens.coerced Lens.# pValues_+    }++-- | The name of the filter. Filter names are case-sensitive.+groupFilter_name :: Lens.Lens' GroupFilter GroupFilterName+groupFilter_name = Lens.lens (\GroupFilter' {name} -> name) (\s@GroupFilter' {} a -> s {name = a} :: GroupFilter)++-- | One or more filter values. Allowed filter values vary by group filter+-- name, and are case-sensitive.+groupFilter_values :: Lens.Lens' GroupFilter (Prelude.NonEmpty Prelude.Text)+groupFilter_values = Lens.lens (\GroupFilter' {values} -> values) (\s@GroupFilter' {} a -> s {values = a} :: GroupFilter) Prelude.. Lens.coerced++instance Prelude.Hashable GroupFilter where+  hashWithSalt _salt GroupFilter' {..} =+    _salt+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` values++instance Prelude.NFData GroupFilter where+  rnf GroupFilter' {..} =+    Prelude.rnf name `Prelude.seq` Prelude.rnf values++instance Data.ToJSON GroupFilter where+  toJSON GroupFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Name" Data..= name),+            Prelude.Just ("Values" Data..= values)+          ]+      )
+ gen/Amazonka/ResourceGroups/Types/GroupFilterName.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupFilterName+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupFilterName+  ( GroupFilterName+      ( ..,+        GroupFilterName_Configuration_type,+        GroupFilterName_Resource_type+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype GroupFilterName = GroupFilterName'+  { fromGroupFilterName ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern GroupFilterName_Configuration_type :: GroupFilterName+pattern GroupFilterName_Configuration_type = GroupFilterName' "configuration-type"++pattern GroupFilterName_Resource_type :: GroupFilterName+pattern GroupFilterName_Resource_type = GroupFilterName' "resource-type"++{-# COMPLETE+  GroupFilterName_Configuration_type,+  GroupFilterName_Resource_type,+  GroupFilterName'+  #-}
+ gen/Amazonka/ResourceGroups/Types/GroupIdentifier.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupIdentifier+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupIdentifier where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The unique identifiers for a resource group.+--+-- /See:/ 'newGroupIdentifier' smart constructor.+data GroupIdentifier = GroupIdentifier'+  { -- | The ARN of the resource group.+    groupArn :: Prelude.Maybe Prelude.Text,+    -- | The name of the resource group.+    groupName :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupIdentifier' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupArn', 'groupIdentifier_groupArn' - The ARN of the resource group.+--+-- 'groupName', 'groupIdentifier_groupName' - The name of the resource group.+newGroupIdentifier ::+  GroupIdentifier+newGroupIdentifier =+  GroupIdentifier'+    { groupArn = Prelude.Nothing,+      groupName = Prelude.Nothing+    }++-- | The ARN of the resource group.+groupIdentifier_groupArn :: Lens.Lens' GroupIdentifier (Prelude.Maybe Prelude.Text)+groupIdentifier_groupArn = Lens.lens (\GroupIdentifier' {groupArn} -> groupArn) (\s@GroupIdentifier' {} a -> s {groupArn = a} :: GroupIdentifier)++-- | The name of the resource group.+groupIdentifier_groupName :: Lens.Lens' GroupIdentifier (Prelude.Maybe Prelude.Text)+groupIdentifier_groupName = Lens.lens (\GroupIdentifier' {groupName} -> groupName) (\s@GroupIdentifier' {} a -> s {groupName = a} :: GroupIdentifier)++instance Data.FromJSON GroupIdentifier where+  parseJSON =+    Data.withObject+      "GroupIdentifier"+      ( \x ->+          GroupIdentifier'+            Prelude.<$> (x Data..:? "GroupArn")+            Prelude.<*> (x Data..:? "GroupName")+      )++instance Prelude.Hashable GroupIdentifier where+  hashWithSalt _salt GroupIdentifier' {..} =+    _salt+      `Prelude.hashWithSalt` groupArn+      `Prelude.hashWithSalt` groupName++instance Prelude.NFData GroupIdentifier where+  rnf GroupIdentifier' {..} =+    Prelude.rnf groupArn+      `Prelude.seq` Prelude.rnf groupName
+ gen/Amazonka/ResourceGroups/Types/GroupQuery.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.GroupQuery+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.GroupQuery where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.ResourceQuery++-- | 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.+data GroupQuery = GroupQuery'+  { -- | The name of the resource group that is associated with the specified+    -- resource query.+    groupName :: Prelude.Text,+    -- | The resource query that determines which AWS resources are members of+    -- the associated resource group.+    resourceQuery :: ResourceQuery+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GroupQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupName', 'groupQuery_groupName' - The name of the resource group that is associated with the specified+-- resource query.+--+-- 'resourceQuery', 'groupQuery_resourceQuery' - The resource query that determines which AWS resources are members of+-- the associated resource group.+newGroupQuery ::+  -- | 'groupName'+  Prelude.Text ->+  -- | 'resourceQuery'+  ResourceQuery ->+  GroupQuery+newGroupQuery pGroupName_ pResourceQuery_ =+  GroupQuery'+    { groupName = pGroupName_,+      resourceQuery = pResourceQuery_+    }++-- | The name of the resource group that is associated with the specified+-- resource query.+groupQuery_groupName :: Lens.Lens' GroupQuery Prelude.Text+groupQuery_groupName = Lens.lens (\GroupQuery' {groupName} -> groupName) (\s@GroupQuery' {} a -> s {groupName = a} :: GroupQuery)++-- | The resource query that determines which AWS resources are members of+-- the associated resource group.+groupQuery_resourceQuery :: Lens.Lens' GroupQuery ResourceQuery+groupQuery_resourceQuery = Lens.lens (\GroupQuery' {resourceQuery} -> resourceQuery) (\s@GroupQuery' {} a -> s {resourceQuery = a} :: GroupQuery)++instance Data.FromJSON GroupQuery where+  parseJSON =+    Data.withObject+      "GroupQuery"+      ( \x ->+          GroupQuery'+            Prelude.<$> (x Data..: "GroupName")+            Prelude.<*> (x Data..: "ResourceQuery")+      )++instance Prelude.Hashable GroupQuery where+  hashWithSalt _salt GroupQuery' {..} =+    _salt+      `Prelude.hashWithSalt` groupName+      `Prelude.hashWithSalt` resourceQuery++instance Prelude.NFData GroupQuery where+  rnf GroupQuery' {..} =+    Prelude.rnf groupName+      `Prelude.seq` Prelude.rnf resourceQuery
+ gen/Amazonka/ResourceGroups/Types/ListGroupResourcesItem.hs view
@@ -0,0 +1,100 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ListGroupResourcesItem+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ListGroupResourcesItem where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.ResourceIdentifier+import Amazonka.ResourceGroups.Types.ResourceStatus++-- | 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.+data ListGroupResourcesItem = ListGroupResourcesItem'+  { identifier :: Prelude.Maybe ResourceIdentifier,+    -- | 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@.+    status :: Prelude.Maybe ResourceStatus+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListGroupResourcesItem' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'identifier', 'listGroupResourcesItem_identifier' - Undocumented member.+--+-- 'status', '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@.+newListGroupResourcesItem ::+  ListGroupResourcesItem+newListGroupResourcesItem =+  ListGroupResourcesItem'+    { identifier =+        Prelude.Nothing,+      status = Prelude.Nothing+    }++-- | Undocumented member.+listGroupResourcesItem_identifier :: Lens.Lens' ListGroupResourcesItem (Prelude.Maybe ResourceIdentifier)+listGroupResourcesItem_identifier = Lens.lens (\ListGroupResourcesItem' {identifier} -> identifier) (\s@ListGroupResourcesItem' {} a -> s {identifier = a} :: ListGroupResourcesItem)++-- | 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@.+listGroupResourcesItem_status :: Lens.Lens' ListGroupResourcesItem (Prelude.Maybe ResourceStatus)+listGroupResourcesItem_status = Lens.lens (\ListGroupResourcesItem' {status} -> status) (\s@ListGroupResourcesItem' {} a -> s {status = a} :: ListGroupResourcesItem)++instance Data.FromJSON ListGroupResourcesItem where+  parseJSON =+    Data.withObject+      "ListGroupResourcesItem"+      ( \x ->+          ListGroupResourcesItem'+            Prelude.<$> (x Data..:? "Identifier")+            Prelude.<*> (x Data..:? "Status")+      )++instance Prelude.Hashable ListGroupResourcesItem where+  hashWithSalt _salt ListGroupResourcesItem' {..} =+    _salt+      `Prelude.hashWithSalt` identifier+      `Prelude.hashWithSalt` status++instance Prelude.NFData ListGroupResourcesItem where+  rnf ListGroupResourcesItem' {..} =+    Prelude.rnf identifier+      `Prelude.seq` Prelude.rnf status
+ gen/Amazonka/ResourceGroups/Types/PendingResource.hs view
@@ -0,0 +1,74 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.PendingResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.PendingResource where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | 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.+data PendingResource = PendingResource'+  { -- | The Amazon resource name (ARN) of the resource that\'s in a pending+    -- state.+    resourceArn :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'PendingResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'pendingResource_resourceArn' - The Amazon resource name (ARN) of the resource that\'s in a pending+-- state.+newPendingResource ::+  PendingResource+newPendingResource =+  PendingResource' {resourceArn = Prelude.Nothing}++-- | The Amazon resource name (ARN) of the resource that\'s in a pending+-- state.+pendingResource_resourceArn :: Lens.Lens' PendingResource (Prelude.Maybe Prelude.Text)+pendingResource_resourceArn = Lens.lens (\PendingResource' {resourceArn} -> resourceArn) (\s@PendingResource' {} a -> s {resourceArn = a} :: PendingResource)++instance Data.FromJSON PendingResource where+  parseJSON =+    Data.withObject+      "PendingResource"+      ( \x ->+          PendingResource'+            Prelude.<$> (x Data..:? "ResourceArn")+      )++instance Prelude.Hashable PendingResource where+  hashWithSalt _salt PendingResource' {..} =+    _salt `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData PendingResource where+  rnf PendingResource' {..} = Prelude.rnf resourceArn
+ gen/Amazonka/ResourceGroups/Types/QueryError.hs view
@@ -0,0 +1,106 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.QueryError+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.QueryError where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.QueryErrorCode++-- | 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.+data QueryError = QueryError'+  { -- | Possible values are @CLOUDFORMATION_STACK_INACTIVE@ and+    -- @CLOUDFORMATION_STACK_NOT_EXISTING@.+    errorCode :: Prelude.Maybe QueryErrorCode,+    -- | 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@.+    message :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'QueryError' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'errorCode', 'queryError_errorCode' - Possible values are @CLOUDFORMATION_STACK_INACTIVE@ and+-- @CLOUDFORMATION_STACK_NOT_EXISTING@.+--+-- 'message', '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@.+newQueryError ::+  QueryError+newQueryError =+  QueryError'+    { errorCode = Prelude.Nothing,+      message = Prelude.Nothing+    }++-- | Possible values are @CLOUDFORMATION_STACK_INACTIVE@ and+-- @CLOUDFORMATION_STACK_NOT_EXISTING@.+queryError_errorCode :: Lens.Lens' QueryError (Prelude.Maybe QueryErrorCode)+queryError_errorCode = Lens.lens (\QueryError' {errorCode} -> errorCode) (\s@QueryError' {} a -> s {errorCode = a} :: QueryError)++-- | 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@.+queryError_message :: Lens.Lens' QueryError (Prelude.Maybe Prelude.Text)+queryError_message = Lens.lens (\QueryError' {message} -> message) (\s@QueryError' {} a -> s {message = a} :: QueryError)++instance Data.FromJSON QueryError where+  parseJSON =+    Data.withObject+      "QueryError"+      ( \x ->+          QueryError'+            Prelude.<$> (x Data..:? "ErrorCode")+            Prelude.<*> (x Data..:? "Message")+      )++instance Prelude.Hashable QueryError where+  hashWithSalt _salt QueryError' {..} =+    _salt+      `Prelude.hashWithSalt` errorCode+      `Prelude.hashWithSalt` message++instance Prelude.NFData QueryError where+  rnf QueryError' {..} =+    Prelude.rnf errorCode+      `Prelude.seq` Prelude.rnf message
+ gen/Amazonka/ResourceGroups/Types/QueryErrorCode.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.QueryErrorCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.QueryErrorCode+  ( QueryErrorCode+      ( ..,+        QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE,+        QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype QueryErrorCode = QueryErrorCode'+  { fromQueryErrorCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE :: QueryErrorCode+pattern QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE = QueryErrorCode' "CLOUDFORMATION_STACK_INACTIVE"++pattern QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING :: QueryErrorCode+pattern QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING = QueryErrorCode' "CLOUDFORMATION_STACK_NOT_EXISTING"++{-# COMPLETE+  QueryErrorCode_CLOUDFORMATION_STACK_INACTIVE,+  QueryErrorCode_CLOUDFORMATION_STACK_NOT_EXISTING,+  QueryErrorCode'+  #-}
+ gen/Amazonka/ResourceGroups/Types/QueryType.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.QueryType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.QueryType+  ( QueryType+      ( ..,+        QueryType_CLOUDFORMATION_STACK_1_0,+        QueryType_TAG_FILTERS_1_0+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype QueryType = QueryType'+  { fromQueryType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern QueryType_CLOUDFORMATION_STACK_1_0 :: QueryType+pattern QueryType_CLOUDFORMATION_STACK_1_0 = QueryType' "CLOUDFORMATION_STACK_1_0"++pattern QueryType_TAG_FILTERS_1_0 :: QueryType+pattern QueryType_TAG_FILTERS_1_0 = QueryType' "TAG_FILTERS_1_0"++{-# COMPLETE+  QueryType_CLOUDFORMATION_STACK_1_0,+  QueryType_TAG_FILTERS_1_0,+  QueryType'+  #-}
+ gen/Amazonka/ResourceGroups/Types/ResourceFilter.hs view
@@ -0,0 +1,91 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.ResourceFilterName++-- | A filter name and value pair that is used to obtain more specific+-- results from a list of resources.+--+-- /See:/ 'newResourceFilter' smart constructor.+data ResourceFilter = ResourceFilter'+  { -- | The name of the filter. Filter names are case-sensitive.+    name :: ResourceFilterName,+    -- | One or more filter values. Allowed filter values vary by resource filter+    -- name, and are case-sensitive.+    values :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'resourceFilter_name' - The name of the filter. Filter names are case-sensitive.+--+-- 'values', 'resourceFilter_values' - One or more filter values. Allowed filter values vary by resource filter+-- name, and are case-sensitive.+newResourceFilter ::+  -- | 'name'+  ResourceFilterName ->+  -- | 'values'+  Prelude.NonEmpty Prelude.Text ->+  ResourceFilter+newResourceFilter pName_ pValues_ =+  ResourceFilter'+    { name = pName_,+      values = Lens.coerced Lens.# pValues_+    }++-- | The name of the filter. Filter names are case-sensitive.+resourceFilter_name :: Lens.Lens' ResourceFilter ResourceFilterName+resourceFilter_name = Lens.lens (\ResourceFilter' {name} -> name) (\s@ResourceFilter' {} a -> s {name = a} :: ResourceFilter)++-- | One or more filter values. Allowed filter values vary by resource filter+-- name, and are case-sensitive.+resourceFilter_values :: Lens.Lens' ResourceFilter (Prelude.NonEmpty Prelude.Text)+resourceFilter_values = Lens.lens (\ResourceFilter' {values} -> values) (\s@ResourceFilter' {} a -> s {values = a} :: ResourceFilter) Prelude.. Lens.coerced++instance Prelude.Hashable ResourceFilter where+  hashWithSalt _salt ResourceFilter' {..} =+    _salt+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` values++instance Prelude.NFData ResourceFilter where+  rnf ResourceFilter' {..} =+    Prelude.rnf name `Prelude.seq` Prelude.rnf values++instance Data.ToJSON ResourceFilter where+  toJSON ResourceFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Name" Data..= name),+            Prelude.Just ("Values" Data..= values)+          ]+      )
+ gen/Amazonka/ResourceGroups/Types/ResourceFilterName.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceFilterName+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceFilterName+  ( ResourceFilterName+      ( ..,+        ResourceFilterName_Resource_type+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ResourceFilterName = ResourceFilterName'+  { fromResourceFilterName ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ResourceFilterName_Resource_type :: ResourceFilterName+pattern ResourceFilterName_Resource_type = ResourceFilterName' "resource-type"++{-# COMPLETE+  ResourceFilterName_Resource_type,+  ResourceFilterName'+  #-}
+ gen/Amazonka/ResourceGroups/Types/ResourceIdentifier.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceIdentifier+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceIdentifier where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A structure that contains the ARN of a resource and its resource type.+--+-- /See:/ 'newResourceIdentifier' smart constructor.+data ResourceIdentifier = ResourceIdentifier'+  { -- | The ARN of a resource.+    resourceArn :: Prelude.Maybe Prelude.Text,+    -- | The resource type of a resource, such as @AWS::EC2::Instance@.+    resourceType :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceIdentifier' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'resourceIdentifier_resourceArn' - The ARN of a resource.+--+-- 'resourceType', 'resourceIdentifier_resourceType' - The resource type of a resource, such as @AWS::EC2::Instance@.+newResourceIdentifier ::+  ResourceIdentifier+newResourceIdentifier =+  ResourceIdentifier'+    { resourceArn = Prelude.Nothing,+      resourceType = Prelude.Nothing+    }++-- | The ARN of a resource.+resourceIdentifier_resourceArn :: Lens.Lens' ResourceIdentifier (Prelude.Maybe Prelude.Text)+resourceIdentifier_resourceArn = Lens.lens (\ResourceIdentifier' {resourceArn} -> resourceArn) (\s@ResourceIdentifier' {} a -> s {resourceArn = a} :: ResourceIdentifier)++-- | The resource type of a resource, such as @AWS::EC2::Instance@.+resourceIdentifier_resourceType :: Lens.Lens' ResourceIdentifier (Prelude.Maybe Prelude.Text)+resourceIdentifier_resourceType = Lens.lens (\ResourceIdentifier' {resourceType} -> resourceType) (\s@ResourceIdentifier' {} a -> s {resourceType = a} :: ResourceIdentifier)++instance Data.FromJSON ResourceIdentifier where+  parseJSON =+    Data.withObject+      "ResourceIdentifier"+      ( \x ->+          ResourceIdentifier'+            Prelude.<$> (x Data..:? "ResourceArn")+            Prelude.<*> (x Data..:? "ResourceType")+      )++instance Prelude.Hashable ResourceIdentifier where+  hashWithSalt _salt ResourceIdentifier' {..} =+    _salt+      `Prelude.hashWithSalt` resourceArn+      `Prelude.hashWithSalt` resourceType++instance Prelude.NFData ResourceIdentifier where+  rnf ResourceIdentifier' {..} =+    Prelude.rnf resourceArn+      `Prelude.seq` Prelude.rnf resourceType
+ gen/Amazonka/ResourceGroups/Types/ResourceQuery.hs view
@@ -0,0 +1,291 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceQuery+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceQuery where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.QueryType++-- | 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+-- <https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html 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.+data ResourceQuery = ResourceQuery'+  { -- | 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+    --     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html GetResources>@ @+    --     operation, but uses only the+    --     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-ResourceTypeFilters ResourceTypeFilters>@ @+    --     and+    --     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-TagFiltersTagFilters 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.+    type' :: QueryType,+    -- | The query that defines a group or a search.+    query :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'type'', '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+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html GetResources>@ @+--     operation, but uses only the+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-ResourceTypeFilters ResourceTypeFilters>@ @+--     and+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-TagFiltersTagFilters 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.+--+-- 'query', 'resourceQuery_searchQuery' - The query that defines a group or a search.+newResourceQuery ::+  -- | 'type''+  QueryType ->+  -- | 'query'+  Prelude.Text ->+  ResourceQuery+newResourceQuery pType_ pSearchQuery_ =+  ResourceQuery'+    { type' = pType_,+      query = pSearchQuery_+    }++-- | 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+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html GetResources>@ @+--     operation, but uses only the+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-ResourceTypeFilters ResourceTypeFilters>@ @+--     and+--     @ @<https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-TagFiltersTagFilters 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.+resourceQuery_type :: Lens.Lens' ResourceQuery QueryType+resourceQuery_type = Lens.lens (\ResourceQuery' {type'} -> type') (\s@ResourceQuery' {} a -> s {type' = a} :: ResourceQuery)++-- | The query that defines a group or a search.+resourceQuery_searchQuery :: Lens.Lens' ResourceQuery Prelude.Text+resourceQuery_searchQuery = Lens.lens (\ResourceQuery' {query} -> query) (\s@ResourceQuery' {} a -> s {query = a} :: ResourceQuery)++instance Data.FromJSON ResourceQuery where+  parseJSON =+    Data.withObject+      "ResourceQuery"+      ( \x ->+          ResourceQuery'+            Prelude.<$> (x Data..: "Type")+            Prelude.<*> (x Data..: "Query")+      )++instance Prelude.Hashable ResourceQuery where+  hashWithSalt _salt ResourceQuery' {..} =+    _salt+      `Prelude.hashWithSalt` type'+      `Prelude.hashWithSalt` query++instance Prelude.NFData ResourceQuery where+  rnf ResourceQuery' {..} =+    Prelude.rnf type' `Prelude.seq` Prelude.rnf query++instance Data.ToJSON ResourceQuery where+  toJSON ResourceQuery' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Type" Data..= type'),+            Prelude.Just ("Query" Data..= query)+          ]+      )
+ gen/Amazonka/ResourceGroups/Types/ResourceStatus.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceStatus where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Types.ResourceStatusValue++-- | 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.+data ResourceStatus = ResourceStatus'+  { -- | The current status.+    name :: Prelude.Maybe ResourceStatusValue+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ResourceStatus' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'resourceStatus_name' - The current status.+newResourceStatus ::+  ResourceStatus+newResourceStatus =+  ResourceStatus' {name = Prelude.Nothing}++-- | The current status.+resourceStatus_name :: Lens.Lens' ResourceStatus (Prelude.Maybe ResourceStatusValue)+resourceStatus_name = Lens.lens (\ResourceStatus' {name} -> name) (\s@ResourceStatus' {} a -> s {name = a} :: ResourceStatus)++instance Data.FromJSON ResourceStatus where+  parseJSON =+    Data.withObject+      "ResourceStatus"+      ( \x ->+          ResourceStatus' Prelude.<$> (x Data..:? "Name")+      )++instance Prelude.Hashable ResourceStatus where+  hashWithSalt _salt ResourceStatus' {..} =+    _salt `Prelude.hashWithSalt` name++instance Prelude.NFData ResourceStatus where+  rnf ResourceStatus' {..} = Prelude.rnf name
+ gen/Amazonka/ResourceGroups/Types/ResourceStatusValue.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Types.ResourceStatusValue+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Types.ResourceStatusValue+  ( ResourceStatusValue+      ( ..,+        ResourceStatusValue_PENDING+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ResourceStatusValue = ResourceStatusValue'+  { fromResourceStatusValue ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ResourceStatusValue_PENDING :: ResourceStatusValue+pattern ResourceStatusValue_PENDING = ResourceStatusValue' "PENDING"++{-# COMPLETE+  ResourceStatusValue_PENDING,+  ResourceStatusValue'+  #-}
+ gen/Amazonka/ResourceGroups/UngroupResources.hs view
@@ -0,0 +1,226 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.UngroupResources+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes the specified resources from the specified group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:UngroupResources@+module Amazonka.ResourceGroups.UngroupResources+  ( -- * Creating a Request+    UngroupResources (..),+    newUngroupResources,++    -- * Request Lenses+    ungroupResources_group,+    ungroupResources_resourceArns,++    -- * Destructuring the Response+    UngroupResourcesResponse (..),+    newUngroupResourcesResponse,++    -- * Response Lenses+    ungroupResourcesResponse_failed,+    ungroupResourcesResponse_pending,+    ungroupResourcesResponse_succeeded,+    ungroupResourcesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newUngroupResources' smart constructor.+data UngroupResources = UngroupResources'+  { -- | The name or the ARN of the resource group from which to remove the+    -- resources.+    group' :: Prelude.Text,+    -- | The ARNs of the resources to be removed from the group.+    resourceArns :: Prelude.NonEmpty Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UngroupResources' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'ungroupResources_group' - The name or the ARN of the resource group from which to remove the+-- resources.+--+-- 'resourceArns', 'ungroupResources_resourceArns' - The ARNs of the resources to be removed from the group.+newUngroupResources ::+  -- | 'group''+  Prelude.Text ->+  -- | 'resourceArns'+  Prelude.NonEmpty Prelude.Text ->+  UngroupResources+newUngroupResources pGroup_ pResourceArns_ =+  UngroupResources'+    { group' = pGroup_,+      resourceArns = Lens.coerced Lens.# pResourceArns_+    }++-- | The name or the ARN of the resource group from which to remove the+-- resources.+ungroupResources_group :: Lens.Lens' UngroupResources Prelude.Text+ungroupResources_group = Lens.lens (\UngroupResources' {group'} -> group') (\s@UngroupResources' {} a -> s {group' = a} :: UngroupResources)++-- | The ARNs of the resources to be removed from the group.+ungroupResources_resourceArns :: Lens.Lens' UngroupResources (Prelude.NonEmpty Prelude.Text)+ungroupResources_resourceArns = Lens.lens (\UngroupResources' {resourceArns} -> resourceArns) (\s@UngroupResources' {} a -> s {resourceArns = a} :: UngroupResources) Prelude.. Lens.coerced++instance Core.AWSRequest UngroupResources where+  type+    AWSResponse UngroupResources =+      UngroupResourcesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UngroupResourcesResponse'+            Prelude.<$> (x Data..?> "Failed" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "Pending" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "Succeeded")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UngroupResources where+  hashWithSalt _salt UngroupResources' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` resourceArns++instance Prelude.NFData UngroupResources where+  rnf UngroupResources' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf resourceArns++instance Data.ToHeaders UngroupResources where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON UngroupResources where+  toJSON UngroupResources' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Group" Data..= group'),+            Prelude.Just ("ResourceArns" Data..= resourceArns)+          ]+      )++instance Data.ToPath UngroupResources where+  toPath = Prelude.const "/ungroup-resources"++instance Data.ToQuery UngroupResources where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUngroupResourcesResponse' smart constructor.+data UngroupResourcesResponse = UngroupResourcesResponse'+  { -- | A list of any resources that failed to be removed from the group by this+    -- operation.+    failed :: Prelude.Maybe [FailedResource],+    -- | 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.+    pending :: Prelude.Maybe [PendingResource],+    -- | A list of resources that were successfully removed from the group by+    -- this operation.+    succeeded :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UngroupResourcesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'failed', 'ungroupResourcesResponse_failed' - A list of any resources that failed to be removed from the group by this+-- operation.+--+-- 'pending', '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.+--+-- 'succeeded', 'ungroupResourcesResponse_succeeded' - A list of resources that were successfully removed from the group by+-- this operation.+--+-- 'httpStatus', 'ungroupResourcesResponse_httpStatus' - The response's http status code.+newUngroupResourcesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UngroupResourcesResponse+newUngroupResourcesResponse pHttpStatus_ =+  UngroupResourcesResponse'+    { failed = Prelude.Nothing,+      pending = Prelude.Nothing,+      succeeded = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | A list of any resources that failed to be removed from the group by this+-- operation.+ungroupResourcesResponse_failed :: Lens.Lens' UngroupResourcesResponse (Prelude.Maybe [FailedResource])+ungroupResourcesResponse_failed = Lens.lens (\UngroupResourcesResponse' {failed} -> failed) (\s@UngroupResourcesResponse' {} a -> s {failed = a} :: UngroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | 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.+ungroupResourcesResponse_pending :: Lens.Lens' UngroupResourcesResponse (Prelude.Maybe [PendingResource])+ungroupResourcesResponse_pending = Lens.lens (\UngroupResourcesResponse' {pending} -> pending) (\s@UngroupResourcesResponse' {} a -> s {pending = a} :: UngroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | A list of resources that were successfully removed from the group by+-- this operation.+ungroupResourcesResponse_succeeded :: Lens.Lens' UngroupResourcesResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+ungroupResourcesResponse_succeeded = Lens.lens (\UngroupResourcesResponse' {succeeded} -> succeeded) (\s@UngroupResourcesResponse' {} a -> s {succeeded = a} :: UngroupResourcesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+ungroupResourcesResponse_httpStatus :: Lens.Lens' UngroupResourcesResponse Prelude.Int+ungroupResourcesResponse_httpStatus = Lens.lens (\UngroupResourcesResponse' {httpStatus} -> httpStatus) (\s@UngroupResourcesResponse' {} a -> s {httpStatus = a} :: UngroupResourcesResponse)++instance Prelude.NFData UngroupResourcesResponse where+  rnf UngroupResourcesResponse' {..} =+    Prelude.rnf failed+      `Prelude.seq` Prelude.rnf pending+      `Prelude.seq` Prelude.rnf succeeded+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/Untag.hs view
@@ -0,0 +1,191 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Untag+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes tags from a specified resource group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:Untag@+module Amazonka.ResourceGroups.Untag+  ( -- * Creating a Request+    Untag (..),+    newUntag,++    -- * Request Lenses+    untag_arn,+    untag_keys,++    -- * Destructuring the Response+    UntagResponse (..),+    newUntagResponse,++    -- * Response Lenses+    untagResponse_arn,+    untagResponse_keys,+    untagResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newUntag' smart constructor.+data Untag = Untag'+  { -- | 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.+    arn :: Prelude.Text,+    -- | The keys of the tags to be removed.+    keys :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Untag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', '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.+--+-- 'keys', 'untag_keys' - The keys of the tags to be removed.+newUntag ::+  -- | 'arn'+  Prelude.Text ->+  Untag+newUntag pArn_ =+  Untag' {arn = pArn_, keys = Prelude.mempty}++-- | The ARN of the resource group from which to remove tags. The command+-- removed both the specified keys and any values associated with those+-- keys.+untag_arn :: Lens.Lens' Untag Prelude.Text+untag_arn = Lens.lens (\Untag' {arn} -> arn) (\s@Untag' {} a -> s {arn = a} :: Untag)++-- | The keys of the tags to be removed.+untag_keys :: Lens.Lens' Untag [Prelude.Text]+untag_keys = Lens.lens (\Untag' {keys} -> keys) (\s@Untag' {} a -> s {keys = a} :: Untag) Prelude.. Lens.coerced++instance Core.AWSRequest Untag where+  type AWSResponse Untag = UntagResponse+  request overrides =+    Request.patchJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UntagResponse'+            Prelude.<$> (x Data..?> "Arn")+            Prelude.<*> (x Data..?> "Keys" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable Untag where+  hashWithSalt _salt Untag' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` keys++instance Prelude.NFData Untag where+  rnf Untag' {..} =+    Prelude.rnf arn `Prelude.seq` Prelude.rnf keys++instance Data.ToHeaders Untag where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON Untag where+  toJSON Untag' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("Keys" Data..= keys)]+      )++instance Data.ToPath Untag where+  toPath Untag' {..} =+    Prelude.mconcat+      ["/resources/", Data.toBS arn, "/tags"]++instance Data.ToQuery Untag where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResponse' smart constructor.+data UntagResponse = UntagResponse'+  { -- | The ARN of the resource group from which tags have been removed.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The keys of the tags that were removed.+    keys :: Prelude.Maybe [Prelude.Text],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'untagResponse_arn' - The ARN of the resource group from which tags have been removed.+--+-- 'keys', 'untagResponse_keys' - The keys of the tags that were removed.+--+-- 'httpStatus', 'untagResponse_httpStatus' - The response's http status code.+newUntagResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UntagResponse+newUntagResponse pHttpStatus_ =+  UntagResponse'+    { arn = Prelude.Nothing,+      keys = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The ARN of the resource group from which tags have been removed.+untagResponse_arn :: Lens.Lens' UntagResponse (Prelude.Maybe Prelude.Text)+untagResponse_arn = Lens.lens (\UntagResponse' {arn} -> arn) (\s@UntagResponse' {} a -> s {arn = a} :: UntagResponse)++-- | The keys of the tags that were removed.+untagResponse_keys :: Lens.Lens' UntagResponse (Prelude.Maybe [Prelude.Text])+untagResponse_keys = Lens.lens (\UntagResponse' {keys} -> keys) (\s@UntagResponse' {} a -> s {keys = a} :: UntagResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+untagResponse_httpStatus :: Lens.Lens' UntagResponse Prelude.Int+untagResponse_httpStatus = Lens.lens (\UntagResponse' {httpStatus} -> httpStatus) (\s@UntagResponse' {} a -> s {httpStatus = a} :: UntagResponse)++instance Prelude.NFData UntagResponse where+  rnf UntagResponse' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf keys+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/UpdateGroup.hs view
@@ -0,0 +1,195 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.UpdateGroup+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the description for an existing group. You cannot update the+-- name of a resource group.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:UpdateGroup@+module Amazonka.ResourceGroups.UpdateGroup+  ( -- * Creating a Request+    UpdateGroup (..),+    newUpdateGroup,++    -- * Request Lenses+    updateGroup_description,+    updateGroup_group,+    updateGroup_groupName,++    -- * Destructuring the Response+    UpdateGroupResponse (..),+    newUpdateGroupResponse,++    -- * Response Lenses+    updateGroupResponse_group,+    updateGroupResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateGroup' smart constructor.+data UpdateGroup = UpdateGroup'+  { -- | The new description that you want to update the resource group with.+    -- Descriptions can contain letters, numbers, hyphens, underscores,+    -- periods, and spaces.+    description :: Prelude.Maybe Prelude.Text,+    -- | The name or the ARN of the resource group to modify.+    group' :: Prelude.Maybe Prelude.Text,+    -- | Don\'t use this parameter. Use @Group@ instead.+    groupName :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateGroup' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateGroup_description' - The new description that you want to update the resource group with.+-- Descriptions can contain letters, numbers, hyphens, underscores,+-- periods, and spaces.+--+-- 'group'', 'updateGroup_group' - The name or the ARN of the resource group to modify.+--+-- 'groupName', 'updateGroup_groupName' - Don\'t use this parameter. Use @Group@ instead.+newUpdateGroup ::+  UpdateGroup+newUpdateGroup =+  UpdateGroup'+    { description = Prelude.Nothing,+      group' = Prelude.Nothing,+      groupName = Prelude.Nothing+    }++-- | The new description that you want to update the resource group with.+-- Descriptions can contain letters, numbers, hyphens, underscores,+-- periods, and spaces.+updateGroup_description :: Lens.Lens' UpdateGroup (Prelude.Maybe Prelude.Text)+updateGroup_description = Lens.lens (\UpdateGroup' {description} -> description) (\s@UpdateGroup' {} a -> s {description = a} :: UpdateGroup)++-- | The name or the ARN of the resource group to modify.+updateGroup_group :: Lens.Lens' UpdateGroup (Prelude.Maybe Prelude.Text)+updateGroup_group = Lens.lens (\UpdateGroup' {group'} -> group') (\s@UpdateGroup' {} a -> s {group' = a} :: UpdateGroup)++-- | Don\'t use this parameter. Use @Group@ instead.+updateGroup_groupName :: Lens.Lens' UpdateGroup (Prelude.Maybe Prelude.Text)+updateGroup_groupName = Lens.lens (\UpdateGroup' {groupName} -> groupName) (\s@UpdateGroup' {} a -> s {groupName = a} :: UpdateGroup)++instance Core.AWSRequest UpdateGroup where+  type AWSResponse UpdateGroup = UpdateGroupResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UpdateGroupResponse'+            Prelude.<$> (x Data..?> "Group")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdateGroup where+  hashWithSalt _salt UpdateGroup' {..} =+    _salt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName++instance Prelude.NFData UpdateGroup where+  rnf UpdateGroup' {..} =+    Prelude.rnf description+      `Prelude.seq` Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName++instance Data.ToHeaders UpdateGroup where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON UpdateGroup where+  toJSON UpdateGroup' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Description" Data..=) Prelude.<$> description,+            ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName+          ]+      )++instance Data.ToPath UpdateGroup where+  toPath = Prelude.const "/update-group"++instance Data.ToQuery UpdateGroup where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateGroupResponse' smart constructor.+data UpdateGroupResponse = UpdateGroupResponse'+  { -- | The update description of the resource group.+    group' :: Prelude.Maybe Group,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateGroupResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'updateGroupResponse_group' - The update description of the resource group.+--+-- 'httpStatus', 'updateGroupResponse_httpStatus' - The response's http status code.+newUpdateGroupResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdateGroupResponse+newUpdateGroupResponse pHttpStatus_ =+  UpdateGroupResponse'+    { group' = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The update description of the resource group.+updateGroupResponse_group :: Lens.Lens' UpdateGroupResponse (Prelude.Maybe Group)+updateGroupResponse_group = Lens.lens (\UpdateGroupResponse' {group'} -> group') (\s@UpdateGroupResponse' {} a -> s {group' = a} :: UpdateGroupResponse)++-- | The response's http status code.+updateGroupResponse_httpStatus :: Lens.Lens' UpdateGroupResponse Prelude.Int+updateGroupResponse_httpStatus = Lens.lens (\UpdateGroupResponse' {httpStatus} -> httpStatus) (\s@UpdateGroupResponse' {} a -> s {httpStatus = a} :: UpdateGroupResponse)++instance Prelude.NFData UpdateGroupResponse where+  rnf UpdateGroupResponse' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/UpdateGroupQuery.hs view
@@ -0,0 +1,211 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.UpdateGroupQuery+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the resource query of a group. For more information about+-- resource queries, see+-- <https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag Create a tag-based group in Resource Groups>.+--+-- __Minimum permissions__+--+-- To run this command, you must have the following permissions:+--+-- -   @resource-groups:UpdateGroupQuery@+module Amazonka.ResourceGroups.UpdateGroupQuery+  ( -- * Creating a Request+    UpdateGroupQuery (..),+    newUpdateGroupQuery,++    -- * Request Lenses+    updateGroupQuery_group,+    updateGroupQuery_groupName,+    updateGroupQuery_resourceQuery,++    -- * Destructuring the Response+    UpdateGroupQueryResponse (..),+    newUpdateGroupQueryResponse,++    -- * Response Lenses+    updateGroupQueryResponse_groupQuery,+    updateGroupQueryResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import Amazonka.ResourceGroups.Types+import qualified Amazonka.Response as Response++-- | /See:/ 'newUpdateGroupQuery' smart constructor.+data UpdateGroupQuery = UpdateGroupQuery'+  { -- | The name or the ARN of the resource group to query.+    group' :: Prelude.Maybe Prelude.Text,+    -- | Don\'t use this parameter. Use @Group@ instead.+    groupName :: Prelude.Maybe Prelude.Text,+    -- | 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.+    resourceQuery :: ResourceQuery+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateGroupQuery' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'group'', 'updateGroupQuery_group' - The name or the ARN of the resource group to query.+--+-- 'groupName', 'updateGroupQuery_groupName' - Don\'t use this parameter. Use @Group@ instead.+--+-- 'resourceQuery', '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.+newUpdateGroupQuery ::+  -- | 'resourceQuery'+  ResourceQuery ->+  UpdateGroupQuery+newUpdateGroupQuery pResourceQuery_ =+  UpdateGroupQuery'+    { group' = Prelude.Nothing,+      groupName = Prelude.Nothing,+      resourceQuery = pResourceQuery_+    }++-- | The name or the ARN of the resource group to query.+updateGroupQuery_group :: Lens.Lens' UpdateGroupQuery (Prelude.Maybe Prelude.Text)+updateGroupQuery_group = Lens.lens (\UpdateGroupQuery' {group'} -> group') (\s@UpdateGroupQuery' {} a -> s {group' = a} :: UpdateGroupQuery)++-- | Don\'t use this parameter. Use @Group@ instead.+updateGroupQuery_groupName :: Lens.Lens' UpdateGroupQuery (Prelude.Maybe Prelude.Text)+updateGroupQuery_groupName = Lens.lens (\UpdateGroupQuery' {groupName} -> groupName) (\s@UpdateGroupQuery' {} a -> s {groupName = a} :: UpdateGroupQuery)++-- | 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.+updateGroupQuery_resourceQuery :: Lens.Lens' UpdateGroupQuery ResourceQuery+updateGroupQuery_resourceQuery = Lens.lens (\UpdateGroupQuery' {resourceQuery} -> resourceQuery) (\s@UpdateGroupQuery' {} a -> s {resourceQuery = a} :: UpdateGroupQuery)++instance Core.AWSRequest UpdateGroupQuery where+  type+    AWSResponse UpdateGroupQuery =+      UpdateGroupQueryResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UpdateGroupQueryResponse'+            Prelude.<$> (x Data..?> "GroupQuery")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdateGroupQuery where+  hashWithSalt _salt UpdateGroupQuery' {..} =+    _salt+      `Prelude.hashWithSalt` group'+      `Prelude.hashWithSalt` groupName+      `Prelude.hashWithSalt` resourceQuery++instance Prelude.NFData UpdateGroupQuery where+  rnf UpdateGroupQuery' {..} =+    Prelude.rnf group'+      `Prelude.seq` Prelude.rnf groupName+      `Prelude.seq` Prelude.rnf resourceQuery++instance Data.ToHeaders UpdateGroupQuery where+  toHeaders = Prelude.const Prelude.mempty++instance Data.ToJSON UpdateGroupQuery where+  toJSON UpdateGroupQuery' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Group" Data..=) Prelude.<$> group',+            ("GroupName" Data..=) Prelude.<$> groupName,+            Prelude.Just+              ("ResourceQuery" Data..= resourceQuery)+          ]+      )++instance Data.ToPath UpdateGroupQuery where+  toPath = Prelude.const "/update-group-query"++instance Data.ToQuery UpdateGroupQuery where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateGroupQueryResponse' smart constructor.+data UpdateGroupQueryResponse = UpdateGroupQueryResponse'+  { -- | The updated resource query associated with the resource group after the+    -- update.+    groupQuery :: Prelude.Maybe GroupQuery,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateGroupQueryResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'groupQuery', 'updateGroupQueryResponse_groupQuery' - The updated resource query associated with the resource group after the+-- update.+--+-- 'httpStatus', 'updateGroupQueryResponse_httpStatus' - The response's http status code.+newUpdateGroupQueryResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdateGroupQueryResponse+newUpdateGroupQueryResponse pHttpStatus_ =+  UpdateGroupQueryResponse'+    { groupQuery =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The updated resource query associated with the resource group after the+-- update.+updateGroupQueryResponse_groupQuery :: Lens.Lens' UpdateGroupQueryResponse (Prelude.Maybe GroupQuery)+updateGroupQueryResponse_groupQuery = Lens.lens (\UpdateGroupQueryResponse' {groupQuery} -> groupQuery) (\s@UpdateGroupQueryResponse' {} a -> s {groupQuery = a} :: UpdateGroupQueryResponse)++-- | The response's http status code.+updateGroupQueryResponse_httpStatus :: Lens.Lens' UpdateGroupQueryResponse Prelude.Int+updateGroupQueryResponse_httpStatus = Lens.lens (\UpdateGroupQueryResponse' {httpStatus} -> httpStatus) (\s@UpdateGroupQueryResponse' {} a -> s {httpStatus = a} :: UpdateGroupQueryResponse)++instance Prelude.NFData UpdateGroupQueryResponse where+  rnf UpdateGroupQueryResponse' {..} =+    Prelude.rnf groupQuery+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/ResourceGroups/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.ResourceGroups.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.ResourceGroups.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.ResourceGroups.Lens+import Amazonka.ResourceGroups.Types
− gen/Network/AWS/ResourceGroups.hs
@@ -1,181 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ __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 <https://docs.aws.amazon.com/ARG/latest/userguide/welcome.html 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----------module Network.AWS.ResourceGroups-    (-    -- * Service Configuration-      resourceGroups--    -- * Errors-    -- $errors--    -- ** ForbiddenException-    , _ForbiddenException--    -- ** NotFoundException-    , _NotFoundException--    -- ** TooManyRequestsException-    , _TooManyRequestsException--    -- ** InternalServerErrorException-    , _InternalServerErrorException--    -- ** MethodNotAllowedException-    , _MethodNotAllowedException--    -- ** UnauthorizedException-    , _UnauthorizedException--    -- ** BadRequestException-    , _BadRequestException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** SearchResources (Paginated)-    , module Network.AWS.ResourceGroups.SearchResources--    -- ** GetTags-    , module Network.AWS.ResourceGroups.GetTags--    -- ** Tag-    , module Network.AWS.ResourceGroups.Tag--    -- ** Untag-    , module Network.AWS.ResourceGroups.Untag--    -- ** UpdateGroupQuery-    , module Network.AWS.ResourceGroups.UpdateGroupQuery--    -- ** ListGroupResources (Paginated)-    , module Network.AWS.ResourceGroups.ListGroupResources--    -- ** GetGroupQuery-    , module Network.AWS.ResourceGroups.GetGroupQuery--    -- ** CreateGroup-    , module Network.AWS.ResourceGroups.CreateGroup--    -- ** DeleteGroup-    , module Network.AWS.ResourceGroups.DeleteGroup--    -- ** UpdateGroup-    , module Network.AWS.ResourceGroups.UpdateGroup--    -- ** ListGroups (Paginated)-    , module Network.AWS.ResourceGroups.ListGroups--    -- ** GetGroup-    , module Network.AWS.ResourceGroups.GetGroup--    -- * Types--    -- ** QueryType-    , QueryType (..)--    -- ** Group-    , Group-    , group'-    , gDescription-    , gGroupARN-    , gName--    -- ** GroupQuery-    , GroupQuery-    , groupQuery-    , gqGroupName-    , gqResourceQuery--    -- ** ResourceIdentifier-    , ResourceIdentifier-    , resourceIdentifier-    , riResourceType-    , riResourceARN--    -- ** ResourceQuery-    , ResourceQuery-    , resourceQuery-    , rqType-    , rqSearchQuery-    ) where--import Network.AWS.ResourceGroups.CreateGroup-import Network.AWS.ResourceGroups.DeleteGroup-import Network.AWS.ResourceGroups.GetGroup-import Network.AWS.ResourceGroups.GetGroupQuery-import Network.AWS.ResourceGroups.GetTags-import Network.AWS.ResourceGroups.ListGroupResources-import Network.AWS.ResourceGroups.ListGroups-import Network.AWS.ResourceGroups.SearchResources-import Network.AWS.ResourceGroups.Tag-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Untag-import Network.AWS.ResourceGroups.UpdateGroup-import Network.AWS.ResourceGroups.UpdateGroupQuery-import Network.AWS.ResourceGroups.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'ResourceGroups'.--}--{- $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.--}--{- $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.--}
− gen/Network/AWS/ResourceGroups/CreateGroup.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.CreateGroup--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a group with a specified name, description, and resource query.-------module Network.AWS.ResourceGroups.CreateGroup-    (-    -- * Creating a Request-      createGroup-    , CreateGroup-    -- * Request Lenses-    , cgDescription-    , cgTags-    , cgName-    , cgResourceQuery--    -- * Destructuring the Response-    , createGroupResponse-    , CreateGroupResponse-    -- * Response Lenses-    , cgrsGroup-    , cgrsResourceQuery-    , cgrsTags-    , cgrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'createGroup' smart constructor.-data CreateGroup = CreateGroup'-  { _cgDescription   :: !(Maybe Text)-  , _cgTags          :: !(Maybe (Map Text Text))-  , _cgName          :: !Text-  , _cgResourceQuery :: !ResourceQuery-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cgDescription' - The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.------ * 'cgTags' - The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.------ * 'cgName' - The name of the group, which is the identifier of the group in other operations. A resource group name cannot be updated after it is created. A resource group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with @AWS@ or @aws@ ; these are reserved. A resource group name must be unique within your account.------ * 'cgResourceQuery' - The resource query that determines which AWS resources are members of this group.-createGroup-    :: Text -- ^ 'cgName'-    -> ResourceQuery -- ^ 'cgResourceQuery'-    -> CreateGroup-createGroup pName_ pResourceQuery_ =-  CreateGroup'-    { _cgDescription = Nothing-    , _cgTags = Nothing-    , _cgName = pName_-    , _cgResourceQuery = pResourceQuery_-    }----- | The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.-cgDescription :: Lens' CreateGroup (Maybe Text)-cgDescription = lens _cgDescription (\ s a -> s{_cgDescription = a})---- | The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.-cgTags :: Lens' CreateGroup (HashMap Text Text)-cgTags = lens _cgTags (\ s a -> s{_cgTags = a}) . _Default . _Map---- | The name of the group, which is the identifier of the group in other operations. A resource group name cannot be updated after it is created. A resource group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with @AWS@ or @aws@ ; these are reserved. A resource group name must be unique within your account.-cgName :: Lens' CreateGroup Text-cgName = lens _cgName (\ s a -> s{_cgName = a})---- | The resource query that determines which AWS resources are members of this group.-cgResourceQuery :: Lens' CreateGroup ResourceQuery-cgResourceQuery = lens _cgResourceQuery (\ s a -> s{_cgResourceQuery = a})--instance AWSRequest CreateGroup where-        type Rs CreateGroup = CreateGroupResponse-        request = postJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 CreateGroupResponse' <$>-                   (x .?> "Group") <*> (x .?> "ResourceQuery") <*>-                     (x .?> "Tags" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable CreateGroup where--instance NFData CreateGroup where--instance ToHeaders CreateGroup where-        toHeaders = const mempty--instance ToJSON CreateGroup where-        toJSON CreateGroup'{..}-          = object-              (catMaybes-                 [("Description" .=) <$> _cgDescription,-                  ("Tags" .=) <$> _cgTags, Just ("Name" .= _cgName),-                  Just ("ResourceQuery" .= _cgResourceQuery)])--instance ToPath CreateGroup where-        toPath = const "/groups"--instance ToQuery CreateGroup where-        toQuery = const mempty---- | /See:/ 'createGroupResponse' smart constructor.-data CreateGroupResponse = CreateGroupResponse'-  { _cgrsGroup          :: !(Maybe Group)-  , _cgrsResourceQuery  :: !(Maybe ResourceQuery)-  , _cgrsTags           :: !(Maybe (Map Text Text))-  , _cgrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'CreateGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cgrsGroup' - A full description of the resource group after it is created.------ * 'cgrsResourceQuery' - The resource query associated with the group.------ * 'cgrsTags' - The tags associated with the group.------ * 'cgrsResponseStatus' - -- | The response status code.-createGroupResponse-    :: Int -- ^ 'cgrsResponseStatus'-    -> CreateGroupResponse-createGroupResponse pResponseStatus_ =-  CreateGroupResponse'-    { _cgrsGroup = Nothing-    , _cgrsResourceQuery = Nothing-    , _cgrsTags = Nothing-    , _cgrsResponseStatus = pResponseStatus_-    }----- | A full description of the resource group after it is created.-cgrsGroup :: Lens' CreateGroupResponse (Maybe Group)-cgrsGroup = lens _cgrsGroup (\ s a -> s{_cgrsGroup = a})---- | The resource query associated with the group.-cgrsResourceQuery :: Lens' CreateGroupResponse (Maybe ResourceQuery)-cgrsResourceQuery = lens _cgrsResourceQuery (\ s a -> s{_cgrsResourceQuery = a})---- | The tags associated with the group.-cgrsTags :: Lens' CreateGroupResponse (HashMap Text Text)-cgrsTags = lens _cgrsTags (\ s a -> s{_cgrsTags = a}) . _Default . _Map---- | -- | The response status code.-cgrsResponseStatus :: Lens' CreateGroupResponse Int-cgrsResponseStatus = lens _cgrsResponseStatus (\ s a -> s{_cgrsResponseStatus = a})--instance NFData CreateGroupResponse where
− gen/Network/AWS/ResourceGroups/DeleteGroup.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.DeleteGroup--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.-------module Network.AWS.ResourceGroups.DeleteGroup-    (-    -- * Creating a Request-      deleteGroup-    , DeleteGroup-    -- * Request Lenses-    , dgGroupName--    -- * Destructuring the Response-    , deleteGroupResponse-    , DeleteGroupResponse-    -- * Response Lenses-    , dgrsGroup-    , dgrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'deleteGroup' smart constructor.-newtype DeleteGroup = DeleteGroup'-  { _dgGroupName :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dgGroupName' - The name of the resource group to delete.-deleteGroup-    :: Text -- ^ 'dgGroupName'-    -> DeleteGroup-deleteGroup pGroupName_ = DeleteGroup' {_dgGroupName = pGroupName_}----- | The name of the resource group to delete.-dgGroupName :: Lens' DeleteGroup Text-dgGroupName = lens _dgGroupName (\ s a -> s{_dgGroupName = a})--instance AWSRequest DeleteGroup where-        type Rs DeleteGroup = DeleteGroupResponse-        request = delete resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 DeleteGroupResponse' <$>-                   (x .?> "Group") <*> (pure (fromEnum s)))--instance Hashable DeleteGroup where--instance NFData DeleteGroup where--instance ToHeaders DeleteGroup where-        toHeaders = const mempty--instance ToPath DeleteGroup where-        toPath DeleteGroup'{..}-          = mconcat ["/groups/", toBS _dgGroupName]--instance ToQuery DeleteGroup where-        toQuery = const mempty---- | /See:/ 'deleteGroupResponse' smart constructor.-data DeleteGroupResponse = DeleteGroupResponse'-  { _dgrsGroup          :: !(Maybe Group)-  , _dgrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'DeleteGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'dgrsGroup' - A full description of the deleted resource group.------ * 'dgrsResponseStatus' - -- | The response status code.-deleteGroupResponse-    :: Int -- ^ 'dgrsResponseStatus'-    -> DeleteGroupResponse-deleteGroupResponse pResponseStatus_ =-  DeleteGroupResponse'-    {_dgrsGroup = Nothing, _dgrsResponseStatus = pResponseStatus_}----- | A full description of the deleted resource group.-dgrsGroup :: Lens' DeleteGroupResponse (Maybe Group)-dgrsGroup = lens _dgrsGroup (\ s a -> s{_dgrsGroup = a})---- | -- | The response status code.-dgrsResponseStatus :: Lens' DeleteGroupResponse Int-dgrsResponseStatus = lens _dgrsResponseStatus (\ s a -> s{_dgrsResponseStatus = a})--instance NFData DeleteGroupResponse where
− gen/Network/AWS/ResourceGroups/GetGroup.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.GetGroup--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns information about a specified resource group.-------module Network.AWS.ResourceGroups.GetGroup-    (-    -- * Creating a Request-      getGroup-    , GetGroup-    -- * Request Lenses-    , ggGroupName--    -- * Destructuring the Response-    , getGroupResponse-    , GetGroupResponse-    -- * Response Lenses-    , ggrsGroup-    , ggrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'getGroup' smart constructor.-newtype GetGroup = GetGroup'-  { _ggGroupName :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ggGroupName' - The name of the resource group.-getGroup-    :: Text -- ^ 'ggGroupName'-    -> GetGroup-getGroup pGroupName_ = GetGroup' {_ggGroupName = pGroupName_}----- | The name of the resource group.-ggGroupName :: Lens' GetGroup Text-ggGroupName = lens _ggGroupName (\ s a -> s{_ggGroupName = a})--instance AWSRequest GetGroup where-        type Rs GetGroup = GetGroupResponse-        request = get resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 GetGroupResponse' <$>-                   (x .?> "Group") <*> (pure (fromEnum s)))--instance Hashable GetGroup where--instance NFData GetGroup where--instance ToHeaders GetGroup where-        toHeaders = const mempty--instance ToPath GetGroup where-        toPath GetGroup'{..}-          = mconcat ["/groups/", toBS _ggGroupName]--instance ToQuery GetGroup where-        toQuery = const mempty---- | /See:/ 'getGroupResponse' smart constructor.-data GetGroupResponse = GetGroupResponse'-  { _ggrsGroup          :: !(Maybe Group)-  , _ggrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ggrsGroup' - A full description of the resource group.------ * 'ggrsResponseStatus' - -- | The response status code.-getGroupResponse-    :: Int -- ^ 'ggrsResponseStatus'-    -> GetGroupResponse-getGroupResponse pResponseStatus_ =-  GetGroupResponse'-    {_ggrsGroup = Nothing, _ggrsResponseStatus = pResponseStatus_}----- | A full description of the resource group.-ggrsGroup :: Lens' GetGroupResponse (Maybe Group)-ggrsGroup = lens _ggrsGroup (\ s a -> s{_ggrsGroup = a})---- | -- | The response status code.-ggrsResponseStatus :: Lens' GetGroupResponse Int-ggrsResponseStatus = lens _ggrsResponseStatus (\ s a -> s{_ggrsResponseStatus = a})--instance NFData GetGroupResponse where
− gen/Network/AWS/ResourceGroups/GetGroupQuery.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.GetGroupQuery--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns the resource query associated with the specified resource group.-------module Network.AWS.ResourceGroups.GetGroupQuery-    (-    -- * Creating a Request-      getGroupQuery-    , GetGroupQuery-    -- * Request Lenses-    , ggqGroupName--    -- * Destructuring the Response-    , getGroupQueryResponse-    , GetGroupQueryResponse-    -- * Response Lenses-    , ggqrsGroupQuery-    , ggqrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'getGroupQuery' smart constructor.-newtype GetGroupQuery = GetGroupQuery'-  { _ggqGroupName :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetGroupQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ggqGroupName' - The name of the resource group.-getGroupQuery-    :: Text -- ^ 'ggqGroupName'-    -> GetGroupQuery-getGroupQuery pGroupName_ = GetGroupQuery' {_ggqGroupName = pGroupName_}----- | The name of the resource group.-ggqGroupName :: Lens' GetGroupQuery Text-ggqGroupName = lens _ggqGroupName (\ s a -> s{_ggqGroupName = a})--instance AWSRequest GetGroupQuery where-        type Rs GetGroupQuery = GetGroupQueryResponse-        request = get resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 GetGroupQueryResponse' <$>-                   (x .?> "GroupQuery") <*> (pure (fromEnum s)))--instance Hashable GetGroupQuery where--instance NFData GetGroupQuery where--instance ToHeaders GetGroupQuery where-        toHeaders = const mempty--instance ToPath GetGroupQuery where-        toPath GetGroupQuery'{..}-          = mconcat ["/groups/", toBS _ggqGroupName, "/query"]--instance ToQuery GetGroupQuery where-        toQuery = const mempty---- | /See:/ 'getGroupQueryResponse' smart constructor.-data GetGroupQueryResponse = GetGroupQueryResponse'-  { _ggqrsGroupQuery     :: !(Maybe GroupQuery)-  , _ggqrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetGroupQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ggqrsGroupQuery' - The resource query associated with the specified group.------ * 'ggqrsResponseStatus' - -- | The response status code.-getGroupQueryResponse-    :: Int -- ^ 'ggqrsResponseStatus'-    -> GetGroupQueryResponse-getGroupQueryResponse pResponseStatus_ =-  GetGroupQueryResponse'-    {_ggqrsGroupQuery = Nothing, _ggqrsResponseStatus = pResponseStatus_}----- | The resource query associated with the specified group.-ggqrsGroupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery)-ggqrsGroupQuery = lens _ggqrsGroupQuery (\ s a -> s{_ggqrsGroupQuery = a})---- | -- | The response status code.-ggqrsResponseStatus :: Lens' GetGroupQueryResponse Int-ggqrsResponseStatus = lens _ggqrsResponseStatus (\ s a -> s{_ggqrsResponseStatus = a})--instance NFData GetGroupQueryResponse where
− gen/Network/AWS/ResourceGroups/GetTags.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.GetTags--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of tags that are associated with a resource, specified by an ARN.-------module Network.AWS.ResourceGroups.GetTags-    (-    -- * Creating a Request-      getTags-    , GetTags-    -- * Request Lenses-    , gtARN--    -- * Destructuring the Response-    , getTagsResponse-    , GetTagsResponse-    -- * Response Lenses-    , gtrsARN-    , gtrsTags-    , gtrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'getTags' smart constructor.-newtype GetTags = GetTags'-  { _gtARN :: Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetTags' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gtARN' - The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.-getTags-    :: Text -- ^ 'gtARN'-    -> GetTags-getTags pARN_ = GetTags' {_gtARN = pARN_}----- | The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.-gtARN :: Lens' GetTags Text-gtARN = lens _gtARN (\ s a -> s{_gtARN = a})--instance AWSRequest GetTags where-        type Rs GetTags = GetTagsResponse-        request = get resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 GetTagsResponse' <$>-                   (x .?> "Arn") <*> (x .?> "Tags" .!@ mempty) <*>-                     (pure (fromEnum s)))--instance Hashable GetTags where--instance NFData GetTags where--instance ToHeaders GetTags where-        toHeaders = const mempty--instance ToPath GetTags where-        toPath GetTags'{..}-          = mconcat ["/resources/", toBS _gtARN, "/tags"]--instance ToQuery GetTags where-        toQuery = const mempty---- | /See:/ 'getTagsResponse' smart constructor.-data GetTagsResponse = GetTagsResponse'-  { _gtrsARN            :: !(Maybe Text)-  , _gtrsTags           :: !(Maybe (Map Text Text))-  , _gtrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GetTagsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gtrsARN' - The ARN of the tagged resource.------ * 'gtrsTags' - The tags associated with the specified resource.------ * 'gtrsResponseStatus' - -- | The response status code.-getTagsResponse-    :: Int -- ^ 'gtrsResponseStatus'-    -> GetTagsResponse-getTagsResponse pResponseStatus_ =-  GetTagsResponse'-    { _gtrsARN = Nothing-    , _gtrsTags = Nothing-    , _gtrsResponseStatus = pResponseStatus_-    }----- | The ARN of the tagged resource.-gtrsARN :: Lens' GetTagsResponse (Maybe Text)-gtrsARN = lens _gtrsARN (\ s a -> s{_gtrsARN = a})---- | The tags associated with the specified resource.-gtrsTags :: Lens' GetTagsResponse (HashMap Text Text)-gtrsTags = lens _gtrsTags (\ s a -> s{_gtrsTags = a}) . _Default . _Map---- | -- | The response status code.-gtrsResponseStatus :: Lens' GetTagsResponse Int-gtrsResponseStatus = lens _gtrsResponseStatus (\ s a -> s{_gtrsResponseStatus = a})--instance NFData GetTagsResponse where
− gen/Network/AWS/ResourceGroups/ListGroupResources.hs
@@ -1,171 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.ListGroupResources--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of ARNs of resources that are members of a specified resource group.------------ This operation returns paginated results.-module Network.AWS.ResourceGroups.ListGroupResources-    (-    -- * Creating a Request-      listGroupResources-    , ListGroupResources-    -- * Request Lenses-    , lgrNextToken-    , lgrMaxResults-    , lgrGroupName--    -- * Destructuring the Response-    , listGroupResourcesResponse-    , ListGroupResourcesResponse-    -- * Response Lenses-    , lgrrsNextToken-    , lgrrsResourceIdentifiers-    , lgrrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'listGroupResources' smart constructor.-data ListGroupResources = ListGroupResources'-  { _lgrNextToken  :: !(Maybe Text)-  , _lgrMaxResults :: !(Maybe Nat)-  , _lgrGroupName  :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupResources' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgrNextToken' - The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.------ * 'lgrMaxResults' - The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.------ * 'lgrGroupName' - The name of the resource group.-listGroupResources-    :: Text -- ^ 'lgrGroupName'-    -> ListGroupResources-listGroupResources pGroupName_ =-  ListGroupResources'-    { _lgrNextToken = Nothing-    , _lgrMaxResults = Nothing-    , _lgrGroupName = pGroupName_-    }----- | The NextToken value that is returned in a paginated ListGroupResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.-lgrNextToken :: Lens' ListGroupResources (Maybe Text)-lgrNextToken = lens _lgrNextToken (\ s a -> s{_lgrNextToken = a})---- | The maximum number of group member ARNs that are returned in a single call by ListGroupResources, in paginated output. By default, this number is 50.-lgrMaxResults :: Lens' ListGroupResources (Maybe Natural)-lgrMaxResults = lens _lgrMaxResults (\ s a -> s{_lgrMaxResults = a}) . mapping _Nat---- | The name of the resource group.-lgrGroupName :: Lens' ListGroupResources Text-lgrGroupName = lens _lgrGroupName (\ s a -> s{_lgrGroupName = a})--instance AWSPager ListGroupResources where-        page rq rs-          | stop (rs ^. lgrrsNextToken) = Nothing-          | stop (rs ^. lgrrsResourceIdentifiers) = Nothing-          | otherwise =-            Just $ rq & lgrNextToken .~ rs ^. lgrrsNextToken--instance AWSRequest ListGroupResources where-        type Rs ListGroupResources =-             ListGroupResourcesResponse-        request = get resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 ListGroupResourcesResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ResourceIdentifiers" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable ListGroupResources where--instance NFData ListGroupResources where--instance ToHeaders ListGroupResources where-        toHeaders = const mempty--instance ToPath ListGroupResources where-        toPath ListGroupResources'{..}-          = mconcat-              ["/groups/", toBS _lgrGroupName,-               "/resource-identifiers"]--instance ToQuery ListGroupResources where-        toQuery ListGroupResources'{..}-          = mconcat-              ["nextToken" =: _lgrNextToken,-               "maxResults" =: _lgrMaxResults]---- | /See:/ 'listGroupResourcesResponse' smart constructor.-data ListGroupResourcesResponse = ListGroupResourcesResponse'-  { _lgrrsNextToken           :: !(Maybe Text)-  , _lgrrsResourceIdentifiers :: !(Maybe [ResourceIdentifier])-  , _lgrrsResponseStatus      :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupResourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgrrsNextToken' - The NextToken value to include in a subsequent @ListGroupResources@ request, to get more results.------ * 'lgrrsResourceIdentifiers' - The ARNs and resource types of resources that are members of the group that you specified.------ * 'lgrrsResponseStatus' - -- | The response status code.-listGroupResourcesResponse-    :: Int -- ^ 'lgrrsResponseStatus'-    -> ListGroupResourcesResponse-listGroupResourcesResponse pResponseStatus_ =-  ListGroupResourcesResponse'-    { _lgrrsNextToken = Nothing-    , _lgrrsResourceIdentifiers = Nothing-    , _lgrrsResponseStatus = pResponseStatus_-    }----- | The NextToken value to include in a subsequent @ListGroupResources@ request, to get more results.-lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text)-lgrrsNextToken = lens _lgrrsNextToken (\ s a -> s{_lgrrsNextToken = a})---- | The ARNs and resource types of resources that are members of the group that you specified.-lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier]-lgrrsResourceIdentifiers = lens _lgrrsResourceIdentifiers (\ s a -> s{_lgrrsResourceIdentifiers = a}) . _Default . _Coerce---- | -- | The response status code.-lgrrsResponseStatus :: Lens' ListGroupResourcesResponse Int-lgrrsResponseStatus = lens _lgrrsResponseStatus (\ s a -> s{_lgrrsResponseStatus = a})--instance NFData ListGroupResourcesResponse where
− gen/Network/AWS/ResourceGroups/ListGroups.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.ListGroups--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of existing resource groups in your account.------------ This operation returns paginated results.-module Network.AWS.ResourceGroups.ListGroups-    (-    -- * Creating a Request-      listGroups-    , ListGroups-    -- * Request Lenses-    , lgNextToken-    , lgMaxResults--    -- * Destructuring the Response-    , listGroupsResponse-    , ListGroupsResponse-    -- * Response Lenses-    , lgrsGroups-    , lgrsNextToken-    , lgrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'listGroups' smart constructor.-data ListGroups = ListGroups'-  { _lgNextToken  :: !(Maybe Text)-  , _lgMaxResults :: !(Maybe Nat)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroups' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgNextToken' - The NextToken value that is returned in a paginated @ListGroups@ request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.------ * 'lgMaxResults' - The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.-listGroups-    :: ListGroups-listGroups = ListGroups' {_lgNextToken = Nothing, _lgMaxResults = Nothing}----- | The NextToken value that is returned in a paginated @ListGroups@ request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.-lgNextToken :: Lens' ListGroups (Maybe Text)-lgNextToken = lens _lgNextToken (\ s a -> s{_lgNextToken = a})---- | The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.-lgMaxResults :: Lens' ListGroups (Maybe Natural)-lgMaxResults = lens _lgMaxResults (\ s a -> s{_lgMaxResults = a}) . mapping _Nat--instance AWSPager ListGroups where-        page rq rs-          | stop (rs ^. lgrsNextToken) = Nothing-          | stop (rs ^. lgrsGroups) = Nothing-          | otherwise =-            Just $ rq & lgNextToken .~ rs ^. lgrsNextToken--instance AWSRequest ListGroups where-        type Rs ListGroups = ListGroupsResponse-        request = get resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 ListGroupsResponse' <$>-                   (x .?> "Groups" .!@ mempty) <*> (x .?> "NextToken")-                     <*> (pure (fromEnum s)))--instance Hashable ListGroups where--instance NFData ListGroups where--instance ToHeaders ListGroups where-        toHeaders = const mempty--instance ToPath ListGroups where-        toPath = const "/groups"--instance ToQuery ListGroups where-        toQuery ListGroups'{..}-          = mconcat-              ["nextToken" =: _lgNextToken,-               "maxResults" =: _lgMaxResults]---- | /See:/ 'listGroupsResponse' smart constructor.-data ListGroupsResponse = ListGroupsResponse'-  { _lgrsGroups         :: !(Maybe [Group])-  , _lgrsNextToken      :: !(Maybe Text)-  , _lgrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ListGroupsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lgrsGroups' - A list of resource groups.------ * 'lgrsNextToken' - The NextToken value to include in a subsequent @ListGroups@ request, to get more results.------ * 'lgrsResponseStatus' - -- | The response status code.-listGroupsResponse-    :: Int -- ^ 'lgrsResponseStatus'-    -> ListGroupsResponse-listGroupsResponse pResponseStatus_ =-  ListGroupsResponse'-    { _lgrsGroups = Nothing-    , _lgrsNextToken = Nothing-    , _lgrsResponseStatus = pResponseStatus_-    }----- | A list of resource groups.-lgrsGroups :: Lens' ListGroupsResponse [Group]-lgrsGroups = lens _lgrsGroups (\ s a -> s{_lgrsGroups = a}) . _Default . _Coerce---- | The NextToken value to include in a subsequent @ListGroups@ request, to get more results.-lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text)-lgrsNextToken = lens _lgrsNextToken (\ s a -> s{_lgrsNextToken = a})---- | -- | The response status code.-lgrsResponseStatus :: Lens' ListGroupsResponse Int-lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a})--instance NFData ListGroupsResponse where
− gen/Network/AWS/ResourceGroups/SearchResources.hs
@@ -1,172 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.SearchResources--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of AWS resource identifiers that matches a specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.------------ This operation returns paginated results.-module Network.AWS.ResourceGroups.SearchResources-    (-    -- * Creating a Request-      searchResources-    , SearchResources-    -- * Request Lenses-    , srNextToken-    , srMaxResults-    , srResourceQuery--    -- * Destructuring the Response-    , searchResourcesResponse-    , SearchResourcesResponse-    -- * Response Lenses-    , srrsNextToken-    , srrsResourceIdentifiers-    , srrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Pager-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'searchResources' smart constructor.-data SearchResources = SearchResources'-  { _srNextToken     :: !(Maybe Text)-  , _srMaxResults    :: !(Maybe Nat)-  , _srResourceQuery :: !ResourceQuery-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SearchResources' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srNextToken' - The NextToken value that is returned in a paginated @SearchResources@ request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.------ * 'srMaxResults' - The maximum number of group member ARNs returned by @SearchResources@ in paginated output. By default, this number is 50.------ * 'srResourceQuery' - The search query, using the same formats that are supported for resource group definition.-searchResources-    :: ResourceQuery -- ^ 'srResourceQuery'-    -> SearchResources-searchResources pResourceQuery_ =-  SearchResources'-    { _srNextToken = Nothing-    , _srMaxResults = Nothing-    , _srResourceQuery = pResourceQuery_-    }----- | The NextToken value that is returned in a paginated @SearchResources@ request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.-srNextToken :: Lens' SearchResources (Maybe Text)-srNextToken = lens _srNextToken (\ s a -> s{_srNextToken = a})---- | The maximum number of group member ARNs returned by @SearchResources@ in paginated output. By default, this number is 50.-srMaxResults :: Lens' SearchResources (Maybe Natural)-srMaxResults = lens _srMaxResults (\ s a -> s{_srMaxResults = a}) . mapping _Nat---- | The search query, using the same formats that are supported for resource group definition.-srResourceQuery :: Lens' SearchResources ResourceQuery-srResourceQuery = lens _srResourceQuery (\ s a -> s{_srResourceQuery = a})--instance AWSPager SearchResources where-        page rq rs-          | stop (rs ^. srrsNextToken) = Nothing-          | stop (rs ^. srrsResourceIdentifiers) = Nothing-          | otherwise =-            Just $ rq & srNextToken .~ rs ^. srrsNextToken--instance AWSRequest SearchResources where-        type Rs SearchResources = SearchResourcesResponse-        request = postJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 SearchResourcesResponse' <$>-                   (x .?> "NextToken") <*>-                     (x .?> "ResourceIdentifiers" .!@ mempty)-                     <*> (pure (fromEnum s)))--instance Hashable SearchResources where--instance NFData SearchResources where--instance ToHeaders SearchResources where-        toHeaders = const mempty--instance ToJSON SearchResources where-        toJSON SearchResources'{..}-          = object-              (catMaybes-                 [("NextToken" .=) <$> _srNextToken,-                  ("MaxResults" .=) <$> _srMaxResults,-                  Just ("ResourceQuery" .= _srResourceQuery)])--instance ToPath SearchResources where-        toPath = const "/resources/search"--instance ToQuery SearchResources where-        toQuery = const mempty---- | /See:/ 'searchResourcesResponse' smart constructor.-data SearchResourcesResponse = SearchResourcesResponse'-  { _srrsNextToken           :: !(Maybe Text)-  , _srrsResourceIdentifiers :: !(Maybe [ResourceIdentifier])-  , _srrsResponseStatus      :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'SearchResourcesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srrsNextToken' - The NextToken value to include in a subsequent @SearchResources@ request, to get more results.------ * 'srrsResourceIdentifiers' - The ARNs and resource types of resources that are members of the group that you specified.------ * 'srrsResponseStatus' - -- | The response status code.-searchResourcesResponse-    :: Int -- ^ 'srrsResponseStatus'-    -> SearchResourcesResponse-searchResourcesResponse pResponseStatus_ =-  SearchResourcesResponse'-    { _srrsNextToken = Nothing-    , _srrsResourceIdentifiers = Nothing-    , _srrsResponseStatus = pResponseStatus_-    }----- | The NextToken value to include in a subsequent @SearchResources@ request, to get more results.-srrsNextToken :: Lens' SearchResourcesResponse (Maybe Text)-srrsNextToken = lens _srrsNextToken (\ s a -> s{_srrsNextToken = a})---- | The ARNs and resource types of resources that are members of the group that you specified.-srrsResourceIdentifiers :: Lens' SearchResourcesResponse [ResourceIdentifier]-srrsResourceIdentifiers = lens _srrsResourceIdentifiers (\ s a -> s{_srrsResourceIdentifiers = a}) . _Default . _Coerce---- | -- | The response status code.-srrsResponseStatus :: Lens' SearchResourcesResponse Int-srrsResponseStatus = lens _srrsResponseStatus (\ s a -> s{_srrsResponseStatus = a})--instance NFData SearchResourcesResponse where
− gen/Network/AWS/ResourceGroups/Tag.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Tag--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.-------module Network.AWS.ResourceGroups.Tag-    (-    -- * Creating a Request-      tag-    , Tag-    -- * Request Lenses-    , tagARN-    , tagTags--    -- * Destructuring the Response-    , tagResponse-    , TagResponse-    -- * Response Lenses-    , tagrsARN-    , tagrsTags-    , tagrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'tag' smart constructor.-data Tag = Tag'-  { _tagARN  :: !Text-  , _tagTags :: !(Map Text Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Tag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tagARN' - The ARN of the resource to which to add tags.------ * 'tagTags' - The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.-tag-    :: Text -- ^ 'tagARN'-    -> Tag-tag pARN_ = Tag' {_tagARN = pARN_, _tagTags = mempty}----- | The ARN of the resource to which to add tags.-tagARN :: Lens' Tag Text-tagARN = lens _tagARN (\ s a -> s{_tagARN = a})---- | The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.-tagTags :: Lens' Tag (HashMap Text Text)-tagTags = lens _tagTags (\ s a -> s{_tagTags = a}) . _Map--instance AWSRequest Tag where-        type Rs Tag = TagResponse-        request = putJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 TagResponse' <$>-                   (x .?> "Arn") <*> (x .?> "Tags" .!@ mempty) <*>-                     (pure (fromEnum s)))--instance Hashable Tag where--instance NFData Tag where--instance ToHeaders Tag where-        toHeaders = const mempty--instance ToJSON Tag where-        toJSON Tag'{..}-          = object (catMaybes [Just ("Tags" .= _tagTags)])--instance ToPath Tag where-        toPath Tag'{..}-          = mconcat ["/resources/", toBS _tagARN, "/tags"]--instance ToQuery Tag where-        toQuery = const mempty---- | /See:/ 'tagResponse' smart constructor.-data TagResponse = TagResponse'-  { _tagrsARN            :: !(Maybe Text)-  , _tagrsTags           :: !(Maybe (Map Text Text))-  , _tagrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TagResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tagrsARN' - The ARN of the tagged resource.------ * 'tagrsTags' - The tags that have been added to the specified resource.------ * 'tagrsResponseStatus' - -- | The response status code.-tagResponse-    :: Int -- ^ 'tagrsResponseStatus'-    -> TagResponse-tagResponse pResponseStatus_ =-  TagResponse'-    { _tagrsARN = Nothing-    , _tagrsTags = Nothing-    , _tagrsResponseStatus = pResponseStatus_-    }----- | The ARN of the tagged resource.-tagrsARN :: Lens' TagResponse (Maybe Text)-tagrsARN = lens _tagrsARN (\ s a -> s{_tagrsARN = a})---- | The tags that have been added to the specified resource.-tagrsTags :: Lens' TagResponse (HashMap Text Text)-tagrsTags = lens _tagrsTags (\ s a -> s{_tagrsTags = a}) . _Default . _Map---- | -- | The response status code.-tagrsResponseStatus :: Lens' TagResponse Int-tagrsResponseStatus = lens _tagrsResponseStatus (\ s a -> s{_tagrsResponseStatus = a})--instance NFData TagResponse where
− gen/Network/AWS/ResourceGroups/Types.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Types--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.ResourceGroups.Types-    (-    -- * Service Configuration-      resourceGroups--    -- * Errors-    , _ForbiddenException-    , _NotFoundException-    , _TooManyRequestsException-    , _InternalServerErrorException-    , _MethodNotAllowedException-    , _UnauthorizedException-    , _BadRequestException--    -- * QueryType-    , QueryType (..)--    -- * Group-    , Group-    , group'-    , gDescription-    , gGroupARN-    , gName--    -- * GroupQuery-    , GroupQuery-    , groupQuery-    , gqGroupName-    , gqResourceQuery--    -- * ResourceIdentifier-    , ResourceIdentifier-    , resourceIdentifier-    , riResourceType-    , riResourceARN--    -- * ResourceQuery-    , ResourceQuery-    , resourceQuery-    , rqType-    , rqSearchQuery-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.ResourceGroups.Types.Sum-import Network.AWS.Sign.V4---- | API version @2017-11-27@ of the Amazon Resource Groups SDK configuration.-resourceGroups :: Service-resourceGroups =-  Service-    { _svcAbbrev = "ResourceGroups"-    , _svcSigner = v4-    , _svcPrefix = "resource-groups"-    , _svcVersion = "2017-11-27"-    , _svcEndpoint = defaultEndpoint resourceGroups-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "ResourceGroups"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | The caller is not authorized to make the request.-------_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError-_ForbiddenException =-  _MatchServiceError resourceGroups "ForbiddenException" . hasStatus 403----- | One or more resources specified in the request do not exist.-------_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError-_NotFoundException =-  _MatchServiceError resourceGroups "NotFoundException" . hasStatus 404----- | The caller has exceeded throttling limits.-------_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyRequestsException =-  _MatchServiceError resourceGroups "TooManyRequestsException" . hasStatus 429----- | An internal error occurred while processing the request.-------_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServerErrorException =-  _MatchServiceError resourceGroups "InternalServerErrorException" .-  hasStatus 500----- | The request uses an HTTP method which is not allowed for the specified resource.-------_MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError-_MethodNotAllowedException =-  _MatchServiceError resourceGroups "MethodNotAllowedException" . hasStatus 405----- | The request has not been applied because it lacks valid authentication credentials for the target resource.-------_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError-_UnauthorizedException =-  _MatchServiceError resourceGroups "UnauthorizedException" . hasStatus 401----- | The request does not comply with validation rules that are defined for the request parameters.-------_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError-_BadRequestException =-  _MatchServiceError resourceGroups "BadRequestException" . hasStatus 400-
− gen/Network/AWS/ResourceGroups/Types/Product.hs
@@ -1,214 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Types.Product--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.ResourceGroups.Types.Product where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ResourceGroups.Types.Sum---- | A resource group.------------ /See:/ 'group'' smart constructor.-data Group = Group'-  { _gDescription :: !(Maybe Text)-  , _gGroupARN    :: !Text-  , _gName        :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Group' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gDescription' - The description of the resource group.------ * 'gGroupARN' - The ARN of a resource group.------ * 'gName' - The name of a resource group.-group'-    :: Text -- ^ 'gGroupARN'-    -> Text -- ^ 'gName'-    -> Group-group' pGroupARN_ pName_ =-  Group' {_gDescription = Nothing, _gGroupARN = pGroupARN_, _gName = pName_}----- | The description of the resource group.-gDescription :: Lens' Group (Maybe Text)-gDescription = lens _gDescription (\ s a -> s{_gDescription = a})---- | The ARN of a resource group.-gGroupARN :: Lens' Group Text-gGroupARN = lens _gGroupARN (\ s a -> s{_gGroupARN = a})---- | The name of a resource group.-gName :: Lens' Group Text-gName = lens _gName (\ s a -> s{_gName = a})--instance FromJSON Group where-        parseJSON-          = withObject "Group"-              (\ x ->-                 Group' <$>-                   (x .:? "Description") <*> (x .: "GroupArn") <*>-                     (x .: "Name"))--instance Hashable Group where--instance NFData Group where---- | The underlying resource query of a resource group. Resources that match query results are part of the group.------------ /See:/ 'groupQuery' smart constructor.-data GroupQuery = GroupQuery'-  { _gqGroupName     :: !Text-  , _gqResourceQuery :: !ResourceQuery-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'GroupQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gqGroupName' - The name of a resource group that is associated with a specific resource query.------ * 'gqResourceQuery' - The resource query which determines which AWS resources are members of the associated resource group.-groupQuery-    :: Text -- ^ 'gqGroupName'-    -> ResourceQuery -- ^ 'gqResourceQuery'-    -> GroupQuery-groupQuery pGroupName_ pResourceQuery_ =-  GroupQuery' {_gqGroupName = pGroupName_, _gqResourceQuery = pResourceQuery_}----- | The name of a resource group that is associated with a specific resource query.-gqGroupName :: Lens' GroupQuery Text-gqGroupName = lens _gqGroupName (\ s a -> s{_gqGroupName = a})---- | The resource query which determines which AWS resources are members of the associated resource group.-gqResourceQuery :: Lens' GroupQuery ResourceQuery-gqResourceQuery = lens _gqResourceQuery (\ s a -> s{_gqResourceQuery = a})--instance FromJSON GroupQuery where-        parseJSON-          = withObject "GroupQuery"-              (\ x ->-                 GroupQuery' <$>-                   (x .: "GroupName") <*> (x .: "ResourceQuery"))--instance Hashable GroupQuery where--instance NFData GroupQuery where---- | The ARN of a resource, and its resource type.------------ /See:/ 'resourceIdentifier' smart constructor.-data ResourceIdentifier = ResourceIdentifier'-  { _riResourceType :: !(Maybe Text)-  , _riResourceARN  :: !(Maybe Text)-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ResourceIdentifier' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'riResourceType' - The resource type of a resource, such as @AWS::EC2::Instance@ .------ * 'riResourceARN' - The ARN of a resource.-resourceIdentifier-    :: ResourceIdentifier-resourceIdentifier =-  ResourceIdentifier' {_riResourceType = Nothing, _riResourceARN = Nothing}----- | The resource type of a resource, such as @AWS::EC2::Instance@ .-riResourceType :: Lens' ResourceIdentifier (Maybe Text)-riResourceType = lens _riResourceType (\ s a -> s{_riResourceType = a})---- | The ARN of a resource.-riResourceARN :: Lens' ResourceIdentifier (Maybe Text)-riResourceARN = lens _riResourceARN (\ s a -> s{_riResourceARN = a})--instance FromJSON ResourceIdentifier where-        parseJSON-          = withObject "ResourceIdentifier"-              (\ x ->-                 ResourceIdentifier' <$>-                   (x .:? "ResourceType") <*> (x .:? "ResourceArn"))--instance Hashable ResourceIdentifier where--instance NFData ResourceIdentifier where---- | The query that is used to define a resource group or a search for resources.------------ /See:/ 'resourceQuery' smart constructor.-data ResourceQuery = ResourceQuery'-  { _rqType        :: !QueryType-  , _rqSearchQuery :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'ResourceQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rqType' - The type of the query. The valid value in this release is @TAG_FILTERS_1_0@ . /@TAG_FILTERS_1_0:@ / A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element is present, only resources that match all filters are part of the result. If a filter specifies more than one value for a key, a resource matches the filter if its tag value matches any of the specified values.------ * 'rqSearchQuery' - The query that defines a group or a search.-resourceQuery-    :: QueryType -- ^ 'rqType'-    -> Text -- ^ 'rqSearchQuery'-    -> ResourceQuery-resourceQuery pType_ pSearchQuery_ =-  ResourceQuery' {_rqType = pType_, _rqSearchQuery = pSearchQuery_}----- | The type of the query. The valid value in this release is @TAG_FILTERS_1_0@ . /@TAG_FILTERS_1_0:@ / A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element is present, only resources that match all filters are part of the result. If a filter specifies more than one value for a key, a resource matches the filter if its tag value matches any of the specified values.-rqType :: Lens' ResourceQuery QueryType-rqType = lens _rqType (\ s a -> s{_rqType = a})---- | The query that defines a group or a search.-rqSearchQuery :: Lens' ResourceQuery Text-rqSearchQuery = lens _rqSearchQuery (\ s a -> s{_rqSearchQuery = a})--instance FromJSON ResourceQuery where-        parseJSON-          = withObject "ResourceQuery"-              (\ x ->-                 ResourceQuery' <$> (x .: "Type") <*> (x .: "Query"))--instance Hashable ResourceQuery where--instance NFData ResourceQuery where--instance ToJSON ResourceQuery where-        toJSON ResourceQuery'{..}-          = object-              (catMaybes-                 [Just ("Type" .= _rqType),-                  Just ("Query" .= _rqSearchQuery)])
− gen/Network/AWS/ResourceGroups/Types/Sum.hs
@@ -1,47 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Types.Sum--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.ResourceGroups.Types.Sum where--import Network.AWS.Prelude--data QueryType =-  TagFilters10-  deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)---instance FromText QueryType where-    parser = takeLowerText >>= \case-        "tag_filters_1_0" -> pure TagFilters10-        e -> fromTextError $ "Failure parsing QueryType from value: '" <> e-           <> "'. Accepted values: tag_filters_1_0"--instance ToText QueryType where-    toText = \case-        TagFilters10 -> "TAG_FILTERS_1_0"--instance Hashable     QueryType-instance NFData       QueryType-instance ToByteString QueryType-instance ToQuery      QueryType-instance ToHeader     QueryType--instance ToJSON QueryType where-    toJSON = toJSONText--instance FromJSON QueryType where-    parseJSON = parseJSONText "QueryType"
− gen/Network/AWS/ResourceGroups/Untag.hs
@@ -1,145 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Untag--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes specified tags from a specified resource.-------module Network.AWS.ResourceGroups.Untag-    (-    -- * Creating a Request-      untag-    , Untag-    -- * Request Lenses-    , uARN-    , uKeys--    -- * Destructuring the Response-    , untagResponse-    , UntagResponse-    -- * Response Lenses-    , ursARN-    , ursKeys-    , ursResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'untag' smart constructor.-data Untag = Untag'-  { _uARN  :: !Text-  , _uKeys :: ![Text]-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'Untag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uARN' - The ARN of the resource from which to remove tags.------ * 'uKeys' - The keys of the tags to be removed.-untag-    :: Text -- ^ 'uARN'-    -> Untag-untag pARN_ = Untag' {_uARN = pARN_, _uKeys = mempty}----- | The ARN of the resource from which to remove tags.-uARN :: Lens' Untag Text-uARN = lens _uARN (\ s a -> s{_uARN = a})---- | The keys of the tags to be removed.-uKeys :: Lens' Untag [Text]-uKeys = lens _uKeys (\ s a -> s{_uKeys = a}) . _Coerce--instance AWSRequest Untag where-        type Rs Untag = UntagResponse-        request = patchJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 UntagResponse' <$>-                   (x .?> "Arn") <*> (x .?> "Keys" .!@ mempty) <*>-                     (pure (fromEnum s)))--instance Hashable Untag where--instance NFData Untag where--instance ToHeaders Untag where-        toHeaders = const mempty--instance ToJSON Untag where-        toJSON Untag'{..}-          = object (catMaybes [Just ("Keys" .= _uKeys)])--instance ToPath Untag where-        toPath Untag'{..}-          = mconcat ["/resources/", toBS _uARN, "/tags"]--instance ToQuery Untag where-        toQuery = const mempty---- | /See:/ 'untagResponse' smart constructor.-data UntagResponse = UntagResponse'-  { _ursARN            :: !(Maybe Text)-  , _ursKeys           :: !(Maybe [Text])-  , _ursResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UntagResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ursARN' - The ARN of the resource from which tags have been removed.------ * 'ursKeys' - The keys of tags that have been removed.------ * 'ursResponseStatus' - -- | The response status code.-untagResponse-    :: Int -- ^ 'ursResponseStatus'-    -> UntagResponse-untagResponse pResponseStatus_ =-  UntagResponse'-    { _ursARN = Nothing-    , _ursKeys = Nothing-    , _ursResponseStatus = pResponseStatus_-    }----- | The ARN of the resource from which tags have been removed.-ursARN :: Lens' UntagResponse (Maybe Text)-ursARN = lens _ursARN (\ s a -> s{_ursARN = a})---- | The keys of tags that have been removed.-ursKeys :: Lens' UntagResponse [Text]-ursKeys = lens _ursKeys (\ s a -> s{_ursKeys = a}) . _Default . _Coerce---- | -- | The response status code.-ursResponseStatus :: Lens' UntagResponse Int-ursResponseStatus = lens _ursResponseStatus (\ s a -> s{_ursResponseStatus = a})--instance NFData UntagResponse where
− gen/Network/AWS/ResourceGroups/UpdateGroup.hs
@@ -1,135 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.UpdateGroup--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates an existing group with a new or changed description. You cannot update the name of a resource group.-------module Network.AWS.ResourceGroups.UpdateGroup-    (-    -- * Creating a Request-      updateGroup-    , UpdateGroup-    -- * Request Lenses-    , ugDescription-    , ugGroupName--    -- * Destructuring the Response-    , updateGroupResponse-    , UpdateGroupResponse-    -- * Response Lenses-    , ugrsGroup-    , ugrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'updateGroup' smart constructor.-data UpdateGroup = UpdateGroup'-  { _ugDescription :: !(Maybe Text)-  , _ugGroupName   :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateGroup' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ugDescription' - The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.------ * 'ugGroupName' - The name of the resource group for which you want to update its description.-updateGroup-    :: Text -- ^ 'ugGroupName'-    -> UpdateGroup-updateGroup pGroupName_ =-  UpdateGroup' {_ugDescription = Nothing, _ugGroupName = pGroupName_}----- | The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.-ugDescription :: Lens' UpdateGroup (Maybe Text)-ugDescription = lens _ugDescription (\ s a -> s{_ugDescription = a})---- | The name of the resource group for which you want to update its description.-ugGroupName :: Lens' UpdateGroup Text-ugGroupName = lens _ugGroupName (\ s a -> s{_ugGroupName = a})--instance AWSRequest UpdateGroup where-        type Rs UpdateGroup = UpdateGroupResponse-        request = putJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 UpdateGroupResponse' <$>-                   (x .?> "Group") <*> (pure (fromEnum s)))--instance Hashable UpdateGroup where--instance NFData UpdateGroup where--instance ToHeaders UpdateGroup where-        toHeaders = const mempty--instance ToJSON UpdateGroup where-        toJSON UpdateGroup'{..}-          = object-              (catMaybes [("Description" .=) <$> _ugDescription])--instance ToPath UpdateGroup where-        toPath UpdateGroup'{..}-          = mconcat ["/groups/", toBS _ugGroupName]--instance ToQuery UpdateGroup where-        toQuery = const mempty---- | /See:/ 'updateGroupResponse' smart constructor.-data UpdateGroupResponse = UpdateGroupResponse'-  { _ugrsGroup          :: !(Maybe Group)-  , _ugrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateGroupResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ugrsGroup' - The full description of the resource group after it has been updated.------ * 'ugrsResponseStatus' - -- | The response status code.-updateGroupResponse-    :: Int -- ^ 'ugrsResponseStatus'-    -> UpdateGroupResponse-updateGroupResponse pResponseStatus_ =-  UpdateGroupResponse'-    {_ugrsGroup = Nothing, _ugrsResponseStatus = pResponseStatus_}----- | The full description of the resource group after it has been updated.-ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group)-ugrsGroup = lens _ugrsGroup (\ s a -> s{_ugrsGroup = a})---- | -- | The response status code.-ugrsResponseStatus :: Lens' UpdateGroupResponse Int-ugrsResponseStatus = lens _ugrsResponseStatus (\ s a -> s{_ugrsResponseStatus = a})--instance NFData UpdateGroupResponse where
− gen/Network/AWS/ResourceGroups/UpdateGroupQuery.hs
@@ -1,138 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.UpdateGroupQuery--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the resource query of a group.-------module Network.AWS.ResourceGroups.UpdateGroupQuery-    (-    -- * Creating a Request-      updateGroupQuery-    , UpdateGroupQuery-    -- * Request Lenses-    , ugqGroupName-    , ugqResourceQuery--    -- * Destructuring the Response-    , updateGroupQueryResponse-    , UpdateGroupQueryResponse-    -- * Response Lenses-    , ugqrsGroupQuery-    , ugqrsResponseStatus-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.ResourceGroups.Types-import Network.AWS.ResourceGroups.Types.Product-import Network.AWS.Response---- | /See:/ 'updateGroupQuery' smart constructor.-data UpdateGroupQuery = UpdateGroupQuery'-  { _ugqGroupName     :: !Text-  , _ugqResourceQuery :: !ResourceQuery-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateGroupQuery' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ugqGroupName' - The name of the resource group for which you want to edit the query.------ * 'ugqResourceQuery' - The resource query that determines which AWS resources are members of the resource group.-updateGroupQuery-    :: Text -- ^ 'ugqGroupName'-    -> ResourceQuery -- ^ 'ugqResourceQuery'-    -> UpdateGroupQuery-updateGroupQuery pGroupName_ pResourceQuery_ =-  UpdateGroupQuery'-    {_ugqGroupName = pGroupName_, _ugqResourceQuery = pResourceQuery_}----- | The name of the resource group for which you want to edit the query.-ugqGroupName :: Lens' UpdateGroupQuery Text-ugqGroupName = lens _ugqGroupName (\ s a -> s{_ugqGroupName = a})---- | The resource query that determines which AWS resources are members of the resource group.-ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery-ugqResourceQuery = lens _ugqResourceQuery (\ s a -> s{_ugqResourceQuery = a})--instance AWSRequest UpdateGroupQuery where-        type Rs UpdateGroupQuery = UpdateGroupQueryResponse-        request = putJSON resourceGroups-        response-          = receiveJSON-              (\ s h x ->-                 UpdateGroupQueryResponse' <$>-                   (x .?> "GroupQuery") <*> (pure (fromEnum s)))--instance Hashable UpdateGroupQuery where--instance NFData UpdateGroupQuery where--instance ToHeaders UpdateGroupQuery where-        toHeaders = const mempty--instance ToJSON UpdateGroupQuery where-        toJSON UpdateGroupQuery'{..}-          = object-              (catMaybes-                 [Just ("ResourceQuery" .= _ugqResourceQuery)])--instance ToPath UpdateGroupQuery where-        toPath UpdateGroupQuery'{..}-          = mconcat ["/groups/", toBS _ugqGroupName, "/query"]--instance ToQuery UpdateGroupQuery where-        toQuery = const mempty---- | /See:/ 'updateGroupQueryResponse' smart constructor.-data UpdateGroupQueryResponse = UpdateGroupQueryResponse'-  { _ugqrsGroupQuery     :: !(Maybe GroupQuery)-  , _ugqrsResponseStatus :: !Int-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'UpdateGroupQueryResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ugqrsGroupQuery' - The resource query associated with the resource group after the update.------ * 'ugqrsResponseStatus' - -- | The response status code.-updateGroupQueryResponse-    :: Int -- ^ 'ugqrsResponseStatus'-    -> UpdateGroupQueryResponse-updateGroupQueryResponse pResponseStatus_ =-  UpdateGroupQueryResponse'-    {_ugqrsGroupQuery = Nothing, _ugqrsResponseStatus = pResponseStatus_}----- | The resource query associated with the resource group after the update.-ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery)-ugqrsGroupQuery = lens _ugqrsGroupQuery (\ s a -> s{_ugqrsGroupQuery = a})---- | -- | The response status code.-ugqrsResponseStatus :: Lens' UpdateGroupQueryResponse Int-ugqrsResponseStatus = lens _ugqrsResponseStatus (\ s a -> s{_ugqrsResponseStatus = a})--instance NFData UpdateGroupQueryResponse where
− gen/Network/AWS/ResourceGroups/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.ResourceGroups.Waiters--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.ResourceGroups.Waiters where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ResourceGroups.Types-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.ResourceGroups+import Test.Amazonka.ResourceGroups.Internal import Test.Tasty-import Test.AWS.ResourceGroups-import Test.AWS.ResourceGroups.Internal  main :: IO ()-main = defaultMain $ testGroup "ResourceGroups"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "ResourceGroups"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/Gen/ResourceGroups.hs
@@ -1,255 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.ResourceGroups--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.Gen.ResourceGroups where--import Data.Proxy-import Network.AWS.ResourceGroups-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.AWS.ResourceGroups.Internal-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestSearchResources $---             searchResources------         , requestGetTags $---             getTags------         , requestTag $---             tag------         , requestUntag $---             untag------         , requestUpdateGroupQuery $---             updateGroupQuery------         , requestListGroupResources $---             listGroupResources------         , requestGetGroupQuery $---             getGroupQuery------         , requestCreateGroup $---             createGroup------         , requestDeleteGroup $---             deleteGroup------         , requestUpdateGroup $---             updateGroup------         , requestListGroups $---             listGroups------         , requestGetGroup $---             getGroup------           ]----     , testGroup "response"---         [ responseSearchResources $---             searchResourcesResponse------         , responseGetTags $---             getTagsResponse------         , responseTag $---             tagResponse------         , responseUntag $---             untagResponse------         , responseUpdateGroupQuery $---             updateGroupQueryResponse------         , responseListGroupResources $---             listGroupResourcesResponse------         , responseGetGroupQuery $---             getGroupQueryResponse------         , responseCreateGroup $---             createGroupResponse------         , responseDeleteGroup $---             deleteGroupResponse------         , responseUpdateGroup $---             updateGroupResponse------         , responseListGroups $---             listGroupsResponse------         , responseGetGroup $---             getGroupResponse------           ]---     ]---- Requests--requestSearchResources :: SearchResources -> TestTree-requestSearchResources = req-    "SearchResources"-    "fixture/SearchResources.yaml"--requestGetTags :: GetTags -> TestTree-requestGetTags = req-    "GetTags"-    "fixture/GetTags.yaml"--requestTag :: Tag -> TestTree-requestTag = req-    "Tag"-    "fixture/Tag.yaml"--requestUntag :: Untag -> TestTree-requestUntag = req-    "Untag"-    "fixture/Untag.yaml"--requestUpdateGroupQuery :: UpdateGroupQuery -> TestTree-requestUpdateGroupQuery = req-    "UpdateGroupQuery"-    "fixture/UpdateGroupQuery.yaml"--requestListGroupResources :: ListGroupResources -> TestTree-requestListGroupResources = req-    "ListGroupResources"-    "fixture/ListGroupResources.yaml"--requestGetGroupQuery :: GetGroupQuery -> TestTree-requestGetGroupQuery = req-    "GetGroupQuery"-    "fixture/GetGroupQuery.yaml"--requestCreateGroup :: CreateGroup -> TestTree-requestCreateGroup = req-    "CreateGroup"-    "fixture/CreateGroup.yaml"--requestDeleteGroup :: DeleteGroup -> TestTree-requestDeleteGroup = req-    "DeleteGroup"-    "fixture/DeleteGroup.yaml"--requestUpdateGroup :: UpdateGroup -> TestTree-requestUpdateGroup = req-    "UpdateGroup"-    "fixture/UpdateGroup.yaml"--requestListGroups :: ListGroups -> TestTree-requestListGroups = req-    "ListGroups"-    "fixture/ListGroups.yaml"--requestGetGroup :: GetGroup -> TestTree-requestGetGroup = req-    "GetGroup"-    "fixture/GetGroup.yaml"---- Responses--responseSearchResources :: SearchResourcesResponse -> TestTree-responseSearchResources = res-    "SearchResourcesResponse"-    "fixture/SearchResourcesResponse.proto"-    resourceGroups-    (Proxy :: Proxy SearchResources)--responseGetTags :: GetTagsResponse -> TestTree-responseGetTags = res-    "GetTagsResponse"-    "fixture/GetTagsResponse.proto"-    resourceGroups-    (Proxy :: Proxy GetTags)--responseTag :: TagResponse -> TestTree-responseTag = res-    "TagResponse"-    "fixture/TagResponse.proto"-    resourceGroups-    (Proxy :: Proxy Tag)--responseUntag :: UntagResponse -> TestTree-responseUntag = res-    "UntagResponse"-    "fixture/UntagResponse.proto"-    resourceGroups-    (Proxy :: Proxy Untag)--responseUpdateGroupQuery :: UpdateGroupQueryResponse -> TestTree-responseUpdateGroupQuery = res-    "UpdateGroupQueryResponse"-    "fixture/UpdateGroupQueryResponse.proto"-    resourceGroups-    (Proxy :: Proxy UpdateGroupQuery)--responseListGroupResources :: ListGroupResourcesResponse -> TestTree-responseListGroupResources = res-    "ListGroupResourcesResponse"-    "fixture/ListGroupResourcesResponse.proto"-    resourceGroups-    (Proxy :: Proxy ListGroupResources)--responseGetGroupQuery :: GetGroupQueryResponse -> TestTree-responseGetGroupQuery = res-    "GetGroupQueryResponse"-    "fixture/GetGroupQueryResponse.proto"-    resourceGroups-    (Proxy :: Proxy GetGroupQuery)--responseCreateGroup :: CreateGroupResponse -> TestTree-responseCreateGroup = res-    "CreateGroupResponse"-    "fixture/CreateGroupResponse.proto"-    resourceGroups-    (Proxy :: Proxy CreateGroup)--responseDeleteGroup :: DeleteGroupResponse -> TestTree-responseDeleteGroup = res-    "DeleteGroupResponse"-    "fixture/DeleteGroupResponse.proto"-    resourceGroups-    (Proxy :: Proxy DeleteGroup)--responseUpdateGroup :: UpdateGroupResponse -> TestTree-responseUpdateGroup = res-    "UpdateGroupResponse"-    "fixture/UpdateGroupResponse.proto"-    resourceGroups-    (Proxy :: Proxy UpdateGroup)--responseListGroups :: ListGroupsResponse -> TestTree-responseListGroups = res-    "ListGroupsResponse"-    "fixture/ListGroupsResponse.proto"-    resourceGroups-    (Proxy :: Proxy ListGroups)--responseGetGroup :: GetGroupResponse -> TestTree-responseGetGroup = res-    "GetGroupResponse"-    "fixture/GetGroupResponse.proto"-    resourceGroups-    (Proxy :: Proxy GetGroup)
− test/Test/AWS/ResourceGroups.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.ResourceGroups--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.ResourceGroups-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/ResourceGroups/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.ResourceGroups.Internal--- Copyright   : (c) 2013-2018 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Test.AWS.ResourceGroups.Internal where
+ test/Test/Amazonka/Gen/ResourceGroups.hs view
@@ -0,0 +1,358 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.ResourceGroups+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.ResourceGroups where++import Amazonka.ResourceGroups+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Amazonka.ResourceGroups.Internal+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestCreateGroup $+--             newCreateGroup+--+--         , requestDeleteGroup $+--             newDeleteGroup+--+--         , requestGetGroup $+--             newGetGroup+--+--         , requestGetGroupConfiguration $+--             newGetGroupConfiguration+--+--         , requestGetGroupQuery $+--             newGetGroupQuery+--+--         , requestGetTags $+--             newGetTags+--+--         , requestGroupResources $+--             newGroupResources+--+--         , requestListGroupResources $+--             newListGroupResources+--+--         , requestListGroups $+--             newListGroups+--+--         , requestPutGroupConfiguration $+--             newPutGroupConfiguration+--+--         , requestSearchResources $+--             newSearchResources+--+--         , requestTag $+--             newTag+--+--         , requestUngroupResources $+--             newUngroupResources+--+--         , requestUntag $+--             newUntag+--+--         , requestUpdateGroup $+--             newUpdateGroup+--+--         , requestUpdateGroupQuery $+--             newUpdateGroupQuery+--+--           ]++--     , testGroup "response"+--         [ responseCreateGroup $+--             newCreateGroupResponse+--+--         , responseDeleteGroup $+--             newDeleteGroupResponse+--+--         , responseGetGroup $+--             newGetGroupResponse+--+--         , responseGetGroupConfiguration $+--             newGetGroupConfigurationResponse+--+--         , responseGetGroupQuery $+--             newGetGroupQueryResponse+--+--         , responseGetTags $+--             newGetTagsResponse+--+--         , responseGroupResources $+--             newGroupResourcesResponse+--+--         , responseListGroupResources $+--             newListGroupResourcesResponse+--+--         , responseListGroups $+--             newListGroupsResponse+--+--         , responsePutGroupConfiguration $+--             newPutGroupConfigurationResponse+--+--         , responseSearchResources $+--             newSearchResourcesResponse+--+--         , responseTag $+--             newTagResponse+--+--         , responseUngroupResources $+--             newUngroupResourcesResponse+--+--         , responseUntag $+--             newUntagResponse+--+--         , responseUpdateGroup $+--             newUpdateGroupResponse+--+--         , responseUpdateGroupQuery $+--             newUpdateGroupQueryResponse+--+--           ]+--     ]++-- Requests++requestCreateGroup :: CreateGroup -> TestTree+requestCreateGroup =+  req+    "CreateGroup"+    "fixture/CreateGroup.yaml"++requestDeleteGroup :: DeleteGroup -> TestTree+requestDeleteGroup =+  req+    "DeleteGroup"+    "fixture/DeleteGroup.yaml"++requestGetGroup :: GetGroup -> TestTree+requestGetGroup =+  req+    "GetGroup"+    "fixture/GetGroup.yaml"++requestGetGroupConfiguration :: GetGroupConfiguration -> TestTree+requestGetGroupConfiguration =+  req+    "GetGroupConfiguration"+    "fixture/GetGroupConfiguration.yaml"++requestGetGroupQuery :: GetGroupQuery -> TestTree+requestGetGroupQuery =+  req+    "GetGroupQuery"+    "fixture/GetGroupQuery.yaml"++requestGetTags :: GetTags -> TestTree+requestGetTags =+  req+    "GetTags"+    "fixture/GetTags.yaml"++requestGroupResources :: GroupResources -> TestTree+requestGroupResources =+  req+    "GroupResources"+    "fixture/GroupResources.yaml"++requestListGroupResources :: ListGroupResources -> TestTree+requestListGroupResources =+  req+    "ListGroupResources"+    "fixture/ListGroupResources.yaml"++requestListGroups :: ListGroups -> TestTree+requestListGroups =+  req+    "ListGroups"+    "fixture/ListGroups.yaml"++requestPutGroupConfiguration :: PutGroupConfiguration -> TestTree+requestPutGroupConfiguration =+  req+    "PutGroupConfiguration"+    "fixture/PutGroupConfiguration.yaml"++requestSearchResources :: SearchResources -> TestTree+requestSearchResources =+  req+    "SearchResources"+    "fixture/SearchResources.yaml"++requestTag :: Tag -> TestTree+requestTag =+  req+    "Tag"+    "fixture/Tag.yaml"++requestUngroupResources :: UngroupResources -> TestTree+requestUngroupResources =+  req+    "UngroupResources"+    "fixture/UngroupResources.yaml"++requestUntag :: Untag -> TestTree+requestUntag =+  req+    "Untag"+    "fixture/Untag.yaml"++requestUpdateGroup :: UpdateGroup -> TestTree+requestUpdateGroup =+  req+    "UpdateGroup"+    "fixture/UpdateGroup.yaml"++requestUpdateGroupQuery :: UpdateGroupQuery -> TestTree+requestUpdateGroupQuery =+  req+    "UpdateGroupQuery"+    "fixture/UpdateGroupQuery.yaml"++-- Responses++responseCreateGroup :: CreateGroupResponse -> TestTree+responseCreateGroup =+  res+    "CreateGroupResponse"+    "fixture/CreateGroupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateGroup)++responseDeleteGroup :: DeleteGroupResponse -> TestTree+responseDeleteGroup =+  res+    "DeleteGroupResponse"+    "fixture/DeleteGroupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteGroup)++responseGetGroup :: GetGroupResponse -> TestTree+responseGetGroup =+  res+    "GetGroupResponse"+    "fixture/GetGroupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetGroup)++responseGetGroupConfiguration :: GetGroupConfigurationResponse -> TestTree+responseGetGroupConfiguration =+  res+    "GetGroupConfigurationResponse"+    "fixture/GetGroupConfigurationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetGroupConfiguration)++responseGetGroupQuery :: GetGroupQueryResponse -> TestTree+responseGetGroupQuery =+  res+    "GetGroupQueryResponse"+    "fixture/GetGroupQueryResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetGroupQuery)++responseGetTags :: GetTagsResponse -> TestTree+responseGetTags =+  res+    "GetTagsResponse"+    "fixture/GetTagsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetTags)++responseGroupResources :: GroupResourcesResponse -> TestTree+responseGroupResources =+  res+    "GroupResourcesResponse"+    "fixture/GroupResourcesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GroupResources)++responseListGroupResources :: ListGroupResourcesResponse -> TestTree+responseListGroupResources =+  res+    "ListGroupResourcesResponse"+    "fixture/ListGroupResourcesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListGroupResources)++responseListGroups :: ListGroupsResponse -> TestTree+responseListGroups =+  res+    "ListGroupsResponse"+    "fixture/ListGroupsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListGroups)++responsePutGroupConfiguration :: PutGroupConfigurationResponse -> TestTree+responsePutGroupConfiguration =+  res+    "PutGroupConfigurationResponse"+    "fixture/PutGroupConfigurationResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy PutGroupConfiguration)++responseSearchResources :: SearchResourcesResponse -> TestTree+responseSearchResources =+  res+    "SearchResourcesResponse"+    "fixture/SearchResourcesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy SearchResources)++responseTag :: TagResponse -> TestTree+responseTag =+  res+    "TagResponse"+    "fixture/TagResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy Tag)++responseUngroupResources :: UngroupResourcesResponse -> TestTree+responseUngroupResources =+  res+    "UngroupResourcesResponse"+    "fixture/UngroupResourcesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UngroupResources)++responseUntag :: UntagResponse -> TestTree+responseUntag =+  res+    "UntagResponse"+    "fixture/UntagResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy Untag)++responseUpdateGroup :: UpdateGroupResponse -> TestTree+responseUpdateGroup =+  res+    "UpdateGroupResponse"+    "fixture/UpdateGroupResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdateGroup)++responseUpdateGroupQuery :: UpdateGroupQueryResponse -> TestTree+responseUpdateGroupQuery =+  res+    "UpdateGroupQueryResponse"+    "fixture/UpdateGroupQueryResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdateGroupQuery)
+ test/Test/Amazonka/ResourceGroups.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.ResourceGroups+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.ResourceGroups+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/ResourceGroups/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.ResourceGroups.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.ResourceGroups.Internal where