amazonka-resourcegroups-1.6.0: Amazon Resource Groups SDK.

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

Network.AWS.ResourceGroups.Types

Contents

Description

 

Synopsis

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

data QueryType Source #

Constructors

TagFilters10 

Instances

Bounded QueryType Source # 
Enum QueryType Source # 
Eq QueryType Source # 
Data QueryType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryType -> c QueryType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryType #

toConstr :: QueryType -> Constr #

dataTypeOf :: QueryType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryType) #

gmapT :: (forall b. Data b => b -> b) -> QueryType -> QueryType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryType -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryType -> m QueryType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryType -> m QueryType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryType -> m QueryType #

Ord QueryType Source # 
Read QueryType Source # 
Show QueryType Source # 
Generic QueryType Source # 

Associated Types

type Rep QueryType :: * -> * #

Hashable QueryType Source # 
ToJSON QueryType Source # 
FromJSON QueryType Source # 
NFData QueryType Source # 

Methods

rnf :: QueryType -> () #

ToHeader QueryType Source # 
ToQuery QueryType Source # 
ToByteString QueryType Source # 

Methods

toBS :: QueryType -> ByteString #

FromText QueryType Source # 
ToText QueryType Source # 

Methods

toText :: QueryType -> Text #

type Rep QueryType Source # 
type Rep QueryType = D1 * (MetaData "QueryType" "Network.AWS.ResourceGroups.Types.Sum" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "TagFilters10" PrefixI False) (U1 *))

Group

data Group Source #

A resource group.

See: group' smart constructor.

Instances

Eq Group Source # 

Methods

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

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

Data Group Source # 

Methods

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 #

toConstr :: Group -> Constr #

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 # 

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 

Associated Types

type Rep Group :: * -> * #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

Hashable Group Source # 

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
NFData Group Source # 

Methods

rnf :: Group -> () #

type Rep Group Source # 
type Rep Group = D1 * (MetaData "Group" "Network.AWS.ResourceGroups.Types.Product" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "Group'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))

group' Source #

Arguments

:: Text

gGroupARN

-> Text

gName

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

  • gDescription - The description of the resource group.
  • gGroupARN - The ARN of a resource group.
  • gName - The name of a resource group.

gDescription :: Lens' Group (Maybe Text) Source #

The description of the resource group.

gGroupARN :: Lens' Group Text Source #

The ARN of a resource group.

gName :: Lens' Group Text Source #

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

Eq GroupQuery Source # 
Data GroupQuery Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroupQuery -> c GroupQuery #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroupQuery #

toConstr :: GroupQuery -> Constr #

dataTypeOf :: GroupQuery -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GroupQuery) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroupQuery) #

gmapT :: (forall b. Data b => b -> b) -> GroupQuery -> GroupQuery #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroupQuery -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroupQuery -> r #

gmapQ :: (forall d. Data d => d -> u) -> GroupQuery -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GroupQuery -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroupQuery -> m GroupQuery #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupQuery -> m GroupQuery #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroupQuery -> m GroupQuery #

Read GroupQuery Source # 
Show GroupQuery Source # 
Generic GroupQuery Source # 

Associated Types

type Rep GroupQuery :: * -> * #

Hashable GroupQuery Source # 
FromJSON GroupQuery Source # 
NFData GroupQuery Source # 

Methods

rnf :: GroupQuery -> () #

type Rep GroupQuery Source # 
type Rep GroupQuery = D1 * (MetaData "GroupQuery" "Network.AWS.ResourceGroups.Types.Product" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "GroupQuery'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gqGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gqResourceQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ResourceQuery))))

groupQuery Source #

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

Eq ResourceIdentifier Source # 
Data ResourceIdentifier Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceIdentifier -> c ResourceIdentifier #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceIdentifier #

toConstr :: ResourceIdentifier -> Constr #

dataTypeOf :: ResourceIdentifier -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResourceIdentifier) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceIdentifier) #

gmapT :: (forall b. Data b => b -> b) -> ResourceIdentifier -> ResourceIdentifier #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceIdentifier -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceIdentifier -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceIdentifier -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceIdentifier -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceIdentifier -> m ResourceIdentifier #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceIdentifier -> m ResourceIdentifier #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceIdentifier -> m ResourceIdentifier #

Read ResourceIdentifier Source # 
Show ResourceIdentifier Source # 
Generic ResourceIdentifier Source # 
Hashable ResourceIdentifier Source # 
FromJSON ResourceIdentifier Source # 
NFData ResourceIdentifier Source # 

Methods

rnf :: ResourceIdentifier -> () #

type Rep ResourceIdentifier Source # 
type Rep ResourceIdentifier = D1 * (MetaData "ResourceIdentifier" "Network.AWS.ResourceGroups.Types.Product" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "ResourceIdentifier'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_riResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_riResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))

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 :: Lens' ResourceIdentifier (Maybe Text) Source #

The resource type of a resource, such as AWS::EC2::Instance .

ResourceQuery

data ResourceQuery Source #

The query that is used to define a resource group or a search for resources.

See: resourceQuery smart constructor.

Instances

Eq ResourceQuery Source # 
Data ResourceQuery Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceQuery -> c ResourceQuery #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceQuery #

toConstr :: ResourceQuery -> Constr #

dataTypeOf :: ResourceQuery -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResourceQuery) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceQuery) #

gmapT :: (forall b. Data b => b -> b) -> ResourceQuery -> ResourceQuery #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceQuery -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceQuery -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceQuery -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceQuery -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceQuery -> m ResourceQuery #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceQuery -> m ResourceQuery #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceQuery -> m ResourceQuery #

Read ResourceQuery Source # 
Show ResourceQuery Source # 
Generic ResourceQuery Source # 

Associated Types

type Rep ResourceQuery :: * -> * #

Hashable ResourceQuery Source # 
ToJSON ResourceQuery Source # 
FromJSON ResourceQuery Source # 
NFData ResourceQuery Source # 

Methods

rnf :: ResourceQuery -> () #

type Rep ResourceQuery Source # 
type Rep ResourceQuery = D1 * (MetaData "ResourceQuery" "Network.AWS.ResourceGroups.Types.Product" "amazonka-resourcegroups-1.6.0-BcTE97yO3xiNkTKZdYgRR" False) (C1 * (MetaCons "ResourceQuery'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rqType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * QueryType)) (S1 * (MetaSel (Just Symbol "_rqSearchQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

resourceQuery Source #

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.

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.