-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Resource Groups SDK. -- -- The types from this library are intended to be used with -- 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 lens or lens-family-core. -- -- See Network.AWS.ResourceGroups or the AWS documentation -- to get started. @package amazonka-resourcegroups @version 1.6.0 module Network.AWS.ResourceGroups.Types -- | API version 2017-11-27 of the Amazon Resource Groups SDK -- configuration. resourceGroups :: Service -- | The caller is not authorized to make the request. _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError -- | One or more resources specified in the request do not exist. _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError -- | The caller has exceeded throttling limits. _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal error occurred while processing the request. _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request uses an HTTP method which is not allowed for the specified -- resource. _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request has not been applied because it lacks valid authentication -- credentials for the target resource. _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request does not comply with validation rules that are defined for -- the request parameters. _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError data QueryType TagFilters10 :: QueryType -- | A resource group. -- -- See: group' smart constructor. data Group -- | 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: -- -- group' :: Text -> Text -> Group -- | The description of the resource group. gDescription :: Lens' Group (Maybe Text) -- | The ARN of a resource group. gGroupARN :: Lens' Group Text -- | The name of a resource group. gName :: Lens' Group Text -- | The underlying resource query of a resource group. Resources that -- match query results are part of the group. -- -- See: groupQuery smart constructor. data GroupQuery -- | 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: -- -- groupQuery :: Text -> ResourceQuery -> GroupQuery -- | The name of a resource group that is associated with a specific -- resource query. gqGroupName :: Lens' GroupQuery Text -- | The resource query which determines which AWS resources are members of -- the associated resource group. gqResourceQuery :: Lens' GroupQuery ResourceQuery -- | The ARN of a resource, and its resource type. -- -- See: resourceIdentifier smart constructor. data ResourceIdentifier -- | 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: -- -- resourceIdentifier :: ResourceIdentifier -- | The resource type of a resource, such as AWS::EC2::Instance . riResourceType :: Lens' ResourceIdentifier (Maybe Text) -- | The ARN of a resource. riResourceARN :: Lens' ResourceIdentifier (Maybe Text) -- | The query that is used to define a resource group or a search for -- resources. -- -- See: resourceQuery smart constructor. data ResourceQuery -- | 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: -- -- resourceQuery :: QueryType -> Text -> ResourceQuery -- | 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 -- | The query that defines a group or a search. rqSearchQuery :: Lens' ResourceQuery Text -- | 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 -- | 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: -- -- tag :: Text -> Tag -- | See: tag smart constructor. data Tag -- | The ARN of the resource to which to add tags. tagARN :: Lens' Tag Text -- | 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) -- | 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: -- -- tagResponse :: Int -> TagResponse -- | See: tagResponse smart constructor. data TagResponse -- | The ARN of the tagged resource. tagrsARN :: Lens' TagResponse (Maybe Text) -- | The tags that have been added to the specified resource. tagrsTags :: Lens' TagResponse (HashMap Text Text) -- | tagrsResponseStatus :: Lens' TagResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.Tag.TagResponse instance Data.Data.Data Network.AWS.ResourceGroups.Tag.TagResponse instance GHC.Show.Show Network.AWS.ResourceGroups.Tag.TagResponse instance GHC.Read.Read Network.AWS.ResourceGroups.Tag.TagResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.Tag.TagResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.Tag.Tag instance Data.Data.Data Network.AWS.ResourceGroups.Tag.Tag instance GHC.Show.Show Network.AWS.ResourceGroups.Tag.Tag instance GHC.Read.Read Network.AWS.ResourceGroups.Tag.Tag instance GHC.Classes.Eq Network.AWS.ResourceGroups.Tag.Tag instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.Tag.Tag instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Tag.TagResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.Tag.Tag instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Tag.Tag instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.Tag.Tag instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.Tag.Tag instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.Tag.Tag instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.Tag.Tag -- | 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 -- | 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: -- -- searchResources :: ResourceQuery -> SearchResources -- | See: searchResources smart constructor. data SearchResources -- | 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) -- | The maximum number of group member ARNs returned by -- SearchResources in paginated output. By default, this number -- is 50. srMaxResults :: Lens' SearchResources (Maybe Natural) -- | The search query, using the same formats that are supported for -- resource group definition. srResourceQuery :: Lens' SearchResources ResourceQuery -- | 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: -- -- searchResourcesResponse :: Int -> SearchResourcesResponse -- | See: searchResourcesResponse smart constructor. data SearchResourcesResponse -- | The NextToken value to include in a subsequent -- SearchResources request, to get more results. srrsNextToken :: Lens' SearchResourcesResponse (Maybe Text) -- | The ARNs and resource types of resources that are members of the group -- that you specified. srrsResourceIdentifiers :: Lens' SearchResourcesResponse [ResourceIdentifier] -- | srrsResponseStatus :: Lens' SearchResourcesResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance Data.Data.Data Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance GHC.Show.Show Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance GHC.Read.Read Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.SearchResources.SearchResources instance Data.Data.Data Network.AWS.ResourceGroups.SearchResources.SearchResources instance GHC.Show.Show Network.AWS.ResourceGroups.SearchResources.SearchResources instance GHC.Read.Read Network.AWS.ResourceGroups.SearchResources.SearchResources instance GHC.Classes.Eq Network.AWS.ResourceGroups.SearchResources.SearchResources instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.SearchResources.SearchResources instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.SearchResources.SearchResourcesResponse instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.SearchResources.SearchResources instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.SearchResources.SearchResources instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.SearchResources.SearchResources instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.SearchResources.SearchResources instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.SearchResources.SearchResources instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.SearchResources.SearchResources instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.SearchResources.SearchResources -- | Returns a list of existing resource groups in your account. -- -- This operation returns paginated results. module Network.AWS.ResourceGroups.ListGroups -- | 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: -- -- listGroups :: ListGroups -- | See: listGroups smart constructor. data ListGroups -- | 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) -- | 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) -- | 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: -- -- listGroupsResponse :: Int -> ListGroupsResponse -- | See: listGroupsResponse smart constructor. data ListGroupsResponse -- | A list of resource groups. lgrsGroups :: Lens' ListGroupsResponse [Group] -- | The NextToken value to include in a subsequent ListGroups -- request, to get more results. lgrsNextToken :: Lens' ListGroupsResponse (Maybe Text) -- | lgrsResponseStatus :: Lens' ListGroupsResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance Data.Data.Data Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroups.ListGroups instance Data.Data.Data Network.AWS.ResourceGroups.ListGroups.ListGroups instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroups.ListGroups instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroups.ListGroups instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroups.ListGroups instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.ListGroups.ListGroups instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroups.ListGroupsResponse instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.ListGroups.ListGroups instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.ListGroups.ListGroups instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroups.ListGroups instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.ListGroups.ListGroups instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.ListGroups.ListGroups instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.ListGroups.ListGroups -- | 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 -- | 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: -- -- listGroupResources :: Text -> ListGroupResources -- | See: listGroupResources smart constructor. data ListGroupResources -- | 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) -- | 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) -- | The name of the resource group. lgrGroupName :: Lens' ListGroupResources Text -- | 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: -- -- listGroupResourcesResponse :: Int -> ListGroupResourcesResponse -- | See: listGroupResourcesResponse smart constructor. data ListGroupResourcesResponse -- | The NextToken value to include in a subsequent -- ListGroupResources request, to get more results. lgrrsNextToken :: Lens' ListGroupResourcesResponse (Maybe Text) -- | The ARNs and resource types of resources that are members of the group -- that you specified. lgrrsResourceIdentifiers :: Lens' ListGroupResourcesResponse [ResourceIdentifier] -- | lgrrsResponseStatus :: Lens' ListGroupResourcesResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance Data.Data.Data Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Data.Data.Data Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance GHC.Show.Show Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance GHC.Read.Read Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance GHC.Classes.Eq Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroupResources.ListGroupResourcesResponse instance Network.AWS.Pager.AWSPager Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.ListGroupResources.ListGroupResources -- | Returns a list of tags that are associated with a resource, specified -- by an ARN. module Network.AWS.ResourceGroups.GetTags -- | 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: -- -- getTags :: Text -> GetTags -- | See: getTags smart constructor. data GetTags -- | 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 -- | 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: -- -- getTagsResponse :: Int -> GetTagsResponse -- | See: getTagsResponse smart constructor. data GetTagsResponse -- | The ARN of the tagged resource. gtrsARN :: Lens' GetTagsResponse (Maybe Text) -- | The tags associated with the specified resource. gtrsTags :: Lens' GetTagsResponse (HashMap Text Text) -- | gtrsResponseStatus :: Lens' GetTagsResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance Data.Data.Data Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance GHC.Show.Show Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance GHC.Read.Read Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetTags.GetTags instance Data.Data.Data Network.AWS.ResourceGroups.GetTags.GetTags instance GHC.Show.Show Network.AWS.ResourceGroups.GetTags.GetTags instance GHC.Read.Read Network.AWS.ResourceGroups.GetTags.GetTags instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetTags.GetTags instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetTags.GetTags instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetTags.GetTagsResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetTags.GetTags instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetTags.GetTags instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetTags.GetTags instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetTags.GetTags instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetTags.GetTags -- | Returns the resource query associated with the specified resource -- group. module Network.AWS.ResourceGroups.GetGroupQuery -- | 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: -- -- getGroupQuery :: Text -> GetGroupQuery -- | See: getGroupQuery smart constructor. data GetGroupQuery -- | The name of the resource group. ggqGroupName :: Lens' GetGroupQuery Text -- | 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: -- -- getGroupQueryResponse :: Int -> GetGroupQueryResponse -- | See: getGroupQueryResponse smart constructor. data GetGroupQueryResponse -- | The resource query associated with the specified group. ggqrsGroupQuery :: Lens' GetGroupQueryResponse (Maybe GroupQuery) -- | ggqrsResponseStatus :: Lens' GetGroupQueryResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance Data.Data.Data Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Data.Data.Data Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQueryResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetGroupQuery.GetGroupQuery -- | Returns information about a specified resource group. module Network.AWS.ResourceGroups.GetGroup -- | 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: -- -- getGroup :: Text -> GetGroup -- | See: getGroup smart constructor. data GetGroup -- | The name of the resource group. ggGroupName :: Lens' GetGroup Text -- | 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: -- -- getGroupResponse :: Int -> GetGroupResponse -- | See: getGroupResponse smart constructor. data GetGroupResponse -- | A full description of the resource group. ggrsGroup :: Lens' GetGroupResponse (Maybe Group) -- | ggrsResponseStatus :: Lens' GetGroupResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance Data.Data.Data Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.GetGroup.GetGroup instance Data.Data.Data Network.AWS.ResourceGroups.GetGroup.GetGroup instance GHC.Show.Show Network.AWS.ResourceGroups.GetGroup.GetGroup instance GHC.Read.Read Network.AWS.ResourceGroups.GetGroup.GetGroup instance GHC.Classes.Eq Network.AWS.ResourceGroups.GetGroup.GetGroup instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.GetGroup.GetGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroup.GetGroupResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.GetGroup.GetGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.GetGroup.GetGroup instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.GetGroup.GetGroup instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.GetGroup.GetGroup instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.GetGroup.GetGroup -- | 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 -- | 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: -- -- deleteGroup :: Text -> DeleteGroup -- | See: deleteGroup smart constructor. data DeleteGroup -- | The name of the resource group to delete. dgGroupName :: Lens' DeleteGroup Text -- | 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: -- -- deleteGroupResponse :: Int -> DeleteGroupResponse -- | See: deleteGroupResponse smart constructor. data DeleteGroupResponse -- | A full description of the deleted resource group. dgrsGroup :: Lens' DeleteGroupResponse (Maybe Group) -- | dgrsResponseStatus :: Lens' DeleteGroupResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance Data.Data.Data Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance GHC.Show.Show Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance GHC.Read.Read Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Data.Data.Data Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance GHC.Show.Show Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance GHC.Read.Read Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance GHC.Classes.Eq Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.DeleteGroup.DeleteGroupResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.DeleteGroup.DeleteGroup -- | Creates a group with a specified name, description, and resource -- query. module Network.AWS.ResourceGroups.CreateGroup -- | 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: -- -- createGroup :: Text -> ResourceQuery -> CreateGroup -- | See: createGroup smart constructor. data CreateGroup -- | 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) -- | 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) -- | 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 -- | The resource query that determines which AWS resources are members of -- this group. cgResourceQuery :: Lens' CreateGroup ResourceQuery -- | 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: -- -- createGroupResponse :: Int -> CreateGroupResponse -- | See: createGroupResponse smart constructor. data CreateGroupResponse -- | A full description of the resource group after it is created. cgrsGroup :: Lens' CreateGroupResponse (Maybe Group) -- | The resource query associated with the group. cgrsResourceQuery :: Lens' CreateGroupResponse (Maybe ResourceQuery) -- | The tags associated with the group. cgrsTags :: Lens' CreateGroupResponse (HashMap Text Text) -- | cgrsResponseStatus :: Lens' CreateGroupResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance Data.Data.Data Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance GHC.Show.Show Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance GHC.Read.Read Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Data.Data.Data Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance GHC.Show.Show Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance GHC.Read.Read Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance GHC.Classes.Eq Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.CreateGroup.CreateGroupResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.CreateGroup.CreateGroup instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.CreateGroup.CreateGroup -- | Deletes specified tags from a specified resource. module Network.AWS.ResourceGroups.Untag -- | 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: -- -- untag :: Text -> Untag -- | See: untag smart constructor. data Untag -- | The ARN of the resource from which to remove tags. uARN :: Lens' Untag Text -- | The keys of the tags to be removed. uKeys :: Lens' Untag [Text] -- | 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: -- -- untagResponse :: Int -> UntagResponse -- | See: untagResponse smart constructor. data UntagResponse -- | The ARN of the resource from which tags have been removed. ursARN :: Lens' UntagResponse (Maybe Text) -- | The keys of tags that have been removed. ursKeys :: Lens' UntagResponse [Text] -- | ursResponseStatus :: Lens' UntagResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.Untag.UntagResponse instance Data.Data.Data Network.AWS.ResourceGroups.Untag.UntagResponse instance GHC.Show.Show Network.AWS.ResourceGroups.Untag.UntagResponse instance GHC.Read.Read Network.AWS.ResourceGroups.Untag.UntagResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.Untag.UntagResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.Untag.Untag instance Data.Data.Data Network.AWS.ResourceGroups.Untag.Untag instance GHC.Show.Show Network.AWS.ResourceGroups.Untag.Untag instance GHC.Read.Read Network.AWS.ResourceGroups.Untag.Untag instance GHC.Classes.Eq Network.AWS.ResourceGroups.Untag.Untag instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.Untag.Untag instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Untag.UntagResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.Untag.Untag instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.Untag.Untag instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.Untag.Untag instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.Untag.Untag instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.Untag.Untag instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.Untag.Untag -- | Updates an existing group with a new or changed description. You -- cannot update the name of a resource group. module Network.AWS.ResourceGroups.UpdateGroup -- | 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: -- -- updateGroup :: Text -> UpdateGroup -- | See: updateGroup smart constructor. data UpdateGroup -- | 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) -- | The name of the resource group for which you want to update its -- description. ugGroupName :: Lens' UpdateGroup Text -- | 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: -- -- updateGroupResponse :: Int -> UpdateGroupResponse -- | See: updateGroupResponse smart constructor. data UpdateGroupResponse -- | The full description of the resource group after it has been updated. ugrsGroup :: Lens' UpdateGroupResponse (Maybe Group) -- | ugrsResponseStatus :: Lens' UpdateGroupResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroup.UpdateGroupResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.UpdateGroup.UpdateGroup -- | Updates the resource query of a group. module Network.AWS.ResourceGroups.UpdateGroupQuery -- | 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: -- -- updateGroupQuery :: Text -> ResourceQuery -> UpdateGroupQuery -- | See: updateGroupQuery smart constructor. data UpdateGroupQuery -- | The name of the resource group for which you want to edit the query. ugqGroupName :: Lens' UpdateGroupQuery Text -- | The resource query that determines which AWS resources are members of -- the resource group. ugqResourceQuery :: Lens' UpdateGroupQuery ResourceQuery -- | 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: -- -- updateGroupQueryResponse :: Int -> UpdateGroupQueryResponse -- | See: updateGroupQueryResponse smart constructor. data UpdateGroupQueryResponse -- | The resource query associated with the resource group after the -- update. ugqrsGroupQuery :: Lens' UpdateGroupQueryResponse (Maybe GroupQuery) -- | ugqrsResponseStatus :: Lens' UpdateGroupQueryResponse Int instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance GHC.Generics.Generic Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Data.Data.Data Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance GHC.Show.Show Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance GHC.Read.Read Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance GHC.Classes.Eq Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Network.AWS.Types.AWSRequest Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQueryResponse instance Data.Hashable.Class.Hashable Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Control.DeepSeq.NFData Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Network.AWS.Data.Path.ToPath Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery instance Network.AWS.Data.Query.ToQuery Network.AWS.ResourceGroups.UpdateGroupQuery.UpdateGroupQuery module Network.AWS.ResourceGroups.Waiters -- | AWS Resource Groups -- -- AWS Resource Groups lets you organize AWS resources such as Amazon EC2 -- instances, Amazon Relational Database Service databases, and Amazon S3 -- buckets into groups using criteria that you define as tags. A resource -- group is a collection of resources that match the resource types -- specified in a query, and share one or more tags or portions of tags. -- You can create a group of resources based on their roles in your cloud -- infrastructure, lifecycle stages, regions, application layers, or -- virtually any criteria. Resource groups enable you to automate -- management tasks, such as those in AWS Systems Manager Automation -- documents, on tag-related resources in AWS Systems Manager. Groups of -- tagged resources also let you quickly view a custom console in AWS -- Systems Manager that shows AWS Config compliance and other monitoring -- data about member resources. -- -- To create a resource group, build a resource query, and specify tags -- that identify the criteria that members of the group have in common. -- Tags are key-value pairs. -- -- For more information about Resource Groups, see the AWS Resource -- Groups User Guide . -- -- AWS Resource Groups uses a REST-compliant API that you can use to -- perform the following types of operations. -- -- module Network.AWS.ResourceGroups -- | API version 2017-11-27 of the Amazon Resource Groups SDK -- configuration. resourceGroups :: Service -- | The caller is not authorized to make the request. _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError -- | One or more resources specified in the request do not exist. _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError -- | The caller has exceeded throttling limits. _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal error occurred while processing the request. _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request uses an HTTP method which is not allowed for the specified -- resource. _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request has not been applied because it lacks valid authentication -- credentials for the target resource. _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request does not comply with validation rules that are defined for -- the request parameters. _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError data QueryType TagFilters10 :: QueryType -- | A resource group. -- -- See: group' smart constructor. data Group -- | 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: -- -- group' :: Text -> Text -> Group -- | The description of the resource group. gDescription :: Lens' Group (Maybe Text) -- | The ARN of a resource group. gGroupARN :: Lens' Group Text -- | The name of a resource group. gName :: Lens' Group Text -- | The underlying resource query of a resource group. Resources that -- match query results are part of the group. -- -- See: groupQuery smart constructor. data GroupQuery -- | 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: -- -- groupQuery :: Text -> ResourceQuery -> GroupQuery -- | The name of a resource group that is associated with a specific -- resource query. gqGroupName :: Lens' GroupQuery Text -- | The resource query which determines which AWS resources are members of -- the associated resource group. gqResourceQuery :: Lens' GroupQuery ResourceQuery -- | The ARN of a resource, and its resource type. -- -- See: resourceIdentifier smart constructor. data ResourceIdentifier -- | 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: -- -- resourceIdentifier :: ResourceIdentifier -- | The resource type of a resource, such as AWS::EC2::Instance . riResourceType :: Lens' ResourceIdentifier (Maybe Text) -- | The ARN of a resource. riResourceARN :: Lens' ResourceIdentifier (Maybe Text) -- | The query that is used to define a resource group or a search for -- resources. -- -- See: resourceQuery smart constructor. data ResourceQuery -- | 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: -- -- resourceQuery :: QueryType -> Text -> ResourceQuery -- | 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 -- | The query that defines a group or a search. rqSearchQuery :: Lens' ResourceQuery Text