libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.ListApprovedOrigins

Description

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all approved origins associated with the instance.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApprovedOrigins Source #

See: newListApprovedOrigins smart constructor.

Constructors

ListApprovedOrigins' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
Eq ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Read ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Show ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Generic ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Associated Types

type Rep ListApprovedOrigins :: Type -> Type #

NFData ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Methods

rnf :: ListApprovedOrigins -> () #

Hashable ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

AWSPager ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

AWSRequest ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Associated Types

type AWSResponse ListApprovedOrigins #

ToHeaders ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

ToPath ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

ToQuery ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

type Rep ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

type Rep ListApprovedOrigins = D1 ('MetaData "ListApprovedOrigins" "Amazonka.Connect.ListApprovedOrigins" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListApprovedOrigins'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListApprovedOrigins Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

newListApprovedOrigins Source #

Create a value of ListApprovedOrigins 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:ListApprovedOrigins', listApprovedOrigins_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListApprovedOrigins', listApprovedOrigins_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListApprovedOrigins', listApprovedOrigins_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

listApprovedOrigins_nextToken :: Lens' ListApprovedOrigins (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listApprovedOrigins_maxResults :: Lens' ListApprovedOrigins (Maybe Natural) Source #

The maximum number of results to return per page.

listApprovedOrigins_instanceId :: Lens' ListApprovedOrigins Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data ListApprovedOriginsResponse Source #

See: newListApprovedOriginsResponse smart constructor.

Constructors

ListApprovedOriginsResponse' 

Fields

Instances

Instances details
Eq ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Read ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Show ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Generic ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

Associated Types

type Rep ListApprovedOriginsResponse :: Type -> Type #

NFData ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

type Rep ListApprovedOriginsResponse Source # 
Instance details

Defined in Amazonka.Connect.ListApprovedOrigins

type Rep ListApprovedOriginsResponse = D1 ('MetaData "ListApprovedOriginsResponse" "Amazonka.Connect.ListApprovedOrigins" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListApprovedOriginsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "origins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListApprovedOriginsResponse Source #

Create a value of ListApprovedOriginsResponse 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:ListApprovedOrigins', listApprovedOriginsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:origins:ListApprovedOriginsResponse', listApprovedOriginsResponse_origins - The approved origins.

$sel:httpStatus:ListApprovedOriginsResponse', listApprovedOriginsResponse_httpStatus - The response's http status code.

Response Lenses

listApprovedOriginsResponse_nextToken :: Lens' ListApprovedOriginsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.