aws-sdk-kinesisvideo 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4af63b21a4634b7d001d3337789e16a127ff13de
4
- data.tar.gz: 57a1fdf850575f5d7a82beb064b640dd567b06f7
3
+ metadata.gz: bc094fd0ea9e99ca35d5563ba8da4e643e824404
4
+ data.tar.gz: 9c2875cf3c62e1d5e6cff4f149caa33f69c62705
5
5
  SHA512:
6
- metadata.gz: 9fd1e8d6a0389c8ae470b3af446e27518b95c5fa4f6e6806b33a4f677e2fdbeb451c900fc80764474686946838724fa339c4c9c972fdea2735dc110f44bbaca1
7
- data.tar.gz: 58922d4c118303ca2183ec356fddd97b17ad5e9b004fa6e75b0f8da4f0e9fad96dd8862d104887af5a7b197ca9947f98bf80e046a5c35b3268bb18d4798f5c6d
6
+ metadata.gz: 84b0734d02ba9de8ec0634cc0986e25a1c3813d5751bff33a6121d2aab77957fc4256abf2d3cc41e19fe60a1162262c1760fe8bef3d2da0e8d9a831284131bc1
7
+ data.tar.gz: 02a27dfd90792b1420a099b06f1ccab0a3c02fdb553d5377d427db9cb544ff523caca94a5e889c26fd36e7f21e727bfb5b12b70da8c10c7096dd7b10abe773c5
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kinesisvideo/customizations'
42
42
  # @service
43
43
  module Aws::KinesisVideo
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -254,6 +254,59 @@ module Aws::KinesisVideo
254
254
 
255
255
  # @!group API Operations
256
256
 
257
+ # Creates a signaling channel.
258
+ #
259
+ # `CreateSignalingChannel` is an asynchronous operation.
260
+ #
261
+ # @option params [required, String] :channel_name
262
+ # A name for the signaling channel that you are creating. It must be
263
+ # unique for each account and region.
264
+ #
265
+ # @option params [String] :channel_type
266
+ # A type of the signaling channel that you are creating. Currently,
267
+ # `SINGLE_MASTER` is the only supported channel type.
268
+ #
269
+ # @option params [Types::SingleMasterConfiguration] :single_master_configuration
270
+ # A structure containing the configuration for the `SINGLE_MASTER`
271
+ # channel type.
272
+ #
273
+ # @option params [Array<Types::Tag>] :tags
274
+ # A set of tags (key/value pairs) that you want to associate with this
275
+ # channel.
276
+ #
277
+ # @return [Types::CreateSignalingChannelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
278
+ #
279
+ # * {Types::CreateSignalingChannelOutput#channel_arn #channel_arn} => String
280
+ #
281
+ # @example Request syntax with placeholder values
282
+ #
283
+ # resp = client.create_signaling_channel({
284
+ # channel_name: "ChannelName", # required
285
+ # channel_type: "SINGLE_MASTER", # accepts SINGLE_MASTER
286
+ # single_master_configuration: {
287
+ # message_ttl_seconds: 1,
288
+ # },
289
+ # tags: [
290
+ # {
291
+ # key: "TagKey", # required
292
+ # value: "TagValue", # required
293
+ # },
294
+ # ],
295
+ # })
296
+ #
297
+ # @example Response structure
298
+ #
299
+ # resp.channel_arn #=> String
300
+ #
301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateSignalingChannel AWS API Documentation
302
+ #
303
+ # @overload create_signaling_channel(params = {})
304
+ # @param [Hash] params ({})
305
+ def create_signaling_channel(params = {}, options = {})
306
+ req = build_request(:create_signaling_channel, params)
307
+ req.send_request(options)
308
+ end
309
+
257
310
  # Creates a new Kinesis video stream.
258
311
  #
259
312
  # When you create a new stream, Kinesis Video Streams assigns it a
@@ -290,6 +343,9 @@ module Aws::KinesisVideo
290
343
  # media types, see [Media Types][1]. If you choose to specify the
291
344
  # `MediaType`, see [Naming Requirements][2] for guidelines.
292
345
  #
346
+ # Example valid values include "video/h264" and
347
+ # "video/h264,audio/aac".
348
+ #
293
349
  # This parameter is optional; the default value is `null` (or empty in
294
350
  # JSON).
295
351
  #
@@ -359,6 +415,36 @@ module Aws::KinesisVideo
359
415
  req.send_request(options)
360
416
  end
361
417
 
418
+ # Deletes a specified signaling channel. `DeleteSignalingChannel` is an
419
+ # asynchronous operation. If you don't specify the channel's current
420
+ # version, the most recent version is deleted.
421
+ #
422
+ # @option params [required, String] :channel_arn
423
+ # The ARN of the signaling channel that you want to delete.
424
+ #
425
+ # @option params [String] :current_version
426
+ # The current version of the signaling channel that you want to delete.
427
+ # You can obtain the current version by invoking the
428
+ # `DescribeSignalingChannel` or `ListSignalingChannels` APIs.
429
+ #
430
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
431
+ #
432
+ # @example Request syntax with placeholder values
433
+ #
434
+ # resp = client.delete_signaling_channel({
435
+ # channel_arn: "ResourceARN", # required
436
+ # current_version: "Version",
437
+ # })
438
+ #
439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteSignalingChannel AWS API Documentation
440
+ #
441
+ # @overload delete_signaling_channel(params = {})
442
+ # @param [Hash] params ({})
443
+ def delete_signaling_channel(params = {}, options = {})
444
+ req = build_request(:delete_signaling_channel, params)
445
+ req.send_request(options)
446
+ end
447
+
362
448
  # Deletes a Kinesis video stream and the data contained in the stream.
363
449
  #
364
450
  # This method marks the stream for deletion, and makes the data in the
@@ -406,6 +492,46 @@ module Aws::KinesisVideo
406
492
  req.send_request(options)
407
493
  end
408
494
 
495
+ # Returns the most current information about the signaling channel. You
496
+ # must specify either the name or the ARN of the channel that you want
497
+ # to describe.
498
+ #
499
+ # @option params [String] :channel_name
500
+ # The name of the signaling channel that you want to describe.
501
+ #
502
+ # @option params [String] :channel_arn
503
+ # The ARN of the signaling channel that you want to describe.
504
+ #
505
+ # @return [Types::DescribeSignalingChannelOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
506
+ #
507
+ # * {Types::DescribeSignalingChannelOutput#channel_info #channel_info} => Types::ChannelInfo
508
+ #
509
+ # @example Request syntax with placeholder values
510
+ #
511
+ # resp = client.describe_signaling_channel({
512
+ # channel_name: "ChannelName",
513
+ # channel_arn: "ResourceARN",
514
+ # })
515
+ #
516
+ # @example Response structure
517
+ #
518
+ # resp.channel_info.channel_name #=> String
519
+ # resp.channel_info.channel_arn #=> String
520
+ # resp.channel_info.channel_type #=> String, one of "SINGLE_MASTER"
521
+ # resp.channel_info.channel_status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
522
+ # resp.channel_info.creation_time #=> Time
523
+ # resp.channel_info.single_master_configuration.message_ttl_seconds #=> Integer
524
+ # resp.channel_info.version #=> String
525
+ #
526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeSignalingChannel AWS API Documentation
527
+ #
528
+ # @overload describe_signaling_channel(params = {})
529
+ # @param [Hash] params ({})
530
+ def describe_signaling_channel(params = {}, options = {})
531
+ req = build_request(:describe_signaling_channel, params)
532
+ req.send_request(options)
533
+ end
534
+
409
535
  # Returns the most current information about the specified stream. You
410
536
  # must specify either the `StreamName` or the `StreamARN`.
411
537
  #
@@ -497,6 +623,113 @@ module Aws::KinesisVideo
497
623
  req.send_request(options)
498
624
  end
499
625
 
626
+ # Provides an endpoint for the specified signaling channel to send and
627
+ # receive messages. This API uses the
628
+ # `SingleMasterChannelEndpointConfiguration` input parameter, which
629
+ # consists of the `Protocols` and `Role` properties.
630
+ #
631
+ # `Protocols` is used to determine the communication mechanism. For
632
+ # example, specifying `WSS` as the protocol, results in this API
633
+ # producing a secure websocket endpoint, and specifying `HTTPS` as the
634
+ # protocol, results in this API generating an HTTPS endpoint.
635
+ #
636
+ # `Role` determines the messaging permissions. A `MASTER` role results
637
+ # in this API generating an endpoint that a client can use to
638
+ # communicate with any of the viewers on the channel. A `VIEWER` role
639
+ # results in this API generating an endpoint that a client can use to
640
+ # communicate only with a `MASTER`.
641
+ #
642
+ # @option params [required, String] :channel_arn
643
+ # The ARN of the signalling channel for which you want to get an
644
+ # endpoint.
645
+ #
646
+ # @option params [Types::SingleMasterChannelEndpointConfiguration] :single_master_channel_endpoint_configuration
647
+ # A structure containing the endpoint configuration for the
648
+ # `SINGLE_MASTER` channel type.
649
+ #
650
+ # @return [Types::GetSignalingChannelEndpointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
651
+ #
652
+ # * {Types::GetSignalingChannelEndpointOutput#resource_endpoint_list #resource_endpoint_list} => Array&lt;Types::ResourceEndpointListItem&gt;
653
+ #
654
+ # @example Request syntax with placeholder values
655
+ #
656
+ # resp = client.get_signaling_channel_endpoint({
657
+ # channel_arn: "ResourceARN", # required
658
+ # single_master_channel_endpoint_configuration: {
659
+ # protocols: ["WSS"], # accepts WSS, HTTPS
660
+ # role: "MASTER", # accepts MASTER, VIEWER
661
+ # },
662
+ # })
663
+ #
664
+ # @example Response structure
665
+ #
666
+ # resp.resource_endpoint_list #=> Array
667
+ # resp.resource_endpoint_list[0].protocol #=> String, one of "WSS", "HTTPS"
668
+ # resp.resource_endpoint_list[0].resource_endpoint #=> String
669
+ #
670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint AWS API Documentation
671
+ #
672
+ # @overload get_signaling_channel_endpoint(params = {})
673
+ # @param [Hash] params ({})
674
+ def get_signaling_channel_endpoint(params = {}, options = {})
675
+ req = build_request(:get_signaling_channel_endpoint, params)
676
+ req.send_request(options)
677
+ end
678
+
679
+ # Returns an array of `ChannelInfo` objects. Each object describes a
680
+ # signaling channel. To retrieve only those channels that satisfy a
681
+ # specific condition, you can specify a `ChannelNameCondition`.
682
+ #
683
+ # @option params [Integer] :max_results
684
+ # The maximum number of channels to return in the response. The default
685
+ # is 500.
686
+ #
687
+ # @option params [String] :next_token
688
+ # If you specify this parameter, when the result of a
689
+ # `ListSignalingChannels` operation is truncated, the call returns the
690
+ # `NextToken` in the response. To get another batch of channels, provide
691
+ # this token in your next request.
692
+ #
693
+ # @option params [Types::ChannelNameCondition] :channel_name_condition
694
+ # Optional: Returns only the channels that satisfy a specific condition.
695
+ #
696
+ # @return [Types::ListSignalingChannelsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
697
+ #
698
+ # * {Types::ListSignalingChannelsOutput#channel_info_list #channel_info_list} => Array&lt;Types::ChannelInfo&gt;
699
+ # * {Types::ListSignalingChannelsOutput#next_token #next_token} => String
700
+ #
701
+ # @example Request syntax with placeholder values
702
+ #
703
+ # resp = client.list_signaling_channels({
704
+ # max_results: 1,
705
+ # next_token: "NextToken",
706
+ # channel_name_condition: {
707
+ # comparison_operator: "BEGINS_WITH", # accepts BEGINS_WITH
708
+ # comparison_value: "ChannelName",
709
+ # },
710
+ # })
711
+ #
712
+ # @example Response structure
713
+ #
714
+ # resp.channel_info_list #=> Array
715
+ # resp.channel_info_list[0].channel_name #=> String
716
+ # resp.channel_info_list[0].channel_arn #=> String
717
+ # resp.channel_info_list[0].channel_type #=> String, one of "SINGLE_MASTER"
718
+ # resp.channel_info_list[0].channel_status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
719
+ # resp.channel_info_list[0].creation_time #=> Time
720
+ # resp.channel_info_list[0].single_master_configuration.message_ttl_seconds #=> Integer
721
+ # resp.channel_info_list[0].version #=> String
722
+ # resp.next_token #=> String
723
+ #
724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListSignalingChannels AWS API Documentation
725
+ #
726
+ # @overload list_signaling_channels(params = {})
727
+ # @param [Hash] params ({})
728
+ def list_signaling_channels(params = {}, options = {})
729
+ req = build_request(:list_signaling_channels, params)
730
+ req.send_request(options)
731
+ end
732
+
500
733
  # Returns an array of `StreamInfo` objects. Each object describes a
