Using the Client

To contact Amazon Kinesis Video Streams with the SDK use the New function to create
a new service client. With that client you can make API requests to the service.
These clients are safe to use concurrently.

Internal call graph ▹

Internal call graph ▾

In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.

The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.

Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.

Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.

const (
// ErrCodeAccountStreamLimitExceededException for service response error code// "AccountStreamLimitExceededException".//// The number of streams created for the account is too high.ErrCodeAccountStreamLimitExceededException = "AccountStreamLimitExceededException"
// ErrCodeClientLimitExceededException for service response error code// "ClientLimitExceededException".//// Kinesis Video Streams has throttled the request because you have exceeded// the limit of allowed client calls. Try making the call later.ErrCodeClientLimitExceededException = "ClientLimitExceededException"
// ErrCodeDeviceStreamLimitExceededException for service response error code// "DeviceStreamLimitExceededException".//// Not implemented.ErrCodeDeviceStreamLimitExceededException = "DeviceStreamLimitExceededException"
// ErrCodeInvalidArgumentException for service response error code// "InvalidArgumentException".//// The value for this input parameter is invalid.ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeInvalidDeviceException for service response error code// "InvalidDeviceException".//// Not implemented.ErrCodeInvalidDeviceException = "InvalidDeviceException"
// ErrCodeInvalidResourceFormatException for service response error code// "InvalidResourceFormatException".//// The format of the StreamARN is invalid.ErrCodeInvalidResourceFormatException = "InvalidResourceFormatException"
// ErrCodeNotAuthorizedException for service response error code// "NotAuthorizedException".//// The caller is not authorized to perform this operation.ErrCodeNotAuthorizedException = "NotAuthorizedException"
// ErrCodeResourceInUseException for service response error code// "ResourceInUseException".//// The stream is currently not available for this operation.ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code// "ResourceNotFoundException".//// Amazon Kinesis Video Streams can't find the stream that you specified.ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTagsPerResourceExceededLimitException for service response error code// "TagsPerResourceExceededLimitException".//// You have exceeded the limit of tags that you can associate with the resource.// Kinesis video streams support up to 50 tags.ErrCodeTagsPerResourceExceededLimitException = "TagsPerResourceExceededLimitException"
// ErrCodeVersionMismatchException for service response error code// "VersionMismatchException".//// The stream version that you specified is not the latest version. To get the// latest version, use the DescribeStream (http://docs.aws.amazon.com/kinesisvideo/latest/dg/API_DescribeStream.html)// API.ErrCodeVersionMismatchException = "VersionMismatchException"
)

