aws-sdk-kinesisvideoarchivedmedia 1.13.0 → 1.14.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: 7f406e8e3b9d577367fed4511836d948d26102df
4
- data.tar.gz: 5c57857586b5588d623c1c00b011a13fc2e19955
3
+ metadata.gz: 5d1fb4dcd8eba2145412823f223ae86bcdd40516
4
+ data.tar.gz: 96c7071dbf91419d48367c2351c9fc7a1e51fe00
5
5
  SHA512:
6
- metadata.gz: 9316bad223ebd290faf600e8c21f17386871b4d9f7dea9be60494739401ebf516a92bc71134afa7ea6d4d2aa3369eb43c3f0c494086d199726815d5140c61294
7
- data.tar.gz: 006ef4f6effd6bb466a5a3281e2967e8c9cea2c60402df4e4c9ef211004b93a4b91d82d25a7f66cc0f0b5dd29648d503ad6f06e0a1a20a9eb45602bad220c4b9
6
+ metadata.gz: 3b41161765d8becc45a9adfa4ce7326060bce5695aae79dc3534766cbaec763dad925798c58f5de48eeb5e4b16bbf14a5be3ec63910df48fbaa9172caece7711
7
+ data.tar.gz: a0b935d0a89bef7a7cf741c3bb059bd056497257ce9792bf134dee0b1273a98420daf6acce280ae130b20a8d2b90b1e915aec10e2408585005d5a2b04c9837c5
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-kinesisvideoarchivedmedia/customizations'
42
42
  # @service
43
43
  module Aws::KinesisVideoArchivedMedia
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -747,7 +747,7 @@ module Aws::KinesisVideoArchivedMedia
747
747
  params: params,
748
748
  config: config)
749
749
  context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
750
- context[:gem_version] = '1.13.0'
750
+ context[:gem_version] = '1.14.0'
751
751
  Seahorse::Client::Request.new(handlers, context)
752
752
  end
753
753
 
@@ -51,6 +51,9 @@ module Aws::KinesisVideoArchivedMedia
51
51
  TimestampRange = Shapes::StructureShape.new(name: 'TimestampRange')
52
52
  UnsupportedStreamMediaTypeException = Shapes::StructureShape.new(name: 'UnsupportedStreamMediaTypeException')
53
53
 
54
+ ClientLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
55
+ ClientLimitExceededException.struct_class = Types::ClientLimitExceededException
56
+
54
57
  Fragment.add_member(:fragment_number, Shapes::ShapeRef.new(shape: String, location_name: "FragmentNumber"))
55
58
  Fragment.add_member(:fragment_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "FragmentSizeInBytes"))
56
59
  Fragment.add_member(:producer_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ProducerTimestamp"))
@@ -98,6 +101,12 @@ module Aws::KinesisVideoArchivedMedia
98
101
  HLSTimestampRange.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp"))
99
102
  HLSTimestampRange.struct_class = Types::HLSTimestampRange
100
103
 
104
+ InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
105
+ InvalidArgumentException.struct_class = Types::InvalidArgumentException
106
+
107
+ InvalidCodecPrivateDataException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
108
+ InvalidCodecPrivateDataException.struct_class = Types::InvalidCodecPrivateDataException
109
+
101
110
  ListFragmentsInput.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "StreamName"))
102
111
  ListFragmentsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageLimit, location_name: "MaxResults"))
103
112
  ListFragmentsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -108,10 +117,25 @@ module Aws::KinesisVideoArchivedMedia
108
117
  ListFragmentsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
109
118
  ListFragmentsOutput.struct_class = Types::ListFragmentsOutput
110
119
 
120
+ MissingCodecPrivateDataException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
121
+ MissingCodecPrivateDataException.struct_class = Types::MissingCodecPrivateDataException
122
+
123
+ NoDataRetentionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
124
+ NoDataRetentionException.struct_class = Types::NoDataRetentionException
125
+
126
+ NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
127
+ NotAuthorizedException.struct_class = Types::NotAuthorizedException
128
+
129
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
130
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
131
+
111
132
  TimestampRange.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTimestamp"))
112
133
  TimestampRange.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EndTimestamp"))
113
134
  TimestampRange.struct_class = Types::TimestampRange
114
135
 
136
+ UnsupportedStreamMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
137
+ UnsupportedStreamMediaTypeException.struct_class = Types::UnsupportedStreamMediaTypeException
138
+
115
139
 
116
140
  # @api private
117
141
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,133 @@ module Aws::KinesisVideoArchivedMedia
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class ClientLimitExceededException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::KinesisVideoArchivedMedia::Types::ClientLimitExceededException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class InvalidArgumentException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::KinesisVideoArchivedMedia::Types::InvalidArgumentException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidCodecPrivateDataException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::KinesisVideoArchivedMedia::Types::InvalidCodecPrivateDataException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class MissingCodecPrivateDataException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::KinesisVideoArchivedMedia::Types::MissingCodecPrivateDataException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class NoDataRetentionException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::KinesisVideoArchivedMedia::Types::NoDataRetentionException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class NotAuthorizedException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::KinesisVideoArchivedMedia::Types::NotAuthorizedException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ResourceNotFoundException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::KinesisVideoArchivedMedia::Types::ResourceNotFoundException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class UnsupportedStreamMediaTypeException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::KinesisVideoArchivedMedia::Types::UnsupportedStreamMediaTypeException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
13
141
  end
14
142
  end
@@ -8,6 +8,19 @@
8
8
  module Aws::KinesisVideoArchivedMedia
9
9
  module Types
10
10
 
11
+ # Kinesis Video Streams has throttled the request because you have
12
+ # exceeded the limit of allowed client calls. Try making the call later.
13
+ #
14
+ # @!attribute [rw] message
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ClientLimitExceededException AWS API Documentation
18
+ #
19
+ class ClientLimitExceededException < Struct.new(
20
+ :message)
21
+ include Aws::Structure
22
+ end
23
+
11
24
  # Represents a segment of video or other time-delimited data.
12
25
  #
13
26
  # @!attribute [rw] fragment_number
@@ -485,6 +498,32 @@ module Aws::KinesisVideoArchivedMedia
485
498
  include Aws::Structure
486
499
  end
487
500
 
501
+ # A specified parameter exceeds its restrictions, is not supported, or
502
+ # can't be used.
503
+ #
504
+ # @!attribute [rw] message
505
+ # @return [String]
506
+ #
507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/InvalidArgumentException AWS API Documentation
508
+ #
509
+ class InvalidArgumentException < Struct.new(
510
+ :message)
511
+ include Aws::Structure
512
+ end
513
+
514
+ # The codec private data in at least one of the tracks of the video
515
+ # stream is not valid for this operation.
516
+ #
517
+ # @!attribute [rw] message
518
+ # @return [String]
519
+ #
520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/InvalidCodecPrivateDataException AWS API Documentation
521
+ #
522
+ class InvalidCodecPrivateDataException < Struct.new(
523
+ :message)
524
+ include Aws::Structure
525
+ end
526
+
488
527
  # @note When making an API call, you may pass ListFragmentsInput
489
528
  # data as a hash:
490
529
  #
@@ -552,6 +591,64 @@ module Aws::KinesisVideoArchivedMedia
552
591
  include Aws::Structure
553
592
  end
554
593
 
594
+ # No codec private data was found in at least one of tracks of the video
595
+ # stream.
596
+ #
597
+ # @!attribute [rw] message
598
+ # @return [String]
599
+ #
600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/MissingCodecPrivateDataException AWS API Documentation
601
+ #
602
+ class MissingCodecPrivateDataException < Struct.new(
603
+ :message)
604
+ include Aws::Structure
605
+ end
606
+
607
+ # A `PlaybackMode` of `ON_DEMAND` was requested for a stream that does
608
+ # not retain data (that is, has a `DataRetentionInHours` of 0).
609
+ #
610
+ # @!attribute [rw] message
611
+ # @return [String]
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/NoDataRetentionException AWS API Documentation
614
+ #
615
+ class NoDataRetentionException < Struct.new(
616
+ :message)
617
+ include Aws::Structure
618
+ end
619
+
620
+ # Status Code: 403, The caller is not authorized to perform an operation
621
+ # on the given stream, or the token has expired.
622
+ #
623
+ # @!attribute [rw] message
624
+ # @return [String]
625
+ #
626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/NotAuthorizedException AWS API Documentation
627
+ #
628
+ class NotAuthorizedException < Struct.new(
629
+ :message)
630
+ include Aws::Structure
631
+ end
632
+
633
+ # `GetMedia` throws this error when Kinesis Video Streams can't find
634
+ # the stream that you specified.
635
+ #
636
+ # `GetHLSStreamingSessionURL` throws this error if a session with a
637
+ # `PlaybackMode` of `ON_DEMAND` is requested for a stream that has no
638
+ # fragments within the requested time range, or if a session with a
639
+ # `PlaybackMode` of `LIVE` is requested for a stream that has no
640
+ # fragments within the last 30 seconds.
641
+ #
642
+ # @!attribute [rw] message
643
+ # @return [String]
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ResourceNotFoundException AWS API Documentation
646
+ #
647
+ class ResourceNotFoundException < Struct.new(
648
+ :message)
649
+ include Aws::Structure
650
+ end
651
+
555
652
  # The range of timestamps for which to return fragments.
556
653
  #
557
654
  # @note When making an API call, you may pass TimestampRange
@@ -580,5 +677,21 @@ module Aws::KinesisVideoArchivedMedia
580
677
  include Aws::Structure
581
678
  end
582
679
 
680
+ # The type of the media (for example, h.264 video or ACC audio) could
681
+ # not be determined from the codec IDs of the tracks in the first
682
+ # fragment for a playback session. The codec ID for track 1 should be
683
+ # `V_MPEG/ISO/AVC` and, optionally, the codec ID for track 2 should be
684
+ # `A_AAC`.
685
+ #
686
+ # @!attribute [rw] message
687
+ # @return [String]
688
+ #
689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/UnsupportedStreamMediaTypeException AWS API Documentation
690
+ #
691
+ class UnsupportedStreamMediaTypeException < Struct.new(
692
+ :message)
693
+ include Aws::Structure
694
+ end
695
+
583
696
  end
584
697
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-kinesisvideoarchivedmedia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement