libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge
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.SageMakerEdge.GetDeviceRegistration

Description

Use to check if a device is registered with SageMaker Edge Manager.

Synopsis

Creating a Request

data GetDeviceRegistration Source #

See: newGetDeviceRegistration smart constructor.

Constructors

GetDeviceRegistration' 

Fields

  • deviceName :: Text

    The unique name of the device you want to get the registration status from.

  • deviceFleetName :: Text

    The name of the fleet that the device belongs to.

Instances

Instances details
Eq GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Read GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Show GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Generic GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type Rep GetDeviceRegistration :: Type -> Type #

NFData GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Methods

rnf :: GetDeviceRegistration -> () #

Hashable GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToJSON GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

AWSRequest GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type AWSResponse GetDeviceRegistration #

ToHeaders GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToPath GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

ToQuery GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistration = D1 ('MetaData "GetDeviceRegistration" "Amazonka.SageMakerEdge.GetDeviceRegistration" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "GetDeviceRegistration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deviceFleetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDeviceRegistration Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

newGetDeviceRegistration Source #

Create a value of GetDeviceRegistration 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:deviceName:GetDeviceRegistration', getDeviceRegistration_deviceName - The unique name of the device you want to get the registration status from.

$sel:deviceFleetName:GetDeviceRegistration', getDeviceRegistration_deviceFleetName - The name of the fleet that the device belongs to.

Request Lenses

getDeviceRegistration_deviceName :: Lens' GetDeviceRegistration Text Source #

The unique name of the device you want to get the registration status from.

getDeviceRegistration_deviceFleetName :: Lens' GetDeviceRegistration Text Source #

The name of the fleet that the device belongs to.

Destructuring the Response

data GetDeviceRegistrationResponse Source #

See: newGetDeviceRegistrationResponse smart constructor.

Constructors

GetDeviceRegistrationResponse' 

Fields

  • cacheTTL :: Maybe Text

    The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.

  • deviceRegistration :: Maybe Text

    Describes if the device is currently registered with SageMaker Edge Manager.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Read GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Show GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Generic GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

Associated Types

type Rep GetDeviceRegistrationResponse :: Type -> Type #

NFData GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistrationResponse Source # 
Instance details

Defined in Amazonka.SageMakerEdge.GetDeviceRegistration

type Rep GetDeviceRegistrationResponse = D1 ('MetaData "GetDeviceRegistrationResponse" "Amazonka.SageMakerEdge.GetDeviceRegistration" "libZSservicesZSamazonka-sagemaker-edgeZSamazonka-sagemaker-edge" 'False) (C1 ('MetaCons "GetDeviceRegistrationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheTTL") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDeviceRegistrationResponse Source #

Create a value of GetDeviceRegistrationResponse 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:cacheTTL:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_cacheTTL - The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.

$sel:deviceRegistration:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_deviceRegistration - Describes if the device is currently registered with SageMaker Edge Manager.

$sel:httpStatus:GetDeviceRegistrationResponse', getDeviceRegistrationResponse_httpStatus - The response's http status code.

Response Lenses

getDeviceRegistrationResponse_cacheTTL :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #

The amount of time, in seconds, that the registration status is stored on the device’s cache before it is refreshed.

getDeviceRegistrationResponse_deviceRegistration :: Lens' GetDeviceRegistrationResponse (Maybe Text) Source #

Describes if the device is currently registered with SageMaker Edge Manager.