aws-sdk-kinesisvideo 1.41.0 → 1.43.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
  SHA256:
3
- metadata.gz: d6873bf0159c33db60825a78d0af7456237820adf0459be69e9516f28644a867
4
- data.tar.gz: a1e511b01505d08c0a94ddb130cc7835401ae5c60238258d542acb8e8d90ddcc
3
+ metadata.gz: edae8ea702f288ac6a37e4b57c0af6bddefc3ba6469fa7757763406e50f73a30
4
+ data.tar.gz: 3cd0714a129d3b0e696a4ec5bb3a19eabdde13b5eeb55424c4a3d6ed4e94f8ef
5
5
  SHA512:
6
- metadata.gz: 9098747af9c2431660bbcfe3a1aa8cc3db6d409d9f193cf6e5605d87f8721163964681df5cdf84f3c5ec84572fdb8d810c64b0e097985d44d14ce777dc9d658a
7
- data.tar.gz: 4df8e925ed46f40ebe9f7758ac35b5862224de84bdb5183e89da97350e0f146c6efe6079d92ce1a8361304128c151e29ea7e75ded45119c39c165ff00163f95e
6
+ metadata.gz: cb7ad3cef59e7838fea3ab5aa7fb9e6e74f97319e5d19f3d7844ab128d8ebb7362ce8c86e8f39c5e21e3356500156e522d73c19fd7b9e4a1566f74971ea14f1d
7
+ data.tar.gz: 127ce2221fe82c1fe07ef29dd74e9ab3e2fe2bdbaee1b075c1b4fc1633e95e905b976697b8be615cbf2cf483a3da84f3d0a0e14860df9f3e53196815f28c37f3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.42.0 (2022-05-03)
10
+ ------------------
11
+
12
+ * Feature - Add support for multiple image feature related APIs for configuring image generation and notification of a video stream. Add "GET_IMAGES" to the list of supported API names for the GetDataEndpoint API.
13
+
4
14
  1.41.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.43.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:kinesisvideo)
@@ -79,8 +79,9 @@ module Aws::KinesisVideo
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::KinesisVideo::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::KinesisVideo
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::KinesisVideo
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::KinesisVideo::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::KinesisVideo::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -357,7 +374,8 @@ module Aws::KinesisVideo
357
374
  #
358
375
  # @option params [required, String] :channel_name
359
376
  # A name for the signaling channel that you are creating. It must be
360
- # unique for each AWS account and AWS Region.
377
+ # unique for each Amazon Web Services account and Amazon Web Services
378
+ # Region.
361
379
  #
362
380
  # @option params [String] :channel_type
363
381
  # A type of the signaling channel that you are creating. Currently,
@@ -379,7 +397,7 @@ module Aws::KinesisVideo
379
397
  #
380
398
  # resp = client.create_signaling_channel({
381
399
  # channel_name: "ChannelName", # required
382
- # channel_type: "SINGLE_MASTER", # accepts SINGLE_MASTER
400
+ # channel_type: "SINGLE_MASTER", # accepts SINGLE_MASTER, FULL_MESH
383
401
  # single_master_configuration: {
384
402
  # message_ttl_seconds: 1,
385
403
  # },
@@ -452,8 +470,8 @@ module Aws::KinesisVideo
452
470
  # [2]: https://tools.ietf.org/html/rfc6838#section-4.2
453
471
  #
454
472
  # @option params [String] :kms_key_id
455
- # The ID of the AWS Key Management Service (AWS KMS) key that you want
456
- # Kinesis Video Streams to use to encrypt stream data.
473
+ # The ID of the Key Management Service (KMS) key that you want Kinesis
474
+ # Video Streams to use to encrypt stream data.
457
475
  #
458
476
  # If no key ID is specified, the default, Kinesis Video-managed key
459
477
  # (`aws/kinesisvideo`) is used.
@@ -590,6 +608,89 @@ module Aws::KinesisVideo
590
608
  req.send_request(options)
591
609
  end
592
610
 
