AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DeleteStreamInput

import "github.com/aws/aws-sdk-go/service/kinesisvideo"

type DeleteStreamInput struct { CurrentVersion *string `min:"1" type:"string"` StreamARN *string `min:"1" type:"string" required:"true"` }

CurrentVersion

Type: *string

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.

StreamARN

Type: *string

The Amazon Resource Name (ARN) of the stream that you want to delete.

StreamARN is a required field

Method

GoString

func (s DeleteStreamInput) GoString() string

GoString returns the string representation

SetCurrentVersion

func (s *DeleteStreamInput) SetCurrentVersion(v string) *DeleteStreamInput

SetCurrentVersion sets the CurrentVersion field's value.

SetStreamARN

func (s *DeleteStreamInput) SetStreamARN(v string) *DeleteStreamInput

SetStreamARN sets the StreamARN field's value.

String

func (s DeleteStreamInput) String() string

String returns the string representation

Validate

func (s *DeleteStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: