libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.DescribeEndpoint

Description

Returns a unique endpoint specific to the Amazon Web Services account making the call.

Requires permission to access the DescribeEndpoint action.

Synopsis

Creating a Request

data DescribeEndpoint Source #

The input for the DescribeEndpoint operation.

See: newDescribeEndpoint smart constructor.

Constructors

DescribeEndpoint' 

Fields

  • endpointType :: Maybe Text

    The endpoint type. Valid endpoint types include:

    • iot:Data - Returns a VeriSign signed data endpoint.
    • iot:Data-ATS - Returns an ATS signed data endpoint.
    • iot:CredentialProvider - Returns an IoT credentials provider API endpoint.
    • iot:Jobs - Returns an IoT device management Jobs API endpoint.

    We strongly recommend that customers use the newer iot:Data-ATS endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities.

Instances

Instances details
Eq DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Read DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Show DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Generic DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Associated Types

type Rep DescribeEndpoint :: Type -> Type #

NFData DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Methods

rnf :: DescribeEndpoint -> () #

Hashable DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

AWSRequest DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Associated Types

type AWSResponse DescribeEndpoint #

ToHeaders DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

ToPath DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

ToQuery DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

type Rep DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

type Rep DescribeEndpoint = D1 ('MetaData "DescribeEndpoint" "Amazonka.IoT.DescribeEndpoint" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeEndpoint Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

newDescribeEndpoint :: DescribeEndpoint Source #

Create a value of DescribeEndpoint 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:endpointType:DescribeEndpoint', describeEndpoint_endpointType - The endpoint type. Valid endpoint types include:

  • iot:Data - Returns a VeriSign signed data endpoint.
  • iot:Data-ATS - Returns an ATS signed data endpoint.
  • iot:CredentialProvider - Returns an IoT credentials provider API endpoint.
  • iot:Jobs - Returns an IoT device management Jobs API endpoint.

We strongly recommend that customers use the newer iot:Data-ATS endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities.

Request Lenses

describeEndpoint_endpointType :: Lens' DescribeEndpoint (Maybe Text) Source #

The endpoint type. Valid endpoint types include:

  • iot:Data - Returns a VeriSign signed data endpoint.
  • iot:Data-ATS - Returns an ATS signed data endpoint.
  • iot:CredentialProvider - Returns an IoT credentials provider API endpoint.
  • iot:Jobs - Returns an IoT device management Jobs API endpoint.

We strongly recommend that customers use the newer iot:Data-ATS endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities.

Destructuring the Response

data DescribeEndpointResponse Source #

The output from the DescribeEndpoint operation.

See: newDescribeEndpointResponse smart constructor.

Constructors

DescribeEndpointResponse' 

Fields

Instances

Instances details
Eq DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Read DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Show DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Generic DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

Associated Types

type Rep DescribeEndpointResponse :: Type -> Type #

NFData DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

type Rep DescribeEndpointResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeEndpoint

type Rep DescribeEndpointResponse = D1 ('MetaData "DescribeEndpointResponse" "Amazonka.IoT.DescribeEndpoint" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeEndpointResponse Source #

Create a value of DescribeEndpointResponse 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:endpointAddress:DescribeEndpointResponse', describeEndpointResponse_endpointAddress - The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com.

$sel:httpStatus:DescribeEndpointResponse', describeEndpointResponse_httpStatus - The response's http status code.

Response Lenses

describeEndpointResponse_endpointAddress :: Lens' DescribeEndpointResponse (Maybe Text) Source #

The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com.