611
+ # Gets the `ImageGenerationConfiguration` for a given Kinesis video
612
+ # stream.
613
+ #
614
+ # @option params [String] :stream_name
615
+ # The name of the stream from which to retrieve the image generation
616
+ # configuration. You must specify either the `StreamName` or the
617
+ # `StreamARN`.
618
+ #
619
+ # @option params [String] :stream_arn
620
+ # The Amazon Resource Name (ARN) of the Kinesis video stream from which
621
+ # to retrieve the image generation configuration. You must specify
622
+ # either the `StreamName` or the `StreamARN`.
623
+ #
624
+ # @return [Types::DescribeImageGenerationConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
625
+ #
626
+ # * {Types::DescribeImageGenerationConfigurationOutput#image_generation_configuration #image_generation_configuration} => Types::ImageGenerationConfiguration
627
+ #
628
+ # @example Request syntax with placeholder values
629
+ #
630
+ # resp = client.describe_image_generation_configuration({
631
+ # stream_name: "StreamName",
632
+ # stream_arn: "ResourceARN",
633
+ # })
634
+ #
635
+ # @example Response structure
636
+ #
637
+ # resp.image_generation_configuration.status #=> String, one of "ENABLED", "DISABLED"
638
+ # resp.image_generation_configuration.image_selector_type #=> String, one of "SERVER_TIMESTAMP", "PRODUCER_TIMESTAMP"
639
+ # resp.image_generation_configuration.destination_config.uri #=> String
640
+ # resp.image_generation_configuration.destination_config.destination_region #=> String
641
+ # resp.image_generation_configuration.sampling_interval #=> Integer
642
+ # resp.image_generation_configuration.format #=> String, one of "JPEG", "PNG"
643
+ # resp.image_generation_configuration.format_config #=> Hash
644
+ # resp.image_generation_configuration.format_config["FormatConfigKey"] #=> String
645
+ # resp.image_generation_configuration.width_pixels #=> Integer
646
+ # resp.image_generation_configuration.height_pixels #=> Integer
647
+ #
648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeImageGenerationConfiguration AWS API Documentation
649
+ #
650
+ # @overload describe_image_generation_configuration(params = {})
651
+ # @param [Hash] params ({})
652
+ def describe_image_generation_configuration(params = {}, options = {})
653
+ req = build_request(:describe_image_generation_configuration, params)
654
+ req.send_request(options)
655
+ end
656
+
657
+ # Gets the `NotificationConfiguration` for a given Kinesis video stream.
658
+ #
659
+ # @option params [String] :stream_name
660
+ # The name of the stream from which to retrieve the notification
661
+ # configuration. You must specify either the `StreamName` or the
662
+ # `StreamARN`.
663
+ #
664
+ # @option params [String] :stream_arn
665
+ # The Amazon Resource Name (ARN) of the Kinesis video stream from where
666
+ # you want to retrieve the notification configuration. You must specify
667
+ # either the `StreamName` or the StreamARN.
668
+ #
669
+ # @return [Types::DescribeNotificationConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
670
+ #
671
+ # * {Types::DescribeNotificationConfigurationOutput#notification_configuration #notification_configuration} => Types::NotificationConfiguration
672
+ #
673
+ # @example Request syntax with placeholder values
674
+ #
675
+ # resp = client.describe_notification_configuration({
676
+ # stream_name: "StreamName",
677
+ # stream_arn: "ResourceARN",
678
+ # })
679
+ #
680
+ # @example Response structure
681
+ #
682
+ # resp.notification_configuration.status #=> String, one of "ENABLED", "DISABLED"
683
+ # resp.notification_configuration.destination_config.uri #=> String
684
+ #
685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeNotificationConfiguration AWS API Documentation
686
+ #
687
+ # @overload describe_notification_configuration(params = {})
688
+ # @param [Hash] params ({})
689
+ def describe_notification_configuration(params = {}, options = {})
690
+ req = build_request(:describe_notification_configuration, params)
691
+ req.send_request(options)
692
+ end
693
+
593
694
  # Returns the most current information about the signaling channel. You
594
695
  # must specify either the name or the Amazon Resource Name (ARN) of the
595
696
  # channel that you want to describe.
@@ -615,7 +716,7 @@ module Aws::KinesisVideo
615
716
  #
616
717
  # resp.channel_info.channel_name #=> String
617
718
  # resp.channel_info.channel_arn #=> String
618
- # resp.channel_info.channel_type #=> String, one of "SINGLE_MASTER"
719
+ # resp.channel_info.channel_type #=> String, one of "SINGLE_MASTER", "FULL_MESH"
619
720
  # resp.channel_info.channel_status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
620
721
  # resp.channel_info.creation_time #=> Time
621
722
  # resp.channel_info.single_master_configuration.message_ttl_seconds #=> Integer
@@ -705,7 +806,7 @@ module Aws::KinesisVideo
705
806
  # resp = client.get_data_endpoint({
706
807
  # stream_name: "StreamName",
707
808
  # stream_arn: "ResourceARN",
708
- # api_name: "PUT_MEDIA", # required, accepts PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS, GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL, GET_DASH_STREAMING_SESSION_URL, GET_CLIP
809
+ # api_name: "PUT_MEDIA", # required, accepts PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS, GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL, GET_DASH_STREAMING_SESSION_URL, GET_CLIP, GET_IMAGES
709
810
  # })
710
811
  #
711
812
  # @example Response structure
@@ -814,7 +915,7 @@ module Aws::KinesisVideo
814
915
  # resp.channel_info_list #=> Array
815
916
  # resp.channel_info_list[0].channel_name #=> String
816
917
  # resp.channel_info_list[0].channel_arn #=> String
817
- # resp.channel_info_list[0].channel_type #=> String, one of "SINGLE_MASTER"
918
+ # resp.channel_info_list[0].channel_type #=> String, one of "SINGLE_MASTER", "FULL_MESH"
818
919
  # resp.channel_info_list[0].channel_status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING"
819
920
  # resp.channel_info_list[0].creation_time #=> Time
820
921
  # resp.channel_info_list[0].single_master_configuration.message_ttl_seconds #=> Integer
@@ -975,11 +1076,11 @@ module Aws::KinesisVideo
975
1076
  end
976
1077
 
977
1078
  # Adds one or more tags to a signaling channel. A *tag* is a key-value
978
- # pair (the value is optional) that you can define and assign to AWS
979
- # resources. If you specify a tag that already exists, the tag value is
980
- # replaced with the value that you specify in the request. For more
981
- # information, see [Using Cost Allocation Tags][1] in the *AWS Billing
982
- # and Cost Management User Guide*.
1079
+ # pair (the value is optional) that you can define and assign to Amazon
1080
+ # Web Services resources. If you specify a tag that already exists, the
1081
+ # tag value is replaced with the value that you specify in the request.
1082
+ # For more information, see [Using Cost Allocation Tags][1] in the
1083
+ # *Billing and Cost Management and Cost Management User Guide*.
983
1084
  #
984
1085
  #
985
1086
  #
@@ -1017,18 +1118,18 @@ module Aws::KinesisVideo
1017
1118
  end
1018
1119
 
1019
1120
  # Adds one or more tags to a stream. A *tag* is a key-value pair (the
1020
- # value is optional) that you can define and assign to AWS resources. If
1021
- # you specify a tag that already exists, the tag value is replaced with
1022
- # the value that you specify in the request. For more information, see
1023
- # [Using Cost Allocation Tags][1] in the *AWS Billing and Cost
1024
- # Management User Guide*.
1121
+ # value is optional) that you can define and assign to Amazon Web
1122
+ # Services resources. If you specify a tag that already exists, the tag
1123
+ # value is replaced with the value that you specify in the request. For
1124
+ # more information, see [Using Cost Allocation Tags][1] in the *Billing
1125
+ # and Cost Management and Cost Management User Guide*.
1025
1126
  #
1026
1127
  # You must provide either the `StreamName` or the `StreamARN`.
1027
1128
  #
1028
1129
  # This operation requires permission for the `KinesisVideo:TagStream`
1029
1130
  # action.
1030
1131
  #
1031
- # Kinesis video streams support up to 50 tags.
1132
+ # A Kinesis video stream can support up to 50 tags.
1032
1133
  #
1033
1134
  #
1034
1135
  #
@@ -1199,6 +1300,97 @@ module Aws::KinesisVideo
1199
1300
  req.send_request(options)
1200
1301
  end
1201
1302
 
1303
+ # Updates the `StreamInfo` and `ImageProcessingConfiguration` fields.
1304
+ #
1305
+ # @option params [String] :stream_name
1306
+ # The name of the stream from which to update the image generation
1307
+ # configuration. You must specify either the `StreamName` or the
1308
+ # `StreamARN`.
1309
+ #
1310
+ # @option params [String] :stream_arn
1311
+ # The Amazon Resource Name (ARN) of the Kinesis video stream from where
1312
+ # you want to update the image generation configuration. You must
1313
+ # specify either the `StreamName` or the `StreamARN`.
1314
+ #
1315
+ # @option params [Types::ImageGenerationConfiguration] :image_generation_configuration
1316
+ # The structure that contains the information required for the KVS
1317
+ # images delivery. If the structure is null, the configuration will be
1318
+ # deleted from the stream.
1319
+ #
1320
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1321
+ #
1322
+ # @example Request syntax with placeholder values
1323
+ #
1324
+ # resp = client.update_image_generation_configuration({
1325
+ # stream_name: "StreamName",
1326
+ # stream_arn: "ResourceARN",
1327
+ # image_generation_configuration: {
1328
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1329
+ # image_selector_type: "SERVER_TIMESTAMP", # required, accepts SERVER_TIMESTAMP, PRODUCER_TIMESTAMP
1330
+ # destination_config: { # required
1331
+ # uri: "DestinationUri", # required
1332
+ # destination_region: "DestinationRegion", # required
1333
+ # },
1334
+ # sampling_interval: 1, # required
1335
+ # format: "JPEG", # required, accepts JPEG, PNG
1336
+ # format_config: {
1337
+ # "JPEGQuality" => "FormatConfigValue",
1338
+ # },
1339
+ # width_pixels: 1,
1340
+ # height_pixels: 1,
1341
+ # },
1342
+ # })
1343
+ #
1344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateImageGenerationConfiguration AWS API Documentation
1345
+ #
1346
+ # @overload update_image_generation_configuration(params = {})
1347
+ # @param [Hash] params ({})
1348
+ def update_image_generation_configuration(params = {}, options = {})
1349
+ req = build_request(:update_image_generation_configuration, params)
1350
+ req.send_request(options)
1351
+ end
1352
+
1353
+ # Updates the notification information for a stream.
1354
+ #
1355
+ # @option params [String] :stream_name
1356
+ # The name of the stream from which to update the notification
1357
+ # configuration. You must specify either the `StreamName` or the
1358
+ # `StreamARN`.
1359
+ #
1360
+ # @option params [String] :stream_arn
1361
+ # The Amazon Resource Name (ARN) of the Kinesis video stream from where
1362
+ # you want to update the notification configuration. You must specify
1363
+ # either the `StreamName` or the `StreamARN`.
1364
+ #
1365
+ # @option params [Types::NotificationConfiguration] :notification_configuration
1366
+ # The structure containing the information required for notifications.
1367
+ # If the structure is null, the configuration will be deleted from the
1368
+ # stream.
1369
+ #
1370
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1371
+ #
1372
+ # @example Request syntax with placeholder values
1373
+ #
1374
+ # resp = client.update_notification_configuration({
1375
+ # stream_name: "StreamName",
1376
+ # stream_arn: "ResourceARN",
1377
+ # notification_configuration: {
1378
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1379
+ # destination_config: { # required
1380
+ # uri: "DestinationUri", # required
1381
+ # },
1382
+ # },
1383
+ # })
1384
+ #
1385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateNotificationConfiguration AWS API Documentation
1386
+ #
1387
+ # @overload update_notification_configuration(params = {})
1388
+ # @param [Hash] params ({})
1389
+ def update_notification_configuration(params = {}, options = {})
1390
+ req = build_request(:update_notification_configuration, params)
1391
+ req.send_request(options)
1392
+ end
1393
+
1202
1394
  # Updates the existing signaling channel. This is an asynchronous
1203
1395
  # operation and takes time to complete.
1204
1396
  #
@@ -1322,7 +1514,7 @@ module Aws::KinesisVideo
1322
1514
  params: params,
1323
1515
  config: config)
1324
1516
  context[:gem_name] = 'aws-sdk-kinesisvideo'
1325
- context[:gem_version] = '1.41.0'
1517
+ context[:gem_version] = '1.43.0'
1326
1518
  Seahorse::Client::Request.new(handlers, context)
1327
1519
  end
1328
1520
 
@@ -26,6 +26,7 @@ module Aws::KinesisVideo
26
26
  ChannelType = Shapes::StringShape.new(name: 'ChannelType')
27
27
  ClientLimitExceededException = Shapes::StructureShape.new(name: 'ClientLimitExceededException')
