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.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
Eq UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Read UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Show UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Generic UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type Rep UpdateStream :: Type -> Type #

NFData UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Methods

rnf :: UpdateStream -> () #

Hashable UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

ToJSON UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

AWSRequest UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type AWSResponse 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

type Rep UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStream = D1 ('MetaData "UpdateStream" "Amazonka.IoT.UpdateStream" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateStream'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty StreamFile))) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateStream Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

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:

$sel:files:UpdateStream', updateStream_files - The files associated with the stream.

$sel:description:UpdateStream', updateStream_description - The description of the stream.

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

$sel:streamId:UpdateStream', updateStream_streamId - The stream ID.

Request Lenses

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

The files associated with the stream.

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

The description of 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
Eq UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Read UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Show UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Generic UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Associated Types

type Rep UpdateStreamResponse :: Type -> Type #

NFData UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

Methods

rnf :: UpdateStreamResponse -> () #

type Rep UpdateStreamResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateStream

type Rep UpdateStreamResponse = D1 ('MetaData "UpdateStreamResponse" "Amazonka.IoT.UpdateStream" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateStreamResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "streamVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "streamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

$sel:streamVersion:UpdateStreamResponse', updateStreamResponse_streamVersion - The stream version.

$sel:streamArn:UpdateStreamResponse', updateStreamResponse_streamArn - The stream ARN.

$sel:description:UpdateStream', updateStreamResponse_description - A description of the stream.

$sel:streamId:UpdateStream', updateStreamResponse_streamId - The stream ID.

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

Response Lenses