amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.UpdateStream

Description

Updates an existing stream. The stream version will be incremented by one.

Requires permission to access the UpdateStream action.

Synopsis

Creating a Request

data UpdateStream Source #

See: newUpdateStream smart constructor.

Constructors

UpdateStream' 

Fields

Instances

Instances details
ToJSON UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

ToHeaders UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

ToPath UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

ToQuery UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

AWSRequest UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type AWSResponse UpdateStream #

Generic UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type Rep UpdateStream :: Type -> Type #

Read UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Show UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

NFData UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Methods

rnf :: UpdateStream -> () #

Eq UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Hashable UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type AWSResponse UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStream = D1 ('MetaData "UpdateStream" "Amazonka.IoT.UpdateStream" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateStream'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty StreamFile)))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateStream Source #

Create a value of UpdateStream 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:

UpdateStream, updateStream_description - The description of the stream.

UpdateStream, updateStream_files - The files associated with the stream.

UpdateStream, updateStream_roleArn - An IAM role that allows the IoT service principal assumes to access your S3 files.

UpdateStream, updateStream_streamId - The stream ID.

Request Lenses

updateStream_description :: Lens' UpdateStream (Maybe Text) Source #

The description of the stream.

updateStream_files :: Lens' UpdateStream (Maybe (NonEmpty StreamFile)) Source #

The files associated with the stream.

updateStream_roleArn :: Lens' UpdateStream (Maybe Text) Source #

An IAM role that allows the IoT service principal assumes to access your S3 files.

Destructuring the Response

data UpdateStreamResponse Source #

See: newUpdateStreamResponse smart constructor.

Constructors

UpdateStreamResponse' 

Fields

Instances

Instances details
Generic UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type Rep UpdateStreamResponse :: Type -> Type #

Read UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Show UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

NFData UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Methods

rnf :: UpdateStreamResponse -> () #

Eq UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStreamResponse = D1 ('MetaData "UpdateStreamResponse" "Amazonka.IoT.UpdateStream" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UpdateStreamResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateStreamResponse Source #

Create a value of UpdateStreamResponse 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:

UpdateStream, updateStreamResponse_description - A description of the stream.

UpdateStreamResponse, updateStreamResponse_streamArn - The stream ARN.

UpdateStream, updateStreamResponse_streamId - The stream ID.

UpdateStreamResponse, updateStreamResponse_streamVersion - The stream version.

$sel:httpStatus:UpdateStreamResponse', updateStreamResponse_httpStatus - The response's http status code.

Response Lenses