amazonka-ram-2.0: Amazon Resource Access Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RAM.ListPendingInvitationResources

Description

Lists the resources in a resource share that is shared with you but for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired.

Synopsis

Creating a Request

data ListPendingInvitationResources Source #

See: newListPendingInvitationResources smart constructor.

Constructors

ListPendingInvitationResources' 

Fields

  • maxResults :: Maybe Natural

    Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

  • nextToken :: Maybe Text

    Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

  • resourceRegionScope :: Maybe ResourceRegionScopeFilter

    Specifies that you want the results to include only resources that have the specified scope.

    • ALL – the results include both global and regional resources or resource types.
    • GLOBAL – the results include only global resources or resource types.
    • REGIONAL – the results include only regional resources or resource types.

    The default value is ALL.

  • resourceShareInvitationArn :: Text

    Specifies the Amazon Resoure Name (ARN) of the invitation. You can use GetResourceShareInvitations to find the ARN of the invitation.

Instances

Instances details
ToJSON ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

ToHeaders ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

ToPath ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

ToQuery ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

AWSRequest ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Generic ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Associated Types

type Rep ListPendingInvitationResources :: Type -> Type #

Read ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Show ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

NFData ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Eq ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Hashable ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

type AWSResponse ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

type Rep ListPendingInvitationResources Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

type Rep ListPendingInvitationResources = D1 ('MetaData "ListPendingInvitationResources" "Amazonka.RAM.ListPendingInvitationResources" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ListPendingInvitationResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceRegionScope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceRegionScopeFilter)) :*: S1 ('MetaSel ('Just "resourceShareInvitationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListPendingInvitationResources Source #

Create a value of ListPendingInvitationResources 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:maxResults:ListPendingInvitationResources', listPendingInvitationResources_maxResults - Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

ListPendingInvitationResources, listPendingInvitationResources_nextToken - Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

ListPendingInvitationResources, listPendingInvitationResources_resourceRegionScope - Specifies that you want the results to include only resources that have the specified scope.

  • ALL – the results include both global and regional resources or resource types.
  • GLOBAL – the results include only global resources or resource types.
  • REGIONAL – the results include only regional resources or resource types.

The default value is ALL.

ListPendingInvitationResources, listPendingInvitationResources_resourceShareInvitationArn - Specifies the Amazon Resoure Name (ARN) of the invitation. You can use GetResourceShareInvitations to find the ARN of the invitation.

Request Lenses

listPendingInvitationResources_maxResults :: Lens' ListPendingInvitationResources (Maybe Natural) Source #

Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

listPendingInvitationResources_nextToken :: Lens' ListPendingInvitationResources (Maybe Text) Source #

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

listPendingInvitationResources_resourceRegionScope :: Lens' ListPendingInvitationResources (Maybe ResourceRegionScopeFilter) Source #

Specifies that you want the results to include only resources that have the specified scope.

  • ALL – the results include both global and regional resources or resource types.
  • GLOBAL – the results include only global resources or resource types.
  • REGIONAL – the results include only regional resources or resource types.

The default value is ALL.

listPendingInvitationResources_resourceShareInvitationArn :: Lens' ListPendingInvitationResources Text Source #

Specifies the Amazon Resoure Name (ARN) of the invitation. You can use GetResourceShareInvitations to find the ARN of the invitation.

Destructuring the Response

data ListPendingInvitationResourcesResponse Source #

Constructors

ListPendingInvitationResourcesResponse' 

Fields

  • nextToken :: Maybe Text

    If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

  • resources :: Maybe [Resource]

    An array of objects that contain the information about the resources included the specified resource share.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Read ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Show ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

NFData ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

Eq ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

type Rep ListPendingInvitationResourcesResponse Source # 
Instance details

Defined in Amazonka.RAM.ListPendingInvitationResources

type Rep ListPendingInvitationResourcesResponse = D1 ('MetaData "ListPendingInvitationResourcesResponse" "Amazonka.RAM.ListPendingInvitationResources" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "ListPendingInvitationResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Resource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPendingInvitationResourcesResponse Source #

Create a value of ListPendingInvitationResourcesResponse 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:

ListPendingInvitationResources, listPendingInvitationResourcesResponse_nextToken - If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

$sel:resources:ListPendingInvitationResourcesResponse', listPendingInvitationResourcesResponse_resources - An array of objects that contain the information about the resources included the specified resource share.

$sel:httpStatus:ListPendingInvitationResourcesResponse', listPendingInvitationResourcesResponse_httpStatus - The response's http status code.

Response Lenses

listPendingInvitationResourcesResponse_nextToken :: Lens' ListPendingInvitationResourcesResponse (Maybe Text) Source #

If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.

listPendingInvitationResourcesResponse_resources :: Lens' ListPendingInvitationResourcesResponse (Maybe [Resource]) Source #

An array of objects that contain the information about the resources included the specified resource share.