28
28
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
29
+ ConfigurationStatus = Shapes::StringShape.new(name: 'ConfigurationStatus')
29
30
  CreateSignalingChannelInput = Shapes::StructureShape.new(name: 'CreateSignalingChannelInput')
30
31
  CreateSignalingChannelOutput = Shapes::StructureShape.new(name: 'CreateSignalingChannelOutput')
31
32
  CreateStreamInput = Shapes::StructureShape.new(name: 'CreateStreamInput')
@@ -37,17 +38,31 @@ module Aws::KinesisVideo
37
38
  DeleteSignalingChannelOutput = Shapes::StructureShape.new(name: 'DeleteSignalingChannelOutput')
38
39
  DeleteStreamInput = Shapes::StructureShape.new(name: 'DeleteStreamInput')
39
40
  DeleteStreamOutput = Shapes::StructureShape.new(name: 'DeleteStreamOutput')
41
+ DescribeImageGenerationConfigurationInput = Shapes::StructureShape.new(name: 'DescribeImageGenerationConfigurationInput')
42
+ DescribeImageGenerationConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeImageGenerationConfigurationOutput')
43
+ DescribeNotificationConfigurationInput = Shapes::StructureShape.new(name: 'DescribeNotificationConfigurationInput')
44
+ DescribeNotificationConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeNotificationConfigurationOutput')
40
45
  DescribeSignalingChannelInput = Shapes::StructureShape.new(name: 'DescribeSignalingChannelInput')
41
46
  DescribeSignalingChannelOutput = Shapes::StructureShape.new(name: 'DescribeSignalingChannelOutput')
42
47
  DescribeStreamInput = Shapes::StructureShape.new(name: 'DescribeStreamInput')
43
48
  DescribeStreamOutput = Shapes::StructureShape.new(name: 'DescribeStreamOutput')
49
+ DestinationRegion = Shapes::StringShape.new(name: 'DestinationRegion')
50
+ DestinationUri = Shapes::StringShape.new(name: 'DestinationUri')
44
51
  DeviceName = Shapes::StringShape.new(name: 'DeviceName')
45
52
  DeviceStreamLimitExceededException = Shapes::StructureShape.new(name: 'DeviceStreamLimitExceededException')
46
53
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
54
+ Format = Shapes::StringShape.new(name: 'Format')
55
+ FormatConfig = Shapes::MapShape.new(name: 'FormatConfig')
56
+ FormatConfigKey = Shapes::StringShape.new(name: 'FormatConfigKey')
57
+ FormatConfigValue = Shapes::StringShape.new(name: 'FormatConfigValue')
47
58
  GetDataEndpointInput = Shapes::StructureShape.new(name: 'GetDataEndpointInput')
48
59
  GetDataEndpointOutput = Shapes::StructureShape.new(name: 'GetDataEndpointOutput')
49
60
  GetSignalingChannelEndpointInput = Shapes::StructureShape.new(name: 'GetSignalingChannelEndpointInput')
50
61
  GetSignalingChannelEndpointOutput = Shapes::StructureShape.new(name: 'GetSignalingChannelEndpointOutput')
62
+ HeightPixels = Shapes::IntegerShape.new(name: 'HeightPixels')
63
+ ImageGenerationConfiguration = Shapes::StructureShape.new(name: 'ImageGenerationConfiguration')
64
+ ImageGenerationDestinationConfig = Shapes::StructureShape.new(name: 'ImageGenerationDestinationConfig')
65
+ ImageSelectorType = Shapes::StringShape.new(name: 'ImageSelectorType')
51
66
  InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
52
67
  InvalidDeviceException = Shapes::StructureShape.new(name: 'InvalidDeviceException')
53
68
  InvalidResourceFormatException = Shapes::StructureShape.new(name: 'InvalidResourceFormatException')
@@ -65,7 +80,10 @@ module Aws::KinesisVideo
65
80
  MediaType = Shapes::StringShape.new(name: 'MediaType')
66
81
  MessageTtlSeconds = Shapes::IntegerShape.new(name: 'MessageTtlSeconds')
67
82
  NextToken = Shapes::StringShape.new(name: 'NextToken')
83
+ NoDataRetentionException = Shapes::StructureShape.new(name: 'NoDataRetentionException')
68
84
  NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
85
+ NotificationConfiguration = Shapes::StructureShape.new(name: 'NotificationConfiguration')
86
+ NotificationDestinationConfig = Shapes::StructureShape.new(name: 'NotificationDestinationConfig')
69
87
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
70
88
  ResourceEndpoint = Shapes::StringShape.new(name: 'ResourceEndpoint')
71
89
  ResourceEndpointList = Shapes::ListShape.new(name: 'ResourceEndpointList')
@@ -73,6 +91,7 @@ module Aws::KinesisVideo
73
91
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
74
92
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
75
93
  ResourceTags = Shapes::MapShape.new(name: 'ResourceTags')
94
+ SamplingInterval = Shapes::IntegerShape.new(name: 'SamplingInterval')
76
95
  SingleMasterChannelEndpointConfiguration = Shapes::StructureShape.new(name: 'SingleMasterChannelEndpointConfiguration')
77
96
  SingleMasterConfiguration = Shapes::StructureShape.new(name: 'SingleMasterConfiguration')
78
97
  Status = Shapes::StringShape.new(name: 'Status')
@@ -99,12 +118,17 @@ module Aws::KinesisVideo
99
118
  UpdateDataRetentionInput = Shapes::StructureShape.new(name: 'UpdateDataRetentionInput')
100
119
  UpdateDataRetentionOperation = Shapes::StringShape.new(name: 'UpdateDataRetentionOperation')
101
120
  UpdateDataRetentionOutput = Shapes::StructureShape.new(name: 'UpdateDataRetentionOutput')
121
+ UpdateImageGenerationConfigurationInput = Shapes::StructureShape.new(name: 'UpdateImageGenerationConfigurationInput')
122
+ UpdateImageGenerationConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateImageGenerationConfigurationOutput')
123
+ UpdateNotificationConfigurationInput = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationInput')
124
+ UpdateNotificationConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateNotificationConfigurationOutput')
102
125
  UpdateSignalingChannelInput = Shapes::StructureShape.new(name: 'UpdateSignalingChannelInput')
103
126
  UpdateSignalingChannelOutput = Shapes::StructureShape.new(name: 'UpdateSignalingChannelOutput')
104
127
  UpdateStreamInput = Shapes::StructureShape.new(name: 'UpdateStreamInput')
105
128
  UpdateStreamOutput = Shapes::StructureShape.new(name: 'UpdateStreamOutput')
106
129
  Version = Shapes::StringShape.new(name: 'Version')
107
130
  VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
131
+ WidthPixels = Shapes::IntegerShape.new(name: 'WidthPixels')
108
132
 
109
133
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
110
134
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -165,6 +189,20 @@ module Aws::KinesisVideo
165
189
 
166
190
  DeleteStreamOutput.struct_class = Types::DeleteStreamOutput
167
191
 
192
+ DescribeImageGenerationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
193
+ DescribeImageGenerationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
194
+ DescribeImageGenerationConfigurationInput.struct_class = Types::DescribeImageGenerationConfigurationInput
195
+
196
+ DescribeImageGenerationConfigurationOutput.add_member(:image_generation_configuration, Shapes::ShapeRef.new(shape: ImageGenerationConfiguration, location_name: "ImageGenerationConfiguration"))
197
+ DescribeImageGenerationConfigurationOutput.struct_class = Types::DescribeImageGenerationConfigurationOutput
198
+
199
+ DescribeNotificationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
200
+ DescribeNotificationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
201
+ DescribeNotificationConfigurationInput.struct_class = Types::DescribeNotificationConfigurationInput
202
+
203
+ DescribeNotificationConfigurationOutput.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
204
+ DescribeNotificationConfigurationOutput.struct_class = Types::DescribeNotificationConfigurationOutput
205
+
168
206
  DescribeSignalingChannelInput.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "ChannelName"))
169
207
  DescribeSignalingChannelInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ChannelARN"))
170
208
  DescribeSignalingChannelInput.struct_class = Types::DescribeSignalingChannelInput
@@ -182,6 +220,9 @@ module Aws::KinesisVideo
182
220
  DeviceStreamLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
183
221
  DeviceStreamLimitExceededException.struct_class = Types::DeviceStreamLimitExceededException
184
222
 
223
+ FormatConfig.key = Shapes::ShapeRef.new(shape: FormatConfigKey)
224
+ FormatConfig.value = Shapes::ShapeRef.new(shape: FormatConfigValue)
225
+
185
226
  GetDataEndpointInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
