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

Amazonka.ResourceGroups.Types

Description

 
Synopsis

Service Configuration

defaultService :: 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 isn't authorized to make the request. Check permissions.

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

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

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

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

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

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

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

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

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

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

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

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

GroupConfigurationStatus

newtype GroupConfigurationStatus Source #

Instances

Instances details
Eq GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Ord GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Read GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Show GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Generic GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Associated Types

type Rep GroupConfigurationStatus :: Type -> Type #

NFData GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

Hashable GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToJSON GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToJSONKey GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromJSON GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromJSONKey GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToLog GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToHeader GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToQuery GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromXML GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToXML GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToByteString GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

FromText GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

ToText GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

type Rep GroupConfigurationStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationStatus

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

GroupFilterName

newtype GroupFilterName Source #

Constructors

GroupFilterName' 

Instances

Instances details
Eq GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Ord GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Read GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Show GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Generic GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Associated Types

type Rep GroupFilterName :: Type -> Type #

NFData GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Methods

rnf :: GroupFilterName -> () #

Hashable GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToJSON GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToJSONKey GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromJSON GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromJSONKey GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToLog GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToHeader GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToQuery GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromXML GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToXML GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

Methods

toXML :: GroupFilterName -> XML #

ToByteString GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

FromText GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

ToText GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

type Rep GroupFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilterName

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

QueryErrorCode

newtype QueryErrorCode Source #

Constructors

QueryErrorCode' 

Instances

Instances details
Eq QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Ord QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Read QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Show QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Generic QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Associated Types

type Rep QueryErrorCode :: Type -> Type #

NFData QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Methods

rnf :: QueryErrorCode -> () #

Hashable QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToJSON QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToJSONKey QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromJSON QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromJSONKey QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToLog QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToHeader QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToQuery QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromXML QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToXML QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

Methods

toXML :: QueryErrorCode -> XML #

ToByteString QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

FromText QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

ToText QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

type Rep QueryErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryErrorCode

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

QueryType

newtype QueryType Source #

Constructors

QueryType' 

Fields

Instances

Instances details
Eq QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Ord QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Read QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Show QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Generic QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Associated Types

type Rep QueryType :: Type -> Type #

NFData QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

rnf :: QueryType -> () #

Hashable QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToJSON QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToJSONKey QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromJSON QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromJSONKey QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToLog QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToHeader QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToQuery QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

FromXML QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToXML QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toXML :: QueryType -> XML #

ToByteString QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toBS :: QueryType -> ByteString #

FromText QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

ToText QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

Methods

toText :: QueryType -> Text #

type Rep QueryType Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryType

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

ResourceFilterName

newtype ResourceFilterName Source #

Instances

Instances details
Eq ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Ord ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Read ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Show ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Generic ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Associated Types

type Rep ResourceFilterName :: Type -> Type #

NFData ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

Methods

rnf :: ResourceFilterName -> () #

Hashable ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToJSON ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToJSONKey ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromJSON ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromJSONKey ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToLog ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToHeader ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToQuery ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromXML ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToXML ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToByteString ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

FromText ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

ToText ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

type Rep ResourceFilterName Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilterName

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

ResourceStatusValue

newtype ResourceStatusValue Source #

Instances

Instances details
Eq ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Ord ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Read ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Show ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Generic ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Associated Types

type Rep ResourceStatusValue :: Type -> Type #

NFData ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

Methods

rnf :: ResourceStatusValue -> () #

Hashable ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToJSON ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToJSONKey ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromJSON ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromJSONKey ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToLog ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToHeader ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToQuery ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromXML ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToXML ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToByteString ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

FromText ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

ToText ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

type Rep ResourceStatusValue Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatusValue

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

FailedResource

data FailedResource Source #

A resource that failed to be added to or removed from a group.

See: newFailedResource smart constructor.

Constructors

FailedResource' 

Fields

Instances

Instances details
Eq FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Read FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Show FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Generic FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Associated Types

type Rep FailedResource :: Type -> Type #

NFData FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

Methods

rnf :: FailedResource -> () #

Hashable FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

FromJSON FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.FailedResource

type Rep FailedResource = D1 ('MetaData "FailedResource" "Amazonka.ResourceGroups.Types.FailedResource" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "FailedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newFailedResource :: FailedResource Source #

Create a value of FailedResource with all optional fields omitted.

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

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

$sel:resourceArn:FailedResource', failedResource_resourceArn - The ARN of the resource that failed to be added or removed.

$sel:errorCode:FailedResource', failedResource_errorCode - The error code associated with the failure.

$sel:errorMessage:FailedResource', failedResource_errorMessage - The error message text associated with the failure.

failedResource_resourceArn :: Lens' FailedResource (Maybe Text) Source #

The ARN of the resource that failed to be added or removed.

failedResource_errorCode :: Lens' FailedResource (Maybe Text) Source #

The error code associated with the failure.

failedResource_errorMessage :: Lens' FailedResource (Maybe Text) Source #

The error message text associated with the failure.

Group

data Group Source #

A resource group that contains AWS resources. You can assign resources to the group by associating either of the following elements with the group:

  • ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same AWS Region and AWS account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.
  • GroupConfiguration - Use a service configuration to associate the group with an AWS service. The configuration specifies which resource types can be included in the group.

See: newGroup smart constructor.

Constructors

Group' 

Fields

Instances

Instances details
Eq Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

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

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

Read Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Show Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

NFData Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

rnf :: Group -> () #

Hashable Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

type Rep Group Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.Group

type Rep Group = D1 ('MetaData "Group" "Amazonka.ResourceGroups.Types.Group" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "groupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGroup Source #

Create a value of Group with all optional fields omitted.

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

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

$sel:description:Group', group_description - The description of the resource group.

$sel:groupArn:Group', group_groupArn - The ARN of the resource group.

$sel:name:Group', group_name - The name of the resource group.

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

The description of the resource group.

group_groupArn :: Lens' Group Text Source #

The ARN of the resource group.

group_name :: Lens' Group Text Source #

The name of the resource group.

GroupConfiguration

data GroupConfiguration Source #

A service configuration associated with a resource group. The configuration options are determined by the AWS service that defines the Type, and specifies which resources can be included in the group. You can add a service configuration when you create the group by using CreateGroup, or later by using the PutGroupConfiguration operation. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfiguration smart constructor.

Constructors

GroupConfiguration' 

Fields

Instances

Instances details
Eq GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Read GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Show GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Generic GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Associated Types

type Rep GroupConfiguration :: Type -> Type #

NFData GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

Methods

rnf :: GroupConfiguration -> () #

Hashable GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

FromJSON GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

type Rep GroupConfiguration Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfiguration

type Rep GroupConfiguration = D1 ('MetaData "GroupConfiguration" "Amazonka.ResourceGroups.Types.GroupConfiguration" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupConfigurationStatus)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "proposedConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])) :*: S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationItem])))))

newGroupConfiguration :: GroupConfiguration Source #

Create a value of GroupConfiguration with all optional fields omitted.

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

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

$sel:status:GroupConfiguration', groupConfiguration_status - The current status of an attempt to update the group configuration.

$sel:failureReason:GroupConfiguration', groupConfiguration_failureReason - If present, the reason why a request to update the group configuration failed.

$sel:proposedConfiguration:GroupConfiguration', groupConfiguration_proposedConfiguration - If present, the new configuration that is in the process of being applied to the group.

$sel:configuration:GroupConfiguration', groupConfiguration_configuration - The configuration currently associated with the group and in effect.

groupConfiguration_status :: Lens' GroupConfiguration (Maybe GroupConfigurationStatus) Source #

The current status of an attempt to update the group configuration.

groupConfiguration_failureReason :: Lens' GroupConfiguration (Maybe Text) Source #

If present, the reason why a request to update the group configuration failed.

groupConfiguration_proposedConfiguration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem]) Source #

If present, the new configuration that is in the process of being applied to the group.

groupConfiguration_configuration :: Lens' GroupConfiguration (Maybe [GroupConfigurationItem]) Source #

The configuration currently associated with the group and in effect.

GroupConfigurationItem

data GroupConfigurationItem Source #

An item in a group configuration. A group service configuration can have one or more items. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfigurationItem smart constructor.

Constructors

GroupConfigurationItem' 

Fields

Instances

Instances details
Eq GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Read GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Show GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Generic GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Associated Types

type Rep GroupConfigurationItem :: Type -> Type #

NFData GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

Methods

rnf :: GroupConfigurationItem -> () #

Hashable GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

ToJSON GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

FromJSON GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

type Rep GroupConfigurationItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationItem

type Rep GroupConfigurationItem = D1 ('MetaData "GroupConfigurationItem" "Amazonka.ResourceGroups.Types.GroupConfigurationItem" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupConfigurationItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupConfigurationParameter])) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGroupConfigurationItem Source #

Create a value of GroupConfigurationItem with all optional fields omitted.

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

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

$sel:parameters:GroupConfigurationItem', groupConfigurationItem_parameters - A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

$sel:type':GroupConfigurationItem', groupConfigurationItem_type - Specifies the type of group configuration item. Each item must have a unique value for type. For the list of types that you can specify for a configuration item, see Supported resource types and parameters.

groupConfigurationItem_parameters :: Lens' GroupConfigurationItem (Maybe [GroupConfigurationParameter]) Source #

A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

groupConfigurationItem_type :: Lens' GroupConfigurationItem Text Source #

Specifies the type of group configuration item. Each item must have a unique value for type. For the list of types that you can specify for a configuration item, see Supported resource types and parameters.

GroupConfigurationParameter

data GroupConfigurationParameter Source #

A parameter for a group configuration item. For details about group service configuration syntax, see Service configurations for resource groups.

See: newGroupConfigurationParameter smart constructor.

Constructors

GroupConfigurationParameter' 

Fields

Instances

Instances details
Eq GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Read GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Show GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Generic GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Associated Types

type Rep GroupConfigurationParameter :: Type -> Type #

NFData GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

Hashable GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

ToJSON GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

FromJSON GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

type Rep GroupConfigurationParameter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupConfigurationParameter

type Rep GroupConfigurationParameter = D1 ('MetaData "GroupConfigurationParameter" "Amazonka.ResourceGroups.Types.GroupConfigurationParameter" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupConfigurationParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGroupConfigurationParameter Source #

Create a value of GroupConfigurationParameter with all optional fields omitted.

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

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

$sel:values:GroupConfigurationParameter', groupConfigurationParameter_values - The value or values to be used for the specified parameter. For the list of values you can use with each parameter, see Supported resource types and parameters.

$sel:name:GroupConfigurationParameter', groupConfigurationParameter_name - The name of the group configuration parameter. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

groupConfigurationParameter_values :: Lens' GroupConfigurationParameter (Maybe [Text]) Source #

The value or values to be used for the specified parameter. For the list of values you can use with each parameter, see Supported resource types and parameters.

groupConfigurationParameter_name :: Lens' GroupConfigurationParameter Text Source #

The name of the group configuration parameter. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.

GroupFilter

data GroupFilter Source #

A filter collection that you can use to restrict the results from a List operation to only those you want to include.

See: newGroupFilter smart constructor.

Constructors

GroupFilter' 

Fields

  • name :: GroupFilterName

    The name of the filter. Filter names are case-sensitive.

  • values :: NonEmpty Text

    One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.

Instances

Instances details
Eq GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Read GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Show GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Generic GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Associated Types

type Rep GroupFilter :: Type -> Type #

NFData GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

Methods

rnf :: GroupFilter -> () #

Hashable GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

ToJSON GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

type Rep GroupFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupFilter

type Rep GroupFilter = D1 ('MetaData "GroupFilter" "Amazonka.ResourceGroups.Types.GroupFilter" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GroupFilterName) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newGroupFilter Source #

Create a value of GroupFilter with all optional fields omitted.

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

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

$sel:name:GroupFilter', groupFilter_name - The name of the filter. Filter names are case-sensitive.

$sel:values:GroupFilter', groupFilter_values - One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.

groupFilter_name :: Lens' GroupFilter GroupFilterName Source #

The name of the filter. Filter names are case-sensitive.

groupFilter_values :: Lens' GroupFilter (NonEmpty Text) Source #

One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.

GroupIdentifier

data GroupIdentifier Source #

The unique identifiers for a resource group.

See: newGroupIdentifier smart constructor.

Constructors

GroupIdentifier' 

Fields

Instances

Instances details
Eq GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Read GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Show GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Generic GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Associated Types

type Rep GroupIdentifier :: Type -> Type #

NFData GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

Methods

rnf :: GroupIdentifier -> () #

Hashable GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

FromJSON GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

type Rep GroupIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupIdentifier

type Rep GroupIdentifier = D1 ('MetaData "GroupIdentifier" "Amazonka.ResourceGroups.Types.GroupIdentifier" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGroupIdentifier :: GroupIdentifier Source #

Create a value of GroupIdentifier with all optional fields omitted.

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

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

$sel:groupArn:GroupIdentifier', groupIdentifier_groupArn - The ARN of the resource group.

$sel:groupName:GroupIdentifier', groupIdentifier_groupName - The name of the resource group.

groupIdentifier_groupArn :: Lens' GroupIdentifier (Maybe Text) Source #

The ARN of the resource group.

groupIdentifier_groupName :: Lens' GroupIdentifier (Maybe Text) Source #

The name of the resource group.

GroupQuery

data GroupQuery Source #

A mapping of a query attached to a resource group that determines the AWS resources that are members of the group.

See: newGroupQuery smart constructor.

Constructors

GroupQuery' 

Fields

  • groupName :: Text

    The name of the resource group that is associated with the specified resource query.

  • resourceQuery :: ResourceQuery

    The resource query that determines which AWS resources are members of the associated resource group.

Instances

Instances details
Eq GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Read GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Show GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Generic GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Associated Types

type Rep GroupQuery :: Type -> Type #

NFData GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

Methods

rnf :: GroupQuery -> () #

Hashable GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

FromJSON GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.GroupQuery

type Rep GroupQuery = D1 ('MetaData "GroupQuery" "Amazonka.ResourceGroups.Types.GroupQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "GroupQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceQuery)))

newGroupQuery Source #

Create a value of GroupQuery with all optional fields omitted.

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

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

$sel:groupName:GroupQuery', groupQuery_groupName - The name of the resource group that is associated with the specified resource query.

$sel:resourceQuery:GroupQuery', groupQuery_resourceQuery - The resource query that determines which AWS resources are members of the associated resource group.

groupQuery_groupName :: Lens' GroupQuery Text Source #

The name of the resource group that is associated with the specified resource query.

groupQuery_resourceQuery :: Lens' GroupQuery ResourceQuery Source #

The resource query that determines which AWS resources are members of the associated resource group.

ListGroupResourcesItem

data ListGroupResourcesItem Source #

A structure returned by the ListGroupResources operation that contains identity and group membership status information for one of the resources in the group.

See: newListGroupResourcesItem smart constructor.

Constructors

ListGroupResourcesItem' 

Fields

Instances

Instances details
Eq ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Read ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Show ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Generic ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Associated Types

type Rep ListGroupResourcesItem :: Type -> Type #

NFData ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

Methods

rnf :: ListGroupResourcesItem -> () #

Hashable ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

FromJSON ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

type Rep ListGroupResourcesItem Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ListGroupResourcesItem

type Rep ListGroupResourcesItem = D1 ('MetaData "ListGroupResourcesItem" "Amazonka.ResourceGroups.Types.ListGroupResourcesItem" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ListGroupResourcesItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceIdentifier))))

newListGroupResourcesItem :: ListGroupResourcesItem Source #

Create a value of ListGroupResourcesItem with all optional fields omitted.

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

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

$sel:status:ListGroupResourcesItem', listGroupResourcesItem_status - A structure that contains the status of this resource's membership in the group.

This field is present in the response only if the group is of type AWS::EC2::HostManagement.

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

listGroupResourcesItem_status :: Lens' ListGroupResourcesItem (Maybe ResourceStatus) Source #

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.

PendingResource

data PendingResource Source #

A structure that identifies a resource that is currently pending addition to the group as a member. Adding a resource to a resource group happens asynchronously as a background task and this one isn't completed yet.

See: newPendingResource smart constructor.

Constructors

PendingResource' 

Fields

Instances

Instances details
Eq PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Read PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Show PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Generic PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Associated Types

type Rep PendingResource :: Type -> Type #

NFData PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

Methods

rnf :: PendingResource -> () #

Hashable PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

FromJSON PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

type Rep PendingResource Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.PendingResource

type Rep PendingResource = D1 ('MetaData "PendingResource" "Amazonka.ResourceGroups.Types.PendingResource" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "PendingResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPendingResource :: PendingResource Source #

Create a value of PendingResource with all optional fields omitted.

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

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

$sel:resourceArn:PendingResource', pendingResource_resourceArn - The Amazon resource name (ARN) of the resource that's in a pending state.

pendingResource_resourceArn :: Lens' PendingResource (Maybe Text) Source #

The Amazon resource name (ARN) of the resource that's in a pending state.

QueryError

data QueryError Source #

A two-part error structure that can occur in ListGroupResources or SearchResources operations on CloudFormation stack-based queries. The error occurs if the CloudFormation stack on which the query is based either does not exist, or has a status that renders the stack inactive. A QueryError occurrence does not necessarily mean that AWS Resource Groups could not complete the operation, but the resulting group might have no member resources.

See: newQueryError smart constructor.

Constructors

QueryError' 

Fields

  • errorCode :: Maybe QueryErrorCode

    Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

  • message :: Maybe Text

    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.

Instances

Instances details
Eq QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Read QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Show QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Generic QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Associated Types

type Rep QueryError :: Type -> Type #

NFData QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

Methods

rnf :: QueryError -> () #

Hashable QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

FromJSON QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

type Rep QueryError Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.QueryError

type Rep QueryError = D1 ('MetaData "QueryError" "Amazonka.ResourceGroups.Types.QueryError" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "QueryError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryErrorCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newQueryError :: QueryError Source #

Create a value of QueryError with all optional fields omitted.

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

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

$sel:errorCode:QueryError', queryError_errorCode - Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

$sel:message:QueryError', queryError_message - A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

queryError_errorCode :: Lens' QueryError (Maybe QueryErrorCode) Source #

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

queryError_message :: Lens' QueryError (Maybe Text) Source #

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

ResourceFilter

data ResourceFilter Source #

A filter name and value pair that is used to obtain more specific results from a list of resources.

See: newResourceFilter smart constructor.

Constructors

ResourceFilter' 

Fields

  • name :: ResourceFilterName

    The name of the filter. Filter names are case-sensitive.

  • values :: NonEmpty Text

    One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.

Instances

Instances details
Eq ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Read ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Show ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Generic ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Associated Types

type Rep ResourceFilter :: Type -> Type #

NFData ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

Methods

rnf :: ResourceFilter -> () #

Hashable ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

ToJSON ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

type Rep ResourceFilter Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceFilter

type Rep ResourceFilter = D1 ('MetaData "ResourceFilter" "Amazonka.ResourceGroups.Types.ResourceFilter" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceFilterName) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newResourceFilter Source #

Create a value of ResourceFilter with all optional fields omitted.

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

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

$sel:name:ResourceFilter', resourceFilter_name - The name of the filter. Filter names are case-sensitive.

$sel:values:ResourceFilter', resourceFilter_values - One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.

resourceFilter_name :: Lens' ResourceFilter ResourceFilterName Source #

The name of the filter. Filter names are case-sensitive.

resourceFilter_values :: Lens' ResourceFilter (NonEmpty Text) Source #

One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.

ResourceIdentifier

data ResourceIdentifier Source #

A structure that contains the ARN of a resource and its resource type.

See: newResourceIdentifier smart constructor.

Constructors

ResourceIdentifier' 

Fields

Instances

Instances details
Eq ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Read ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Show ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Generic ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Associated Types

type Rep ResourceIdentifier :: Type -> Type #

NFData ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

Methods

rnf :: ResourceIdentifier -> () #

Hashable ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

FromJSON ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceIdentifier

type Rep ResourceIdentifier = D1 ('MetaData "ResourceIdentifier" "Amazonka.ResourceGroups.Types.ResourceIdentifier" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResourceIdentifier :: ResourceIdentifier Source #

Create a value of ResourceIdentifier with all optional fields omitted.

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

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

$sel:resourceType:ResourceIdentifier', resourceIdentifier_resourceType - The resource type of a resource, such as AWS::EC2::Instance.

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

resourceIdentifier_resourceType :: 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. A query specifies both a query type and a query string as a JSON object. See the examples section for example JSON strings.

The examples that follow are shown as standard JSON strings. If you include such a string as a parameter to the AWS CLI or an SDK API, you might need to 'escape' the string into a single line. For example, see the Quoting strings in the AWS CLI User Guide.

Example 1

The following generic example shows a resource query JSON string that includes only resources that meet the following criteria:

  • The resource type must be either resource_type1 or resource_type2.
  • The resource must have a tag Key1 with a value of either ValueA or ValueB.
  • The resource must have a tag Key2 with a value of either ValueC or ValueD.
{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": [ "resource_type1", "resource_type2"], "TagFilters": [ { "Key": "Key1", "Values": ["ValueA","ValueB"] }, { "Key":"Key2", "Values":["ValueC","ValueD"] } ] } }

This has the equivalent "shortcut" syntax of the following:

{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": [ "resource_type1", "resource_type2"], "TagFilters": [ { "Key1": ["ValueA","ValueB"] }, { "Key2": ["ValueC","ValueD"] } ] } }

Example 2

The following example shows a resource query JSON string that includes only Amazon EC2 instances that are tagged Stage with a value of Test.

{ "Type": "TAG_FILTERS_1_0", "Query": "{ "ResourceTypeFilters": "AWS::EC2::Instance", "TagFilters": { "Stage": "Test" } } }

Example 3

The following example shows a resource query JSON string that includes resource of any supported type as long as it is tagged Stage with a value of Prod.

{ "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": "AWS::AllSupported", "TagFilters": { "Stage": "Prod" } } }

Example 4

The following example shows a resource query JSON string that includes only Amazon EC2 instances and Amazon S3 buckets that are part of the specified AWS CloudFormation stack.

{ "Type": "CLOUDFORMATION_STACK_1_0", "Query": { "ResourceTypeFilters": [ "AWS::EC2::Instance", "AWS::S3::Bucket" ], "StackIdentifier": "arn:aws:cloudformation:us-west-2:123456789012:stack/AWStestuseraccount/fb0d5000-aba8-00e8-aa9e-50d5cEXAMPLE" } }

See: newResourceQuery smart constructor.

Constructors

ResourceQuery' 

Fields

  • type' :: QueryType

    The type of the query. You can use the following values:

    • CLOUDFORMATION_STACK_1_0: Specifies that the Query contains an ARN for a CloudFormation stack.
    • TAG_FILTERS_1_0: Specifies that the Query parameter contains a JSON string that represents a collection of simple tag filters for resource types and tags. The JSON string uses a syntax similar to the GetResources operation, but uses only the ResourceTypeFilters and TagFilters fields. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values.

      For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each:

      [{"Stage":["Test","Deploy"]},{"Version":["1","2"]}]

      The results of this query could include the following.

      • An EC2 instance that has the following two tags: {"Stage":"Deploy"}, and {"Version":"2"}
      • An S3 bucket that has the following two tags: {"Stage":"Test"}, and {"Version":"1"}

      The query would not include the following items in the results, however.

      • An EC2 instance that has only the following tag: {"Stage":"Deploy"}.

        The instance does not have all of the tag keys specified in the filter, so it is excluded from the results.

      • An RDS database that has the following two tags: {"Stage":"Archived"} and {"Version":"4"}

        The database has all of the tag keys, but none of those keys has an associated value that matches at least one of the specified values in the filter.

  • query :: Text

    The query that defines a group or a search.

Instances

Instances details
Eq ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Read ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Show ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Generic ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Associated Types

type Rep ResourceQuery :: Type -> Type #

NFData ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

Methods

rnf :: ResourceQuery -> () #

Hashable ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

ToJSON ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

FromJSON ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

type Rep ResourceQuery Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceQuery

type Rep ResourceQuery = D1 ('MetaData "ResourceQuery" "Amazonka.ResourceGroups.Types.ResourceQuery" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QueryType) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceQuery Source #

Create a value of ResourceQuery with all optional fields omitted.

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

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

$sel:type':ResourceQuery', resourceQuery_type - The type of the query. You can use the following values:

  • CLOUDFORMATION_STACK_1_0: Specifies that the Query contains an ARN for a CloudFormation stack.
  • TAG_FILTERS_1_0: Specifies that the Query parameter contains a JSON string that represents a collection of simple tag filters for resource types and tags. The JSON string uses a syntax similar to the GetResources operation, but uses only the ResourceTypeFilters and TagFilters fields. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values.

    For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each:

    [{"Stage":["Test","Deploy"]},{"Version":["1","2"]}]

    The results of this query could include the following.

    • An EC2 instance that has the following two tags: {"Stage":"Deploy"}, and {"Version":"2"}
    • An S3 bucket that has the following two tags: {"Stage":"Test"}, and {"Version":"1"}

    The query would not include the following items in the results, however.

    • An EC2 instance that has only the following tag: {"Stage":"Deploy"}.

      The instance does not have all of the tag keys specified in the filter, so it is excluded from the results.

    • An RDS database that has the following two tags: {"Stage":"Archived"} and {"Version":"4"}

      The database has all of the tag keys, but none of those keys has an associated value that matches at least one of the specified values in the filter.

$sel:query:ResourceQuery', resourceQuery_searchQuery - The query that defines a group or a search.

resourceQuery_type :: Lens' ResourceQuery QueryType Source #

The type of the query. You can use the following values:

  • CLOUDFORMATION_STACK_1_0: Specifies that the Query contains an ARN for a CloudFormation stack.
  • TAG_FILTERS_1_0: Specifies that the Query parameter contains a JSON string that represents a collection of simple tag filters for resource types and tags. The JSON string uses a syntax similar to the GetResources operation, but uses only the ResourceTypeFilters and TagFilters fields. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches any of the specified values.

    For example, consider the following sample query for resources that have two tags, Stage and Version, with two values each:

    [{"Stage":["Test","Deploy"]},{"Version":["1","2"]}]

    The results of this query could include the following.

    • An EC2 instance that has the following two tags: {"Stage":"Deploy"}, and {"Version":"2"}
    • An S3 bucket that has the following two tags: {"Stage":"Test"}, and {"Version":"1"}

    The query would not include the following items in the results, however.

    • An EC2 instance that has only the following tag: {"Stage":"Deploy"}.

      The instance does not have all of the tag keys specified in the filter, so it is excluded from the results.

    • An RDS database that has the following two tags: {"Stage":"Archived"} and {"Version":"4"}

      The database has all of the tag keys, but none of those keys has an associated value that matches at least one of the specified values in the filter.

resourceQuery_searchQuery :: Lens' ResourceQuery Text Source #

The query that defines a group or a search.

ResourceStatus

data ResourceStatus Source #

A structure that identifies the current group membership status for a resource. Adding a resource to a resource group is performed asynchronously as a background task. A PENDING status indicates, for this resource, that the process isn't completed yet.

See: newResourceStatus smart constructor.

Constructors

ResourceStatus' 

Fields

Instances

Instances details
Eq ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Read ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Show ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Generic ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Associated Types

type Rep ResourceStatus :: Type -> Type #

NFData ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

Methods

rnf :: ResourceStatus -> () #

Hashable ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

FromJSON ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

type Rep ResourceStatus Source # 
Instance details

Defined in Amazonka.ResourceGroups.Types.ResourceStatus

type Rep ResourceStatus = D1 ('MetaData "ResourceStatus" "Amazonka.ResourceGroups.Types.ResourceStatus" "libZSservicesZSamazonka-resourcegroupsZSamazonka-resourcegroups" 'False) (C1 ('MetaCons "ResourceStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatusValue))))

newResourceStatus :: ResourceStatus Source #

Create a value of ResourceStatus with all optional fields omitted.

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

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

$sel:name:ResourceStatus', resourceStatus_name - The current status.