libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
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.MediaConvert.DescribeEndpoints

Description

Send an request with an empty body to the regional API endpoint to get your account API endpoint.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeEndpoints Source #

DescribeEndpointsRequest

See: newDescribeEndpoints smart constructor.

Constructors

DescribeEndpoints' 

Fields

  • mode :: Maybe DescribeEndpointsMode

    Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.

  • nextToken :: Maybe Text

    Use this string, provided with the response to a previous request, to request the next batch of endpoints.

  • maxResults :: Maybe Int

    Optional. Max number of endpoints, up to twenty, that will be returned at one time.

Instances

Instances details
Eq DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Read DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Show DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Generic DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Associated Types

type Rep DescribeEndpoints :: Type -> Type #

NFData DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Methods

rnf :: DescribeEndpoints -> () #

Hashable DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

ToJSON DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

AWSPager DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

AWSRequest DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Associated Types

type AWSResponse DescribeEndpoints #

ToHeaders DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

ToPath DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

ToQuery DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

type Rep DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

type Rep DescribeEndpoints = D1 ('MetaData "DescribeEndpoints" "Amazonka.MediaConvert.DescribeEndpoints" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "DescribeEndpoints'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DescribeEndpointsMode)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeEndpoints Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

newDescribeEndpoints :: DescribeEndpoints Source #

Create a value of DescribeEndpoints 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:mode:DescribeEndpoints', describeEndpoints_mode - Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.

$sel:nextToken:DescribeEndpoints', describeEndpoints_nextToken - Use this string, provided with the response to a previous request, to request the next batch of endpoints.

$sel:maxResults:DescribeEndpoints', describeEndpoints_maxResults - Optional. Max number of endpoints, up to twenty, that will be returned at one time.

Request Lenses

describeEndpoints_mode :: Lens' DescribeEndpoints (Maybe DescribeEndpointsMode) Source #

Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.

describeEndpoints_nextToken :: Lens' DescribeEndpoints (Maybe Text) Source #

Use this string, provided with the response to a previous request, to request the next batch of endpoints.

describeEndpoints_maxResults :: Lens' DescribeEndpoints (Maybe Int) Source #

Optional. Max number of endpoints, up to twenty, that will be returned at one time.

Destructuring the Response

data DescribeEndpointsResponse Source #

See: newDescribeEndpointsResponse smart constructor.

Constructors

DescribeEndpointsResponse' 

Fields

Instances

Instances details
Eq DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Read DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Show DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Generic DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

Associated Types

type Rep DescribeEndpointsResponse :: Type -> Type #

NFData DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

type Rep DescribeEndpointsResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.DescribeEndpoints

type Rep DescribeEndpointsResponse = D1 ('MetaData "DescribeEndpointsResponse" "Amazonka.MediaConvert.DescribeEndpoints" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "DescribeEndpointsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Endpoint])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeEndpointsResponse Source #

Create a value of DescribeEndpointsResponse 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:DescribeEndpoints', describeEndpointsResponse_nextToken - Use this string to request the next batch of endpoints.

$sel:endpoints:DescribeEndpointsResponse', describeEndpointsResponse_endpoints - List of endpoints

$sel:httpStatus:DescribeEndpointsResponse', describeEndpointsResponse_httpStatus - The response's http status code.

Response Lenses

describeEndpointsResponse_nextToken :: Lens' DescribeEndpointsResponse (Maybe Text) Source #

Use this string to request the next batch of endpoints.