186
227
  GetDataEndpointInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
187
228
  GetDataEndpointInput.add_member(:api_name, Shapes::ShapeRef.new(shape: APIName, required: true, location_name: "APIName"))
@@ -197,6 +238,20 @@ module Aws::KinesisVideo
197
238
  GetSignalingChannelEndpointOutput.add_member(:resource_endpoint_list, Shapes::ShapeRef.new(shape: ResourceEndpointList, location_name: "ResourceEndpointList"))
198
239
  GetSignalingChannelEndpointOutput.struct_class = Types::GetSignalingChannelEndpointOutput
199
240
 
241
+ ImageGenerationConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "Status"))
242
+ ImageGenerationConfiguration.add_member(:image_selector_type, Shapes::ShapeRef.new(shape: ImageSelectorType, required: true, location_name: "ImageSelectorType"))
243
+ ImageGenerationConfiguration.add_member(:destination_config, Shapes::ShapeRef.new(shape: ImageGenerationDestinationConfig, required: true, location_name: "DestinationConfig"))
244
+ ImageGenerationConfiguration.add_member(:sampling_interval, Shapes::ShapeRef.new(shape: SamplingInterval, required: true, location_name: "SamplingInterval"))
245
+ ImageGenerationConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
246
+ ImageGenerationConfiguration.add_member(:format_config, Shapes::ShapeRef.new(shape: FormatConfig, location_name: "FormatConfig"))
247
+ ImageGenerationConfiguration.add_member(:width_pixels, Shapes::ShapeRef.new(shape: WidthPixels, location_name: "WidthPixels"))
248
+ ImageGenerationConfiguration.add_member(:height_pixels, Shapes::ShapeRef.new(shape: HeightPixels, location_name: "HeightPixels"))
249
+ ImageGenerationConfiguration.struct_class = Types::ImageGenerationConfiguration
250
+
251
+ ImageGenerationDestinationConfig.add_member(:uri, Shapes::ShapeRef.new(shape: DestinationUri, required: true, location_name: "Uri"))
252
+ ImageGenerationDestinationConfig.add_member(:destination_region, Shapes::ShapeRef.new(shape: DestinationRegion, required: true, location_name: "DestinationRegion"))
253
+ ImageGenerationDestinationConfig.struct_class = Types::ImageGenerationDestinationConfig
254
+
200
255
  InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
201
256
  InvalidArgumentException.struct_class = Types::InvalidArgumentException
202
257
 
@@ -243,9 +298,19 @@ module Aws::KinesisVideo
243
298
  ListTagsForStreamOutput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "Tags"))
244
299
  ListTagsForStreamOutput.struct_class = Types::ListTagsForStreamOutput
245
300
 
301
+ NoDataRetentionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
302
+ NoDataRetentionException.struct_class = Types::NoDataRetentionException
303
+
246
304
  NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
247
305
  NotAuthorizedException.struct_class = Types::NotAuthorizedException
248
306
 
307
+ NotificationConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: ConfigurationStatus, required: true, location_name: "Status"))
308
+ NotificationConfiguration.add_member(:destination_config, Shapes::ShapeRef.new(shape: NotificationDestinationConfig, required: true, location_name: "DestinationConfig"))
309
+ NotificationConfiguration.struct_class = Types::NotificationConfiguration
310
+
311
+ NotificationDestinationConfig.add_member(:uri, Shapes::ShapeRef.new(shape: DestinationUri, required: true, location_name: "Uri"))
312
+ NotificationDestinationConfig.struct_class = Types::NotificationDestinationConfig
313
+
249
314
  ResourceEndpointList.member = Shapes::ShapeRef.new(shape: ResourceEndpointListItem)
250
315
 
251
316
  ResourceEndpointListItem.add_member(:protocol, Shapes::ShapeRef.new(shape: ChannelProtocol, location_name: "Protocol"))
@@ -333,6 +398,20 @@ module Aws::KinesisVideo
333
398
 
334
399
  UpdateDataRetentionOutput.struct_class = Types::UpdateDataRetentionOutput
335
400
 