type CreateStreamInput struct {
// The number of hours that you want to retain the data in the stream. Kinesis// Video Streams retains the data in a data store that is associated with the// stream.//// The default value is 0, indicating that the stream does not persist data.
DataRetentionInHours *int64 `type:"integer"`
// The name of the device that is writing to the stream.//// In the current implementation, Kinesis Video Streams does not use this name.
DeviceName *string `min:"1" type:"string"`
// The ID of the AWS Key Management Service (AWS KMS) key that you want Kinesis// Video Streams to use to encrypt stream data.//// If no key ID is specified, the default, Kinesis Video-managed key (aws/kinesisvideo)// is used.//// For more information, see DescribeKey (http://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters).
KmsKeyId *string `min:"1" type:"string"`
// The media type of the stream. Consumers of the stream can use this information// when processing the stream. For more information about media types, see Media// Types (http://www.iana.org/assignments/media-types/media-types.xhtml). If// you choose to specify the MediaType, see Naming Requirements (https://tools.ietf.org/html/rfc6838#section-4.2)// for guidelines.//// To play video on the console, the media must be H.264 encoded, and you need// to specify this video type in this parameter as video/h264.//// This parameter is optional; the default value is null (or empty in JSON).
MediaType *string `min:"1" type:"string"`
// A name for the stream that you are creating.//// The stream name is an identifier for the stream, and must be unique for each// account and region.//// StreamName is a required field
StreamName *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

type DeleteStreamInput struct {
// Optional: The version of the stream that you want to delete.//// Specify the version as a safeguard to ensure that your are deleting the correct// stream. To get the stream version, use the DescribeStream API.//// If not specified, only the CreationTime is checked before deleting the stream.
CurrentVersion *string `min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the stream that you want to delete.//// StreamARN is a required field
StreamARN *string `min:"1" type:"string" required:"true"`
// contains filtered or unexported fields
}

type GetDataEndpointInput struct {
// The name of the API action for which to get an endpoint.//// APIName is a required field
APIName *string `type:"string" required:"true" enum:"APIName"`
// The Amazon Resource Name (ARN) of the stream that you want to get the endpoint// for. You must specify either this parameter or a StreamName in the request.
StreamARN *string `min:"1" type:"string"`
// The name of the stream that you want to get the endpoint for. You must specify// either this parameter or a StreamARN in the request.
StreamName *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

* ErrCodeAccountStreamLimitExceededException "AccountStreamLimitExceededException"
The number of streams created for the account is too high.
* ErrCodeDeviceStreamLimitExceededException "DeviceStreamLimitExceededException"
Not implemented.
* ErrCodeResourceInUseException "ResourceInUseException"
The stream is currently not available for this operation.
* ErrCodeInvalidDeviceException "InvalidDeviceException"
Not implemented.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.

CreateStreamRequest generates a "aws/request.Request" representing the
client's request for the CreateStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See CreateStream for more information on using the CreateStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

CreateStreamWithContext is the same as CreateStream with the addition of
the ability to pass a context and additional request options.

See CreateStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

This method marks the stream for deletion, and makes the data in the stream
inaccessible immediately.

To ensure that you have the latest version of the stream before deleting
it, you can specify the stream version. Kinesis Video Streams assigns a version
to each stream. When you update a stream, Kinesis Video Streams assigns a
new version number. To get the latest stream version, use the DescribeStream
API.

This operation requires permission for the KinesisVideo:DeleteStream action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.

DeleteStreamRequest generates a "aws/request.Request" representing the
client's request for the DeleteStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DeleteStream for more information on using the DeleteStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DeleteStreamWithContext is the same as DeleteStream with the addition of
the ability to pass a context and additional request options.

See DeleteStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.

DescribeStreamRequest generates a "aws/request.Request" representing the
client's request for the DescribeStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See DescribeStream for more information on using the DescribeStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

DescribeStreamWithContext is the same as DescribeStream with the addition of
the ability to pass a context and additional request options.

See DescribeStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Gets an endpoint for a specified stream for either reading or writing. Use
this endpoint in your application to read from the specified stream (using
the GetMedia or GetMediaForFragmentList operations) or write to it (using
the PutMedia operation).

The returned endpoint does not have the API name appended. The client needs
to add the API name to the returned endpoint.

In the request, specify the stream either by StreamName or StreamARN.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.

GetDataEndpointRequest generates a "aws/request.Request" representing the
client's request for the GetDataEndpoint operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See GetDataEndpoint for more information on using the GetDataEndpoint
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

GetDataEndpointWithContext is the same as GetDataEndpoint with the addition of
the ability to pass a context and additional request options.

See GetDataEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.

ListStreamsRequest generates a "aws/request.Request" representing the
client's request for the ListStreams operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListStreams for more information on using the ListStreams
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListStreamsWithContext is the same as ListStreams with the addition of
the ability to pass a context and additional request options.

See ListStreams for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.
* ErrCodeInvalidResourceFormatException "InvalidResourceFormatException"
The format of the StreamARN is invalid.

ListTagsForStreamRequest generates a "aws/request.Request" representing the
client's request for the ListTagsForStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListTagsForStream for more information on using the ListTagsForStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

ListTagsForStreamWithContext is the same as ListTagsForStream with the addition of
the ability to pass a context and additional request options.

See ListTagsForStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Adds one or more tags to a stream. A tag is a key-value pair (the value is
optional) that you can define and assign to AWS resources. If you specify
a tag that already exists, the tag value is replaced with the value that
you specify in the request. For more information, see Using Cost Allocation
Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
in the AWS Billing and Cost Management User Guide.

You must provide either the StreamName or the StreamARN.

This operation requires permission for the KinesisVideo:TagStream action.

Kinesis video streams support up to 50 tags.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.
* ErrCodeInvalidResourceFormatException "InvalidResourceFormatException"
The format of the StreamARN is invalid.
* ErrCodeTagsPerResourceExceededLimitException "TagsPerResourceExceededLimitException"
You have exceeded the limit of tags that you can associate with the resource.
Kinesis video streams support up to 50 tags.

TagStreamRequest generates a "aws/request.Request" representing the
client's request for the TagStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See TagStream for more information on using the TagStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

TagStreamWithContext is the same as TagStream with the addition of
the ability to pass a context and additional request options.

See TagStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.
* ErrCodeInvalidResourceFormatException "InvalidResourceFormatException"
The format of the StreamARN is invalid.

UntagStreamRequest generates a "aws/request.Request" representing the
client's request for the UntagStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See UntagStream for more information on using the UntagStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

UntagStreamWithContext is the same as UntagStream with the addition of
the ability to pass a context and additional request options.

See UntagStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

Increases or decreases the stream's data retention period by the value that
you specify. To indicate whether you want to increase or decrease the data
retention period, specify the Operation parameter in the request body. In
the request, you must specify either the StreamName or the StreamARN.

The retention period that you specify replaces the current value.

This operation requires permission for the KinesisVideo:UpdateDataRetention
action.

Changing the data retention period affects the data in the stream as follows:

* If the data retention period is increased, existing data is retained
for the new retention period. For example, if the data retention period
is increased from one hour to seven hours, all existing data is retained
for seven hours.
* If the data retention period is decreased, existing data is retained
for the new retention period. For example, if the data retention period
is decreased from seven hours to one hour, all existing data is retained
for one hour, and any data older than one hour is deleted immediately.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeResourceInUseException "ResourceInUseException"
The stream is currently not available for this operation.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.
* ErrCodeVersionMismatchException "VersionMismatchException"
The stream version that you specified is not the latest version. To get the
latest version, use the DescribeStream (http://docs.aws.amazon.com/kinesisvideo/latest/dg/API_DescribeStream.html)
API.

UpdateDataRetentionRequest generates a "aws/request.Request" representing the
client's request for the UpdateDataRetention operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See UpdateDataRetention for more information on using the UpdateDataRetention
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

UpdateDataRetentionWithContext is the same as UpdateDataRetention with the addition of
the ability to pass a context and additional request options.

See UpdateDataRetention for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

You must provide the stream name or the Amazon Resource Name (ARN) of the
stream.

To make sure that you have the latest version of the stream before updating
it, you can specify the stream version. Kinesis Video Streams assigns a version
to each stream. When you update a stream, Kinesis Video Streams assigns a
new version number. To get the latest stream version, use the DescribeStream
API.

UpdateStream is an asynchronous operation, and takes time to complete.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions
with awserr.Error's Code and Message methods to get detailed information about
the error.

* ErrCodeClientLimitExceededException "ClientLimitExceededException"
Kinesis Video Streams has throttled the request because you have exceeded
the limit of allowed client calls. Try making the call later.
* ErrCodeInvalidArgumentException "InvalidArgumentException"
The value for this input parameter is invalid.
* ErrCodeResourceNotFoundException "ResourceNotFoundException"
Amazon Kinesis Video Streams can't find the stream that you specified.
* ErrCodeResourceInUseException "ResourceInUseException"
The stream is currently not available for this operation.
* ErrCodeNotAuthorizedException "NotAuthorizedException"
The caller is not authorized to perform this operation.
* ErrCodeVersionMismatchException "VersionMismatchException"
The stream version that you specified is not the latest version. To get the
latest version, use the DescribeStream (http://docs.aws.amazon.com/kinesisvideo/latest/dg/API_DescribeStream.html)
API.

UpdateStreamRequest generates a "aws/request.Request" representing the
client's request for the UpdateStream operation. The "output" return
value will be populated with the request's response once the request completes
successfuly.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See UpdateStream for more information on using the UpdateStream
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

UpdateStreamWithContext is the same as UpdateStream with the addition of
the ability to pass a context and additional request options.

See UpdateStream for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If
the context is nil a panic will occur. In the future the SDK may create
sub-contexts for http.Requests. See https://golang.org/pkg/context/
for more information on using Contexts.

type ListStreamsInput struct {
// The maximum number of streams to return in the response. The default is 10,000.
MaxResults *int64 `min:"1" type:"integer"`
// If you specify this parameter, when the result of a ListStreams operation// is truncated, the call returns the NextToken in the response. To get another// batch of streams, provide this token in your next request.
NextToken *string `type:"string"`
// Optional: Returns only streams that satisfy a specific condition. Currently,// you can specify only the prefix of a stream name as a condition.
StreamNameCondition *StreamNameCondition `type:"structure"`
// contains filtered or unexported fields
}

type ListStreamsOutput struct {
// If the response is truncated, the call returns this element with a token.// To get the next batch of streams, use this token in your next request.
NextToken *string `type:"string"`
// An array of StreamInfo objects.
StreamInfoList []*StreamInfo `type:"list"`
// contains filtered or unexported fields
}

type ListTagsForStreamInput struct {
// If you specify this parameter and the result of a ListTagsForStream call// is truncated, the response includes a token that you can use in the next// request to fetch the next batch of tags.
NextToken *string `type:"string"`
// The Amazon Resource Name (ARN) of the stream that you want to list tags for.
StreamARN *string `min:"1" type:"string"`
// The name of the stream that you want to list tags for.
StreamName *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

type ListTagsForStreamOutput struct {
// If you specify this parameter and the result of a ListTags call is truncated,// the response includes a token that you can use in the next request to fetch// the next set of tags.
NextToken *string `type:"string"`
// A map of tag keys and values associated with the specified stream.
Tags map[string]*string `min:"1" type:"map"`
// contains filtered or unexported fields
}

type StreamInfo struct {
// A time stamp that indicates when the stream was created.
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// How long the stream retains data, in hours.
DataRetentionInHours *int64 `type:"integer"`
// The name of the device that is associated with the stream.
DeviceName *string `min:"1" type:"string"`
// The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video// Streams uses to encrypt data on the stream.
KmsKeyId *string `min:"1" type:"string"`
// The MediaType of the stream.
MediaType *string `min:"1" type:"string"`
// The status of the stream.
Status *string `type:"string" enum:"Status"`
// The Amazon Resource Name (ARN) of the stream.
StreamARN *string `min:"1" type:"string"`
// The name of the stream.
StreamName *string `min:"1" type:"string"`
// The version of the stream.
Version *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

Specifies the condition that streams must satisfy to be returned when you
list streams (see the ListStreams API). A condition has a comparison operation
and a value. Currently, you can specify only the BEGINS_WITH operator, which
finds streams whose names start with a given prefix.

type TagStreamInput struct {
// The Amazon Resource Name (ARN) of the resource that you want to add the tag// or tags to.
StreamARN *string `min:"1" type:"string"`
// The name of the stream that you want to add the tag or tags to.
StreamName *string `min:"1" type:"string"`
// A list of tags to associate with the specified stream. Each tag is a key-value// pair (the value is optional).//// Tags is a required field
Tags map[string]*string `min:"1" type:"map" required:"true"`
// contains filtered or unexported fields
}

type UntagStreamInput struct {
// The Amazon Resource Name (ARN) of the stream that you want to remove tags// from.
StreamARN *string `min:"1" type:"string"`
// The name of the stream that you want to remove tags from.
StreamName *string `min:"1" type:"string"`
// A list of the keys of the tags that you want to remove.//// TagKeyList is a required field
TagKeyList []*string `min:"1" type:"list" required:"true"`
// contains filtered or unexported fields
}

type UpdateDataRetentionInput struct {
// The version of the stream whose retention period you want to change. To get// the version, call either the DescribeStream or the ListStreams API.//// CurrentVersion is a required field
CurrentVersion *string `min:"1" type:"string" required:"true"`
// The retention period, in hours. The value you specify replaces the current// value.//// DataRetentionChangeInHours is a required field
DataRetentionChangeInHours *int64 `min:"1" type:"integer" required:"true"`
// Indicates whether you want to increase or decrease the retention period.//// Operation is a required field
Operation *string `type:"string" required:"true" enum:"UpdateDataRetentionOperation"`
// The Amazon Resource Name (ARN) of the stream whose retention period you want// to change.
StreamARN *string `min:"1" type:"string"`
// The name of the stream whose retention period you want to change.
StreamName *string `min:"1" type:"string"`
// contains filtered or unexported fields
}

type UpdateStreamInput struct {
// The version of the stream whose metadata you want to update.//// CurrentVersion is a required field
CurrentVersion *string `min:"1" type:"string" required:"true"`
// The name of the device that is writing to the stream.//// In the current implementation, Kinesis Video Streams does not use this name.
DeviceName *string `min:"1" type:"string"`
// The stream's media type. Use MediaType to specify the type of content that// the stream contains to the consumers of the stream. For more information// about media types, see Media Types (http://www.iana.org/assignments/media-types/media-types.xhtml).// If you choose to specify the MediaType, see Naming Requirements (https://tools.sietf.org/html/rfc6838#section-4.2).//// To play video on the console, you must specify the correct video type. For// example, if the video in the stream is H.264, specify video/h264 as the MediaType.
MediaType *string `min:"1" type:"string"`
// The ARN of the stream whose metadata you want to update.
StreamARN *string `min:"1" type:"string"`
// The name of the stream whose metadata you want to update.//// The stream name is an identifier for the stream, and must be unique for each// account and region.
StreamName *string `min:"1" type:"string"`
// contains filtered or unexported fields
}