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) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- resourceGroups :: Service
- _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- data QueryType = TagFilters10
- data Group
- group' :: Text -> Text -> Group
- gDescription :: Lens' Group (Maybe Text)
- gGroupARN :: Lens' Group Text
- gName :: Lens' Group Text
- data GroupQuery
- groupQuery :: Text -> ResourceQuery -> GroupQuery
- gqGroupName :: Lens' GroupQuery Text
- gqResourceQuery :: Lens' GroupQuery ResourceQuery
- data ResourceIdentifier
- resourceIdentifier :: ResourceIdentifier
- riResourceType :: Lens' ResourceIdentifier (Maybe Text)
- riResourceARN :: Lens' ResourceIdentifier (Maybe Text)
- data ResourceQuery
- resourceQuery :: QueryType -> Text -> ResourceQuery
- rqType :: Lens' ResourceQuery QueryType
- rqSearchQuery :: Lens' ResourceQuery Text
Service Configuration
resourceGroups :: Service Source #
API version 2017-11-27
of the Amazon Resource Groups SDK configuration.
Errors
_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The caller is not authorized to make the request.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more resources specified in the request do not exist.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The caller has exceeded throttling limits.
_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal error occurred while processing the request.
_MethodNotAllowedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request uses an HTTP method which is not allowed for the specified resource.
_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request has not been applied because it lacks valid authentication credentials for the target resource.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request does not comply with validation rules that are defined for the request parameters.
QueryType
Instances
Group
A resource group.
See: group'
smart constructor.
Instances
Eq Group Source # | |
Data Group Source # | |
Defined in Network.AWS.ResourceGroups.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Group -> c Group # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Group # dataTypeOf :: Group -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Group) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Group) # gmapT :: (forall b. Data b => b -> b) -> Group -> Group # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Group -> r # gmapQ :: (forall d. Data d => d -> u) -> Group -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Group -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Group -> m Group # | |
Read Group Source # | |
Show Group Source # | |
Generic Group Source # | |
Hashable Group Source # | |
Defined in Network.AWS.ResourceGroups.Types.Product | |
FromJSON Group Source # | |
NFData Group Source # | |
Defined in Network.AWS.ResourceGroups.Types.Product | |
type Rep Group Source # | |
Defined in Network.AWS.ResourceGroups.Types.Product type Rep Group = D1 (MetaData "Group" "Network.AWS.ResourceGroups.Types.Product" "amazonka-resourcegroups-1.6.1-ESIAO7l4Zjz1j0LGvWxGeP" False) (C1 (MetaCons "Group'" PrefixI True) (S1 (MetaSel (Just "_gDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) |
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.
GroupQuery
data GroupQuery Source #
The underlying resource query of a resource group. Resources that match query results are part of the group.
See: groupQuery
smart constructor.
Instances
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.
gqGroupName :: Lens' GroupQuery Text Source #
The name of a resource group that is associated with a specific resource query.
gqResourceQuery :: Lens' GroupQuery ResourceQuery Source #
The resource query which determines which AWS resources are members of the associated resource group.
ResourceIdentifier
data ResourceIdentifier Source #
The ARN of a resource, and its resource type.
See: resourceIdentifier
smart constructor.
Instances
resourceIdentifier :: ResourceIdentifier Source #
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 asAWS::EC2::Instance
.riResourceARN
- The ARN of a resource.
riResourceType :: Lens' ResourceIdentifier (Maybe Text) Source #
The resource type of a resource, such as AWS::EC2::Instance
.
riResourceARN :: Lens' ResourceIdentifier (Maybe Text) Source #
The ARN of a resource.
ResourceQuery
data ResourceQuery Source #
The query that is used to define a resource group or a search for resources.
See: resourceQuery
smart constructor.
Instances
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 isTAG_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.
rqType :: Lens' ResourceQuery QueryType Source #
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 :: Lens' ResourceQuery Text Source #
The query that defines a group or a search.