Documentation ¶
Overview ¶
Package kinesisvideo provides the API client, operations, and parameter types for Amazon Kinesis Video Streams.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateSignalingChannel(ctx context.Context, params *CreateSignalingChannelInput, ...) (*CreateSignalingChannelOutput, error)
- func (c *Client) CreateStream(ctx context.Context, params *CreateStreamInput, optFns ...func(*Options)) (*CreateStreamOutput, error)
- func (c *Client) DeleteEdgeConfiguration(ctx context.Context, params *DeleteEdgeConfigurationInput, ...) (*DeleteEdgeConfigurationOutput, error)
- func (c *Client) DeleteSignalingChannel(ctx context.Context, params *DeleteSignalingChannelInput, ...) (*DeleteSignalingChannelOutput, error)
- func (c *Client) DeleteStream(ctx context.Context, params *DeleteStreamInput, optFns ...func(*Options)) (*DeleteStreamOutput, error)
- func (c *Client) DescribeEdgeConfiguration(ctx context.Context, params *DescribeEdgeConfigurationInput, ...) (*DescribeEdgeConfigurationOutput, error)
- func (c *Client) DescribeImageGenerationConfiguration(ctx context.Context, params *DescribeImageGenerationConfigurationInput, ...) (*DescribeImageGenerationConfigurationOutput, error)
- func (c *Client) DescribeMappedResourceConfiguration(ctx context.Context, params *DescribeMappedResourceConfigurationInput, ...) (*DescribeMappedResourceConfigurationOutput, error)
- func (c *Client) DescribeMediaStorageConfiguration(ctx context.Context, params *DescribeMediaStorageConfigurationInput, ...) (*DescribeMediaStorageConfigurationOutput, error)
- func (c *Client) DescribeNotificationConfiguration(ctx context.Context, params *DescribeNotificationConfigurationInput, ...) (*DescribeNotificationConfigurationOutput, error)
- func (c *Client) DescribeSignalingChannel(ctx context.Context, params *DescribeSignalingChannelInput, ...) (*DescribeSignalingChannelOutput, error)
- func (c *Client) DescribeStream(ctx context.Context, params *DescribeStreamInput, optFns ...func(*Options)) (*DescribeStreamOutput, error)
- func (c *Client) GetDataEndpoint(ctx context.Context, params *GetDataEndpointInput, optFns ...func(*Options)) (*GetDataEndpointOutput, error)
- func (c *Client) GetSignalingChannelEndpoint(ctx context.Context, params *GetSignalingChannelEndpointInput, ...) (*GetSignalingChannelEndpointOutput, error)
- func (c *Client) ListEdgeAgentConfigurations(ctx context.Context, params *ListEdgeAgentConfigurationsInput, ...) (*ListEdgeAgentConfigurationsOutput, error)
- func (c *Client) ListSignalingChannels(ctx context.Context, params *ListSignalingChannelsInput, ...) (*ListSignalingChannelsOutput, error)
- func (c *Client) ListStreams(ctx context.Context, params *ListStreamsInput, optFns ...func(*Options)) (*ListStreamsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) ListTagsForStream(ctx context.Context, params *ListTagsForStreamInput, optFns ...func(*Options)) (*ListTagsForStreamOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartEdgeConfigurationUpdate(ctx context.Context, params *StartEdgeConfigurationUpdateInput, ...) (*StartEdgeConfigurationUpdateOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) TagStream(ctx context.Context, params *TagStreamInput, optFns ...func(*Options)) (*TagStreamOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UntagStream(ctx context.Context, params *UntagStreamInput, optFns ...func(*Options)) (*UntagStreamOutput, error)
- func (c *Client) UpdateDataRetention(ctx context.Context, params *UpdateDataRetentionInput, ...) (*UpdateDataRetentionOutput, error)
- func (c *Client) UpdateImageGenerationConfiguration(ctx context.Context, params *UpdateImageGenerationConfigurationInput, ...) (*UpdateImageGenerationConfigurationOutput, error)
- func (c *Client) UpdateMediaStorageConfiguration(ctx context.Context, params *UpdateMediaStorageConfigurationInput, ...) (*UpdateMediaStorageConfigurationOutput, error)
- func (c *Client) UpdateNotificationConfiguration(ctx context.Context, params *UpdateNotificationConfigurationInput, ...) (*UpdateNotificationConfigurationOutput, error)
- func (c *Client) UpdateSignalingChannel(ctx context.Context, params *UpdateSignalingChannelInput, ...) (*UpdateSignalingChannelOutput, error)
- func (c *Client) UpdateStream(ctx context.Context, params *UpdateStreamInput, optFns ...func(*Options)) (*UpdateStreamOutput, error)
- type CreateSignalingChannelInput
- type CreateSignalingChannelOutput
- type CreateStreamInput
- type CreateStreamOutput
- type DeleteEdgeConfigurationInput
- type DeleteEdgeConfigurationOutput
- type DeleteSignalingChannelInput
- type DeleteSignalingChannelOutput
- type DeleteStreamInput
- type DeleteStreamOutput
- type DescribeEdgeConfigurationInput
- type DescribeEdgeConfigurationOutput
- type DescribeImageGenerationConfigurationInput
- type DescribeImageGenerationConfigurationOutput
- type DescribeMappedResourceConfigurationAPIClient
- type DescribeMappedResourceConfigurationInput
- type DescribeMappedResourceConfigurationOutput
- type DescribeMappedResourceConfigurationPaginator
- type DescribeMappedResourceConfigurationPaginatorOptions
- type DescribeMediaStorageConfigurationInput
- type DescribeMediaStorageConfigurationOutput
- type DescribeNotificationConfigurationInput
- type DescribeNotificationConfigurationOutput
- type DescribeSignalingChannelInput
- type DescribeSignalingChannelOutput
- type DescribeStreamInput
- type DescribeStreamOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetDataEndpointInput
- type GetDataEndpointOutput
- type GetSignalingChannelEndpointInput
- type GetSignalingChannelEndpointOutput
- type HTTPClient
- type HTTPSignerV4
- type ListEdgeAgentConfigurationsAPIClient
- type ListEdgeAgentConfigurationsInput
- type ListEdgeAgentConfigurationsOutput
- type ListEdgeAgentConfigurationsPaginator
- type ListEdgeAgentConfigurationsPaginatorOptions
- type ListSignalingChannelsAPIClient
- type ListSignalingChannelsInput
- type ListSignalingChannelsOutput
- type ListSignalingChannelsPaginator
- type ListSignalingChannelsPaginatorOptions
- type ListStreamsAPIClient
- type ListStreamsInput
- type ListStreamsOutput
- type ListStreamsPaginator
- type ListStreamsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForStreamInput
- type ListTagsForStreamOutput
- type Options
- type ResolveEndpoint
- type StartEdgeConfigurationUpdateInput
- type StartEdgeConfigurationUpdateOutput
- type TagResourceInput
- type TagResourceOutput
- type TagStreamInput
- type TagStreamOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UntagStreamInput
- type UntagStreamOutput
- type UpdateDataRetentionInput
- type UpdateDataRetentionOutput
- type UpdateImageGenerationConfigurationInput
- type UpdateImageGenerationConfigurationOutput
- type UpdateMediaStorageConfigurationInput
- type UpdateMediaStorageConfigurationOutput
- type UpdateNotificationConfigurationInput
- type UpdateNotificationConfigurationOutput
- type UpdateSignalingChannelInput
- type UpdateSignalingChannelOutput
- type UpdateStreamInput
- type UpdateStreamOutput
Constants ¶
const ServiceAPIVersion = "2017-09-30"
const ServiceID = "Kinesis Video"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Kinesis Video Streams.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateSignalingChannel ¶
func (c *Client) CreateSignalingChannel(ctx context.Context, params *CreateSignalingChannelInput, optFns ...func(*Options)) (*CreateSignalingChannelOutput, error)
Creates a signaling channel.
CreateSignalingChannel is an asynchronous operation.
func (*Client) CreateStream ¶
func (c *Client) CreateStream(ctx context.Context, params *CreateStreamInput, optFns ...func(*Options)) (*CreateStreamOutput, error)
Creates a new Kinesis video stream.
When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream's metadata, Kinesis Video Streams updates the version.
CreateStream is an asynchronous operation.
For information about how the service works, see How it Works.
You must have permissions for the KinesisVideo:CreateStream action.
func (*Client) DeleteEdgeConfiguration ¶
func (c *Client) DeleteEdgeConfiguration(ctx context.Context, params *DeleteEdgeConfigurationInput, optFns ...func(*Options)) (*DeleteEdgeConfigurationOutput, error)
An asynchronous API that deletes a stream’s existing edge configuration, as well as the corresponding media from the Edge Agent.
When you invoke this API, the sync status is set to DELETING . A deletion process starts, in which active edge jobs are stopped and all media is deleted from the edge device. The time to delete varies, depending on the total amount of stored media. If the deletion process fails, the sync status changes to DELETE_FAILED . You will need to re-try the deletion.
When the deletion process has completed successfully, the edge configuration is no longer accessible.
func (*Client) DeleteSignalingChannel ¶
func (c *Client) DeleteSignalingChannel(ctx context.Context, params *DeleteSignalingChannelInput, optFns ...func(*Options)) (*DeleteSignalingChannelOutput, error)
Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.
func (*Client) DeleteStream ¶
func (c *Client) DeleteStream(ctx context.Context, params *DeleteStreamInput, optFns ...func(*Options)) (*DeleteStreamOutput, error)
Deletes a Kinesis video stream and the data contained in the stream.
This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.
To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.
This operation requires permission for the KinesisVideo:DeleteStream action.
func (*Client) DescribeEdgeConfiguration ¶
func (c *Client) DescribeEdgeConfiguration(ctx context.Context, params *DescribeEdgeConfigurationInput, optFns ...func(*Options)) (*DescribeEdgeConfigurationOutput, error)
Describes a stream’s edge configuration that was set using the StartEdgeConfigurationUpdate API and the latest status of the edge agent's recorder and uploader jobs. Use this API to get the status of the configuration to determine if the configuration is in sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.
func (*Client) DescribeImageGenerationConfiguration ¶
func (c *Client) DescribeImageGenerationConfiguration(ctx context.Context, params *DescribeImageGenerationConfigurationInput, optFns ...func(*Options)) (*DescribeImageGenerationConfigurationOutput, error)
Gets the ImageGenerationConfiguration for a given Kinesis video stream.
func (*Client) DescribeMappedResourceConfiguration ¶
func (c *Client) DescribeMappedResourceConfiguration(ctx context.Context, params *DescribeMappedResourceConfigurationInput, optFns ...func(*Options)) (*DescribeMappedResourceConfigurationOutput, error)
Returns the most current information about the stream. The streamName or streamARN should be provided in the input.
func (*Client) DescribeMediaStorageConfiguration ¶
func (c *Client) DescribeMediaStorageConfiguration(ctx context.Context, params *DescribeMediaStorageConfigurationInput, optFns ...func(*Options)) (*DescribeMediaStorageConfigurationOutput, error)
Returns the most current information about the channel. Specify the ChannelName or ChannelARN in the input.
func (*Client) DescribeNotificationConfiguration ¶
func (c *Client) DescribeNotificationConfiguration(ctx context.Context, params *DescribeNotificationConfigurationInput, optFns ...func(*Options)) (*DescribeNotificationConfigurationOutput, error)
Gets the NotificationConfiguration for a given Kinesis video stream.
func (*Client) DescribeSignalingChannel ¶
func (c *Client) DescribeSignalingChannel(ctx context.Context, params *DescribeSignalingChannelInput, optFns ...func(*Options)) (*DescribeSignalingChannelOutput, error)
Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.
func (*Client) DescribeStream ¶
func (c *Client) DescribeStream(ctx context.Context, params *DescribeStreamInput, optFns ...func(*Options)) (*DescribeStreamOutput, error)
Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN .
func (*Client) GetDataEndpoint ¶
func (c *Client) GetDataEndpoint(ctx context.Context, params *GetDataEndpointInput, optFns ...func(*Options)) (*GetDataEndpointOutput, error)
Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the GetMedia or GetMediaForFragmentList operations) or write to it (using the PutMedia operation).
The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.
In the request, specify the stream either by StreamName or StreamARN .
func (*Client) GetSignalingChannelEndpoint ¶
func (c *Client) GetSignalingChannelEndpoint(ctx context.Context, params *GetSignalingChannelEndpointInput, optFns ...func(*Options)) (*GetSignalingChannelEndpointOutput, error)
Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the SingleMasterChannelEndpointConfiguration input parameter, which consists of the Protocols and Role properties.
Protocols is used to determine the communication mechanism. For example, if you specify WSS as the protocol, this API produces a secure websocket endpoint. If you specify HTTPS as the protocol, this API generates an HTTPS endpoint.
Role determines the messaging permissions. A MASTER role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. A VIEWER role results in this API generating an endpoint that a client can use to communicate only with a MASTER .
func (*Client) ListEdgeAgentConfigurations ¶
func (c *Client) ListEdgeAgentConfigurations(ctx context.Context, params *ListEdgeAgentConfigurationsInput, optFns ...func(*Options)) (*ListEdgeAgentConfigurationsOutput, error)
Returns an array of edge configurations associated with the specified Edge Agent.
In the request, you must specify the Edge Agent HubDeviceArn .
func (*Client) ListSignalingChannels ¶
func (c *Client) ListSignalingChannels(ctx context.Context, params *ListSignalingChannelsInput, optFns ...func(*Options)) (*ListSignalingChannelsOutput, error)
Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition .
func (*Client) ListStreams ¶
func (c *Client) ListStreams(ctx context.Context, params *ListStreamsInput, optFns ...func(*Options)) (*ListStreamsOutput, error)
Returns an array of StreamInfo objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify a StreamNameCondition .
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Returns a list of tags associated with the specified signaling channel.
func (*Client) ListTagsForStream ¶
func (c *Client) ListTagsForStream(ctx context.Context, params *ListTagsForStreamInput, optFns ...func(*Options)) (*ListTagsForStreamOutput, error)
Returns a list of tags associated with the specified stream.
In the request, you must specify either the StreamName or the StreamARN .
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartEdgeConfigurationUpdate ¶
func (c *Client) StartEdgeConfigurationUpdate(ctx context.Context, params *StartEdgeConfigurationUpdateInput, optFns ...func(*Options)) (*StartEdgeConfigurationUpdateOutput, error)
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING . You will have to wait for the sync status to reach a terminal state such as: IN_SYNC , or SYNC_FAILED , before using this API again. If you invoke this API during the syncing process, a ResourceInUseException will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED state.
To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tagsin the Billing and Cost Management and Cost Management User Guide.
func (*Client) TagStream ¶
func (c *Client) TagStream(ctx context.Context, params *TagStreamInput, optFns ...func(*Options)) (*TagStreamOutput, error)
Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tagsin the Billing and Cost Management and Cost Management User Guide.
You must provide either the StreamName or the StreamARN .
This operation requires permission for the KinesisVideo:TagStream action.
A Kinesis video stream can support up to 50 tags.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
func (*Client) UntagStream ¶
func (c *Client) UntagStream(ctx context.Context, params *UntagStreamInput, optFns ...func(*Options)) (*UntagStreamOutput, error)
Removes one or more tags from a stream. In the request, specify only a tag key or keys; don't specify the value. If you specify a tag key that does not exist, it's ignored.
In the request, you must provide the StreamName or StreamARN .
func (*Client) UpdateDataRetention ¶
func (c *Client) UpdateDataRetention(ctx context.Context, params *UpdateDataRetentionInput, optFns ...func(*Options)) (*UpdateDataRetentionOutput, error)
Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN .
This operation requires permission for the KinesisVideo:UpdateDataRetention action.
Changing the data retention period affects the data in the stream as follows:
If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.
If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
func (*Client) UpdateImageGenerationConfiguration ¶
func (c *Client) UpdateImageGenerationConfiguration(ctx context.Context, params *UpdateImageGenerationConfigurationInput, optFns ...func(*Options)) (*UpdateImageGenerationConfigurationOutput, error)
Updates the StreamInfo and ImageProcessingConfiguration fields.
func (*Client) UpdateMediaStorageConfiguration ¶
func (c *Client) UpdateMediaStorageConfiguration(ctx context.Context, params *UpdateMediaStorageConfigurationInput, optFns ...func(*Options)) (*UpdateMediaStorageConfigurationOutput, error)
Associates a SignalingChannel to a stream to store the media. There are two signaling modes that you can specify :
If StorageStatus is enabled, the data will be stored in the StreamARN provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.
If StorageStatus is disabled, no data will be stored, and the StreamARN parameter will not be needed.
If StorageStatus is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession API to trigger an SDP offer send and establish a connection between a peer and the storage session.
func (*Client) UpdateNotificationConfiguration ¶
func (c *Client) UpdateNotificationConfiguration(ctx context.Context, params *UpdateNotificationConfigurationInput, optFns ...func(*Options)) (*UpdateNotificationConfigurationOutput, error)
Updates the notification information for a stream.
func (*Client) UpdateSignalingChannel ¶
func (c *Client) UpdateSignalingChannel(ctx context.Context, params *UpdateSignalingChannelInput, optFns ...func(*Options)) (*UpdateSignalingChannelOutput, error)
Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.
If the MessageTtlSeconds value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous MessageTtlSeconds value.
func (*Client) UpdateStream ¶
func (c *Client) UpdateStream(ctx context.Context, params *UpdateStreamInput, optFns ...func(*Options)) (*UpdateStreamOutput, error)
Updates stream metadata, such as the device name and media type.
You must provide the stream name or the Amazon Resource Name (ARN) of the stream.
To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the DescribeStream API.
UpdateStream is an asynchronous operation, and takes time to complete.
type CreateSignalingChannelInput ¶
type CreateSignalingChannelInput struct { // A name for the signaling channel that you are creating. It must be unique for // each Amazon Web Services account and Amazon Web Services Region. // // This member is required. ChannelName *string // A type of the signaling channel that you are creating. Currently, SINGLE_MASTER // is the only supported channel type. ChannelType types.ChannelType // A structure containing the configuration for the SINGLE_MASTER channel type. SingleMasterConfiguration *types.SingleMasterConfiguration // A set of tags (key-value pairs) that you want to associate with this channel. Tags []types.Tag // contains filtered or unexported fields }
type CreateSignalingChannelOutput ¶
type CreateSignalingChannelOutput struct { // The Amazon Resource Name (ARN) of the created channel. ChannelARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateStreamInput ¶
type CreateStreamInput struct { // A name for the stream that you are creating. // // The stream name is an identifier for the stream, and must be unique for each // account and region. // // This member is required. StreamName *string // The number of hours that you want to retain the data in the stream. Kinesis // Video Streams retains the data in a data store that is associated with the // stream. // // The default value is 0, indicating that the stream does not persist data. // // When the DataRetentionInHours value is 0, consumers can still consume the // fragments that remain in the service host buffer, which has a retention time // limit of 5 minutes and a retention memory limit of 200 MB. Fragments are removed // from the buffer when either limit is reached. DataRetentionInHours *int32 // The name of the device that is writing to the stream. // // In the current implementation, Kinesis Video Streams does not use this name. DeviceName *string // The ID of the Key Management Service (KMS) key that you want Kinesis Video // Streams to use to encrypt stream data. // // If no key ID is specified, the default, Kinesis Video-managed key ( Amazon Web // Services/kinesisvideo ) is used. // // For more information, see [DescribeKey]. // // [DescribeKey]: https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters KmsKeyId *string // The media type of the stream. Consumers of the stream can use this information // when processing the stream. For more information about media types, see [Media Types]. If // you choose to specify the MediaType , see [Naming Requirements] for guidelines. // // Example valid values include "video/h264" and "video/h264,audio/aac". // // This parameter is optional; the default value is null (or empty in JSON). // // [Naming Requirements]: https://tools.ietf.org/html/rfc6838#section-4.2 // [Media Types]: http://www.iana.org/assignments/media-types/media-types.xhtml MediaType *string // A list of tags to associate with the specified stream. Each tag is a key-value // pair (the value is optional). Tags map[string]string // contains filtered or unexported fields }
type CreateStreamOutput ¶
type CreateStreamOutput struct { // The Amazon Resource Name (ARN) of the stream. StreamARN *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteEdgeConfigurationInput ¶
type DeleteEdgeConfigurationInput struct { // The Amazon Resource Name (ARN) of the stream. Specify either the StreamName or // the StreamARN . StreamARN *string // The name of the stream from which to delete the edge configuration. Specify // either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type DeleteEdgeConfigurationOutput ¶
type DeleteEdgeConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSignalingChannelInput ¶
type DeleteSignalingChannelInput struct { // The Amazon Resource Name (ARN) of the signaling channel that you want to delete. // // This member is required. ChannelARN *string // The current version of the signaling channel that you want to delete. You can // obtain the current version by invoking the DescribeSignalingChannel or // ListSignalingChannels API operations. CurrentVersion *string // contains filtered or unexported fields }
type DeleteSignalingChannelOutput ¶
type DeleteSignalingChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteStreamInput ¶
type DeleteStreamInput struct { // The Amazon Resource Name (ARN) of the stream that you want to delete. // // This member is required. StreamARN *string // Optional: The version of the stream that you want to delete. // // Specify the version as a safeguard to ensure that your are deleting the correct // stream. To get the stream version, use the DescribeStream API. // // If not specified, only the CreationTime is checked before deleting the stream. CurrentVersion *string // contains filtered or unexported fields }
type DeleteStreamOutput ¶
type DeleteStreamOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEdgeConfigurationInput ¶
type DescribeEdgeConfigurationInput struct { // The Amazon Resource Name (ARN) of the stream. Specify either the StreamName or // the StreamARN . StreamARN *string // The name of the stream whose edge configuration you want to update. Specify // either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type DescribeEdgeConfigurationOutput ¶
type DescribeEdgeConfigurationOutput struct { // The timestamp at which a stream’s edge configuration was first created. CreationTime *time.Time // An object that contains the latest status details for an edge agent's recorder // and uploader jobs. Use this information to determine the current health of an // edge agent. EdgeAgentStatus *types.EdgeAgentStatus // A description of the stream's edge configuration that will be used to sync with // the Edge Agent IoT Greengrass component. The Edge Agent component will run on an // IoT Hub Device setup at your premise. EdgeConfig *types.EdgeConfig // A description of the generated failure status. FailedStatusDetails *string // The timestamp at which a stream’s edge configuration was last updated. LastUpdatedTime *time.Time // The Amazon Resource Name (ARN) of the stream. StreamARN *string // The name of the stream from which the edge configuration was updated. StreamName *string // The latest status of the edge configuration update. SyncStatus types.SyncStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeImageGenerationConfigurationInput ¶
type DescribeImageGenerationConfigurationInput struct { // The Amazon Resource Name (ARN) of the Kinesis video stream from which to // retrieve the image generation configuration. You must specify either the // StreamName or the StreamARN . StreamARN *string // The name of the stream from which to retrieve the image generation // configuration. You must specify either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type DescribeImageGenerationConfigurationOutput ¶
type DescribeImageGenerationConfigurationOutput struct { // The structure that contains the information required for the Kinesis video // stream (KVS) images delivery. If this structure is null, the configuration will // be deleted from the stream. ImageGenerationConfiguration *types.ImageGenerationConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeMappedResourceConfigurationAPIClient ¶
type DescribeMappedResourceConfigurationAPIClient interface {
DescribeMappedResourceConfiguration(context.Context, *DescribeMappedResourceConfigurationInput, ...func(*Options)) (*DescribeMappedResourceConfigurationOutput, error)
}
DescribeMappedResourceConfigurationAPIClient is a client that implements the DescribeMappedResourceConfiguration operation.
type DescribeMappedResourceConfigurationInput ¶
type DescribeMappedResourceConfigurationInput struct { // The maximum number of results to return in the response. MaxResults *int32 // The token to provide in your next request, to get another batch of results. NextToken *string // The Amazon Resource Name (ARN) of the stream. StreamARN *string // The name of the stream. StreamName *string // contains filtered or unexported fields }
type DescribeMappedResourceConfigurationOutput ¶
type DescribeMappedResourceConfigurationOutput struct { // A structure that encapsulates, or contains, the media storage configuration // properties. MappedResourceConfigurationList []types.MappedResourceConfigurationListItem // The token that was used in the NextToken request to fetch the next set of // results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeMappedResourceConfigurationPaginator ¶
type DescribeMappedResourceConfigurationPaginator struct {
// contains filtered or unexported fields
}
DescribeMappedResourceConfigurationPaginator is a paginator for DescribeMappedResourceConfiguration
func NewDescribeMappedResourceConfigurationPaginator ¶
func NewDescribeMappedResourceConfigurationPaginator(client DescribeMappedResourceConfigurationAPIClient, params *DescribeMappedResourceConfigurationInput, optFns ...func(*DescribeMappedResourceConfigurationPaginatorOptions)) *DescribeMappedResourceConfigurationPaginator
NewDescribeMappedResourceConfigurationPaginator returns a new DescribeMappedResourceConfigurationPaginator
func (*DescribeMappedResourceConfigurationPaginator) HasMorePages ¶
func (p *DescribeMappedResourceConfigurationPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeMappedResourceConfigurationPaginator) NextPage ¶
func (p *DescribeMappedResourceConfigurationPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeMappedResourceConfigurationOutput, error)
NextPage retrieves the next DescribeMappedResourceConfiguration page.
type DescribeMappedResourceConfigurationPaginatorOptions ¶
type DescribeMappedResourceConfigurationPaginatorOptions struct { // The maximum number of results to return in the response. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeMappedResourceConfigurationPaginatorOptions is the paginator options for DescribeMappedResourceConfiguration
type DescribeMediaStorageConfigurationInput ¶
type DescribeMediaStorageConfigurationOutput ¶
type DescribeMediaStorageConfigurationOutput struct { // A structure that encapsulates, or contains, the media storage configuration // properties. MediaStorageConfiguration *types.MediaStorageConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeNotificationConfigurationInput ¶
type DescribeNotificationConfigurationInput struct { // The Amazon Resource Name (ARN) of the Kinesis video stream from where you want // to retrieve the notification configuration. You must specify either the // StreamName or the StreamARN. StreamARN *string // The name of the stream from which to retrieve the notification configuration. // You must specify either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type DescribeNotificationConfigurationOutput ¶
type DescribeNotificationConfigurationOutput struct { // The structure that contains the information required for notifications. If the // structure is null, the configuration will be deleted from the stream. NotificationConfiguration *types.NotificationConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeSignalingChannelInput ¶
type DescribeSignalingChannelOutput ¶
type DescribeSignalingChannelOutput struct { // A structure that encapsulates the specified signaling channel's metadata and // properties. ChannelInfo *types.ChannelInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeStreamInput ¶
type DescribeStreamOutput ¶
type DescribeStreamOutput struct { // An object that describes the stream. StreamInfo *types.StreamInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetDataEndpointInput ¶
type GetDataEndpointInput struct { // The name of the API action for which to get an endpoint. // // This member is required. APIName types.APIName // The Amazon Resource Name (ARN) of the stream that you want to get the endpoint // for. You must specify either this parameter or a StreamName in the request. StreamARN *string // The name of the stream that you want to get the endpoint for. You must specify // either this parameter or a StreamARN in the request. StreamName *string // contains filtered or unexported fields }
type GetDataEndpointOutput ¶
type GetDataEndpointOutput struct { // The endpoint value. To read data from the stream or to write data to it, // specify this endpoint in your application. DataEndpoint *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetSignalingChannelEndpointInput ¶
type GetSignalingChannelEndpointInput struct { // The Amazon Resource Name (ARN) of the signalling channel for which you want to // get an endpoint. // // This member is required. ChannelARN *string // A structure containing the endpoint configuration for the SINGLE_MASTER channel // type. SingleMasterChannelEndpointConfiguration *types.SingleMasterChannelEndpointConfiguration // contains filtered or unexported fields }
type GetSignalingChannelEndpointOutput ¶
type GetSignalingChannelEndpointOutput struct { // A list of endpoints for the specified signaling channel. ResourceEndpointList []types.ResourceEndpointListItem // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListEdgeAgentConfigurationsAPIClient ¶
type ListEdgeAgentConfigurationsAPIClient interface {
ListEdgeAgentConfigurations(context.Context, *ListEdgeAgentConfigurationsInput, ...func(*Options)) (*ListEdgeAgentConfigurationsOutput, error)
}
ListEdgeAgentConfigurationsAPIClient is a client that implements the ListEdgeAgentConfigurations operation.
type ListEdgeAgentConfigurationsInput ¶
type ListEdgeAgentConfigurationsInput struct { // The "Internet of Things (IoT) Thing" Arn of the edge agent. // // This member is required. HubDeviceArn *string // The maximum number of edge configurations to return in the response. The // default is 5. MaxResults *int32 // If you specify this parameter, when the result of a ListEdgeAgentConfigurations // operation is truncated, the call returns the NextToken in the response. To get // another batch of edge configurations, provide this token in your next request. NextToken *string // contains filtered or unexported fields }
type ListEdgeAgentConfigurationsOutput ¶
type ListEdgeAgentConfigurationsOutput struct { // A description of a single stream's edge configuration. EdgeConfigs []types.ListEdgeAgentConfigurationsEdgeConfig // If the response is truncated, the call returns this element with a given token. // To get the next batch of edge configurations, use this token in your next // request. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListEdgeAgentConfigurationsPaginator ¶
type ListEdgeAgentConfigurationsPaginator struct {
// contains filtered or unexported fields
}
ListEdgeAgentConfigurationsPaginator is a paginator for ListEdgeAgentConfigurations
func NewListEdgeAgentConfigurationsPaginator ¶
func NewListEdgeAgentConfigurationsPaginator(client ListEdgeAgentConfigurationsAPIClient, params *ListEdgeAgentConfigurationsInput, optFns ...func(*ListEdgeAgentConfigurationsPaginatorOptions)) *ListEdgeAgentConfigurationsPaginator
NewListEdgeAgentConfigurationsPaginator returns a new ListEdgeAgentConfigurationsPaginator
func (*ListEdgeAgentConfigurationsPaginator) HasMorePages ¶
func (p *ListEdgeAgentConfigurationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListEdgeAgentConfigurationsPaginator) NextPage ¶
func (p *ListEdgeAgentConfigurationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEdgeAgentConfigurationsOutput, error)
NextPage retrieves the next ListEdgeAgentConfigurations page.
type ListEdgeAgentConfigurationsPaginatorOptions ¶
type ListEdgeAgentConfigurationsPaginatorOptions struct { // The maximum number of edge configurations to return in the response. The // default is 5. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListEdgeAgentConfigurationsPaginatorOptions is the paginator options for ListEdgeAgentConfigurations
type ListSignalingChannelsAPIClient ¶
type ListSignalingChannelsAPIClient interface {
ListSignalingChannels(context.Context, *ListSignalingChannelsInput, ...func(*Options)) (*ListSignalingChannelsOutput, error)
}
ListSignalingChannelsAPIClient is a client that implements the ListSignalingChannels operation.
type ListSignalingChannelsInput ¶
type ListSignalingChannelsInput struct { // Optional: Returns only the channels that satisfy a specific condition. ChannelNameCondition *types.ChannelNameCondition // The maximum number of channels to return in the response. The default is 500. MaxResults *int32 // If you specify this parameter, when the result of a ListSignalingChannels // operation is truncated, the call returns the NextToken in the response. To get // another batch of channels, provide this token in your next request. NextToken *string // contains filtered or unexported fields }
type ListSignalingChannelsOutput ¶
type ListSignalingChannelsOutput struct { // An array of ChannelInfo objects. ChannelInfoList []types.ChannelInfo // If the response is truncated, the call returns this element with a token. To // get the next batch of streams, use this token in your next request. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSignalingChannelsPaginator ¶
type ListSignalingChannelsPaginator struct {
// contains filtered or unexported fields
}
ListSignalingChannelsPaginator is a paginator for ListSignalingChannels
func NewListSignalingChannelsPaginator ¶
func NewListSignalingChannelsPaginator(client ListSignalingChannelsAPIClient, params *ListSignalingChannelsInput, optFns ...func(*ListSignalingChannelsPaginatorOptions)) *ListSignalingChannelsPaginator
NewListSignalingChannelsPaginator returns a new ListSignalingChannelsPaginator
func (*ListSignalingChannelsPaginator) HasMorePages ¶
func (p *ListSignalingChannelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSignalingChannelsPaginator) NextPage ¶
func (p *ListSignalingChannelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSignalingChannelsOutput, error)
NextPage retrieves the next ListSignalingChannels page.
type ListSignalingChannelsPaginatorOptions ¶
type ListSignalingChannelsPaginatorOptions struct { // The maximum number of channels to return in the response. The default is 500. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSignalingChannelsPaginatorOptions is the paginator options for ListSignalingChannels
type ListStreamsAPIClient ¶
type ListStreamsAPIClient interface {
ListStreams(context.Context, *ListStreamsInput, ...func(*Options)) (*ListStreamsOutput, error)
}
ListStreamsAPIClient is a client that implements the ListStreams operation.
type ListStreamsInput ¶
type ListStreamsInput struct { // The maximum number of streams to return in the response. The default is 10,000. MaxResults *int32 // If you specify this parameter, when the result of a ListStreams operation is // truncated, the call returns the NextToken in the response. To get another batch // of streams, provide this token in your next request. NextToken *string // Optional: Returns only streams that satisfy a specific condition. Currently, // you can specify only the prefix of a stream name as a condition. StreamNameCondition *types.StreamNameCondition // contains filtered or unexported fields }
type ListStreamsOutput ¶
type ListStreamsOutput struct { // If the response is truncated, the call returns this element with a token. To // get the next batch of streams, use this token in your next request. NextToken *string // An array of StreamInfo objects. StreamInfoList []types.StreamInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListStreamsPaginator ¶
type ListStreamsPaginator struct {
// contains filtered or unexported fields
}
ListStreamsPaginator is a paginator for ListStreams
func NewListStreamsPaginator ¶
func NewListStreamsPaginator(client ListStreamsAPIClient, params *ListStreamsInput, optFns ...func(*ListStreamsPaginatorOptions)) *ListStreamsPaginator
NewListStreamsPaginator returns a new ListStreamsPaginator
func (*ListStreamsPaginator) HasMorePages ¶
func (p *ListStreamsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListStreamsPaginator) NextPage ¶
func (p *ListStreamsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStreamsOutput, error)
NextPage retrieves the next ListStreams page.
type ListStreamsPaginatorOptions ¶
type ListStreamsPaginatorOptions struct { // The maximum number of streams to return in the response. The default is 10,000. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListStreamsPaginatorOptions is the paginator options for ListStreams
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the signaling channel for which you want to // list tags. // // This member is required. ResourceARN *string // If you specify this parameter and the result of a ListTagsForResource call is // truncated, the response includes a token that you can use in the next request to // fetch the next batch of tags. NextToken *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // If you specify this parameter and the result of a ListTagsForResource call is // truncated, the response includes a token that you can use in the next request to // fetch the next set of tags. NextToken *string // A map of tag keys and values associated with the specified signaling channel. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsForStreamInput ¶
type ListTagsForStreamInput struct { // If you specify this parameter and the result of a ListTagsForStream call is // truncated, the response includes a token that you can use in the next request to // fetch the next batch of tags. NextToken *string // The Amazon Resource Name (ARN) of the stream that you want to list tags for. StreamARN *string // The name of the stream that you want to list tags for. StreamName *string // contains filtered or unexported fields }
type ListTagsForStreamOutput ¶
type ListTagsForStreamOutput struct { // If you specify this parameter and the result of a ListTags call is truncated, // the response includes a token that you can use in the next request to fetch the // next set of tags. NextToken *string // A map of tag keys and values associated with the specified stream. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartEdgeConfigurationUpdateInput ¶
type StartEdgeConfigurationUpdateInput struct { // The edge configuration details required to invoke the update process. // // This member is required. EdgeConfig *types.EdgeConfig // The Amazon Resource Name (ARN) of the stream. Specify either the StreamName or // the StreamARN . StreamARN *string // The name of the stream whose edge configuration you want to update. Specify // either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type StartEdgeConfigurationUpdateOutput ¶
type StartEdgeConfigurationUpdateOutput struct { // The timestamp at which a stream’s edge configuration was first created. CreationTime *time.Time // A description of the stream's edge configuration that will be used to sync with // the Edge Agent IoT Greengrass component. The Edge Agent component will run on an // IoT Hub Device setup at your premise. EdgeConfig *types.EdgeConfig // A description of the generated failure status. FailedStatusDetails *string // The timestamp at which a stream’s edge configuration was last updated. LastUpdatedTime *time.Time // The Amazon Resource Name (ARN) of the stream. StreamARN *string // The name of the stream from which the edge configuration was updated. StreamName *string // The current sync status of the stream's edge configuration. When you invoke // this API, the sync status will be set to the SYNCING state. Use the // DescribeEdgeConfiguration API to get the latest status of the edge configuration. SyncStatus types.SyncStatus // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the signaling channel to which you want to // add tags. // // This member is required. ResourceARN *string // A list of tags to associate with the specified signaling channel. Each tag is a // key-value pair. // // This member is required. Tags []types.Tag // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagStreamInput ¶
type TagStreamInput struct { // A list of tags to associate with the specified stream. Each tag is a key-value // pair (the value is optional). // // This member is required. Tags map[string]string // The Amazon Resource Name (ARN) of the resource that you want to add the tag or // tags to. StreamARN *string // The name of the stream that you want to add the tag or tags to. StreamName *string // contains filtered or unexported fields }
type TagStreamOutput ¶
type TagStreamOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the signaling channel from which you want to // remove tags. // // This member is required. ResourceARN *string // A list of the keys of the tags that you want to remove. // // This member is required. TagKeyList []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagStreamInput ¶
type UntagStreamInput struct { // A list of the keys of the tags that you want to remove. // // This member is required. TagKeyList []string // The Amazon Resource Name (ARN) of the stream that you want to remove tags from. StreamARN *string // The name of the stream that you want to remove tags from. StreamName *string // contains filtered or unexported fields }
type UntagStreamOutput ¶
type UntagStreamOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDataRetentionInput ¶
type UpdateDataRetentionInput struct { // The version of the stream whose retention period you want to change. To get the // version, call either the DescribeStream or the ListStreams API. // // This member is required. CurrentVersion *string // The number of hours to adjust the current retention by. The value you specify // is added to or subtracted from the current value, depending on the operation . // // The minimum value for data retention is 0 and the maximum value is 87600 (ten // years). // // This member is required. DataRetentionChangeInHours *int32 // Indicates whether you want to increase or decrease the retention period. // // This member is required. Operation types.UpdateDataRetentionOperation // The Amazon Resource Name (ARN) of the stream whose retention period you want to // change. StreamARN *string // The name of the stream whose retention period you want to change. StreamName *string // contains filtered or unexported fields }
type UpdateDataRetentionOutput ¶
type UpdateDataRetentionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateImageGenerationConfigurationInput ¶
type UpdateImageGenerationConfigurationInput struct { // The structure that contains the information required for the KVS images // delivery. If the structure is null, the configuration will be deleted from the // stream. ImageGenerationConfiguration *types.ImageGenerationConfiguration // The Amazon Resource Name (ARN) of the Kinesis video stream from where you want // to update the image generation configuration. You must specify either the // StreamName or the StreamARN . StreamARN *string // The name of the stream from which to update the image generation configuration. // You must specify either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type UpdateImageGenerationConfigurationOutput ¶
type UpdateImageGenerationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateMediaStorageConfigurationInput ¶
type UpdateMediaStorageConfigurationInput struct { // The Amazon Resource Name (ARN) of the channel. // // This member is required. ChannelARN *string // A structure that encapsulates, or contains, the media storage configuration // properties. // // This member is required. MediaStorageConfiguration *types.MediaStorageConfiguration // contains filtered or unexported fields }
type UpdateMediaStorageConfigurationOutput ¶
type UpdateMediaStorageConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateNotificationConfigurationInput ¶
type UpdateNotificationConfigurationInput struct { // The structure containing the information required for notifications. If the // structure is null, the configuration will be deleted from the stream. NotificationConfiguration *types.NotificationConfiguration // The Amazon Resource Name (ARN) of the Kinesis video stream from where you want // to update the notification configuration. You must specify either the StreamName // or the StreamARN . StreamARN *string // The name of the stream from which to update the notification configuration. You // must specify either the StreamName or the StreamARN . StreamName *string // contains filtered or unexported fields }
type UpdateNotificationConfigurationOutput ¶
type UpdateNotificationConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSignalingChannelInput ¶
type UpdateSignalingChannelInput struct { // The Amazon Resource Name (ARN) of the signaling channel that you want to update. // // This member is required. ChannelARN *string // The current version of the signaling channel that you want to update. // // This member is required. CurrentVersion *string // The structure containing the configuration for the SINGLE_MASTER type of the // signaling channel that you want to update. SingleMasterConfiguration *types.SingleMasterConfiguration // contains filtered or unexported fields }
type UpdateSignalingChannelOutput ¶
type UpdateSignalingChannelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateStreamInput ¶
type UpdateStreamInput struct { // The version of the stream whose metadata you want to update. // // This member is required. CurrentVersion *string // The name of the device that is writing to the stream. // // In the current implementation, Kinesis Video Streams does not use this name. DeviceName *string // The stream's media type. Use MediaType to specify the type of content that the // stream contains to the consumers of the stream. For more information about media // types, see [Media Types]. If you choose to specify the MediaType , see [Naming Requirements]. // // To play video on the console, you must specify the correct video type. For // example, if the video in the stream is H.264, specify video/h264 as the // MediaType . // // [Naming Requirements]: https://tools.ietf.org/html/rfc6838#section-4.2 // [Media Types]: http://www.iana.org/assignments/media-types/media-types.xhtml MediaType *string // The ARN of the stream whose metadata you want to update. StreamARN *string // The name of the stream whose metadata you want to update. // // The stream name is an identifier for the stream, and must be unique for each // account and region. StreamName *string // contains filtered or unexported fields }
type UpdateStreamOutput ¶
type UpdateStreamOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateSignalingChannel.go
- api_op_CreateStream.go
- api_op_DeleteEdgeConfiguration.go
- api_op_DeleteSignalingChannel.go
- api_op_DeleteStream.go
- api_op_DescribeEdgeConfiguration.go
- api_op_DescribeImageGenerationConfiguration.go
- api_op_DescribeMappedResourceConfiguration.go
- api_op_DescribeMediaStorageConfiguration.go
- api_op_DescribeNotificationConfiguration.go
- api_op_DescribeSignalingChannel.go
- api_op_DescribeStream.go
- api_op_GetDataEndpoint.go
- api_op_GetSignalingChannelEndpoint.go
- api_op_ListEdgeAgentConfigurations.go
- api_op_ListSignalingChannels.go
- api_op_ListStreams.go
- api_op_ListTagsForResource.go
- api_op_ListTagsForStream.go
- api_op_StartEdgeConfigurationUpdate.go
- api_op_TagResource.go
- api_op_TagStream.go
- api_op_UntagResource.go
- api_op_UntagStream.go
- api_op_UpdateDataRetention.go
- api_op_UpdateImageGenerationConfiguration.go
- api_op_UpdateMediaStorageConfiguration.go
- api_op_UpdateNotificationConfiguration.go
- api_op_UpdateSignalingChannel.go
- api_op_UpdateStream.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go