func ChannelLatencyMode_Values() []string
ChannelLatencyMode_Values returns all elements of the ChannelLatencyMode enum
func ChannelType_Values() []string
ChannelType_Values returns all elements of the ChannelType enum
func StreamHealth_Values() []string
StreamHealth_Values returns all elements of the StreamHealth enum
func StreamState_Values() []string
StreamState_Values returns all elements of the StreamState enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // User does not have sufficient access to perform this action. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation
type BatchError struct { // Channel ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Error code. Code *string `locationName:"code" type:"string"` // Error message, determined by the application. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Error related to a specific channel, specified by its ARN.
func (s BatchError) GoString() string
GoString returns the string representation
func (s *BatchError) SetArn(v string) *BatchError
SetArn sets the Arn field's value.
func (s *BatchError) SetCode(v string) *BatchError
SetCode sets the Code field's value.
func (s *BatchError) SetMessage(v string) *BatchError
SetMessage sets the Message field's value.
func (s BatchError) String() string
String returns the string representation
type BatchGetChannelInput struct { // Array of ARNs, one per channel. // // Arns is a required field Arns []*string `locationName:"arns" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s BatchGetChannelInput) GoString() string
GoString returns the string representation
func (s *BatchGetChannelInput) SetArns(v []*string) *BatchGetChannelInput
SetArns sets the Arns field's value.
func (s BatchGetChannelInput) String() string
String returns the string representation
func (s *BatchGetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetChannelOutput struct { Channels []*Channel `locationName:"channels" type:"list"` // Each error object is related to a specific ARN in the request. Errors []*BatchError `locationName:"errors" type:"list"` // contains filtered or unexported fields }
func (s BatchGetChannelOutput) GoString() string
GoString returns the string representation
func (s *BatchGetChannelOutput) SetChannels(v []*Channel) *BatchGetChannelOutput
SetChannels sets the Channels field's value.
func (s *BatchGetChannelOutput) SetErrors(v []*BatchError) *BatchGetChannelOutput
SetErrors sets the Errors field's value.
func (s BatchGetChannelOutput) String() string
String returns the string representation
type BatchGetStreamKeyInput struct { // Array of ARNs, one per channel. // // Arns is a required field Arns []*string `locationName:"arns" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s BatchGetStreamKeyInput) GoString() string
GoString returns the string representation
func (s *BatchGetStreamKeyInput) SetArns(v []*string) *BatchGetStreamKeyInput
SetArns sets the Arns field's value.
func (s BatchGetStreamKeyInput) String() string
String returns the string representation
func (s *BatchGetStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetStreamKeyOutput struct { Errors []*BatchError `locationName:"errors" type:"list"` StreamKeys []*StreamKey `locationName:"streamKeys" type:"list"` // contains filtered or unexported fields }
func (s BatchGetStreamKeyOutput) GoString() string
GoString returns the string representation
func (s *BatchGetStreamKeyOutput) SetErrors(v []*BatchError) *BatchGetStreamKeyOutput
SetErrors sets the Errors field's value.
func (s *BatchGetStreamKeyOutput) SetStreamKeys(v []*StreamKey) *BatchGetStreamKeyOutput
SetStreamKeys sets the StreamKeys field's value.
func (s BatchGetStreamKeyOutput) String() string
String returns the string representation
type Channel struct { // Channel ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Whether the channel is authorized. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel ingest endpoint, part of the definition of an ingest server, used // when you set up streaming software. IngestEndpoint *string `locationName:"ingestEndpoint" type:"string"` // Channel latency mode. Default: LOW. LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Channel playback URL. PlaybackUrl *string `locationName:"playbackUrl" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value). Tags map[string]*string `locationName:"tags" type:"map"` // Channel type, which determines the allowable resolution and bitrate. If you // exceed the allowable resolution or bitrate, the stream probably will disconnect // immediately. Valid values: // // * STANDARD: Multiple qualities are generated from the original input, // to automatically give viewers the best experience for their devices and // network conditions. Vertical resolution can be up to 1080 and bitrate // can be up to 8.5 Mbps. // // * BASIC: Amazon IVS delivers the original input to viewers. The viewer’s // video-quality choice is limited to the original input. Vertical resolution // can be up to 480 and bitrate can be up to 1.5 Mbps. // // Default: STANDARD. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
Object specifying a channel.
func (s Channel) GoString() string
GoString returns the string representation
func (s *Channel) SetArn(v string) *Channel
SetArn sets the Arn field's value.
func (s *Channel) SetAuthorized(v bool) *Channel
SetAuthorized sets the Authorized field's value.
func (s *Channel) SetIngestEndpoint(v string) *Channel
SetIngestEndpoint sets the IngestEndpoint field's value.
func (s *Channel) SetLatencyMode(v string) *Channel
SetLatencyMode sets the LatencyMode field's value.
func (s *Channel) SetName(v string) *Channel
SetName sets the Name field's value.
func (s *Channel) SetPlaybackUrl(v string) *Channel
SetPlaybackUrl sets the PlaybackUrl field's value.
func (s *Channel) SetTags(v map[string]*string) *Channel
SetTags sets the Tags field's value.
func (s *Channel) SetType(v string) *Channel
SetType sets the Type field's value.
func (s Channel) String() string
String returns the string representation
type ChannelNotBroadcasting struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The stream is offline for the given channel ARN. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ChannelNotBroadcasting) Code() string
Code returns the exception type name.
func (s *ChannelNotBroadcasting) Error() string
func (s ChannelNotBroadcasting) GoString() string
GoString returns the string representation
func (s *ChannelNotBroadcasting) Message() string
Message returns the exception's message.
func (s *ChannelNotBroadcasting) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ChannelNotBroadcasting) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ChannelNotBroadcasting) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ChannelNotBroadcasting) String() string
String returns the string representation
type ChannelSummary struct { // Channel ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Whether the channel is authorized. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Default: LOW. LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value). Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Summary information about a channel.
func (s ChannelSummary) GoString() string
GoString returns the string representation
func (s *ChannelSummary) SetArn(v string) *ChannelSummary
SetArn sets the Arn field's value.
func (s *ChannelSummary) SetAuthorized(v bool) *ChannelSummary
SetAuthorized sets the Authorized field's value.
func (s *ChannelSummary) SetLatencyMode(v string) *ChannelSummary
SetLatencyMode sets the LatencyMode field's value.
func (s *ChannelSummary) SetName(v string) *ChannelSummary
SetName sets the Name field's value.
func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary
SetTags sets the Tags field's value.
func (s ChannelSummary) String() string
String returns the string representation
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Updating or deleting a resource can cause an inconsistent state. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation
type CreateChannelInput struct { // Whether the channel is authorized. Default: false. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Default: LOW. LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // See Channel$tags. Tags map[string]*string `locationName:"tags" type:"map"` // Channel type, which determines the allowable resolution and bitrate. If you // exceed the allowable resolution or bitrate, the stream probably will disconnect // immediately. Valid values: // // * STANDARD: Multiple qualities are generated from the original input, // to automatically give viewers the best experience for their devices and // network conditions. Vertical resolution can be up to 1080 and bitrate // can be up to 8.5 Mbps. // // * BASIC: Amazon IVS delivers the original input to viewers. The viewer’s // video-quality choice is limited to the original input. Vertical resolution // can be up to 480 and bitrate can be up to 1.5 Mbps. // // Default: STANDARD. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
func (s CreateChannelInput) GoString() string
GoString returns the string representation
func (s *CreateChannelInput) SetAuthorized(v bool) *CreateChannelInput
SetAuthorized sets the Authorized field's value.
func (s *CreateChannelInput) SetLatencyMode(v string) *CreateChannelInput
SetLatencyMode sets the LatencyMode field's value.
func (s *CreateChannelInput) SetName(v string) *CreateChannelInput
SetName sets the Name field's value.
func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput
SetTags sets the Tags field's value.
func (s *CreateChannelInput) SetType(v string) *CreateChannelInput
SetType sets the Type field's value.
func (s CreateChannelInput) String() string
String returns the string representation
type CreateChannelOutput struct { // Object specifying a channel. Channel *Channel `locationName:"channel" type:"structure"` // Object specifying a stream key. StreamKey *StreamKey `locationName:"streamKey" type:"structure"` // contains filtered or unexported fields }
func (s CreateChannelOutput) GoString() string
GoString returns the string representation
func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput
SetChannel sets the Channel field's value.
func (s *CreateChannelOutput) SetStreamKey(v *StreamKey) *CreateChannelOutput
SetStreamKey sets the StreamKey field's value.
func (s CreateChannelOutput) String() string
String returns the string representation
type CreateStreamKeyInput struct { // ARN of the channel for which to create the stream key. // // ChannelArn is a required field ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"` // See Channel$tags. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s CreateStreamKeyInput) GoString() string
GoString returns the string representation
func (s *CreateStreamKeyInput) SetChannelArn(v string) *CreateStreamKeyInput
SetChannelArn sets the ChannelArn field's value.
func (s *CreateStreamKeyInput) SetTags(v map[string]*string) *CreateStreamKeyInput
SetTags sets the Tags field's value.
func (s CreateStreamKeyInput) String() string
String returns the string representation
func (s *CreateStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStreamKeyOutput struct { // Stream key used to authenticate an RTMPS stream for ingestion. StreamKey *StreamKey `locationName:"streamKey" type:"structure"` // contains filtered or unexported fields }
func (s CreateStreamKeyOutput) GoString() string
GoString returns the string representation
func (s *CreateStreamKeyOutput) SetStreamKey(v *StreamKey) *CreateStreamKeyOutput
SetStreamKey sets the StreamKey field's value.
func (s CreateStreamKeyOutput) String() string
String returns the string representation
type DeleteChannelInput struct { // ARN of the channel to be deleted. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteChannelInput) GoString() string
GoString returns the string representation
func (s *DeleteChannelInput) SetArn(v string) *DeleteChannelInput
SetArn sets the Arn field's value.
func (s DeleteChannelInput) String() string
String returns the string representation
func (s *DeleteChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteChannelOutput) GoString() string
GoString returns the string representation
func (s DeleteChannelOutput) String() string
String returns the string representation
type DeletePlaybackKeyPairInput struct { // ARN of the key pair to be deleted. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeletePlaybackKeyPairInput) GoString() string
GoString returns the string representation
func (s *DeletePlaybackKeyPairInput) SetArn(v string) *DeletePlaybackKeyPairInput
SetArn sets the Arn field's value.
func (s DeletePlaybackKeyPairInput) String() string
String returns the string representation
func (s *DeletePlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePlaybackKeyPairOutput struct {
// contains filtered or unexported fields
}
func (s DeletePlaybackKeyPairOutput) GoString() string
GoString returns the string representation
func (s DeletePlaybackKeyPairOutput) String() string
String returns the string representation
type DeleteStreamKeyInput struct { // ARN of the stream key to be deleted. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteStreamKeyInput) GoString() string
GoString returns the string representation
func (s *DeleteStreamKeyInput) SetArn(v string) *DeleteStreamKeyInput
SetArn sets the Arn field's value.
func (s DeleteStreamKeyInput) String() string
String returns the string representation
func (s *DeleteStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteStreamKeyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteStreamKeyOutput) GoString() string
GoString returns the string representation
func (s DeleteStreamKeyOutput) String() string
String returns the string representation
type GetChannelInput struct { // ARN of the channel for which the configuration is to be retrieved. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetChannelInput) GoString() string
GoString returns the string representation
func (s *GetChannelInput) SetArn(v string) *GetChannelInput
SetArn sets the Arn field's value.
func (s GetChannelInput) String() string
String returns the string representation
func (s *GetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelOutput struct { // Object specifying a channel. Channel *Channel `locationName:"channel" type:"structure"` // contains filtered or unexported fields }
func (s GetChannelOutput) GoString() string
GoString returns the string representation
func (s *GetChannelOutput) SetChannel(v *Channel) *GetChannelOutput
SetChannel sets the Channel field's value.
func (s GetChannelOutput) String() string
String returns the string representation
type GetPlaybackKeyPairInput struct { // ARN of the key pair to be returned. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetPlaybackKeyPairInput) GoString() string
GoString returns the string representation
func (s *GetPlaybackKeyPairInput) SetArn(v string) *GetPlaybackKeyPairInput
SetArn sets the Arn field's value.
func (s GetPlaybackKeyPairInput) String() string
String returns the string representation
func (s *GetPlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPlaybackKeyPairOutput struct { // A key pair used to sign and validate a playback authorization token. KeyPair *PlaybackKeyPair `locationName:"keyPair" type:"structure"` // contains filtered or unexported fields }
func (s GetPlaybackKeyPairOutput) GoString() string
GoString returns the string representation
func (s *GetPlaybackKeyPairOutput) SetKeyPair(v *PlaybackKeyPair) *GetPlaybackKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (s GetPlaybackKeyPairOutput) String() string
String returns the string representation
type GetStreamInput struct { // Channel ARN for stream to be accessed. // // ChannelArn is a required field ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetStreamInput) GoString() string
GoString returns the string representation
func (s *GetStreamInput) SetChannelArn(v string) *GetStreamInput
SetChannelArn sets the ChannelArn field's value.
func (s GetStreamInput) String() string
String returns the string representation
func (s *GetStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStreamKeyInput struct { // ARN for the stream key to be retrieved. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetStreamKeyInput) GoString() string
GoString returns the string representation
func (s *GetStreamKeyInput) SetArn(v string) *GetStreamKeyInput
SetArn sets the Arn field's value.
func (s GetStreamKeyInput) String() string
String returns the string representation
func (s *GetStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStreamKeyOutput struct { // Object specifying a stream key. StreamKey *StreamKey `locationName:"streamKey" type:"structure"` // contains filtered or unexported fields }
func (s GetStreamKeyOutput) GoString() string
GoString returns the string representation
func (s *GetStreamKeyOutput) SetStreamKey(v *StreamKey) *GetStreamKeyOutput
SetStreamKey sets the StreamKey field's value.
func (s GetStreamKeyOutput) String() string
String returns the string representation
type GetStreamOutput struct { // Specifies a live video stream that has been ingested and distributed. Stream *Stream `locationName:"stream" type:"structure"` // contains filtered or unexported fields }
func (s GetStreamOutput) GoString() string
GoString returns the string representation
func (s *GetStreamOutput) SetStream(v *Stream) *GetStreamOutput
SetStream sets the Stream field's value.
func (s GetStreamOutput) String() string
String returns the string representation
type IVS struct { *client.Client }
IVS provides the API operation methods for making requests to Amazon Interactive Video Service. See this package's package overview docs for details on the service.
IVS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *IVS
New creates a new instance of the IVS client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a IVS client from just a session. svc := ivs.New(mySession) // Create a IVS client with additional configuration svc := ivs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *IVS) BatchGetChannel(input *BatchGetChannelInput) (*BatchGetChannelOutput, error)
BatchGetChannel API operation for Amazon Interactive Video Service.
Performs GetChannel on multiple ARNs simultaneously.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation BatchGetChannel for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetChannel
func (c *IVS) BatchGetChannelRequest(input *BatchGetChannelInput) (req *request.Request, output *BatchGetChannelOutput)
BatchGetChannelRequest generates a "aws/request.Request" representing the client's request for the BatchGetChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 BatchGetChannel for more information on using the BatchGetChannel 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.
// Example sending a request using the BatchGetChannelRequest method. req, resp := client.BatchGetChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetChannel
func (c *IVS) BatchGetChannelWithContext(ctx aws.Context, input *BatchGetChannelInput, opts ...request.Option) (*BatchGetChannelOutput, error)
BatchGetChannelWithContext is the same as BatchGetChannel with the addition of the ability to pass a context and additional request options.
See BatchGetChannel 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.
func (c *IVS) BatchGetStreamKey(input *BatchGetStreamKeyInput) (*BatchGetStreamKeyOutput, error)
BatchGetStreamKey API operation for Amazon Interactive Video Service.
Performs GetStreamKey on multiple ARNs simultaneously.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation BatchGetStreamKey for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetStreamKey
func (c *IVS) BatchGetStreamKeyRequest(input *BatchGetStreamKeyInput) (req *request.Request, output *BatchGetStreamKeyOutput)
BatchGetStreamKeyRequest generates a "aws/request.Request" representing the client's request for the BatchGetStreamKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 BatchGetStreamKey for more information on using the BatchGetStreamKey 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.
// Example sending a request using the BatchGetStreamKeyRequest method. req, resp := client.BatchGetStreamKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetStreamKey
func (c *IVS) BatchGetStreamKeyWithContext(ctx aws.Context, input *BatchGetStreamKeyInput, opts ...request.Option) (*BatchGetStreamKeyOutput, error)
BatchGetStreamKeyWithContext is the same as BatchGetStreamKey with the addition of the ability to pass a context and additional request options.
See BatchGetStreamKey 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.
func (c *IVS) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
CreateChannel API operation for Amazon Interactive Video Service.
Creates a new channel and an associated stream key to start streaming.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation CreateChannel for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ServiceQuotaExceededException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel
func (c *IVS) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
CreateChannelRequest generates a "aws/request.Request" representing the client's request for the CreateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 CreateChannel for more information on using the CreateChannel 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.
// Example sending a request using the CreateChannelRequest method. req, resp := client.CreateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel
func (c *IVS) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
CreateChannelWithContext is the same as CreateChannel with the addition of the ability to pass a context and additional request options.
See CreateChannel 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.
func (c *IVS) CreateStreamKey(input *CreateStreamKeyInput) (*CreateStreamKeyOutput, error)
CreateStreamKey API operation for Amazon Interactive Video Service.
Creates a stream key, used to initiate a stream, for the specified channel ARN.
Note that CreateChannel creates a stream key. If you subsequently use CreateStreamKey on the same channel, it will fail because a stream key already exists and there is a limit of 1 stream key per channel. To reset the stream key on a channel, use DeleteStreamKey and then CreateStreamKey.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation CreateStreamKey for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException * ServiceQuotaExceededException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKey
func (c *IVS) CreateStreamKeyRequest(input *CreateStreamKeyInput) (req *request.Request, output *CreateStreamKeyOutput)
CreateStreamKeyRequest generates a "aws/request.Request" representing the client's request for the CreateStreamKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 CreateStreamKey for more information on using the CreateStreamKey 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.
// Example sending a request using the CreateStreamKeyRequest method. req, resp := client.CreateStreamKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKey
func (c *IVS) CreateStreamKeyWithContext(ctx aws.Context, input *CreateStreamKeyInput, opts ...request.Option) (*CreateStreamKeyOutput, error)
CreateStreamKeyWithContext is the same as CreateStreamKey with the addition of the ability to pass a context and additional request options.
See CreateStreamKey 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.
func (c *IVS) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
DeleteChannel API operation for Amazon Interactive Video Service.
Deletes the specified channel and its associated stream keys.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation DeleteChannel for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException * ConflictException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteChannel
func (c *IVS) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
DeleteChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 DeleteChannel for more information on using the DeleteChannel 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.
// Example sending a request using the DeleteChannelRequest method. req, resp := client.DeleteChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteChannel
func (c *IVS) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
DeleteChannelWithContext is the same as DeleteChannel with the addition of the ability to pass a context and additional request options.
See DeleteChannel 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.
func (c *IVS) DeletePlaybackKeyPair(input *DeletePlaybackKeyPairInput) (*DeletePlaybackKeyPairOutput, error)
DeletePlaybackKeyPair API operation for Amazon Interactive Video Service.
Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation DeletePlaybackKeyPair for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair
func (c *IVS) DeletePlaybackKeyPairRequest(input *DeletePlaybackKeyPairInput) (req *request.Request, output *DeletePlaybackKeyPairOutput)
DeletePlaybackKeyPairRequest generates a "aws/request.Request" representing the client's request for the DeletePlaybackKeyPair operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 DeletePlaybackKeyPair for more information on using the DeletePlaybackKeyPair 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.
// Example sending a request using the DeletePlaybackKeyPairRequest method. req, resp := client.DeletePlaybackKeyPairRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair
func (c *IVS) DeletePlaybackKeyPairWithContext(ctx aws.Context, input *DeletePlaybackKeyPairInput, opts ...request.Option) (*DeletePlaybackKeyPairOutput, error)
DeletePlaybackKeyPairWithContext is the same as DeletePlaybackKeyPair with the addition of the ability to pass a context and additional request options.
See DeletePlaybackKeyPair 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.
func (c *IVS) DeleteStreamKey(input *DeleteStreamKeyInput) (*DeleteStreamKeyOutput, error)
DeleteStreamKey API operation for Amazon Interactive Video Service.
Deletes the stream key for the specified ARN, so it can no longer be used to stream.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation DeleteStreamKey for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteStreamKey
func (c *IVS) DeleteStreamKeyRequest(input *DeleteStreamKeyInput) (req *request.Request, output *DeleteStreamKeyOutput)
DeleteStreamKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteStreamKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 DeleteStreamKey for more information on using the DeleteStreamKey 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.
// Example sending a request using the DeleteStreamKeyRequest method. req, resp := client.DeleteStreamKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteStreamKey
func (c *IVS) DeleteStreamKeyWithContext(ctx aws.Context, input *DeleteStreamKeyInput, opts ...request.Option) (*DeleteStreamKeyOutput, error)
DeleteStreamKeyWithContext is the same as DeleteStreamKey with the addition of the ability to pass a context and additional request options.
See DeleteStreamKey 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.
func (c *IVS) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
GetChannel API operation for Amazon Interactive Video Service.
Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation GetChannel for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetChannel
func (c *IVS) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
GetChannelRequest generates a "aws/request.Request" representing the client's request for the GetChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 GetChannel for more information on using the GetChannel 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.
// Example sending a request using the GetChannelRequest method. req, resp := client.GetChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetChannel
func (c *IVS) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
GetChannelWithContext is the same as GetChannel with the addition of the ability to pass a context and additional request options.
See GetChannel 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.
func (c *IVS) GetPlaybackKeyPair(input *GetPlaybackKeyPairInput) (*GetPlaybackKeyPairOutput, error)
GetPlaybackKeyPair API operation for Amazon Interactive Video Service.
Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to authorized channels.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation GetPlaybackKeyPair for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair
func (c *IVS) GetPlaybackKeyPairRequest(input *GetPlaybackKeyPairInput) (req *request.Request, output *GetPlaybackKeyPairOutput)
GetPlaybackKeyPairRequest generates a "aws/request.Request" representing the client's request for the GetPlaybackKeyPair operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 GetPlaybackKeyPair for more information on using the GetPlaybackKeyPair 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.
// Example sending a request using the GetPlaybackKeyPairRequest method. req, resp := client.GetPlaybackKeyPairRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair
func (c *IVS) GetPlaybackKeyPairWithContext(ctx aws.Context, input *GetPlaybackKeyPairInput, opts ...request.Option) (*GetPlaybackKeyPairOutput, error)
GetPlaybackKeyPairWithContext is the same as GetPlaybackKeyPair with the addition of the ability to pass a context and additional request options.
See GetPlaybackKeyPair 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.
func (c *IVS) GetStream(input *GetStreamInput) (*GetStreamOutput, error)
GetStream API operation for Amazon Interactive Video Service.
Gets information about the active (live) stream on a specified channel.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation GetStream for usage and error information.
Returned Error Types:
* ResourceNotFoundException * ValidationException * AccessDeniedException * ChannelNotBroadcasting
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStream
func (c *IVS) GetStreamKey(input *GetStreamKeyInput) (*GetStreamKeyOutput, error)
GetStreamKey API operation for Amazon Interactive Video Service.
Gets stream-key information for a specified ARN.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation GetStreamKey for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamKey
func (c *IVS) GetStreamKeyRequest(input *GetStreamKeyInput) (req *request.Request, output *GetStreamKeyOutput)
GetStreamKeyRequest generates a "aws/request.Request" representing the client's request for the GetStreamKey operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 GetStreamKey for more information on using the GetStreamKey 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.
// Example sending a request using the GetStreamKeyRequest method. req, resp := client.GetStreamKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamKey
func (c *IVS) GetStreamKeyWithContext(ctx aws.Context, input *GetStreamKeyInput, opts ...request.Option) (*GetStreamKeyOutput, error)
GetStreamKeyWithContext is the same as GetStreamKey with the addition of the ability to pass a context and additional request options.
See GetStreamKey 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.
func (c *IVS) GetStreamRequest(input *GetStreamInput) (req *request.Request, output *GetStreamOutput)
GetStreamRequest generates a "aws/request.Request" representing the client's request for the GetStream operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 GetStream for more information on using the GetStream 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.
// Example sending a request using the GetStreamRequest method. req, resp := client.GetStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStream
func (c *IVS) GetStreamWithContext(ctx aws.Context, input *GetStreamInput, opts ...request.Option) (*GetStreamOutput, error)
GetStreamWithContext is the same as GetStream with the addition of the ability to pass a context and additional request options.
See GetStream 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.
func (c *IVS) ImportPlaybackKeyPair(input *ImportPlaybackKeyPairInput) (*ImportPlaybackKeyPairOutput, error)
ImportPlaybackKeyPair API operation for Amazon Interactive Video Service.
Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to authorized channels.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ImportPlaybackKeyPair for usage and error information.
Returned Error Types:
* ValidationException * ConflictException * AccessDeniedException * ServiceQuotaExceededException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair
func (c *IVS) ImportPlaybackKeyPairRequest(input *ImportPlaybackKeyPairInput) (req *request.Request, output *ImportPlaybackKeyPairOutput)
ImportPlaybackKeyPairRequest generates a "aws/request.Request" representing the client's request for the ImportPlaybackKeyPair operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 ImportPlaybackKeyPair for more information on using the ImportPlaybackKeyPair 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.
// Example sending a request using the ImportPlaybackKeyPairRequest method. req, resp := client.ImportPlaybackKeyPairRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair
func (c *IVS) ImportPlaybackKeyPairWithContext(ctx aws.Context, input *ImportPlaybackKeyPairInput, opts ...request.Option) (*ImportPlaybackKeyPairOutput, error)
ImportPlaybackKeyPairWithContext is the same as ImportPlaybackKeyPair with the addition of the ability to pass a context and additional request options.
See ImportPlaybackKeyPair 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.
func (c *IVS) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
ListChannels API operation for Amazon Interactive Video Service.
Gets summary information about all channels in your account, in the AWS region where the API request is processed. This list can be filtered to match a specified string.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ListChannels for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels
func (c *IVS) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
ListChannelsPages iterates over the pages of a ListChannels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListChannels method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListChannels operation. pageNum := 0 err := client.ListChannelsPages(params, func(page *ivs.ListChannelsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *IVS) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error
ListChannelsPagesWithContext same as ListChannelsPages except it takes a Context and allows setting request options on the pages.
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.
func (c *IVS) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
ListChannelsRequest generates a "aws/request.Request" representing the client's request for the ListChannels operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 ListChannels for more information on using the ListChannels 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.
// Example sending a request using the ListChannelsRequest method. req, resp := client.ListChannelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels
func (c *IVS) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
ListChannelsWithContext is the same as ListChannels with the addition of the ability to pass a context and additional request options.
See ListChannels 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.
func (c *IVS) ListPlaybackKeyPairs(input *ListPlaybackKeyPairsInput) (*ListPlaybackKeyPairsOutput, error)
ListPlaybackKeyPairs API operation for Amazon Interactive Video Service.
Gets summary information about playback key pairs.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ListPlaybackKeyPairs for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs
func (c *IVS) ListPlaybackKeyPairsPages(input *ListPlaybackKeyPairsInput, fn func(*ListPlaybackKeyPairsOutput, bool) bool) error
ListPlaybackKeyPairsPages iterates over the pages of a ListPlaybackKeyPairs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPlaybackKeyPairs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPlaybackKeyPairs operation. pageNum := 0 err := client.ListPlaybackKeyPairsPages(params, func(page *ivs.ListPlaybackKeyPairsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *IVS) ListPlaybackKeyPairsPagesWithContext(ctx aws.Context, input *ListPlaybackKeyPairsInput, fn func(*ListPlaybackKeyPairsOutput, bool) bool, opts ...request.Option) error
ListPlaybackKeyPairsPagesWithContext same as ListPlaybackKeyPairsPages except it takes a Context and allows setting request options on the pages.
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.
func (c *IVS) ListPlaybackKeyPairsRequest(input *ListPlaybackKeyPairsInput) (req *request.Request, output *ListPlaybackKeyPairsOutput)
ListPlaybackKeyPairsRequest generates a "aws/request.Request" representing the client's request for the ListPlaybackKeyPairs operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 ListPlaybackKeyPairs for more information on using the ListPlaybackKeyPairs 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.
// Example sending a request using the ListPlaybackKeyPairsRequest method. req, resp := client.ListPlaybackKeyPairsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs
func (c *IVS) ListPlaybackKeyPairsWithContext(ctx aws.Context, input *ListPlaybackKeyPairsInput, opts ...request.Option) (*ListPlaybackKeyPairsOutput, error)
ListPlaybackKeyPairsWithContext is the same as ListPlaybackKeyPairs with the addition of the ability to pass a context and additional request options.
See ListPlaybackKeyPairs 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.
func (c *IVS) ListStreamKeys(input *ListStreamKeysInput) (*ListStreamKeysOutput, error)
ListStreamKeys API operation for Amazon Interactive Video Service.
Gets summary information about stream keys for the specified channel.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ListStreamKeys for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamKeys
func (c *IVS) ListStreamKeysPages(input *ListStreamKeysInput, fn func(*ListStreamKeysOutput, bool) bool) error
ListStreamKeysPages iterates over the pages of a ListStreamKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListStreamKeys method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListStreamKeys operation. pageNum := 0 err := client.ListStreamKeysPages(params, func(page *ivs.ListStreamKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *IVS) ListStreamKeysPagesWithContext(ctx aws.Context, input *ListStreamKeysInput, fn func(*ListStreamKeysOutput, bool) bool, opts ...request.Option) error
ListStreamKeysPagesWithContext same as ListStreamKeysPages except it takes a Context and allows setting request options on the pages.
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.
func (c *IVS) ListStreamKeysRequest(input *ListStreamKeysInput) (req *request.Request, output *ListStreamKeysOutput)
ListStreamKeysRequest generates a "aws/request.Request" representing the client's request for the ListStreamKeys operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 ListStreamKeys for more information on using the ListStreamKeys 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.
// Example sending a request using the ListStreamKeysRequest method. req, resp := client.ListStreamKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamKeys
func (c *IVS) ListStreamKeysWithContext(ctx aws.Context, input *ListStreamKeysInput, opts ...request.Option) (*ListStreamKeysOutput, error)
ListStreamKeysWithContext is the same as ListStreamKeys with the addition of the ability to pass a context and additional request options.
See ListStreamKeys 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.
func (c *IVS) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error)
ListStreams API operation for Amazon Interactive Video Service.
Gets summary information about live streams in your account, in the AWS region where the API request is processed.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ListStreams for usage and error information.
Returned Error Types:
* AccessDeniedException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreams
func (c *IVS) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error
ListStreamsPages iterates over the pages of a ListStreams operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListStreams method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListStreams operation. pageNum := 0 err := client.ListStreamsPages(params, func(page *ivs.ListStreamsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *IVS) ListStreamsPagesWithContext(ctx aws.Context, input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool, opts ...request.Option) error
ListStreamsPagesWithContext same as ListStreamsPages except it takes a Context and allows setting request options on the pages.
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.
func (c *IVS) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput)
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 successfully.
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.
// Example sending a request using the ListStreamsRequest method. req, resp := client.ListStreamsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreams
func (c *IVS) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInput, opts ...request.Option) (*ListStreamsOutput, error)
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.
func (c *IVS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Interactive Video Service.
Gets information about AWS tags for the specified ARN.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation ListTagsForResource for usage and error information.
Returned Error Types:
* InternalServerException * ValidationException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListTagsForResource
func (c *IVS) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error
ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTagsForResource method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTagsForResource operation. pageNum := 0 err := client.ListTagsForResourcePages(params, func(page *ivs.ListTagsForResourceOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *IVS) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error
ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.
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.
func (c *IVS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 ListTagsForResource for more information on using the ListTagsForResource 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.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListTagsForResource
func (c *IVS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource 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.
func (c *IVS) PutMetadata(input *PutMetadataInput) (*PutMetadataOutput, error)
PutMetadata API operation for Amazon Interactive Video Service.
Inserts metadata into an RTMPS stream for the specified channel. A maximum of 5 requests per second per channel is allowed, each with a maximum 1KB payload.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation PutMetadata for usage and error information.
Returned Error Types:
* ThrottlingException * ResourceNotFoundException * ChannelNotBroadcasting * ValidationException * AccessDeniedException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PutMetadata
func (c *IVS) PutMetadataRequest(input *PutMetadataInput) (req *request.Request, output *PutMetadataOutput)
PutMetadataRequest generates a "aws/request.Request" representing the client's request for the PutMetadata operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 PutMetadata for more information on using the PutMetadata 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.
// Example sending a request using the PutMetadataRequest method. req, resp := client.PutMetadataRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PutMetadata
func (c *IVS) PutMetadataWithContext(ctx aws.Context, input *PutMetadataInput, opts ...request.Option) (*PutMetadataOutput, error)
PutMetadataWithContext is the same as PutMetadata with the addition of the ability to pass a context and additional request options.
See PutMetadata 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.
func (c *IVS) StopStream(input *StopStreamInput) (*StopStreamOutput, error)
StopStream API operation for Amazon Interactive Video Service.
Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.
Many streaming client-software libraries automatically reconnect a dropped RTMPS session, so to stop the stream permanently, you may want to first revoke the streamKey attached to the channel.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation StopStream for usage and error information.
Returned Error Types:
* ResourceNotFoundException * ChannelNotBroadcasting * ValidationException * AccessDeniedException * StreamUnavailable
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StopStream
func (c *IVS) StopStreamRequest(input *StopStreamInput) (req *request.Request, output *StopStreamOutput)
StopStreamRequest generates a "aws/request.Request" representing the client's request for the StopStream operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 StopStream for more information on using the StopStream 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.
// Example sending a request using the StopStreamRequest method. req, resp := client.StopStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StopStream
func (c *IVS) StopStreamWithContext(ctx aws.Context, input *StopStreamInput, opts ...request.Option) (*StopStreamOutput, error)
StopStreamWithContext is the same as StopStream with the addition of the ability to pass a context and additional request options.
See StopStream 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.
func (c *IVS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Interactive Video Service.
Adds or updates tags for the AWS resource with the specified ARN.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation TagResource for usage and error information.
Returned Error Types:
* InternalServerException * ValidationException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/TagResource
func (c *IVS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 TagResource for more information on using the TagResource 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.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/TagResource
func (c *IVS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource 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.
func (c *IVS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Interactive Video Service.
Removes tags from the resource with the specified ARN.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation UntagResource for usage and error information.
Returned Error Types:
* InternalServerException * ValidationException * ResourceNotFoundException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UntagResource
func (c *IVS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 UntagResource for more information on using the UntagResource 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.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UntagResource
func (c *IVS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource 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.
func (c *IVS) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
UpdateChannel API operation for Amazon Interactive Video Service.
Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.
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.
See the AWS API reference guide for Amazon Interactive Video Service's API operation UpdateChannel for usage and error information.
Returned Error Types:
* ValidationException * AccessDeniedException * ResourceNotFoundException * ConflictException * PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannel
func (c *IVS) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
UpdateChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateChannel operation. The "output" return value will be populated with the request's response once the request completes successfully.
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 UpdateChannel for more information on using the UpdateChannel 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.
// Example sending a request using the UpdateChannelRequest method. req, resp := client.UpdateChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannel
func (c *IVS) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
UpdateChannelWithContext is the same as UpdateChannel with the addition of the ability to pass a context and additional request options.
See UpdateChannel 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 ImportPlaybackKeyPairInput struct { // An arbitrary string (a nickname) assigned to a playback key pair that helps // the customer identify that resource. The value does not need to be unique. Name *string `locationName:"name" type:"string"` // The public portion of a customer-generated key pair. // // PublicKeyMaterial is a required field PublicKeyMaterial *string `locationName:"publicKeyMaterial" type:"string" required:"true"` // Any tags provided with the request are added to the playback key pair tags. Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
func (s ImportPlaybackKeyPairInput) GoString() string
GoString returns the string representation
func (s *ImportPlaybackKeyPairInput) SetName(v string) *ImportPlaybackKeyPairInput
SetName sets the Name field's value.
func (s *ImportPlaybackKeyPairInput) SetPublicKeyMaterial(v string) *ImportPlaybackKeyPairInput
SetPublicKeyMaterial sets the PublicKeyMaterial field's value.
func (s *ImportPlaybackKeyPairInput) SetTags(v map[string]*string) *ImportPlaybackKeyPairInput
SetTags sets the Tags field's value.
func (s ImportPlaybackKeyPairInput) String() string
String returns the string representation
func (s *ImportPlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportPlaybackKeyPairOutput struct { // A key pair used to sign and validate a playback authorization token. KeyPair *PlaybackKeyPair `locationName:"keyPair" type:"structure"` // contains filtered or unexported fields }
func (s ImportPlaybackKeyPairOutput) GoString() string
GoString returns the string representation
func (s *ImportPlaybackKeyPairOutput) SetKeyPair(v *PlaybackKeyPair) *ImportPlaybackKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (s ImportPlaybackKeyPairOutput) String() string
String returns the string representation
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Unexpected error during processing of request. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation
type ListChannelsInput struct { // Filters the channel list to match the specified name. FilterByName *string `locationName:"filterByName" type:"string"` // Maximum number of channels to return. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The first channel to retrieve. This is used for pagination; see the nextToken // response field. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListChannelsInput) GoString() string
GoString returns the string representation
func (s *ListChannelsInput) SetFilterByName(v string) *ListChannelsInput
SetFilterByName sets the FilterByName field's value.
func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
SetNextToken sets the NextToken field's value.
func (s ListChannelsInput) String() string
String returns the string representation
func (s *ListChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelsOutput struct { // List of the matching channels. // // Channels is a required field Channels []*ChannelSummary `locationName:"channels" type:"list" required:"true"` // If there are more channels than maxResults, use nextToken in the request // to get the next set. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListChannelsOutput) GoString() string
GoString returns the string representation
func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput
SetChannels sets the Channels field's value.
func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput
SetNextToken sets the NextToken field's value.
func (s ListChannelsOutput) String() string
String returns the string representation
type ListPlaybackKeyPairsInput struct { // The first key pair to retrieve. This is used for pagination; see the nextToken // response field. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // Maximum number of key pairs to return. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListPlaybackKeyPairsInput) GoString() string
GoString returns the string representation
func (s *ListPlaybackKeyPairsInput) SetMaxResults(v int64) *ListPlaybackKeyPairsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListPlaybackKeyPairsInput) SetNextToken(v string) *ListPlaybackKeyPairsInput
SetNextToken sets the NextToken field's value.
func (s ListPlaybackKeyPairsInput) String() string
String returns the string representation
func (s *ListPlaybackKeyPairsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPlaybackKeyPairsOutput struct { // List of key pairs. // // KeyPairs is a required field KeyPairs []*PlaybackKeyPairSummary `locationName:"keyPairs" type:"list" required:"true"` // If there are more key pairs than maxResults, use nextToken in the request // to get the next set. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListPlaybackKeyPairsOutput) GoString() string
GoString returns the string representation
func (s *ListPlaybackKeyPairsOutput) SetKeyPairs(v []*PlaybackKeyPairSummary) *ListPlaybackKeyPairsOutput
SetKeyPairs sets the KeyPairs field's value.
func (s *ListPlaybackKeyPairsOutput) SetNextToken(v string) *ListPlaybackKeyPairsOutput
SetNextToken sets the NextToken field's value.
func (s ListPlaybackKeyPairsOutput) String() string
String returns the string representation
type ListStreamKeysInput struct { // Channel ARN used to filter the list. // // ChannelArn is a required field ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"` // Maximum number of streamKeys to return. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The first stream key to retrieve. This is used for pagination; see the nextToken // response field. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListStreamKeysInput) GoString() string
GoString returns the string representation
func (s *ListStreamKeysInput) SetChannelArn(v string) *ListStreamKeysInput
SetChannelArn sets the ChannelArn field's value.
func (s *ListStreamKeysInput) SetMaxResults(v int64) *ListStreamKeysInput
SetMaxResults sets the MaxResults field's value.
func (s *ListStreamKeysInput) SetNextToken(v string) *ListStreamKeysInput
SetNextToken sets the NextToken field's value.
func (s ListStreamKeysInput) String() string
String returns the string representation
func (s *ListStreamKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamKeysOutput struct { // If there are more stream keys than maxResults, use nextToken in the request // to get the next set. NextToken *string `locationName:"nextToken" type:"string"` // List of stream keys. // // StreamKeys is a required field StreamKeys []*StreamKeySummary `locationName:"streamKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (s ListStreamKeysOutput) GoString() string
GoString returns the string representation
func (s *ListStreamKeysOutput) SetNextToken(v string) *ListStreamKeysOutput
SetNextToken sets the NextToken field's value.
func (s *ListStreamKeysOutput) SetStreamKeys(v []*StreamKeySummary) *ListStreamKeysOutput
SetStreamKeys sets the StreamKeys field's value.
func (s ListStreamKeysOutput) String() string
String returns the string representation
type ListStreamsInput struct { // Maximum number of streams to return. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The first stream to retrieve. This is used for pagination; see the nextToken // response field. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (s ListStreamsInput) GoString() string
GoString returns the string representation
func (s *ListStreamsInput) SetMaxResults(v int64) *ListStreamsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListStreamsInput) SetNextToken(v string) *ListStreamsInput
SetNextToken sets the NextToken field's value.
func (s ListStreamsInput) String() string
String returns the string representation
func (s *ListStreamsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamsOutput struct { // If there are more streams than maxResults, use nextToken in the request to // get the next set. NextToken *string `locationName:"nextToken" type:"string"` // List of streams. // // Streams is a required field Streams []*StreamSummary `locationName:"streams" type:"list" required:"true"` // contains filtered or unexported fields }
func (s ListStreamsOutput) GoString() string
GoString returns the string representation
func (s *ListStreamsOutput) SetNextToken(v string) *ListStreamsOutput
SetNextToken sets the NextToken field's value.
func (s *ListStreamsOutput) SetStreams(v []*StreamSummary) *ListStreamsOutput
SetStreams sets the Streams field's value.
func (s ListStreamsOutput) String() string
String returns the string representation
type ListTagsForResourceInput struct { // Maximum number of tags to return. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The first tag to retrieve. This is used for pagination; see the nextToken // response field. NextToken *string `locationName:"nextToken" type:"string"` // The ARN of the resource to be retrieved. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
SetNextToken sets the NextToken field's value.
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // If there are more tags than maxResults, use nextToken in the request to get // the next set. NextToken *string `locationName:"nextToken" type:"string"` // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput
SetNextToken sets the NextToken field's value.
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type PendingVerification struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Your account is pending verification. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *PendingVerification) Code() string
Code returns the exception type name.
func (s *PendingVerification) Error() string
func (s PendingVerification) GoString() string
GoString returns the string representation
func (s *PendingVerification) Message() string
Message returns the exception's message.
func (s *PendingVerification) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *PendingVerification) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *PendingVerification) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s PendingVerification) String() string
String returns the string representation
type PlaybackKeyPair struct { // Key-pair ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Key-pair identifier. Fingerprint *string `locationName:"fingerprint" type:"string"` // Key-pair name. Name *string `locationName:"name" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value). Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
A key pair used to sign and validate a playback authorization token.
func (s PlaybackKeyPair) GoString() string
GoString returns the string representation
func (s *PlaybackKeyPair) SetArn(v string) *PlaybackKeyPair
SetArn sets the Arn field's value.
func (s *PlaybackKeyPair) SetFingerprint(v string) *PlaybackKeyPair
SetFingerprint sets the Fingerprint field's value.
func (s *PlaybackKeyPair) SetName(v string) *PlaybackKeyPair
SetName sets the Name field's value.
func (s *PlaybackKeyPair) SetTags(v map[string]*string) *PlaybackKeyPair
SetTags sets the Tags field's value.
func (s PlaybackKeyPair) String() string
String returns the string representation
type PlaybackKeyPairSummary struct { // Key-pair ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Key-pair name. Name *string `locationName:"name" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value) Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Summary information about a playback key pair.
func (s PlaybackKeyPairSummary) GoString() string
GoString returns the string representation
func (s *PlaybackKeyPairSummary) SetArn(v string) *PlaybackKeyPairSummary
SetArn sets the Arn field's value.
func (s *PlaybackKeyPairSummary) SetName(v string) *PlaybackKeyPairSummary
SetName sets the Name field's value.
func (s *PlaybackKeyPairSummary) SetTags(v map[string]*string) *PlaybackKeyPairSummary
SetTags sets the Tags field's value.
func (s PlaybackKeyPairSummary) String() string
String returns the string representation
type PutMetadataInput struct { // ARN of the channel into which metadata is inserted. This channel must have // an active stream. // // ChannelArn is a required field ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"` // Metadata to insert into the stream. Maximum: 1 KB per request. // // Metadata is a required field Metadata *string `locationName:"metadata" type:"string" required:"true"` // contains filtered or unexported fields }
func (s PutMetadataInput) GoString() string
GoString returns the string representation
func (s *PutMetadataInput) SetChannelArn(v string) *PutMetadataInput
SetChannelArn sets the ChannelArn field's value.
func (s *PutMetadataInput) SetMetadata(v string) *PutMetadataInput
SetMetadata sets the Metadata field's value.
func (s PutMetadataInput) String() string
String returns the string representation
func (s *PutMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutMetadataOutput struct {
// contains filtered or unexported fields
}
func (s PutMetadataOutput) GoString() string
GoString returns the string representation
func (s PutMetadataOutput) String() string
String returns the string representation
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Request references a resource which does not exist. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Request would cause a service quota to be exceeded. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) String() string
String returns the string representation
type StopStreamInput struct { // ARN of the channel for which the stream is to be stopped. // // ChannelArn is a required field ChannelArn *string `locationName:"channelArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s StopStreamInput) GoString() string
GoString returns the string representation
func (s *StopStreamInput) SetChannelArn(v string) *StopStreamInput
SetChannelArn sets the ChannelArn field's value.
func (s StopStreamInput) String() string
String returns the string representation
func (s *StopStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopStreamOutput struct {
// contains filtered or unexported fields
}
func (s StopStreamOutput) GoString() string
GoString returns the string representation
func (s StopStreamOutput) String() string
String returns the string representation
type Stream struct { // Channel ARN for the stream. ChannelArn *string `locationName:"channelArn" min:"1" type:"string"` // The stream’s health. Health *string `locationName:"health" type:"string" enum:"StreamHealth"` // URL of the video master manifest, required by the video player to play the // HLS stream. PlaybackUrl *string `locationName:"playbackUrl" type:"string"` // ISO-8601 formatted timestamp of the stream’s start. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The stream’s state. State *string `locationName:"state" type:"string" enum:"StreamState"` // Number of current viewers of the stream. ViewerCount *int64 `locationName:"viewerCount" type:"long"` // contains filtered or unexported fields }
Specifies a live video stream that has been ingested and distributed.
func (s Stream) GoString() string
GoString returns the string representation
func (s *Stream) SetChannelArn(v string) *Stream
SetChannelArn sets the ChannelArn field's value.
func (s *Stream) SetHealth(v string) *Stream
SetHealth sets the Health field's value.
func (s *Stream) SetPlaybackUrl(v string) *Stream
SetPlaybackUrl sets the PlaybackUrl field's value.
func (s *Stream) SetStartTime(v time.Time) *Stream
SetStartTime sets the StartTime field's value.
func (s *Stream) SetState(v string) *Stream
SetState sets the State field's value.
func (s *Stream) SetViewerCount(v int64) *Stream
SetViewerCount sets the ViewerCount field's value.
func (s Stream) String() string
String returns the string representation
type StreamKey struct { // Stream-key ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Channel ARN for the stream. ChannelArn *string `locationName:"channelArn" min:"1" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value). Tags map[string]*string `locationName:"tags" type:"map"` // Stream-key value. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Object specifying a stream key.
func (s StreamKey) GoString() string
GoString returns the string representation
func (s *StreamKey) SetArn(v string) *StreamKey
SetArn sets the Arn field's value.
func (s *StreamKey) SetChannelArn(v string) *StreamKey
SetChannelArn sets the ChannelArn field's value.
func (s *StreamKey) SetTags(v map[string]*string) *StreamKey
SetTags sets the Tags field's value.
func (s *StreamKey) SetValue(v string) *StreamKey
SetValue sets the Value field's value.
func (s StreamKey) String() string
String returns the string representation
type StreamKeySummary struct { // Stream-key ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Channel ARN for the stream. ChannelArn *string `locationName:"channelArn" min:"1" type:"string"` // Array of 1-50 maps, each of the form string:string (key:value). Tags map[string]*string `locationName:"tags" type:"map"` // contains filtered or unexported fields }
Summary information about a stream key.
func (s StreamKeySummary) GoString() string
GoString returns the string representation
func (s *StreamKeySummary) SetArn(v string) *StreamKeySummary
SetArn sets the Arn field's value.
func (s *StreamKeySummary) SetChannelArn(v string) *StreamKeySummary
SetChannelArn sets the ChannelArn field's value.
func (s *StreamKeySummary) SetTags(v map[string]*string) *StreamKeySummary
SetTags sets the Tags field's value.
func (s StreamKeySummary) String() string
String returns the string representation
type StreamSummary struct { // Channel ARN for the stream. ChannelArn *string `locationName:"channelArn" min:"1" type:"string"` // The stream’s health. Health *string `locationName:"health" type:"string" enum:"StreamHealth"` // ISO-8601 formatted timestamp of the stream’s start. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // The stream’s state. State *string `locationName:"state" type:"string" enum:"StreamState"` // Number of current viewers of the stream. ViewerCount *int64 `locationName:"viewerCount" type:"long"` // contains filtered or unexported fields }
Summary information about a stream.
func (s StreamSummary) GoString() string
GoString returns the string representation
func (s *StreamSummary) SetChannelArn(v string) *StreamSummary
SetChannelArn sets the ChannelArn field's value.
func (s *StreamSummary) SetHealth(v string) *StreamSummary
SetHealth sets the Health field's value.
func (s *StreamSummary) SetStartTime(v time.Time) *StreamSummary
SetStartTime sets the StartTime field's value.
func (s *StreamSummary) SetState(v string) *StreamSummary
SetState sets the State field's value.
func (s *StreamSummary) SetViewerCount(v int64) *StreamSummary
SetViewerCount sets the ViewerCount field's value.
func (s StreamSummary) String() string
String returns the string representation
type StreamUnavailable struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The stream is temporarily unavailable. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *StreamUnavailable) Code() string
Code returns the exception type name.
func (s *StreamUnavailable) Error() string
func (s StreamUnavailable) GoString() string
GoString returns the string representation
func (s *StreamUnavailable) Message() string
Message returns the exception's message.
func (s *StreamUnavailable) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *StreamUnavailable) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *StreamUnavailable) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s StreamUnavailable) String() string
String returns the string representation
type TagResourceInput struct { // ARN of the resource for which tags are to be added or updated. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // Array of tags to be added or updated. // // Tags is a required field Tags map[string]*string `locationName:"tags" type:"map" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (s TagResourceOutput) String() string
String returns the string representation
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Request was denied due to request throttling. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
func (s ThrottlingException) GoString() string
GoString returns the string representation
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ThrottlingException) String() string
String returns the string representation
type UntagResourceInput struct { // ARN of the resource for which tags are to be removed. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // Array of tags to be removed. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateChannelInput struct { // ARN of the channel to be updated. // // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // Whether the channel is authorized. Default: false. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Default: LOW. LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Channel type, which determines the allowable resolution and bitrate. If you // exceed the allowable resolution or bitrate, the stream probably will disconnect // immediately. Valid values: // // * STANDARD: Multiple qualities are generated from the original input, // to automatically give viewers the best experience for their devices and // network conditions. Vertical resolution can be up to 1080 and bitrate // can be up to 8.5 Mbps. // // * BASIC: Amazon IVS delivers the original input to viewers. The viewer’s // video-quality choice is limited to the original input. Vertical resolution // can be up to 480 and bitrate can be up to 1.5 Mbps. // // Default: STANDARD. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
func (s UpdateChannelInput) GoString() string
GoString returns the string representation
func (s *UpdateChannelInput) SetArn(v string) *UpdateChannelInput
SetArn sets the Arn field's value.
func (s *UpdateChannelInput) SetAuthorized(v bool) *UpdateChannelInput
SetAuthorized sets the Authorized field's value.
func (s *UpdateChannelInput) SetLatencyMode(v string) *UpdateChannelInput
SetLatencyMode sets the LatencyMode field's value.
func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput
SetName sets the Name field's value.
func (s *UpdateChannelInput) SetType(v string) *UpdateChannelInput
SetType sets the Type field's value.
func (s UpdateChannelInput) String() string
String returns the string representation
func (s *UpdateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelOutput struct { // Object specifying a channel. Channel *Channel `locationName:"channel" type:"structure"` // contains filtered or unexported fields }
func (s UpdateChannelOutput) GoString() string
GoString returns the string representation
func (s *UpdateChannelOutput) SetChannel(v *Channel) *UpdateChannelOutput
SetChannel sets the Channel field's value.
func (s UpdateChannelOutput) String() string
String returns the string representation
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The input fails to satisfy the constraints specified by an AWS service. ExceptionMessage *string `locationName:"exceptionMessage" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
func (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
func (s ValidationException) GoString() string
GoString returns the string representation
func (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ValidationException) String() string
String returns the string representation