libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.GetResourceShareAssociations

Description

Gets the resources or principals for the resource shares that you own.

This operation returns paginated results.

Synopsis

Creating a Request

data GetResourceShareAssociations Source #

See: newGetResourceShareAssociations smart constructor.

Constructors

GetResourceShareAssociations' 

Fields

Instances

Instances details
Eq GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Read GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Show GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Generic GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Associated Types

type Rep GetResourceShareAssociations :: Type -> Type #

NFData GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Hashable GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

ToJSON GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

AWSPager GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

AWSRequest GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

ToHeaders GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

ToPath GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

ToQuery GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

type Rep GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

type Rep GetResourceShareAssociations = D1 ('MetaData "GetResourceShareAssociations" "Amazonka.RAM.GetResourceShareAssociations" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "GetResourceShareAssociations'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "associationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceShareAssociationStatus)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "resourceShareArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "associationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceShareAssociationType)))))
type AWSResponse GetResourceShareAssociations Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

newGetResourceShareAssociations Source #

Create a value of GetResourceShareAssociations 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:nextToken:GetResourceShareAssociations', getResourceShareAssociations_nextToken - The token for the next page of results.

$sel:resourceArn:GetResourceShareAssociations', getResourceShareAssociations_resourceArn - The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is PRINCIPAL.

$sel:principal:GetResourceShareAssociations', getResourceShareAssociations_principal - The principal. You cannot specify this parameter if the association type is RESOURCE.

$sel:associationStatus:GetResourceShareAssociations', getResourceShareAssociations_associationStatus - The association status.

$sel:maxResults:GetResourceShareAssociations', getResourceShareAssociations_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

$sel:resourceShareArns:GetResourceShareAssociations', getResourceShareAssociations_resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.

$sel:associationType:GetResourceShareAssociations', getResourceShareAssociations_associationType - The association type. Specify PRINCIPAL to list the principals that are associated with the specified resource share. Specify RESOURCE to list the resources that are associated with the specified resource share.

Request Lenses

getResourceShareAssociations_resourceArn :: Lens' GetResourceShareAssociations (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is PRINCIPAL.

getResourceShareAssociations_principal :: Lens' GetResourceShareAssociations (Maybe Text) Source #

The principal. You cannot specify this parameter if the association type is RESOURCE.

getResourceShareAssociations_maxResults :: Lens' GetResourceShareAssociations (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

getResourceShareAssociations_resourceShareArns :: Lens' GetResourceShareAssociations (Maybe [Text]) Source #

The Amazon Resource Names (ARN) of the resource shares.

getResourceShareAssociations_associationType :: Lens' GetResourceShareAssociations ResourceShareAssociationType Source #

The association type. Specify PRINCIPAL to list the principals that are associated with the specified resource share. Specify RESOURCE to list the resources that are associated with the specified resource share.

Destructuring the Response

data GetResourceShareAssociationsResponse Source #

Constructors

GetResourceShareAssociationsResponse' 

Fields

Instances

Instances details
Eq GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Read GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Show GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

Generic GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

NFData GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

type Rep GetResourceShareAssociationsResponse Source # 
Instance details

Defined in Amazonka.RAM.GetResourceShareAssociations

type Rep GetResourceShareAssociationsResponse = D1 ('MetaData "GetResourceShareAssociationsResponse" "Amazonka.RAM.GetResourceShareAssociations" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "GetResourceShareAssociationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceShareAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceShareAssociation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResourceShareAssociationsResponse Source #

Create a value of GetResourceShareAssociationsResponse 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:resourceShareAssociations:GetResourceShareAssociationsResponse', getResourceShareAssociationsResponse_resourceShareAssociations - Information about the associations.

$sel:nextToken:GetResourceShareAssociations', getResourceShareAssociationsResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:GetResourceShareAssociationsResponse', getResourceShareAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

getResourceShareAssociationsResponse_nextToken :: Lens' GetResourceShareAssociationsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.