501
734
  # stream. To retrieve only streams that satisfy a specific condition,
502
735
  # you can specify a `StreamNameCondition`.
@@ -555,6 +788,44 @@ module Aws::KinesisVideo
555
788
  req.send_request(options)
556
789
  end
557
790
 
791
+ # Returns a list of tags associated with the specified signaling
792
+ # channel.
793
+ #
794
+ # @option params [String] :next_token
795
+ # If you specify this parameter and the result of a ListTagsForResource
796
+ # call is truncated, the response includes a token that you can use in
797
+ # the next request to fetch the next batch of tags.
798
+ #
799
+ # @option params [required, String] :resource_arn
800
+ # The ARN of the signaling channel for which you want to list tags.
801
+ #
802
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
803
+ #
804
+ # * {Types::ListTagsForResourceOutput#next_token #next_token} => String
805
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Hash&lt;String,String&gt;
806
+ #
807
+ # @example Request syntax with placeholder values
808
+ #
809
+ # resp = client.list_tags_for_resource({
810
+ # next_token: "NextToken",
811
+ # resource_arn: "ResourceARN", # required
812
+ # })
813
+ #
814
+ # @example Response structure
815
+ #
816
+ # resp.next_token #=> String
817
+ # resp.tags #=> Hash
818
+ # resp.tags["TagKey"] #=> String
819
+ #
820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForResource AWS API Documentation
821
+ #
822
+ # @overload list_tags_for_resource(params = {})
823
+ # @param [Hash] params ({})
824
+ def list_tags_for_resource(params = {}, options = {})
825
+ req = build_request(:list_tags_for_resource, params)
826
+ req.send_request(options)
827
+ end
828
+
558
829
  # Returns a list of tags associated with the specified stream.
559
830
  #
560
831
  # In the request, you must specify either the `StreamName` or the
@@ -600,6 +871,47 @@ module Aws::KinesisVideo
600
871
  req.send_request(options)
601
872
  end
602
873
 
874
+ # Adds one or more tags to a signaling channel. A *tag* is a key-value
875
+ # pair (the value is optional) that you can define and assign to AWS
876
+ # resources. If you specify a tag that already exists, the tag value is
877
+ # replaced with the value that you specify in the request. For more
878
+ # information, see [Using Cost Allocation Tags][1] in the *AWS Billing
879
+ # and Cost Management User Guide*.
880
+ #
881
+ #
882
+ #
883
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
884
+ #
885
+ # @option params [required, String] :resource_arn
886
+ # The ARN of the signaling channel to which you want to add tags.
887
+ #
888
+ # @option params [required, Array<Types::Tag>] :tags
889
+ # A list of tags to associate with the specified signaling channel. Each
890
+ # tag is a key-value pair.
891
+ #
892
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
893
+ #
894
+ # @example Request syntax with placeholder values
895
+ #
896
+ # resp = client.tag_resource({
897
+ # resource_arn: "ResourceARN", # required
898
+ # tags: [ # required
899
+ # {
900
+ # key: "TagKey", # required
901
+ # value: "TagValue", # required
902
+ # },
903
+ # ],
904
+ # })
905
+ #
906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagResource AWS API Documentation
907
+ #
908
+ # @overload tag_resource(params = {})
909
+ # @param [Hash] params ({})
910
+ def tag_resource(params = {}, options = {})
911
+ req = build_request(:tag_resource, params)
912
+ req.send_request(options)
913
+ end
914
+
603
915
  # Adds one or more tags to a stream. A *tag* is a key-value pair (the
