aws-sdk-ivs 1.26.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e1ac6f3ee33ed26532551d45fc490c59a02d474e8a0db4f8e6f6ffb88f5bbd5
4
- data.tar.gz: 9f6d78282fa551cc8d6a4a281e4d64ff8d89166a48a844140b4939b07792bd4c
3
+ metadata.gz: b975db435905d560bbdc3febf6546c952647abd70b101cbbf3a34f9fce854133
4
+ data.tar.gz: 8b34611f45bbc0a58590f9fc0822fb0259d281aca60efa9208a13fff2f97e8e6
5
5
  SHA512:
6
- metadata.gz: c712e5f14696321d21c4f5e312d9b749e785f93951d2c5a76dae216857bf59e2a2f0617995511a66796cf4ea1e9b2c72eecd5dae2d8a78d93d1c78e7df41c0a4
7
- data.tar.gz: ba4c7009024896ba07ec66289e0dc6c37fab67cd8204f044b739aee9fc535b66a632e97206491ca446c12653d6454b708ba57d880f7a7aa8abb676e663346e11
6
+ metadata.gz: 1a5c8ce171f0435ba671cdbd2c8002a4f5c7ee02104426b39d18bf3820e171b338090545078e0eb06d47490400bb9eac856ac63d4d4f51403b0a6f455ec7cea8
7
+ data.tar.gz: babdadeaa4bc219b89b3c6b38d9a6f202c8a7c1368f0a174762089ba5f480f9815a37eb060a1a7b7d1c4c42ecc7c0130eadc7fa94a04769f9f02c18e6b6fe664
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2023-03-06)
5
+ ------------------
6
+
7
+ * Feature - Updated text description in DeleteChannel, Stream, and StreamSummary.
8
+
9
+ 1.27.0 (2023-02-16)
10
+ ------------------
11
+
12
+ * Feature - Doc-only update. Updated text description in DeleteChannel, Stream, and StreamSummary.
13
+
4
14
  1.26.0 (2023-01-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.0
@@ -690,8 +690,8 @@ module Aws::IVS
690
690
  # If you try to delete a live channel, you will get an error (409
691
691
  # ConflictException). To delete a channel that is live, call StopStream,
692
692
  # wait for the Amazon EventBridge "Stream End" event (to verify that
693
- # the stream's state was changed from Live to Offline), then call
694
- # DeleteChannel. (See [ Using EventBridge with Amazon IVS][1].)
693
+ # the stream's state is no longer Live), then call DeleteChannel. (See
694
+ # [ Using EventBridge with Amazon IVS][1].)
695
695
  #
696
696
  #
697
697
  #
@@ -1661,7 +1661,7 @@ module Aws::IVS
1661
1661
  params: params,
1662
1662
  config: config)
1663
1663
  context[:gem_name] = 'aws-sdk-ivs'
1664
- context[:gem_version] = '1.26.0'
1664
+ context[:gem_version] = '1.28.0'
1665
1665
  Seahorse::Client::Request.new(handlers, context)
1666
1666
  end
1667
1667
 
@@ -50,9 +50,6 @@ module Aws::IVS
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::IVS
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://ivs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://ivs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://ivs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ivs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ivs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ivs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ivs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ivs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -1321,7 +1321,9 @@ module Aws::IVS
1321
1321
  # @return [Time]
1322
1322
  #
1323
1323
  # @!attribute [rw] state
1324
- # The stream’s state.
1324
+ # The stream’s state. Do not rely on the `OFFLINE` state, as the API
1325
+ # may not return it; instead, a "NotBroadcasting" error will
1326
+ # indicate that the stream is not live.
1325
1327
  # @return [String]
1326
1328
  #
1327
1329
  # @!attribute [rw] stream_id
@@ -1570,7 +1572,9 @@ module Aws::IVS
1570
1572
  # @return [Time]
1571
1573
  #
1572
1574
  # @!attribute [rw] state
1573
- # The stream’s state.
1575
+ # The stream’s state. Do not rely on the `OFFLINE` state, as the API
1576
+ # may not return it; instead, a "NotBroadcasting" error will
1577
+ # indicate that the stream is not live.
1574
1578
  # @return [String]
1575
1579
  #
1576
1580
  # @!attribute [rw] stream_id
data/lib/aws-sdk-ivs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ivs/customizations'
52
52
  # @!group service
53
53
  module Aws::IVS
54
54
 
55
- GEM_VERSION = '1.26.0'
55
+ GEM_VERSION = '1.28.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ivs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.28.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: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core