401
+ UpdateImageGenerationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
402
+ UpdateImageGenerationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
403
+ UpdateImageGenerationConfigurationInput.add_member(:image_generation_configuration, Shapes::ShapeRef.new(shape: ImageGenerationConfiguration, location_name: "ImageGenerationConfiguration"))
404
+ UpdateImageGenerationConfigurationInput.struct_class = Types::UpdateImageGenerationConfigurationInput
405
+
406
+ UpdateImageGenerationConfigurationOutput.struct_class = Types::UpdateImageGenerationConfigurationOutput
407
+
408
+ UpdateNotificationConfigurationInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, location_name: "StreamName"))
409
+ UpdateNotificationConfigurationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "StreamARN"))
410
+ UpdateNotificationConfigurationInput.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
411
+ UpdateNotificationConfigurationInput.struct_class = Types::UpdateNotificationConfigurationInput
412
+
413
+ UpdateNotificationConfigurationOutput.struct_class = Types::UpdateNotificationConfigurationOutput
414
+
336
415
  UpdateSignalingChannelInput.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ChannelARN"))
337
416
  UpdateSignalingChannelInput.add_member(:current_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "CurrentVersion"))
338
417
  UpdateSignalingChannelInput.add_member(:single_master_configuration, Shapes::ShapeRef.new(shape: SingleMasterConfiguration, location_name: "SingleMasterConfiguration"))
@@ -426,6 +505,30 @@ module Aws::KinesisVideo
426
505
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
427
506
  end)
428
507
 
508
+ api.add_operation(:describe_image_generation_configuration, Seahorse::Model::Operation.new.tap do |o|
509
+ o.name = "DescribeImageGenerationConfiguration"
510
+ o.http_method = "POST"
511
+ o.http_request_uri = "/describeImageGenerationConfiguration"
512
+ o.input = Shapes::ShapeRef.new(shape: DescribeImageGenerationConfigurationInput)
513
+ o.output = Shapes::ShapeRef.new(shape: DescribeImageGenerationConfigurationOutput)
514
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
515
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
516
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
517
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
518
+ end)
519
+
520
+ api.add_operation(:describe_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
521
+ o.name = "DescribeNotificationConfiguration"
522
+ o.http_method = "POST"
523
+ o.http_request_uri = "/describeNotificationConfiguration"
524
+ o.input = Shapes::ShapeRef.new(shape: DescribeNotificationConfigurationInput)
525
+ o.output = Shapes::ShapeRef.new(shape: DescribeNotificationConfigurationOutput)
526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
529
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
530
+ end)
531
+
429
532
  api.add_operation(:describe_signaling_channel, Seahorse::Model::Operation.new.tap do |o|
430
533
  o.name = "DescribeSignalingChannel"
431
534
  o.http_method = "POST"
@@ -599,6 +702,34 @@ module Aws::KinesisVideo
599
702
  o.errors << Shapes::ShapeRef.new(shape: VersionMismatchException)
600
703
  end)
601
704
 
705
+ api.add_operation(:update_image_generation_configuration, Seahorse::Model::Operation.new.tap do |o|
706
+ o.name = "UpdateImageGenerationConfiguration"
707
+ o.http_method = "POST"
708
+ o.http_request_uri = "/updateImageGenerationConfiguration"
709
+ o.input = Shapes::ShapeRef.new(shape: UpdateImageGenerationConfigurationInput)
710
+ o.output = Shapes::ShapeRef.new(shape: UpdateImageGenerationConfigurationOutput)
711
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
714
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
716
+ o.errors << Shapes::ShapeRef.new(shape: NoDataRetentionException)
717
+ end)
718
+
719
+ api.add_operation(:update_notification_configuration, Seahorse::Model::Operation.new.tap do |o|
720
+ o.name = "UpdateNotificationConfiguration"
721
+ o.http_method = "POST"
722
+ o.http_request_uri = "/updateNotificationConfiguration"
723
+ o.input = Shapes::ShapeRef.new(shape: UpdateNotificationConfigurationInput)
724
+ o.output = Shapes::ShapeRef.new(shape: UpdateNotificationConfigurationOutput)
725
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ClientLimitExceededException)
727
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
728
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
730
+ o.errors << Shapes::ShapeRef.new(shape: NoDataRetentionException)
731
+ end)
732
+
602
733
  api.add_operation(:update_signaling_channel, Seahorse::Model::Operation.new.tap do |o|
603
734
  o.name = "UpdateSignalingChannel"
604
735
  o.http_method = "POST"