604
916
  # value is optional) that you can define and assign to AWS resources. If
605
917
  # you specify a tag that already exists, the tag value is replaced with
@@ -650,6 +962,34 @@ module Aws::KinesisVideo
650
962
  req.send_request(options)
651
963
  end
652
964
 
965
+ # Removes one or more tags from a signaling channel. In the request,
966
+ # specify only a tag key or keys; don't specify the value. If you
967
+ # specify a tag key that does not exist, it's ignored.
968
+ #
969
+ # @option params [required, String] :resource_arn
970
+ # The ARN of the signaling channel from which you want to remove tags.
971
+ #
972
+ # @option params [required, Array<String>] :tag_key_list
973
+ # A list of the keys of the tags that you want to remove.
974
+ #
975
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
976
+ #
977
+ # @example Request syntax with placeholder values
978
+ #
979
+ # resp = client.untag_resource({
980
+ # resource_arn: "ResourceARN", # required
981
+ # tag_key_list: ["TagKey"], # required
982
+ # })
983
+ #
984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagResource AWS API Documentation
985
+ #
986
+ # @overload untag_resource(params = {})
987
+ # @param [Hash] params ({})
988
+ def untag_resource(params = {}, options = {})
989
+ req = build_request(:untag_resource, params)
990
+ req.send_request(options)
991
+ end
992
+
653
993
  # Removes one or more tags from a stream. In the request, specify only a
654
994
  # tag key or keys; don't specify the value. If you specify a tag key
655
995
  # that does not exist, it's ignored.
@@ -754,6 +1094,45 @@ module Aws::KinesisVideo
754
1094
  req.send_request(options)
755
1095
  end
756
1096
 
1097
+ # Updates the existing signaling channel. This is an asynchronous
1098
+ # operation and takes time to complete.
1099
+ #
1100
+ # If the `MessageTtlSeconds` value is updated (either increased or
1101
+ # reduced), then it only applies to new messages sent via this channel
1102
+ # after it's been updated. Existing messages are still expire as per
1103
+ # the previous `MessageTtlSeconds` value.
1104
+ #
1105
+ # @option params [required, String] :channel_arn
1106
+ # The ARN of the signaling channel that you want to update.
1107
+ #
1108
+ # @option params [required, String] :current_version
1109
+ # The current version of the signaling channel that you want to update.
1110
+ #
1111
+ # @option params [Types::SingleMasterConfiguration] :single_master_configuration
1112
+ # The structure containing the configuration for the `SINGLE_MASTER`
1113
+ # type of the signaling channel that you want to update.
1114
+ #
1115
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1116
+ #
1117
+ # @example Request syntax with placeholder values
1118
+ #
1119
+ # resp = client.update_signaling_channel({
1120
+ # channel_arn: "ResourceARN", # required
1121
+ # current_version: "Version", # required
1122
+ # single_master_configuration: {
1123
+ # message_ttl_seconds: 1,
1124
+ # },
1125
+ # })
1126
+ #
1127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateSignalingChannel AWS API Documentation
1128
+ #
1129
+ # @overload update_signaling_channel(params = {})
1130
+ # @param [Hash] params ({})
1131
+ def update_signaling_channel(params = {}, options = {})
1132
+ req = build_request(:update_signaling_channel, params)
1133
+ req.send_request(options)
1134
+ end
1135
+
757
1136
  # Updates stream metadata, such as the device name and media type.
758
1137
  #
759
1138
  # You must provide the stream name or the Amazon Resource Name (ARN) of
@@ -837,7 +1216,7 @@ module Aws::KinesisVideo
837
1216
  params: params,
838
1217
  config: config)
839
1218
  context[:gem_name] = 'aws-sdk-kinesisvideo'
840
- context[:gem_version] = '1.20.0'
1219
+ context[:gem_version] = '1.21.0'
841
1220
  Seahorse::Client::Request.new(handlers, context)
842
1221
  end
843
1222