Documentation ¶
Overview ¶
Package ivs provides the client and types for making API requests to Amazon Interactive Video Service.
Introduction ¶
The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an AWS EventBridge event stream for responses. JSON is used for both requests and responses, including errors.
The API is an AWS regional service, currently in these regions: us-west-2, us-east-1, and eu-west-1.
All API request parameters and URLs are case sensitive.
For a summary of notable documentation changes in each release, see Document History (https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html).
Service Endpoints ¶
The following are the Amazon IVS service endpoints (all HTTPS):
Region name: US West (Oregon)
Region: us-west-2
Endpoint: ivs.us-west-2.amazonaws.com
Region name: US East (Virginia)
Region: us-east-1
Endpoint: ivs.us-east-1.amazonaws.com
Region name: EU West (Dublin)
Region: eu-west-1
Endpoint: ivs.eu-west-1.amazonaws.com
Allowed Header Values
Accept: application/json
Accept-Encoding: gzip, deflate
Content-Type: application/json
Resources ¶
The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS (https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html)):
Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream. See the Channel endpoints for more information.
Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. See the StreamKey endpoints for more information. Treat the stream key like a secret, since it allows anyone to stream to the channel.
Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair endpoints for more information.
Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration. See the Recording Configuration endpoints for more information.
Tagging ¶
A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) for more information, including restrictions that apply to tags.
Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html)).
The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.
Authentication versus Authorization ¶
Note the differences between these concepts:
Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.
Authorization is about granting permissions. You need to be authorized to view Amazon IVS private channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html). (Private channels are channels that are enabled for "playback authorization.")
Authentication ¶
All Amazon IVS API requests must be authenticated with a signature. The AWS Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.
You generate a signature using valid AWS credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from an IAM user account that has the ivs:PutMetadata permission.
For more information:
Authentication and generating signatures — See Authenticating Requests (AWS Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) in the AWS General Reference.
Managing Amazon IVS permissions — See Identity and Access Management (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on the Security page of the Amazon IVS User Guide.
Channel Endpoints
CreateChannel — Creates a new channel and an associated stream key to start streaming.
GetChannel — Gets the channel configuration for the specified channel ARN (Amazon Resource Name).
BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously.
ListChannels — 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 name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 Conflict Exception).
UpdateChannel — 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.
DeleteChannel — Deletes the specified channel.
StreamKey Endpoints
CreateStreamKey — Creates a stream key, used to initiate a stream, for the specified channel ARN.
GetStreamKey — Gets stream key information for the specified ARN.
BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously.
ListStreamKeys — Gets summary information about stream keys for the specified channel.
DeleteStreamKey — Deletes the stream key for the specified ARN, so it can no longer be used to stream.
Stream Endpoints
GetStream — Gets information about the active (live) stream on a specified channel.
ListStreams — Gets summary information about live streams in your account, in the AWS region where the API request is processed.
StopStream — Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.
PutMetadata — Inserts metadata into the active stream of the specified channel. A maximum of 5 requests per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.)
PlaybackKeyPair Endpoints ¶
For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the Amazon IVS User Guide.
ImportPlaybackKeyPair — 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 private channels (channels enabled for playback authorization).
GetPlaybackKeyPair — 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 private channels.
ListPlaybackKeyPairs — Gets summary information about playback key pairs.
DeletePlaybackKeyPair — Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.
RecordingConfiguration Endpoints
CreateRecordingConfiguration — Creates a new recording configuration, used to enable recording to Amazon S3.
GetRecordingConfiguration — Gets the recording-configuration metadata for the specified ARN.
ListRecordingConfigurations — Gets summary information about all recording configurations in your account, in the AWS region where the API request is processed.
DeleteRecordingConfiguration — Deletes the recording configuration for the specified ARN.
AWS Tags Endpoints
TagResource — Adds or updates tags for the AWS resource with the specified ARN.
UntagResource — Removes tags from the resource with the specified ARN.
ListTagsForResource — Gets information about AWS tags for the specified ARN.
See https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14 for more information on this service.
See ivs package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ivs/
Using the Client ¶
To contact Amazon Interactive Video Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Interactive Video Service client IVS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ivs/#New
Index ¶
- Constants
- func ChannelLatencyMode_Values() []string
- func ChannelType_Values() []string
- func RecordingConfigurationState_Values() []string
- func StreamHealth_Values() []string
- func StreamState_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type BatchError
- type BatchGetChannelInput
- type BatchGetChannelOutput
- type BatchGetStreamKeyInput
- type BatchGetStreamKeyOutput
- type Channel
- func (s Channel) GoString() string
- func (s *Channel) SetArn(v string) *Channel
- func (s *Channel) SetAuthorized(v bool) *Channel
- func (s *Channel) SetIngestEndpoint(v string) *Channel
- func (s *Channel) SetLatencyMode(v string) *Channel
- func (s *Channel) SetName(v string) *Channel
- func (s *Channel) SetPlaybackUrl(v string) *Channel
- func (s *Channel) SetRecordingConfigurationArn(v string) *Channel
- func (s *Channel) SetTags(v map[string]*string) *Channel
- func (s *Channel) SetType(v string) *Channel
- func (s Channel) String() string
- type ChannelNotBroadcasting
- func (s *ChannelNotBroadcasting) Code() string
- func (s *ChannelNotBroadcasting) Error() string
- func (s ChannelNotBroadcasting) GoString() string
- func (s *ChannelNotBroadcasting) Message() string
- func (s *ChannelNotBroadcasting) OrigErr() error
- func (s *ChannelNotBroadcasting) RequestID() string
- func (s *ChannelNotBroadcasting) StatusCode() int
- func (s ChannelNotBroadcasting) String() string
- type ChannelSummary
- func (s ChannelSummary) GoString() string
- func (s *ChannelSummary) SetArn(v string) *ChannelSummary
- func (s *ChannelSummary) SetAuthorized(v bool) *ChannelSummary
- func (s *ChannelSummary) SetLatencyMode(v string) *ChannelSummary
- func (s *ChannelSummary) SetName(v string) *ChannelSummary
- func (s *ChannelSummary) SetRecordingConfigurationArn(v string) *ChannelSummary
- func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary
- func (s ChannelSummary) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateChannelInput
- func (s CreateChannelInput) GoString() string
- func (s *CreateChannelInput) SetAuthorized(v bool) *CreateChannelInput
- func (s *CreateChannelInput) SetLatencyMode(v string) *CreateChannelInput
- func (s *CreateChannelInput) SetName(v string) *CreateChannelInput
- func (s *CreateChannelInput) SetRecordingConfigurationArn(v string) *CreateChannelInput
- func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput
- func (s *CreateChannelInput) SetType(v string) *CreateChannelInput
- func (s CreateChannelInput) String() string
- type CreateChannelOutput
- type CreateRecordingConfigurationInput
- func (s CreateRecordingConfigurationInput) GoString() string
- func (s *CreateRecordingConfigurationInput) SetDestinationConfiguration(v *DestinationConfiguration) *CreateRecordingConfigurationInput
- func (s *CreateRecordingConfigurationInput) SetName(v string) *CreateRecordingConfigurationInput
- func (s *CreateRecordingConfigurationInput) SetTags(v map[string]*string) *CreateRecordingConfigurationInput
- func (s CreateRecordingConfigurationInput) String() string
- func (s *CreateRecordingConfigurationInput) Validate() error
- type CreateRecordingConfigurationOutput
- type CreateStreamKeyInput
- func (s CreateStreamKeyInput) GoString() string
- func (s *CreateStreamKeyInput) SetChannelArn(v string) *CreateStreamKeyInput
- func (s *CreateStreamKeyInput) SetTags(v map[string]*string) *CreateStreamKeyInput
- func (s CreateStreamKeyInput) String() string
- func (s *CreateStreamKeyInput) Validate() error
- type CreateStreamKeyOutput
- type DeleteChannelInput
- type DeleteChannelOutput
- type DeletePlaybackKeyPairInput
- type DeletePlaybackKeyPairOutput
- type DeleteRecordingConfigurationInput
- type DeleteRecordingConfigurationOutput
- type DeleteStreamKeyInput
- type DeleteStreamKeyOutput
- type DestinationConfiguration
- type GetChannelInput
- type GetChannelOutput
- type GetPlaybackKeyPairInput
- type GetPlaybackKeyPairOutput
- type GetRecordingConfigurationInput
- type GetRecordingConfigurationOutput
- type GetStreamInput
- type GetStreamKeyInput
- type GetStreamKeyOutput
- type GetStreamOutput
- type IVS
- func (c *IVS) BatchGetChannel(input *BatchGetChannelInput) (*BatchGetChannelOutput, error)
- func (c *IVS) BatchGetChannelRequest(input *BatchGetChannelInput) (req *request.Request, output *BatchGetChannelOutput)
- func (c *IVS) BatchGetChannelWithContext(ctx aws.Context, input *BatchGetChannelInput, opts ...request.Option) (*BatchGetChannelOutput, error)
- func (c *IVS) BatchGetStreamKey(input *BatchGetStreamKeyInput) (*BatchGetStreamKeyOutput, error)
- func (c *IVS) BatchGetStreamKeyRequest(input *BatchGetStreamKeyInput) (req *request.Request, output *BatchGetStreamKeyOutput)
- func (c *IVS) BatchGetStreamKeyWithContext(ctx aws.Context, input *BatchGetStreamKeyInput, opts ...request.Option) (*BatchGetStreamKeyOutput, error)
- func (c *IVS) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)
- func (c *IVS) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)
- func (c *IVS) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)
- func (c *IVS) CreateRecordingConfiguration(input *CreateRecordingConfigurationInput) (*CreateRecordingConfigurationOutput, error)
- func (c *IVS) CreateRecordingConfigurationRequest(input *CreateRecordingConfigurationInput) (req *request.Request, output *CreateRecordingConfigurationOutput)
- func (c *IVS) CreateRecordingConfigurationWithContext(ctx aws.Context, input *CreateRecordingConfigurationInput, ...) (*CreateRecordingConfigurationOutput, error)
- func (c *IVS) CreateStreamKey(input *CreateStreamKeyInput) (*CreateStreamKeyOutput, error)
- func (c *IVS) CreateStreamKeyRequest(input *CreateStreamKeyInput) (req *request.Request, output *CreateStreamKeyOutput)
- func (c *IVS) CreateStreamKeyWithContext(ctx aws.Context, input *CreateStreamKeyInput, opts ...request.Option) (*CreateStreamKeyOutput, error)
- func (c *IVS) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)
- func (c *IVS) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)
- func (c *IVS) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)
- func (c *IVS) DeletePlaybackKeyPair(input *DeletePlaybackKeyPairInput) (*DeletePlaybackKeyPairOutput, error)
- func (c *IVS) DeletePlaybackKeyPairRequest(input *DeletePlaybackKeyPairInput) (req *request.Request, output *DeletePlaybackKeyPairOutput)
- func (c *IVS) DeletePlaybackKeyPairWithContext(ctx aws.Context, input *DeletePlaybackKeyPairInput, opts ...request.Option) (*DeletePlaybackKeyPairOutput, error)
- func (c *IVS) DeleteRecordingConfiguration(input *DeleteRecordingConfigurationInput) (*DeleteRecordingConfigurationOutput, error)
- func (c *IVS) DeleteRecordingConfigurationRequest(input *DeleteRecordingConfigurationInput) (req *request.Request, output *DeleteRecordingConfigurationOutput)
- func (c *IVS) DeleteRecordingConfigurationWithContext(ctx aws.Context, input *DeleteRecordingConfigurationInput, ...) (*DeleteRecordingConfigurationOutput, error)
- func (c *IVS) DeleteStreamKey(input *DeleteStreamKeyInput) (*DeleteStreamKeyOutput, error)
- func (c *IVS) DeleteStreamKeyRequest(input *DeleteStreamKeyInput) (req *request.Request, output *DeleteStreamKeyOutput)
- func (c *IVS) DeleteStreamKeyWithContext(ctx aws.Context, input *DeleteStreamKeyInput, opts ...request.Option) (*DeleteStreamKeyOutput, error)
- func (c *IVS) GetChannel(input *GetChannelInput) (*GetChannelOutput, error)
- func (c *IVS) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput)
- func (c *IVS) GetChannelWithContext(ctx aws.Context, input *GetChannelInput, opts ...request.Option) (*GetChannelOutput, error)
- func (c *IVS) GetPlaybackKeyPair(input *GetPlaybackKeyPairInput) (*GetPlaybackKeyPairOutput, error)
- func (c *IVS) GetPlaybackKeyPairRequest(input *GetPlaybackKeyPairInput) (req *request.Request, output *GetPlaybackKeyPairOutput)
- func (c *IVS) GetPlaybackKeyPairWithContext(ctx aws.Context, input *GetPlaybackKeyPairInput, opts ...request.Option) (*GetPlaybackKeyPairOutput, error)
- func (c *IVS) GetRecordingConfiguration(input *GetRecordingConfigurationInput) (*GetRecordingConfigurationOutput, error)
- func (c *IVS) GetRecordingConfigurationRequest(input *GetRecordingConfigurationInput) (req *request.Request, output *GetRecordingConfigurationOutput)
- func (c *IVS) GetRecordingConfigurationWithContext(ctx aws.Context, input *GetRecordingConfigurationInput, opts ...request.Option) (*GetRecordingConfigurationOutput, error)
- func (c *IVS) GetStream(input *GetStreamInput) (*GetStreamOutput, error)
- func (c *IVS) GetStreamKey(input *GetStreamKeyInput) (*GetStreamKeyOutput, error)
- func (c *IVS) GetStreamKeyRequest(input *GetStreamKeyInput) (req *request.Request, output *GetStreamKeyOutput)
- func (c *IVS) GetStreamKeyWithContext(ctx aws.Context, input *GetStreamKeyInput, opts ...request.Option) (*GetStreamKeyOutput, error)
- func (c *IVS) GetStreamRequest(input *GetStreamInput) (req *request.Request, output *GetStreamOutput)
- func (c *IVS) GetStreamWithContext(ctx aws.Context, input *GetStreamInput, opts ...request.Option) (*GetStreamOutput, error)
- func (c *IVS) ImportPlaybackKeyPair(input *ImportPlaybackKeyPairInput) (*ImportPlaybackKeyPairOutput, error)
- func (c *IVS) ImportPlaybackKeyPairRequest(input *ImportPlaybackKeyPairInput) (req *request.Request, output *ImportPlaybackKeyPairOutput)
- func (c *IVS) ImportPlaybackKeyPairWithContext(ctx aws.Context, input *ImportPlaybackKeyPairInput, opts ...request.Option) (*ImportPlaybackKeyPairOutput, error)
- func (c *IVS) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)
- func (c *IVS) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error
- func (c *IVS) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, ...) error
- func (c *IVS) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)
- func (c *IVS) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)
- func (c *IVS) ListPlaybackKeyPairs(input *ListPlaybackKeyPairsInput) (*ListPlaybackKeyPairsOutput, error)
- func (c *IVS) ListPlaybackKeyPairsPages(input *ListPlaybackKeyPairsInput, ...) error
- func (c *IVS) ListPlaybackKeyPairsPagesWithContext(ctx aws.Context, input *ListPlaybackKeyPairsInput, ...) error
- func (c *IVS) ListPlaybackKeyPairsRequest(input *ListPlaybackKeyPairsInput) (req *request.Request, output *ListPlaybackKeyPairsOutput)
- func (c *IVS) ListPlaybackKeyPairsWithContext(ctx aws.Context, input *ListPlaybackKeyPairsInput, opts ...request.Option) (*ListPlaybackKeyPairsOutput, error)
- func (c *IVS) ListRecordingConfigurations(input *ListRecordingConfigurationsInput) (*ListRecordingConfigurationsOutput, error)
- func (c *IVS) ListRecordingConfigurationsPages(input *ListRecordingConfigurationsInput, ...) error
- func (c *IVS) ListRecordingConfigurationsPagesWithContext(ctx aws.Context, input *ListRecordingConfigurationsInput, ...) error
- func (c *IVS) ListRecordingConfigurationsRequest(input *ListRecordingConfigurationsInput) (req *request.Request, output *ListRecordingConfigurationsOutput)
- func (c *IVS) ListRecordingConfigurationsWithContext(ctx aws.Context, input *ListRecordingConfigurationsInput, ...) (*ListRecordingConfigurationsOutput, error)
- func (c *IVS) ListStreamKeys(input *ListStreamKeysInput) (*ListStreamKeysOutput, error)
- func (c *IVS) ListStreamKeysPages(input *ListStreamKeysInput, fn func(*ListStreamKeysOutput, bool) bool) error
- func (c *IVS) ListStreamKeysPagesWithContext(ctx aws.Context, input *ListStreamKeysInput, ...) error
- func (c *IVS) ListStreamKeysRequest(input *ListStreamKeysInput) (req *request.Request, output *ListStreamKeysOutput)
- func (c *IVS) ListStreamKeysWithContext(ctx aws.Context, input *ListStreamKeysInput, opts ...request.Option) (*ListStreamKeysOutput, error)
- func (c *IVS) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error)
- func (c *IVS) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error
- func (c *IVS) ListStreamsPagesWithContext(ctx aws.Context, input *ListStreamsInput, ...) error
- func (c *IVS) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput)
- func (c *IVS) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInput, opts ...request.Option) (*ListStreamsOutput, error)
- func (c *IVS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *IVS) ListTagsForResourcePages(input *ListTagsForResourceInput, ...) error
- func (c *IVS) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, ...) error
- func (c *IVS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *IVS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *IVS) PutMetadata(input *PutMetadataInput) (*PutMetadataOutput, error)
- func (c *IVS) PutMetadataRequest(input *PutMetadataInput) (req *request.Request, output *PutMetadataOutput)
- func (c *IVS) PutMetadataWithContext(ctx aws.Context, input *PutMetadataInput, opts ...request.Option) (*PutMetadataOutput, error)
- func (c *IVS) StopStream(input *StopStreamInput) (*StopStreamOutput, error)
- func (c *IVS) StopStreamRequest(input *StopStreamInput) (req *request.Request, output *StopStreamOutput)
- func (c *IVS) StopStreamWithContext(ctx aws.Context, input *StopStreamInput, opts ...request.Option) (*StopStreamOutput, error)
- func (c *IVS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *IVS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *IVS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *IVS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *IVS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *IVS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *IVS) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)
- func (c *IVS) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)
- func (c *IVS) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)
- type ImportPlaybackKeyPairInput
- func (s ImportPlaybackKeyPairInput) GoString() string
- func (s *ImportPlaybackKeyPairInput) SetName(v string) *ImportPlaybackKeyPairInput
- func (s *ImportPlaybackKeyPairInput) SetPublicKeyMaterial(v string) *ImportPlaybackKeyPairInput
- func (s *ImportPlaybackKeyPairInput) SetTags(v map[string]*string) *ImportPlaybackKeyPairInput
- func (s ImportPlaybackKeyPairInput) String() string
- func (s *ImportPlaybackKeyPairInput) Validate() error
- type ImportPlaybackKeyPairOutput
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListChannelsInput
- func (s ListChannelsInput) GoString() string
- func (s *ListChannelsInput) SetFilterByName(v string) *ListChannelsInput
- func (s *ListChannelsInput) SetFilterByRecordingConfigurationArn(v string) *ListChannelsInput
- func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
- func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
- func (s ListChannelsInput) String() string
- func (s *ListChannelsInput) Validate() error
- type ListChannelsOutput
- type ListPlaybackKeyPairsInput
- func (s ListPlaybackKeyPairsInput) GoString() string
- func (s *ListPlaybackKeyPairsInput) SetMaxResults(v int64) *ListPlaybackKeyPairsInput
- func (s *ListPlaybackKeyPairsInput) SetNextToken(v string) *ListPlaybackKeyPairsInput
- func (s ListPlaybackKeyPairsInput) String() string
- func (s *ListPlaybackKeyPairsInput) Validate() error
- type ListPlaybackKeyPairsOutput
- type ListRecordingConfigurationsInput
- func (s ListRecordingConfigurationsInput) GoString() string
- func (s *ListRecordingConfigurationsInput) SetMaxResults(v int64) *ListRecordingConfigurationsInput
- func (s *ListRecordingConfigurationsInput) SetNextToken(v string) *ListRecordingConfigurationsInput
- func (s ListRecordingConfigurationsInput) String() string
- func (s *ListRecordingConfigurationsInput) Validate() error
- type ListRecordingConfigurationsOutput
- func (s ListRecordingConfigurationsOutput) GoString() string
- func (s *ListRecordingConfigurationsOutput) SetNextToken(v string) *ListRecordingConfigurationsOutput
- func (s *ListRecordingConfigurationsOutput) SetRecordingConfigurations(v []*RecordingConfigurationSummary) *ListRecordingConfigurationsOutput
- func (s ListRecordingConfigurationsOutput) String() string
- type ListStreamKeysInput
- func (s ListStreamKeysInput) GoString() string
- func (s *ListStreamKeysInput) SetChannelArn(v string) *ListStreamKeysInput
- func (s *ListStreamKeysInput) SetMaxResults(v int64) *ListStreamKeysInput
- func (s *ListStreamKeysInput) SetNextToken(v string) *ListStreamKeysInput
- func (s ListStreamKeysInput) String() string
- func (s *ListStreamKeysInput) Validate() error
- type ListStreamKeysOutput
- type ListStreamsInput
- type ListStreamsOutput
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) GoString() string
- func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- type PendingVerification
- func (s *PendingVerification) Code() string
- func (s *PendingVerification) Error() string
- func (s PendingVerification) GoString() string
- func (s *PendingVerification) Message() string
- func (s *PendingVerification) OrigErr() error
- func (s *PendingVerification) RequestID() string
- func (s *PendingVerification) StatusCode() int
- func (s PendingVerification) String() string
- type PlaybackKeyPair
- func (s PlaybackKeyPair) GoString() string
- func (s *PlaybackKeyPair) SetArn(v string) *PlaybackKeyPair
- func (s *PlaybackKeyPair) SetFingerprint(v string) *PlaybackKeyPair
- func (s *PlaybackKeyPair) SetName(v string) *PlaybackKeyPair
- func (s *PlaybackKeyPair) SetTags(v map[string]*string) *PlaybackKeyPair
- func (s PlaybackKeyPair) String() string
- type PlaybackKeyPairSummary
- func (s PlaybackKeyPairSummary) GoString() string
- func (s *PlaybackKeyPairSummary) SetArn(v string) *PlaybackKeyPairSummary
- func (s *PlaybackKeyPairSummary) SetName(v string) *PlaybackKeyPairSummary
- func (s *PlaybackKeyPairSummary) SetTags(v map[string]*string) *PlaybackKeyPairSummary
- func (s PlaybackKeyPairSummary) String() string
- type PutMetadataInput
- type PutMetadataOutput
- type RecordingConfiguration
- func (s RecordingConfiguration) GoString() string
- func (s *RecordingConfiguration) SetArn(v string) *RecordingConfiguration
- func (s *RecordingConfiguration) SetDestinationConfiguration(v *DestinationConfiguration) *RecordingConfiguration
- func (s *RecordingConfiguration) SetName(v string) *RecordingConfiguration
- func (s *RecordingConfiguration) SetState(v string) *RecordingConfiguration
- func (s *RecordingConfiguration) SetTags(v map[string]*string) *RecordingConfiguration
- func (s RecordingConfiguration) String() string
- type RecordingConfigurationSummary
- func (s RecordingConfigurationSummary) GoString() string
- func (s *RecordingConfigurationSummary) SetArn(v string) *RecordingConfigurationSummary
- func (s *RecordingConfigurationSummary) SetDestinationConfiguration(v *DestinationConfiguration) *RecordingConfigurationSummary
- func (s *RecordingConfigurationSummary) SetName(v string) *RecordingConfigurationSummary
- func (s *RecordingConfigurationSummary) SetState(v string) *RecordingConfigurationSummary
- func (s *RecordingConfigurationSummary) SetTags(v map[string]*string) *RecordingConfigurationSummary
- func (s RecordingConfigurationSummary) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type S3DestinationConfiguration
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type StopStreamInput
- type StopStreamOutput
- type Stream
- func (s Stream) GoString() string
- func (s *Stream) SetChannelArn(v string) *Stream
- func (s *Stream) SetHealth(v string) *Stream
- func (s *Stream) SetPlaybackUrl(v string) *Stream
- func (s *Stream) SetStartTime(v time.Time) *Stream
- func (s *Stream) SetState(v string) *Stream
- func (s *Stream) SetViewerCount(v int64) *Stream
- func (s Stream) String() string
- type StreamKey
- type StreamKeySummary
- type StreamSummary
- func (s StreamSummary) GoString() string
- func (s *StreamSummary) SetChannelArn(v string) *StreamSummary
- func (s *StreamSummary) SetHealth(v string) *StreamSummary
- func (s *StreamSummary) SetStartTime(v time.Time) *StreamSummary
- func (s *StreamSummary) SetState(v string) *StreamSummary
- func (s *StreamSummary) SetViewerCount(v int64) *StreamSummary
- func (s StreamSummary) String() string
- type StreamUnavailable
- func (s *StreamUnavailable) Code() string
- func (s *StreamUnavailable) Error() string
- func (s StreamUnavailable) GoString() string
- func (s *StreamUnavailable) Message() string
- func (s *StreamUnavailable) OrigErr() error
- func (s *StreamUnavailable) RequestID() string
- func (s *StreamUnavailable) StatusCode() int
- func (s StreamUnavailable) String() string
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateChannelInput
- func (s UpdateChannelInput) GoString() string
- func (s *UpdateChannelInput) SetArn(v string) *UpdateChannelInput
- func (s *UpdateChannelInput) SetAuthorized(v bool) *UpdateChannelInput
- func (s *UpdateChannelInput) SetLatencyMode(v string) *UpdateChannelInput
- func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput
- func (s *UpdateChannelInput) SetRecordingConfigurationArn(v string) *UpdateChannelInput
- func (s *UpdateChannelInput) SetType(v string) *UpdateChannelInput
- func (s UpdateChannelInput) String() string
- func (s *UpdateChannelInput) Validate() error
- type UpdateChannelOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // ChannelLatencyModeNormal is a ChannelLatencyMode enum value ChannelLatencyModeNormal = "NORMAL" // ChannelLatencyModeLow is a ChannelLatencyMode enum value ChannelLatencyModeLow = "LOW" )
const ( // ChannelTypeBasic is a ChannelType enum value ChannelTypeBasic = "BASIC" // ChannelTypeStandard is a ChannelType enum value ChannelTypeStandard = "STANDARD" )
const ( // RecordingConfigurationStateCreating is a RecordingConfigurationState enum value RecordingConfigurationStateCreating = "CREATING" // RecordingConfigurationStateCreateFailed is a RecordingConfigurationState enum value RecordingConfigurationStateCreateFailed = "CREATE_FAILED" // RecordingConfigurationStateActive is a RecordingConfigurationState enum value RecordingConfigurationStateActive = "ACTIVE" )
const ( // StreamHealthHealthy is a StreamHealth enum value StreamHealthHealthy = "HEALTHY" // StreamHealthStarving is a StreamHealth enum value StreamHealthStarving = "STARVING" // StreamHealthUnknown is a StreamHealth enum value StreamHealthUnknown = "UNKNOWN" )
const ( // StreamStateLive is a StreamState enum value StreamStateLive = "LIVE" // StreamStateOffline is a StreamState enum value StreamStateOffline = "OFFLINE" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeChannelNotBroadcasting for service response error code // "ChannelNotBroadcasting". ErrCodeChannelNotBroadcasting = "ChannelNotBroadcasting" // ErrCodeConflictException for service response error code // "ConflictException". ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". ErrCodeInternalServerException = "InternalServerException" // ErrCodePendingVerification for service response error code // "PendingVerification". ErrCodePendingVerification = "PendingVerification" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // "StreamUnavailable". ErrCodeStreamUnavailable = "StreamUnavailable" // ErrCodeThrottlingException for service response error code // "ThrottlingException". ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "ivs" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "ivs" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ChannelLatencyMode_Values ¶
func ChannelLatencyMode_Values() []string
ChannelLatencyMode_Values returns all elements of the ChannelLatencyMode enum
func ChannelType_Values ¶
func ChannelType_Values() []string
ChannelType_Values returns all elements of the ChannelType enum
func RecordingConfigurationState_Values ¶
func RecordingConfigurationState_Values() []string
RecordingConfigurationState_Values returns all elements of the RecordingConfigurationState enum
func StreamHealth_Values ¶
func StreamHealth_Values() []string
StreamHealth_Values returns all elements of the StreamHealth enum
func StreamState_Values ¶
func StreamState_Values() []string
StreamState_Values returns all elements of the StreamState enum
Types ¶
type AccessDeniedException ¶
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 (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchError ¶
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 (BatchError) GoString ¶
func (s BatchError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchError) SetArn ¶
func (s *BatchError) SetArn(v string) *BatchError
SetArn sets the Arn field's value.
func (*BatchError) SetCode ¶
func (s *BatchError) SetCode(v string) *BatchError
SetCode sets the Code field's value.
func (*BatchError) SetMessage ¶
func (s *BatchError) SetMessage(v string) *BatchError
SetMessage sets the Message field's value.
func (BatchError) String ¶
func (s BatchError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetChannelInput ¶
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 (BatchGetChannelInput) GoString ¶
func (s BatchGetChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetChannelInput) SetArns ¶
func (s *BatchGetChannelInput) SetArns(v []*string) *BatchGetChannelInput
SetArns sets the Arns field's value.
func (BatchGetChannelInput) String ¶
func (s BatchGetChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetChannelInput) Validate ¶
func (s *BatchGetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetChannelOutput ¶
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 (BatchGetChannelOutput) GoString ¶
func (s BatchGetChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetChannelOutput) SetChannels ¶
func (s *BatchGetChannelOutput) SetChannels(v []*Channel) *BatchGetChannelOutput
SetChannels sets the Channels field's value.
func (*BatchGetChannelOutput) SetErrors ¶
func (s *BatchGetChannelOutput) SetErrors(v []*BatchError) *BatchGetChannelOutput
SetErrors sets the Errors field's value.
func (BatchGetChannelOutput) String ¶
func (s BatchGetChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BatchGetStreamKeyInput ¶
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 (BatchGetStreamKeyInput) GoString ¶
func (s BatchGetStreamKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetStreamKeyInput) SetArns ¶
func (s *BatchGetStreamKeyInput) SetArns(v []*string) *BatchGetStreamKeyInput
SetArns sets the Arns field's value.
func (BatchGetStreamKeyInput) String ¶
func (s BatchGetStreamKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetStreamKeyInput) Validate ¶
func (s *BatchGetStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetStreamKeyOutput ¶
type BatchGetStreamKeyOutput struct { Errors []*BatchError `locationName:"errors" type:"list"` StreamKeys []*StreamKey `locationName:"streamKeys" type:"list"` // contains filtered or unexported fields }
func (BatchGetStreamKeyOutput) GoString ¶
func (s BatchGetStreamKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BatchGetStreamKeyOutput) SetErrors ¶
func (s *BatchGetStreamKeyOutput) SetErrors(v []*BatchError) *BatchGetStreamKeyOutput
SetErrors sets the Errors field's value.
func (*BatchGetStreamKeyOutput) SetStreamKeys ¶
func (s *BatchGetStreamKeyOutput) SetStreamKeys(v []*StreamKey) *BatchGetStreamKeyOutput
SetStreamKeys sets the StreamKeys field's value.
func (BatchGetStreamKeyOutput) String ¶
func (s BatchGetStreamKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Channel ¶
type Channel struct { // Channel ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Whether the channel is private (enabled for playback authorization). Default: // false. 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. Use NORMAL to broadcast and deliver live video up to // Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW. // (Note: In the Amazon IVS console, LOW and NORMAL correspond to Ultra-low // and Standard, respectively.) 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"` // Recording-configuration ARN. A value other than an empty string indicates // that recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" 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. Default: STANDARD. 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. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
Object specifying a channel.
func (Channel) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Channel) SetAuthorized ¶
SetAuthorized sets the Authorized field's value.
func (*Channel) SetIngestEndpoint ¶
SetIngestEndpoint sets the IngestEndpoint field's value.
func (*Channel) SetLatencyMode ¶
SetLatencyMode sets the LatencyMode field's value.
func (*Channel) SetPlaybackUrl ¶
SetPlaybackUrl sets the PlaybackUrl field's value.
func (*Channel) SetRecordingConfigurationArn ¶
SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value.
type ChannelNotBroadcasting ¶
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 (*ChannelNotBroadcasting) Code ¶
func (s *ChannelNotBroadcasting) Code() string
Code returns the exception type name.
func (*ChannelNotBroadcasting) Error ¶
func (s *ChannelNotBroadcasting) Error() string
func (ChannelNotBroadcasting) GoString ¶
func (s ChannelNotBroadcasting) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelNotBroadcasting) Message ¶
func (s *ChannelNotBroadcasting) Message() string
Message returns the exception's message.
func (*ChannelNotBroadcasting) OrigErr ¶
func (s *ChannelNotBroadcasting) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ChannelNotBroadcasting) RequestID ¶
func (s *ChannelNotBroadcasting) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ChannelNotBroadcasting) StatusCode ¶
func (s *ChannelNotBroadcasting) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ChannelNotBroadcasting) String ¶
func (s ChannelNotBroadcasting) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelSummary ¶
type ChannelSummary struct { // Channel ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Whether the channel is private (enabled for playback authorization). Default: // false. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Use NORMAL to broadcast and deliver live video up to // Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW. // (Note: In the Amazon IVS console, LOW and NORMAL correspond to Ultra-low // and Standard, respectively.) LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Recording-configuration ARN. A value other than an empty string indicates // that recording is enabled. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" 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 (ChannelSummary) GoString ¶
func (s ChannelSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ChannelSummary) SetArn ¶
func (s *ChannelSummary) SetArn(v string) *ChannelSummary
SetArn sets the Arn field's value.
func (*ChannelSummary) SetAuthorized ¶
func (s *ChannelSummary) SetAuthorized(v bool) *ChannelSummary
SetAuthorized sets the Authorized field's value.
func (*ChannelSummary) SetLatencyMode ¶
func (s *ChannelSummary) SetLatencyMode(v string) *ChannelSummary
SetLatencyMode sets the LatencyMode field's value.
func (*ChannelSummary) SetName ¶
func (s *ChannelSummary) SetName(v string) *ChannelSummary
SetName sets the Name field's value.
func (*ChannelSummary) SetRecordingConfigurationArn ¶
func (s *ChannelSummary) SetRecordingConfigurationArn(v string) *ChannelSummary
SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value.
func (*ChannelSummary) SetTags ¶
func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary
SetTags sets the Tags field's value.
func (ChannelSummary) String ¶
func (s ChannelSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶
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 (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateChannelInput ¶
type CreateChannelInput struct { // Whether the channel is private (enabled for playback authorization). Default: // false. Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Use NORMAL to broadcast and deliver live video up to // Full HD. Use LOW for near-real-time interaction with viewers. (Note: In the // Amazon IVS console, LOW and NORMAL correspond to Ultra-low and Standard, // respectively.) Default: LOW. LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Recording-configuration ARN. Default: "" (empty string, recording is disabled). RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" 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. Default: STANDARD. 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. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
func (CreateChannelInput) GoString ¶
func (s CreateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateChannelInput) SetAuthorized ¶
func (s *CreateChannelInput) SetAuthorized(v bool) *CreateChannelInput
SetAuthorized sets the Authorized field's value.
func (*CreateChannelInput) SetLatencyMode ¶
func (s *CreateChannelInput) SetLatencyMode(v string) *CreateChannelInput
SetLatencyMode sets the LatencyMode field's value.
func (*CreateChannelInput) SetName ¶
func (s *CreateChannelInput) SetName(v string) *CreateChannelInput
SetName sets the Name field's value.
func (*CreateChannelInput) SetRecordingConfigurationArn ¶
func (s *CreateChannelInput) SetRecordingConfigurationArn(v string) *CreateChannelInput
SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value.
func (*CreateChannelInput) SetTags ¶
func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput
SetTags sets the Tags field's value.
func (*CreateChannelInput) SetType ¶
func (s *CreateChannelInput) SetType(v string) *CreateChannelInput
SetType sets the Type field's value.
func (CreateChannelInput) String ¶
func (s CreateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateChannelOutput ¶
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 (CreateChannelOutput) GoString ¶
func (s CreateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateChannelOutput) SetChannel ¶
func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput
SetChannel sets the Channel field's value.
func (*CreateChannelOutput) SetStreamKey ¶
func (s *CreateChannelOutput) SetStreamKey(v *StreamKey) *CreateChannelOutput
SetStreamKey sets the StreamKey field's value.
func (CreateChannelOutput) String ¶
func (s CreateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRecordingConfigurationInput ¶
type CreateRecordingConfigurationInput struct { // A complex type that contains a destination configuration for where recorded // video will be stored. // // DestinationConfiguration is a required field DestinationConfiguration *DestinationConfiguration `locationName:"destinationConfiguration" type:"structure" required:"true"` // An arbitrary string (a nickname) that helps the customer identify that resource. // The value does not need to be unique. 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 }
func (CreateRecordingConfigurationInput) GoString ¶
func (s CreateRecordingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRecordingConfigurationInput) SetDestinationConfiguration ¶
func (s *CreateRecordingConfigurationInput) SetDestinationConfiguration(v *DestinationConfiguration) *CreateRecordingConfigurationInput
SetDestinationConfiguration sets the DestinationConfiguration field's value.
func (*CreateRecordingConfigurationInput) SetName ¶
func (s *CreateRecordingConfigurationInput) SetName(v string) *CreateRecordingConfigurationInput
SetName sets the Name field's value.
func (*CreateRecordingConfigurationInput) SetTags ¶
func (s *CreateRecordingConfigurationInput) SetTags(v map[string]*string) *CreateRecordingConfigurationInput
SetTags sets the Tags field's value.
func (CreateRecordingConfigurationInput) String ¶
func (s CreateRecordingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRecordingConfigurationInput) Validate ¶
func (s *CreateRecordingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRecordingConfigurationOutput ¶
type CreateRecordingConfigurationOutput struct { // An object representing a configuration to record a channel stream. RecordingConfiguration *RecordingConfiguration `locationName:"recordingConfiguration" type:"structure"` // contains filtered or unexported fields }
func (CreateRecordingConfigurationOutput) GoString ¶
func (s CreateRecordingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateRecordingConfigurationOutput) SetRecordingConfiguration ¶
func (s *CreateRecordingConfigurationOutput) SetRecordingConfiguration(v *RecordingConfiguration) *CreateRecordingConfigurationOutput
SetRecordingConfiguration sets the RecordingConfiguration field's value.
func (CreateRecordingConfigurationOutput) String ¶
func (s CreateRecordingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateStreamKeyInput ¶
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"` // 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 }
func (CreateStreamKeyInput) GoString ¶
func (s CreateStreamKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateStreamKeyInput) SetChannelArn ¶
func (s *CreateStreamKeyInput) SetChannelArn(v string) *CreateStreamKeyInput
SetChannelArn sets the ChannelArn field's value.
func (*CreateStreamKeyInput) SetTags ¶
func (s *CreateStreamKeyInput) SetTags(v map[string]*string) *CreateStreamKeyInput
SetTags sets the Tags field's value.
func (CreateStreamKeyInput) String ¶
func (s CreateStreamKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateStreamKeyInput) Validate ¶
func (s *CreateStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStreamKeyOutput ¶
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 (CreateStreamKeyOutput) GoString ¶
func (s CreateStreamKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateStreamKeyOutput) SetStreamKey ¶
func (s *CreateStreamKeyOutput) SetStreamKey(v *StreamKey) *CreateStreamKeyOutput
SetStreamKey sets the StreamKey field's value.
func (CreateStreamKeyOutput) String ¶
func (s CreateStreamKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteChannelInput ¶
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 (DeleteChannelInput) GoString ¶
func (s DeleteChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteChannelInput) SetArn ¶
func (s *DeleteChannelInput) SetArn(v string) *DeleteChannelInput
SetArn sets the Arn field's value.
func (DeleteChannelInput) String ¶
func (s DeleteChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteChannelInput) Validate ¶
func (s *DeleteChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChannelOutput ¶
type DeleteChannelOutput struct {
// contains filtered or unexported fields
}
func (DeleteChannelOutput) GoString ¶
func (s DeleteChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteChannelOutput) String ¶
func (s DeleteChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeletePlaybackKeyPairInput ¶
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 (DeletePlaybackKeyPairInput) GoString ¶
func (s DeletePlaybackKeyPairInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeletePlaybackKeyPairInput) SetArn ¶
func (s *DeletePlaybackKeyPairInput) SetArn(v string) *DeletePlaybackKeyPairInput
SetArn sets the Arn field's value.
func (DeletePlaybackKeyPairInput) String ¶
func (s DeletePlaybackKeyPairInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeletePlaybackKeyPairInput) Validate ¶
func (s *DeletePlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePlaybackKeyPairOutput ¶
type DeletePlaybackKeyPairOutput struct {
// contains filtered or unexported fields
}
func (DeletePlaybackKeyPairOutput) GoString ¶
func (s DeletePlaybackKeyPairOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeletePlaybackKeyPairOutput) String ¶
func (s DeletePlaybackKeyPairOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRecordingConfigurationInput ¶
type DeleteRecordingConfigurationInput struct { // ARN of the recording configuration to be deleted. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRecordingConfigurationInput) GoString ¶
func (s DeleteRecordingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecordingConfigurationInput) SetArn ¶
func (s *DeleteRecordingConfigurationInput) SetArn(v string) *DeleteRecordingConfigurationInput
SetArn sets the Arn field's value.
func (DeleteRecordingConfigurationInput) String ¶
func (s DeleteRecordingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteRecordingConfigurationInput) Validate ¶
func (s *DeleteRecordingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRecordingConfigurationOutput ¶
type DeleteRecordingConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteRecordingConfigurationOutput) GoString ¶
func (s DeleteRecordingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteRecordingConfigurationOutput) String ¶
func (s DeleteRecordingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteStreamKeyInput ¶
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 (DeleteStreamKeyInput) GoString ¶
func (s DeleteStreamKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteStreamKeyInput) SetArn ¶
func (s *DeleteStreamKeyInput) SetArn(v string) *DeleteStreamKeyInput
SetArn sets the Arn field's value.
func (DeleteStreamKeyInput) String ¶
func (s DeleteStreamKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteStreamKeyInput) Validate ¶
func (s *DeleteStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteStreamKeyOutput ¶
type DeleteStreamKeyOutput struct {
// contains filtered or unexported fields
}
func (DeleteStreamKeyOutput) GoString ¶
func (s DeleteStreamKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteStreamKeyOutput) String ¶
func (s DeleteStreamKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DestinationConfiguration ¶
type DestinationConfiguration struct { // An S3 destination configuration where recorded videos will be stored. S3 *S3DestinationConfiguration `locationName:"s3" type:"structure"` // contains filtered or unexported fields }
A complex type that describes a location where recorded videos will be stored. Each member represents a type of destination configuration. For recording, you define one and only one type of destination configuration.
func (DestinationConfiguration) GoString ¶
func (s DestinationConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DestinationConfiguration) SetS3 ¶
func (s *DestinationConfiguration) SetS3(v *S3DestinationConfiguration) *DestinationConfiguration
SetS3 sets the S3 field's value.
func (DestinationConfiguration) String ¶
func (s DestinationConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DestinationConfiguration) Validate ¶
func (s *DestinationConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelInput ¶
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 (GetChannelInput) GoString ¶
func (s GetChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelInput) SetArn ¶
func (s *GetChannelInput) SetArn(v string) *GetChannelInput
SetArn sets the Arn field's value.
func (GetChannelInput) String ¶
func (s GetChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelInput) Validate ¶
func (s *GetChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetChannelOutput ¶
type GetChannelOutput struct { // Object specifying a channel. Channel *Channel `locationName:"channel" type:"structure"` // contains filtered or unexported fields }
func (GetChannelOutput) GoString ¶
func (s GetChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetChannelOutput) SetChannel ¶
func (s *GetChannelOutput) SetChannel(v *Channel) *GetChannelOutput
SetChannel sets the Channel field's value.
func (GetChannelOutput) String ¶
func (s GetChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetPlaybackKeyPairInput ¶
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 (GetPlaybackKeyPairInput) GoString ¶
func (s GetPlaybackKeyPairInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPlaybackKeyPairInput) SetArn ¶
func (s *GetPlaybackKeyPairInput) SetArn(v string) *GetPlaybackKeyPairInput
SetArn sets the Arn field's value.
func (GetPlaybackKeyPairInput) String ¶
func (s GetPlaybackKeyPairInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPlaybackKeyPairInput) Validate ¶
func (s *GetPlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPlaybackKeyPairOutput ¶
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 (GetPlaybackKeyPairOutput) GoString ¶
func (s GetPlaybackKeyPairOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPlaybackKeyPairOutput) SetKeyPair ¶
func (s *GetPlaybackKeyPairOutput) SetKeyPair(v *PlaybackKeyPair) *GetPlaybackKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (GetPlaybackKeyPairOutput) String ¶
func (s GetPlaybackKeyPairOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRecordingConfigurationInput ¶
type GetRecordingConfigurationInput struct { // ARN of the recording configuration to be retrieved. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetRecordingConfigurationInput) GoString ¶
func (s GetRecordingConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecordingConfigurationInput) SetArn ¶
func (s *GetRecordingConfigurationInput) SetArn(v string) *GetRecordingConfigurationInput
SetArn sets the Arn field's value.
func (GetRecordingConfigurationInput) String ¶
func (s GetRecordingConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecordingConfigurationInput) Validate ¶
func (s *GetRecordingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRecordingConfigurationOutput ¶
type GetRecordingConfigurationOutput struct { // An object representing a configuration to record a channel stream. RecordingConfiguration *RecordingConfiguration `locationName:"recordingConfiguration" type:"structure"` // contains filtered or unexported fields }
func (GetRecordingConfigurationOutput) GoString ¶
func (s GetRecordingConfigurationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRecordingConfigurationOutput) SetRecordingConfiguration ¶
func (s *GetRecordingConfigurationOutput) SetRecordingConfiguration(v *RecordingConfiguration) *GetRecordingConfigurationOutput
SetRecordingConfiguration sets the RecordingConfiguration field's value.
func (GetRecordingConfigurationOutput) String ¶
func (s GetRecordingConfigurationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetStreamInput ¶
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 (GetStreamInput) GoString ¶
func (s GetStreamInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamInput) SetChannelArn ¶
func (s *GetStreamInput) SetChannelArn(v string) *GetStreamInput
SetChannelArn sets the ChannelArn field's value.
func (GetStreamInput) String ¶
func (s GetStreamInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamInput) Validate ¶
func (s *GetStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStreamKeyInput ¶
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 (GetStreamKeyInput) GoString ¶
func (s GetStreamKeyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamKeyInput) SetArn ¶
func (s *GetStreamKeyInput) SetArn(v string) *GetStreamKeyInput
SetArn sets the Arn field's value.
func (GetStreamKeyInput) String ¶
func (s GetStreamKeyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamKeyInput) Validate ¶
func (s *GetStreamKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStreamKeyOutput ¶
type GetStreamKeyOutput struct { // Object specifying a stream key. StreamKey *StreamKey `locationName:"streamKey" type:"structure"` // contains filtered or unexported fields }
func (GetStreamKeyOutput) GoString ¶
func (s GetStreamKeyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamKeyOutput) SetStreamKey ¶
func (s *GetStreamKeyOutput) SetStreamKey(v *StreamKey) *GetStreamKeyOutput
SetStreamKey sets the StreamKey field's value.
func (GetStreamKeyOutput) String ¶
func (s GetStreamKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetStreamOutput ¶
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 (GetStreamOutput) GoString ¶
func (s GetStreamOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetStreamOutput) SetStream ¶
func (s *GetStreamOutput) SetStream(v *Stream) *GetStreamOutput
SetStream sets the Stream field's value.
func (GetStreamOutput) String ¶
func (s GetStreamOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IVS ¶
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 ¶
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 (*IVS) BatchGetChannel ¶
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 (*IVS) BatchGetChannelRequest ¶
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 (*IVS) BatchGetChannelWithContext ¶
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 (*IVS) BatchGetStreamKey ¶
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 (*IVS) BatchGetStreamKeyRequest ¶
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 (*IVS) BatchGetStreamKeyWithContext ¶
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 (*IVS) CreateChannel ¶
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
ResourceNotFoundException
ServiceQuotaExceededException
PendingVerification
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel
func (*IVS) CreateChannelRequest ¶
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 (*IVS) CreateChannelWithContext ¶
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 (*IVS) CreateRecordingConfiguration ¶
func (c *IVS) CreateRecordingConfiguration(input *CreateRecordingConfigurationInput) (*CreateRecordingConfigurationOutput, error)
CreateRecordingConfiguration API operation for Amazon Interactive Video Service.
Creates a new recording configuration, used to enable recording to Amazon S3.
Known issue: In the us-east-1 region, if you use the AWS CLI to create a recording configuration, it returns success even if the S3 bucket is in a different region. In this case, the state of the recording configuration is CREATE_FAILED (instead of ACTIVE). (In other regions, the CLI correctly returns failure if the bucket is in a different region.)
Workaround: Ensure that your S3 bucket is in the same region as the recording configuration. If you create a recording configuration in a different region as your S3 bucket, delete that recording configuration and create a new one with an S3 bucket from the correct region.
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 CreateRecordingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException
ConflictException
InternalServerException
PendingVerification
ServiceQuotaExceededException
ValidationException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfiguration
func (*IVS) CreateRecordingConfigurationRequest ¶
func (c *IVS) CreateRecordingConfigurationRequest(input *CreateRecordingConfigurationInput) (req *request.Request, output *CreateRecordingConfigurationOutput)
CreateRecordingConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateRecordingConfiguration 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 CreateRecordingConfiguration for more information on using the CreateRecordingConfiguration 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 CreateRecordingConfigurationRequest method. req, resp := client.CreateRecordingConfigurationRequest(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/CreateRecordingConfiguration
func (*IVS) CreateRecordingConfigurationWithContext ¶
func (c *IVS) CreateRecordingConfigurationWithContext(ctx aws.Context, input *CreateRecordingConfigurationInput, opts ...request.Option) (*CreateRecordingConfigurationOutput, error)
CreateRecordingConfigurationWithContext is the same as CreateRecordingConfiguration with the addition of the ability to pass a context and additional request options.
See CreateRecordingConfiguration 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 (*IVS) CreateStreamKey ¶
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 (*IVS) CreateStreamKeyRequest ¶
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 (*IVS) CreateStreamKeyWithContext ¶
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 (*IVS) DeleteChannel ¶
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.
If you try to delete a live channel, you will get an error (409 ConflictException). To delete a channel that is live, call StopStream, wait for the Amazon EventBridge "Stream End" event (to verify that the stream's state was changed from Live to Offline), then call DeleteChannel. (See Using EventBridge with Amazon IVS (https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html).)
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 (*IVS) DeleteChannelRequest ¶
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 (*IVS) DeleteChannelWithContext ¶
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 (*IVS) DeletePlaybackKeyPair ¶
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. For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the Amazon IVS User Guide.
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 (*IVS) DeletePlaybackKeyPairRequest ¶
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 (*IVS) DeletePlaybackKeyPairWithContext ¶
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 (*IVS) DeleteRecordingConfiguration ¶
func (c *IVS) DeleteRecordingConfiguration(input *DeleteRecordingConfigurationInput) (*DeleteRecordingConfigurationOutput, error)
DeleteRecordingConfiguration API operation for Amazon Interactive Video Service.
Deletes the recording configuration for the specified ARN.
If you try to delete a recording configuration that is associated with a channel, you will get an error (409 ConflictException). To avoid this, for all channels that reference the recording configuration, first use UpdateChannel to set the recordingConfigurationArn field to an empty string, then use DeleteRecordingConfiguration.
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 DeleteRecordingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException
ConflictException
InternalServerException
ResourceNotFoundException
ValidationException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteRecordingConfiguration
func (*IVS) DeleteRecordingConfigurationRequest ¶
func (c *IVS) DeleteRecordingConfigurationRequest(input *DeleteRecordingConfigurationInput) (req *request.Request, output *DeleteRecordingConfigurationOutput)
DeleteRecordingConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteRecordingConfiguration 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 DeleteRecordingConfiguration for more information on using the DeleteRecordingConfiguration 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 DeleteRecordingConfigurationRequest method. req, resp := client.DeleteRecordingConfigurationRequest(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/DeleteRecordingConfiguration
func (*IVS) DeleteRecordingConfigurationWithContext ¶
func (c *IVS) DeleteRecordingConfigurationWithContext(ctx aws.Context, input *DeleteRecordingConfigurationInput, opts ...request.Option) (*DeleteRecordingConfigurationOutput, error)
DeleteRecordingConfigurationWithContext is the same as DeleteRecordingConfiguration with the addition of the ability to pass a context and additional request options.
See DeleteRecordingConfiguration 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 (*IVS) DeleteStreamKey ¶
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 (*IVS) DeleteStreamKeyRequest ¶
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 (*IVS) DeleteStreamKeyWithContext ¶
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 (*IVS) GetChannel ¶
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 (*IVS) GetChannelRequest ¶
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 (*IVS) GetChannelWithContext ¶
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 (*IVS) GetPlaybackKeyPair ¶
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 private channels. For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the Amazon IVS User Guide.
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 (*IVS) GetPlaybackKeyPairRequest ¶
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 (*IVS) GetPlaybackKeyPairWithContext ¶
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 (*IVS) GetRecordingConfiguration ¶
func (c *IVS) GetRecordingConfiguration(input *GetRecordingConfigurationInput) (*GetRecordingConfigurationOutput, error)
GetRecordingConfiguration API operation for Amazon Interactive Video Service.
Gets the recording configuration 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 GetRecordingConfiguration for usage and error information.
Returned Error Types:
AccessDeniedException
InternalServerException
ResourceNotFoundException
ValidationException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetRecordingConfiguration
func (*IVS) GetRecordingConfigurationRequest ¶
func (c *IVS) GetRecordingConfigurationRequest(input *GetRecordingConfigurationInput) (req *request.Request, output *GetRecordingConfigurationOutput)
GetRecordingConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetRecordingConfiguration 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 GetRecordingConfiguration for more information on using the GetRecordingConfiguration 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 GetRecordingConfigurationRequest method. req, resp := client.GetRecordingConfigurationRequest(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/GetRecordingConfiguration
func (*IVS) GetRecordingConfigurationWithContext ¶
func (c *IVS) GetRecordingConfigurationWithContext(ctx aws.Context, input *GetRecordingConfigurationInput, opts ...request.Option) (*GetRecordingConfigurationOutput, error)
GetRecordingConfigurationWithContext is the same as GetRecordingConfiguration with the addition of the ability to pass a context and additional request options.
See GetRecordingConfiguration 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 (*IVS) GetStream ¶
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 (*IVS) GetStreamKey ¶
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 (*IVS) GetStreamKeyRequest ¶
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 (*IVS) GetStreamKeyWithContext ¶
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 (*IVS) GetStreamRequest ¶
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 (*IVS) GetStreamWithContext ¶
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 (*IVS) ImportPlaybackKeyPair ¶
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 private channels. For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the Amazon IVS User Guide.
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 (*IVS) ImportPlaybackKeyPairRequest ¶
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 (*IVS) ImportPlaybackKeyPairWithContext ¶
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 (*IVS) ListChannels ¶
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 name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 ConflictException).
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
ConflictException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels
func (*IVS) ListChannelsPages ¶
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 (*IVS) ListChannelsPagesWithContext ¶
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 (*IVS) ListChannelsRequest ¶
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 (*IVS) ListChannelsWithContext ¶
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 (*IVS) ListPlaybackKeyPairs ¶
func (c *IVS) ListPlaybackKeyPairs(input *ListPlaybackKeyPairsInput) (*ListPlaybackKeyPairsOutput, error)
ListPlaybackKeyPairs API operation for Amazon Interactive Video Service.
Gets summary information about playback key pairs. For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) in the Amazon IVS User Guide.
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 (*IVS) ListPlaybackKeyPairsPages ¶
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 (*IVS) ListPlaybackKeyPairsPagesWithContext ¶
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 (*IVS) ListPlaybackKeyPairsRequest ¶
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 (*IVS) ListPlaybackKeyPairsWithContext ¶
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 (*IVS) ListRecordingConfigurations ¶
func (c *IVS) ListRecordingConfigurations(input *ListRecordingConfigurationsInput) (*ListRecordingConfigurationsOutput, error)
ListRecordingConfigurations API operation for Amazon Interactive Video Service.
Gets summary information about all recording configurations 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 ListRecordingConfigurations for usage and error information.
Returned Error Types:
AccessDeniedException
InternalServerException
ValidationException
See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListRecordingConfigurations
func (*IVS) ListRecordingConfigurationsPages ¶
func (c *IVS) ListRecordingConfigurationsPages(input *ListRecordingConfigurationsInput, fn func(*ListRecordingConfigurationsOutput, bool) bool) error
ListRecordingConfigurationsPages iterates over the pages of a ListRecordingConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRecordingConfigurations 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 ListRecordingConfigurations operation. pageNum := 0 err := client.ListRecordingConfigurationsPages(params, func(page *ivs.ListRecordingConfigurationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*IVS) ListRecordingConfigurationsPagesWithContext ¶
func (c *IVS) ListRecordingConfigurationsPagesWithContext(ctx aws.Context, input *ListRecordingConfigurationsInput, fn func(*ListRecordingConfigurationsOutput, bool) bool, opts ...request.Option) error
ListRecordingConfigurationsPagesWithContext same as ListRecordingConfigurationsPages 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 (*IVS) ListRecordingConfigurationsRequest ¶
func (c *IVS) ListRecordingConfigurationsRequest(input *ListRecordingConfigurationsInput) (req *request.Request, output *ListRecordingConfigurationsOutput)
ListRecordingConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListRecordingConfigurations 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 ListRecordingConfigurations for more information on using the ListRecordingConfigurations 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 ListRecordingConfigurationsRequest method. req, resp := client.ListRecordingConfigurationsRequest(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/ListRecordingConfigurations
func (*IVS) ListRecordingConfigurationsWithContext ¶
func (c *IVS) ListRecordingConfigurationsWithContext(ctx aws.Context, input *ListRecordingConfigurationsInput, opts ...request.Option) (*ListRecordingConfigurationsOutput, error)
ListRecordingConfigurationsWithContext is the same as ListRecordingConfigurations with the addition of the ability to pass a context and additional request options.
See ListRecordingConfigurations 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 (*IVS) ListStreamKeys ¶
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 (*IVS) ListStreamKeysPages ¶
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 (*IVS) ListStreamKeysPagesWithContext ¶
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 (*IVS) ListStreamKeysRequest ¶
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 (*IVS) ListStreamKeysWithContext ¶
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 (*IVS) ListStreams ¶
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 (*IVS) ListStreamsPages ¶
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 (*IVS) ListStreamsPagesWithContext ¶
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 (*IVS) ListStreamsRequest ¶
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 (*IVS) ListStreamsWithContext ¶
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 (*IVS) ListTagsForResource ¶
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 (*IVS) ListTagsForResourcePages ¶
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 (*IVS) ListTagsForResourcePagesWithContext ¶
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 (*IVS) ListTagsForResourceRequest ¶
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 (*IVS) ListTagsForResourceWithContext ¶
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 (*IVS) PutMetadata ¶
func (c *IVS) PutMetadata(input *PutMetadataInput) (*PutMetadataOutput, error)
PutMetadata API operation for Amazon Interactive Video Service.
Inserts metadata into the active stream of the specified channel. A maximum of 5 requests per second per channel is allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) Also see Embedding Metadata within a Video Stream (https://docs.aws.amazon.com/ivs/latest/userguide/metadata.html) in the Amazon IVS User Guide.
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 (*IVS) PutMetadataRequest ¶
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 (*IVS) PutMetadataWithContext ¶
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 (*IVS) StopStream ¶
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 (*IVS) StopStreamRequest ¶
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 (*IVS) StopStreamWithContext ¶
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 (*IVS) TagResource ¶
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 (*IVS) TagResourceRequest ¶
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 (*IVS) TagResourceWithContext ¶
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 (*IVS) UntagResource ¶
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 (*IVS) UntagResourceRequest ¶
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 (*IVS) UntagResourceWithContext ¶
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 (*IVS) UpdateChannel ¶
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 (*IVS) UpdateChannelRequest ¶
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 (*IVS) UpdateChannelWithContext ¶
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 ¶
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 (ImportPlaybackKeyPairInput) GoString ¶
func (s ImportPlaybackKeyPairInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportPlaybackKeyPairInput) SetName ¶
func (s *ImportPlaybackKeyPairInput) SetName(v string) *ImportPlaybackKeyPairInput
SetName sets the Name field's value.
func (*ImportPlaybackKeyPairInput) SetPublicKeyMaterial ¶
func (s *ImportPlaybackKeyPairInput) SetPublicKeyMaterial(v string) *ImportPlaybackKeyPairInput
SetPublicKeyMaterial sets the PublicKeyMaterial field's value.
func (*ImportPlaybackKeyPairInput) SetTags ¶
func (s *ImportPlaybackKeyPairInput) SetTags(v map[string]*string) *ImportPlaybackKeyPairInput
SetTags sets the Tags field's value.
func (ImportPlaybackKeyPairInput) String ¶
func (s ImportPlaybackKeyPairInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportPlaybackKeyPairInput) Validate ¶
func (s *ImportPlaybackKeyPairInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportPlaybackKeyPairOutput ¶
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 (ImportPlaybackKeyPairOutput) GoString ¶
func (s ImportPlaybackKeyPairOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImportPlaybackKeyPairOutput) SetKeyPair ¶
func (s *ImportPlaybackKeyPairOutput) SetKeyPair(v *PlaybackKeyPair) *ImportPlaybackKeyPairOutput
SetKeyPair sets the KeyPair field's value.
func (ImportPlaybackKeyPairOutput) String ¶
func (s ImportPlaybackKeyPairOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
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 (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListChannelsInput ¶
type ListChannelsInput struct { // Filters the channel list to match the specified name. FilterByName *string `locationName:"filterByName" type:"string"` // Filters the channel list to match the specified recording-configuration ARN. FilterByRecordingConfigurationArn *string `locationName:"filterByRecordingConfigurationArn" type:"string"` // Maximum number of channels to return. Default: 50. 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 (ListChannelsInput) GoString ¶
func (s ListChannelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsInput) SetFilterByName ¶
func (s *ListChannelsInput) SetFilterByName(v string) *ListChannelsInput
SetFilterByName sets the FilterByName field's value.
func (*ListChannelsInput) SetFilterByRecordingConfigurationArn ¶
func (s *ListChannelsInput) SetFilterByRecordingConfigurationArn(v string) *ListChannelsInput
SetFilterByRecordingConfigurationArn sets the FilterByRecordingConfigurationArn field's value.
func (*ListChannelsInput) SetMaxResults ¶
func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListChannelsInput) SetNextToken ¶
func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput
SetNextToken sets the NextToken field's value.
func (ListChannelsInput) String ¶
func (s ListChannelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsInput) Validate ¶
func (s *ListChannelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListChannelsOutput ¶
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 (ListChannelsOutput) GoString ¶
func (s ListChannelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListChannelsOutput) SetChannels ¶
func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput
SetChannels sets the Channels field's value.
func (*ListChannelsOutput) SetNextToken ¶
func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput
SetNextToken sets the NextToken field's value.
func (ListChannelsOutput) String ¶
func (s ListChannelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPlaybackKeyPairsInput ¶
type ListPlaybackKeyPairsInput struct { // The first key pair to retrieve. This is used for pagination; see the nextToken // response field. Default: 50. 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 (ListPlaybackKeyPairsInput) GoString ¶
func (s ListPlaybackKeyPairsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPlaybackKeyPairsInput) SetMaxResults ¶
func (s *ListPlaybackKeyPairsInput) SetMaxResults(v int64) *ListPlaybackKeyPairsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPlaybackKeyPairsInput) SetNextToken ¶
func (s *ListPlaybackKeyPairsInput) SetNextToken(v string) *ListPlaybackKeyPairsInput
SetNextToken sets the NextToken field's value.
func (ListPlaybackKeyPairsInput) String ¶
func (s ListPlaybackKeyPairsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPlaybackKeyPairsInput) Validate ¶
func (s *ListPlaybackKeyPairsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPlaybackKeyPairsOutput ¶
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 (ListPlaybackKeyPairsOutput) GoString ¶
func (s ListPlaybackKeyPairsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPlaybackKeyPairsOutput) SetKeyPairs ¶
func (s *ListPlaybackKeyPairsOutput) SetKeyPairs(v []*PlaybackKeyPairSummary) *ListPlaybackKeyPairsOutput
SetKeyPairs sets the KeyPairs field's value.
func (*ListPlaybackKeyPairsOutput) SetNextToken ¶
func (s *ListPlaybackKeyPairsOutput) SetNextToken(v string) *ListPlaybackKeyPairsOutput
SetNextToken sets the NextToken field's value.
func (ListPlaybackKeyPairsOutput) String ¶
func (s ListPlaybackKeyPairsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecordingConfigurationsInput ¶
type ListRecordingConfigurationsInput struct { // Maximum number of recording configurations to return. Default: 50. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The first recording configuration to retrieve. This is used for pagination; // see the nextToken response field. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListRecordingConfigurationsInput) GoString ¶
func (s ListRecordingConfigurationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecordingConfigurationsInput) SetMaxResults ¶
func (s *ListRecordingConfigurationsInput) SetMaxResults(v int64) *ListRecordingConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecordingConfigurationsInput) SetNextToken ¶
func (s *ListRecordingConfigurationsInput) SetNextToken(v string) *ListRecordingConfigurationsInput
SetNextToken sets the NextToken field's value.
func (ListRecordingConfigurationsInput) String ¶
func (s ListRecordingConfigurationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecordingConfigurationsInput) Validate ¶
func (s *ListRecordingConfigurationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecordingConfigurationsOutput ¶
type ListRecordingConfigurationsOutput struct { // If there are more recording configurations than maxResults, use nextToken // in the request to get the next set. NextToken *string `locationName:"nextToken" type:"string"` // List of the matching recording configurations. // // RecordingConfigurations is a required field RecordingConfigurations []*RecordingConfigurationSummary `locationName:"recordingConfigurations" type:"list" required:"true"` // contains filtered or unexported fields }
func (ListRecordingConfigurationsOutput) GoString ¶
func (s ListRecordingConfigurationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecordingConfigurationsOutput) SetNextToken ¶
func (s *ListRecordingConfigurationsOutput) SetNextToken(v string) *ListRecordingConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (*ListRecordingConfigurationsOutput) SetRecordingConfigurations ¶
func (s *ListRecordingConfigurationsOutput) SetRecordingConfigurations(v []*RecordingConfigurationSummary) *ListRecordingConfigurationsOutput
SetRecordingConfigurations sets the RecordingConfigurations field's value.
func (ListRecordingConfigurationsOutput) String ¶
func (s ListRecordingConfigurationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListStreamKeysInput ¶
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. Default: 50. 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 (ListStreamKeysInput) GoString ¶
func (s ListStreamKeysInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamKeysInput) SetChannelArn ¶
func (s *ListStreamKeysInput) SetChannelArn(v string) *ListStreamKeysInput
SetChannelArn sets the ChannelArn field's value.
func (*ListStreamKeysInput) SetMaxResults ¶
func (s *ListStreamKeysInput) SetMaxResults(v int64) *ListStreamKeysInput
SetMaxResults sets the MaxResults field's value.
func (*ListStreamKeysInput) SetNextToken ¶
func (s *ListStreamKeysInput) SetNextToken(v string) *ListStreamKeysInput
SetNextToken sets the NextToken field's value.
func (ListStreamKeysInput) String ¶
func (s ListStreamKeysInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamKeysInput) Validate ¶
func (s *ListStreamKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamKeysOutput ¶
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 (ListStreamKeysOutput) GoString ¶
func (s ListStreamKeysOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamKeysOutput) SetNextToken ¶
func (s *ListStreamKeysOutput) SetNextToken(v string) *ListStreamKeysOutput
SetNextToken sets the NextToken field's value.
func (*ListStreamKeysOutput) SetStreamKeys ¶
func (s *ListStreamKeysOutput) SetStreamKeys(v []*StreamKeySummary) *ListStreamKeysOutput
SetStreamKeys sets the StreamKeys field's value.
func (ListStreamKeysOutput) String ¶
func (s ListStreamKeysOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListStreamsInput ¶
type ListStreamsInput struct { // Maximum number of streams to return. Default: 50. 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 (ListStreamsInput) GoString ¶
func (s ListStreamsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamsInput) SetMaxResults ¶
func (s *ListStreamsInput) SetMaxResults(v int64) *ListStreamsInput
SetMaxResults sets the MaxResults field's value.
func (*ListStreamsInput) SetNextToken ¶
func (s *ListStreamsInput) SetNextToken(v string) *ListStreamsInput
SetNextToken sets the NextToken field's value.
func (ListStreamsInput) String ¶
func (s ListStreamsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamsInput) Validate ¶
func (s *ListStreamsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamsOutput ¶
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 (ListStreamsOutput) GoString ¶
func (s ListStreamsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListStreamsOutput) SetNextToken ¶
func (s *ListStreamsOutput) SetNextToken(v string) *ListStreamsOutput
SetNextToken sets the NextToken field's value.
func (*ListStreamsOutput) SetStreams ¶
func (s *ListStreamsOutput) SetStreams(v []*StreamSummary) *ListStreamsOutput
SetStreams sets the Streams field's value.
func (ListStreamsOutput) String ¶
func (s ListStreamsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // Maximum number of tags to return. Default: 50. 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 (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetMaxResults ¶
func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput
SetMaxResults sets the MaxResults field's value.
func (*ListTagsForResourceInput) SetNextToken ¶
func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
SetNextToken sets the NextToken field's value.
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
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 (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetNextToken ¶
func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PendingVerification ¶
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 (*PendingVerification) Code ¶
func (s *PendingVerification) Code() string
Code returns the exception type name.
func (*PendingVerification) Error ¶
func (s *PendingVerification) Error() string
func (PendingVerification) GoString ¶
func (s PendingVerification) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PendingVerification) Message ¶
func (s *PendingVerification) Message() string
Message returns the exception's message.
func (*PendingVerification) OrigErr ¶
func (s *PendingVerification) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PendingVerification) RequestID ¶
func (s *PendingVerification) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PendingVerification) StatusCode ¶
func (s *PendingVerification) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PendingVerification) String ¶
func (s PendingVerification) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PlaybackKeyPair ¶
type PlaybackKeyPair struct { // Key-pair ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // Key-pair identifier. Fingerprint *string `locationName:"fingerprint" type:"string"` // 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"` // 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 (PlaybackKeyPair) GoString ¶
func (s PlaybackKeyPair) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PlaybackKeyPair) SetArn ¶
func (s *PlaybackKeyPair) SetArn(v string) *PlaybackKeyPair
SetArn sets the Arn field's value.
func (*PlaybackKeyPair) SetFingerprint ¶
func (s *PlaybackKeyPair) SetFingerprint(v string) *PlaybackKeyPair
SetFingerprint sets the Fingerprint field's value.
func (*PlaybackKeyPair) SetName ¶
func (s *PlaybackKeyPair) SetName(v string) *PlaybackKeyPair
SetName sets the Name field's value.
func (*PlaybackKeyPair) SetTags ¶
func (s *PlaybackKeyPair) SetTags(v map[string]*string) *PlaybackKeyPair
SetTags sets the Tags field's value.
func (PlaybackKeyPair) String ¶
func (s PlaybackKeyPair) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PlaybackKeyPairSummary ¶
type PlaybackKeyPairSummary struct { // Key-pair ARN. Arn *string `locationName:"arn" min:"1" type:"string"` // 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"` // 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 (PlaybackKeyPairSummary) GoString ¶
func (s PlaybackKeyPairSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PlaybackKeyPairSummary) SetArn ¶
func (s *PlaybackKeyPairSummary) SetArn(v string) *PlaybackKeyPairSummary
SetArn sets the Arn field's value.
func (*PlaybackKeyPairSummary) SetName ¶
func (s *PlaybackKeyPairSummary) SetName(v string) *PlaybackKeyPairSummary
SetName sets the Name field's value.
func (*PlaybackKeyPairSummary) SetTags ¶
func (s *PlaybackKeyPairSummary) SetTags(v map[string]*string) *PlaybackKeyPairSummary
SetTags sets the Tags field's value.
func (PlaybackKeyPairSummary) String ¶
func (s PlaybackKeyPairSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutMetadataInput ¶
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" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutMetadataInput) GoString ¶
func (s PutMetadataInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutMetadataInput) SetChannelArn ¶
func (s *PutMetadataInput) SetChannelArn(v string) *PutMetadataInput
SetChannelArn sets the ChannelArn field's value.
func (*PutMetadataInput) SetMetadata ¶
func (s *PutMetadataInput) SetMetadata(v string) *PutMetadataInput
SetMetadata sets the Metadata field's value.
func (PutMetadataInput) String ¶
func (s PutMetadataInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutMetadataInput) Validate ¶
func (s *PutMetadataInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutMetadataOutput ¶
type PutMetadataOutput struct {
// contains filtered or unexported fields
}
func (PutMetadataOutput) GoString ¶
func (s PutMetadataOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutMetadataOutput) String ¶
func (s PutMetadataOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecordingConfiguration ¶
type RecordingConfiguration struct { // Recording-configuration ARN. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // A complex type that contains information about where recorded video will // be stored. // // DestinationConfiguration is a required field DestinationConfiguration *DestinationConfiguration `locationName:"destinationConfiguration" type:"structure" required:"true"` // An arbitrary string (a nickname) assigned to a recording configuration that // helps the customer identify that resource. The value does not need to be // unique. Name *string `locationName:"name" type:"string"` // Indicates the current state of the recording configuration. When the state // is ACTIVE, the configuration is ready for recording a channel stream. // // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"RecordingConfigurationState"` // 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 }
An object representing a configuration to record a channel stream.
func (RecordingConfiguration) GoString ¶
func (s RecordingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecordingConfiguration) SetArn ¶
func (s *RecordingConfiguration) SetArn(v string) *RecordingConfiguration
SetArn sets the Arn field's value.
func (*RecordingConfiguration) SetDestinationConfiguration ¶
func (s *RecordingConfiguration) SetDestinationConfiguration(v *DestinationConfiguration) *RecordingConfiguration
SetDestinationConfiguration sets the DestinationConfiguration field's value.
func (*RecordingConfiguration) SetName ¶
func (s *RecordingConfiguration) SetName(v string) *RecordingConfiguration
SetName sets the Name field's value.
func (*RecordingConfiguration) SetState ¶
func (s *RecordingConfiguration) SetState(v string) *RecordingConfiguration
SetState sets the State field's value.
func (*RecordingConfiguration) SetTags ¶
func (s *RecordingConfiguration) SetTags(v map[string]*string) *RecordingConfiguration
SetTags sets the Tags field's value.
func (RecordingConfiguration) String ¶
func (s RecordingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecordingConfigurationSummary ¶
type RecordingConfigurationSummary struct { // Recording-configuration ARN. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // A complex type that contains information about where recorded video will // be stored. // // DestinationConfiguration is a required field DestinationConfiguration *DestinationConfiguration `locationName:"destinationConfiguration" type:"structure" required:"true"` // An arbitrary string (a nickname) assigned to a recording configuration that // helps the customer identify that resource. The value does not need to be // unique. Name *string `locationName:"name" type:"string"` // Indicates the current state of the recording configuration. When the state // is ACTIVE, the configuration is ready for recording a channel stream. // // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"RecordingConfigurationState"` // 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 RecordingConfiguration.
func (RecordingConfigurationSummary) GoString ¶
func (s RecordingConfigurationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecordingConfigurationSummary) SetArn ¶
func (s *RecordingConfigurationSummary) SetArn(v string) *RecordingConfigurationSummary
SetArn sets the Arn field's value.
func (*RecordingConfigurationSummary) SetDestinationConfiguration ¶
func (s *RecordingConfigurationSummary) SetDestinationConfiguration(v *DestinationConfiguration) *RecordingConfigurationSummary
SetDestinationConfiguration sets the DestinationConfiguration field's value.
func (*RecordingConfigurationSummary) SetName ¶
func (s *RecordingConfigurationSummary) SetName(v string) *RecordingConfigurationSummary
SetName sets the Name field's value.
func (*RecordingConfigurationSummary) SetState ¶
func (s *RecordingConfigurationSummary) SetState(v string) *RecordingConfigurationSummary
SetState sets the State field's value.
func (*RecordingConfigurationSummary) SetTags ¶
func (s *RecordingConfigurationSummary) SetTags(v map[string]*string) *RecordingConfigurationSummary
SetTags sets the Tags field's value.
func (RecordingConfigurationSummary) String ¶
func (s RecordingConfigurationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶
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 (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3DestinationConfiguration ¶
type S3DestinationConfiguration struct { // Location (S3 bucket name) where recorded videos will be stored. // // BucketName is a required field BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
A complex type that describes an S3 location where recorded videos will be stored.
func (S3DestinationConfiguration) GoString ¶
func (s S3DestinationConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3DestinationConfiguration) SetBucketName ¶
func (s *S3DestinationConfiguration) SetBucketName(v string) *S3DestinationConfiguration
SetBucketName sets the BucketName field's value.
func (S3DestinationConfiguration) String ¶
func (s S3DestinationConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3DestinationConfiguration) Validate ¶
func (s *S3DestinationConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException ¶
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 (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StopStreamInput ¶
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 (StopStreamInput) GoString ¶
func (s StopStreamInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopStreamInput) SetChannelArn ¶
func (s *StopStreamInput) SetChannelArn(v string) *StopStreamInput
SetChannelArn sets the ChannelArn field's value.
func (StopStreamInput) String ¶
func (s StopStreamInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopStreamInput) Validate ¶
func (s *StopStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopStreamOutput ¶
type StopStreamOutput struct {
// contains filtered or unexported fields
}
func (StopStreamOutput) GoString ¶
func (s StopStreamOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (StopStreamOutput) String ¶
func (s StopStreamOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Stream ¶
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 master playlist, 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" timestampFormat:"iso8601"` // The stream’s state. State *string `locationName:"state" type:"string" enum:"StreamState"` // Number of current viewers of the stream. A value of -1 indicates that the // request timed out; in this case, retry. ViewerCount *int64 `locationName:"viewerCount" type:"long"` // contains filtered or unexported fields }
Specifies a live video stream that has been ingested and distributed.
func (Stream) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Stream) SetChannelArn ¶
SetChannelArn sets the ChannelArn field's value.
func (*Stream) SetPlaybackUrl ¶
SetPlaybackUrl sets the PlaybackUrl field's value.
func (*Stream) SetStartTime ¶
SetStartTime sets the StartTime field's value.
func (*Stream) SetViewerCount ¶
SetViewerCount sets the ViewerCount field's value.
type StreamKey ¶
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 (StreamKey) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StreamKey) SetChannelArn ¶
SetChannelArn sets the ChannelArn field's value.
type StreamKeySummary ¶
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 (StreamKeySummary) GoString ¶
func (s StreamKeySummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StreamKeySummary) SetArn ¶
func (s *StreamKeySummary) SetArn(v string) *StreamKeySummary
SetArn sets the Arn field's value.
func (*StreamKeySummary) SetChannelArn ¶
func (s *StreamKeySummary) SetChannelArn(v string) *StreamKeySummary
SetChannelArn sets the ChannelArn field's value.
func (*StreamKeySummary) SetTags ¶
func (s *StreamKeySummary) SetTags(v map[string]*string) *StreamKeySummary
SetTags sets the Tags field's value.
func (StreamKeySummary) String ¶
func (s StreamKeySummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StreamSummary ¶
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" timestampFormat:"iso8601"` // The stream’s state. State *string `locationName:"state" type:"string" enum:"StreamState"` // Number of current viewers of the stream. A value of -1 indicates that the // request timed out; in this case, retry. ViewerCount *int64 `locationName:"viewerCount" type:"long"` // contains filtered or unexported fields }
Summary information about a stream.
func (StreamSummary) GoString ¶
func (s StreamSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StreamSummary) SetChannelArn ¶
func (s *StreamSummary) SetChannelArn(v string) *StreamSummary
SetChannelArn sets the ChannelArn field's value.
func (*StreamSummary) SetHealth ¶
func (s *StreamSummary) SetHealth(v string) *StreamSummary
SetHealth sets the Health field's value.
func (*StreamSummary) SetStartTime ¶
func (s *StreamSummary) SetStartTime(v time.Time) *StreamSummary
SetStartTime sets the StartTime field's value.
func (*StreamSummary) SetState ¶
func (s *StreamSummary) SetState(v string) *StreamSummary
SetState sets the State field's value.
func (*StreamSummary) SetViewerCount ¶
func (s *StreamSummary) SetViewerCount(v int64) *StreamSummary
SetViewerCount sets the ViewerCount field's value.
func (StreamSummary) String ¶
func (s StreamSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type StreamUnavailable ¶
type StreamUnavailable struct { string `locationName:"exceptionMessage" type:"string"` // contains filtered or unexported fields }ExceptionMessage *
func (*StreamUnavailable) Code ¶
func (s *StreamUnavailable) Code() string
Code returns the exception type name.
func (*StreamUnavailable) Error ¶
func (s *StreamUnavailable) Error() string
func (StreamUnavailable) GoString ¶
func (s StreamUnavailable) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StreamUnavailable) Message ¶
func (s *StreamUnavailable) Message() string
Message returns the exception's message.
func (*StreamUnavailable) OrigErr ¶
func (s *StreamUnavailable) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*StreamUnavailable) RequestID ¶
func (s *StreamUnavailable) RequestID() string
RequestID returns the service's response RequestID for request.
func (*StreamUnavailable) StatusCode ¶
func (s *StreamUnavailable) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (StreamUnavailable) String ¶
func (s StreamUnavailable) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
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 (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException ¶
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 (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
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 (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateChannelInput ¶
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 private (enabled for playback authorization). Authorized *bool `locationName:"authorized" type:"boolean"` // Channel latency mode. Use NORMAL to broadcast and deliver live video up to // Full HD. Use LOW for near-real-time interaction with viewers. (Note: In the // Amazon IVS console, LOW and NORMAL correspond to Ultra-low and Standard, // respectively.) LatencyMode *string `locationName:"latencyMode" type:"string" enum:"ChannelLatencyMode"` // Channel name. Name *string `locationName:"name" type:"string"` // Recording-configuration ARN. If this is set to an empty string, recording // is disabled. A value other than an empty string indicates that recording // is enabled RecordingConfigurationArn *string `locationName:"recordingConfigurationArn" 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. Type *string `locationName:"type" type:"string" enum:"ChannelType"` // contains filtered or unexported fields }
func (UpdateChannelInput) GoString ¶
func (s UpdateChannelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelInput) SetArn ¶
func (s *UpdateChannelInput) SetArn(v string) *UpdateChannelInput
SetArn sets the Arn field's value.
func (*UpdateChannelInput) SetAuthorized ¶
func (s *UpdateChannelInput) SetAuthorized(v bool) *UpdateChannelInput
SetAuthorized sets the Authorized field's value.
func (*UpdateChannelInput) SetLatencyMode ¶
func (s *UpdateChannelInput) SetLatencyMode(v string) *UpdateChannelInput
SetLatencyMode sets the LatencyMode field's value.
func (*UpdateChannelInput) SetName ¶
func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput
SetName sets the Name field's value.
func (*UpdateChannelInput) SetRecordingConfigurationArn ¶
func (s *UpdateChannelInput) SetRecordingConfigurationArn(v string) *UpdateChannelInput
SetRecordingConfigurationArn sets the RecordingConfigurationArn field's value.
func (*UpdateChannelInput) SetType ¶
func (s *UpdateChannelInput) SetType(v string) *UpdateChannelInput
SetType sets the Type field's value.
func (UpdateChannelInput) String ¶
func (s UpdateChannelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelInput) Validate ¶
func (s *UpdateChannelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChannelOutput ¶
type UpdateChannelOutput struct { // Object specifying a channel. Channel *Channel `locationName:"channel" type:"structure"` // contains filtered or unexported fields }
func (UpdateChannelOutput) GoString ¶
func (s UpdateChannelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateChannelOutput) SetChannel ¶
func (s *UpdateChannelOutput) SetChannel(v *Channel) *UpdateChannelOutput
SetChannel sets the Channel field's value.
func (UpdateChannelOutput) String ¶
func (s UpdateChannelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
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 (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package ivsiface provides an interface to enable mocking the Amazon Interactive Video Service service client for testing your code.
|
Package ivsiface provides an interface to enable mocking the Amazon Interactive Video Service service client for testing your code. |