libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.GetUploadStatus

Description

Gets the status of the specified upload.

Synopsis

Creating a Request

data GetUploadStatus Source #

See: newGetUploadStatus smart constructor.

Constructors

GetUploadStatus' 

Fields

  • uploadId :: Text

    The ID of the upload. This value is returned by the UploadEntityDefinitions action.

Instances

Instances details
Eq GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Read GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Show GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Generic GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Associated Types

type Rep GetUploadStatus :: Type -> Type #

NFData GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Methods

rnf :: GetUploadStatus -> () #

Hashable GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

ToJSON GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

AWSRequest GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Associated Types

type AWSResponse GetUploadStatus #

ToHeaders GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

ToPath GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

ToQuery GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

type Rep GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

type Rep GetUploadStatus = D1 ('MetaData "GetUploadStatus" "Amazonka.IoTThingsGraph.GetUploadStatus" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetUploadStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "uploadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetUploadStatus Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

newGetUploadStatus Source #

Create a value of GetUploadStatus 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:uploadId:GetUploadStatus', getUploadStatus_uploadId - The ID of the upload. This value is returned by the UploadEntityDefinitions action.

Request Lenses

getUploadStatus_uploadId :: Lens' GetUploadStatus Text Source #

The ID of the upload. This value is returned by the UploadEntityDefinitions action.

Destructuring the Response

data GetUploadStatusResponse Source #

See: newGetUploadStatusResponse smart constructor.

Constructors

GetUploadStatusResponse' 

Fields

Instances

Instances details
Eq GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Read GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Show GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Generic GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Associated Types

type Rep GetUploadStatusResponse :: Type -> Type #

NFData GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

Methods

rnf :: GetUploadStatusResponse -> () #

type Rep GetUploadStatusResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetUploadStatus

type Rep GetUploadStatusResponse = D1 ('MetaData "GetUploadStatusResponse" "Amazonka.IoTThingsGraph.GetUploadStatus" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetUploadStatusResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "namespaceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "namespaceVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "uploadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "uploadStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UploadStatus) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newGetUploadStatusResponse Source #

Create a value of GetUploadStatusResponse 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:failureReason:GetUploadStatusResponse', getUploadStatusResponse_failureReason - The reason for an upload failure.

$sel:namespaceArn:GetUploadStatusResponse', getUploadStatusResponse_namespaceArn - The ARN of the upload.

$sel:namespaceVersion:GetUploadStatusResponse', getUploadStatusResponse_namespaceVersion - The version of the user's namespace. Defaults to the latest version of the user's namespace.

$sel:namespaceName:GetUploadStatusResponse', getUploadStatusResponse_namespaceName - The name of the upload's namespace.

$sel:httpStatus:GetUploadStatusResponse', getUploadStatusResponse_httpStatus - The response's http status code.

$sel:uploadId:GetUploadStatus', getUploadStatusResponse_uploadId - The ID of the upload.

$sel:uploadStatus:GetUploadStatusResponse', getUploadStatusResponse_uploadStatus - The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.

$sel:createdDate:GetUploadStatusResponse', getUploadStatusResponse_createdDate - The date at which the upload was created.

Response Lenses

getUploadStatusResponse_namespaceVersion :: Lens' GetUploadStatusResponse (Maybe Integer) Source #

The version of the user's namespace. Defaults to the latest version of the user's namespace.

getUploadStatusResponse_uploadStatus :: Lens' GetUploadStatusResponse UploadStatus Source #

The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.