aws-sdk-chimesdkvoice 1.1.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkvoice/client.rb +4 -1
- data/lib/aws-sdk-chimesdkvoice/client_api.rb +1 -0
- data/lib/aws-sdk-chimesdkvoice/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-chimesdkvoice/types.rb +5 -1
- data/lib/aws-sdk-chimesdkvoice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8646f75f4cbe88f263f0d2ba0cf203843212bc1260aab333def217d2ff834ed
|
4
|
+
data.tar.gz: feafbeca127f5f104df17b51d9d6a7fbd887dbf1e6147966bc3e898ed7648887
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbd6cfce53e3220c48a8477aff27cb893a86044f863094df568fc1007f79a009a9ac2695dec1eb2e7bfa65a1b7c72957c66f5f8d68a2c0c7777631f82d25ea99
|
7
|
+
data.tar.gz: 6aafc19070b8957d551b4577106b99d5fefe08537b115702c50a401422c3d4e55cd7df3ccc484a3b8c710d7939e19b8a0ac60966d25e25db3635c8660fd589ca
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -1492,6 +1492,7 @@ module Aws::ChimeSDKVoice
|
|
1492
1492
|
# @example Response structure
|
1493
1493
|
#
|
1494
1494
|
# resp.logging_configuration.enable_sip_logs #=> Boolean
|
1495
|
+
# resp.logging_configuration.enable_media_metric_logs #=> Boolean
|
1495
1496
|
#
|
1496
1497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/GetVoiceConnectorLoggingConfiguration AWS API Documentation
|
1497
1498
|
#
|
@@ -2162,12 +2163,14 @@ module Aws::ChimeSDKVoice
|
|
2162
2163
|
# voice_connector_id: "NonEmptyString", # required
|
2163
2164
|
# logging_configuration: { # required
|
2164
2165
|
# enable_sip_logs: false,
|
2166
|
+
# enable_media_metric_logs: false,
|
2165
2167
|
# },
|
2166
2168
|
# })
|
2167
2169
|
#
|
2168
2170
|
# @example Response structure
|
2169
2171
|
#
|
2170
2172
|
# resp.logging_configuration.enable_sip_logs #=> Boolean
|
2173
|
+
# resp.logging_configuration.enable_media_metric_logs #=> Boolean
|
2171
2174
|
#
|
2172
2175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/PutVoiceConnectorLoggingConfiguration AWS API Documentation
|
2173
2176
|
#
|
@@ -2892,7 +2895,7 @@ module Aws::ChimeSDKVoice
|
|
2892
2895
|
params: params,
|
2893
2896
|
config: config)
|
2894
2897
|
context[:gem_name] = 'aws-sdk-chimesdkvoice'
|
2895
|
-
context[:gem_version] = '1.
|
2898
|
+
context[:gem_version] = '1.2.0'
|
2896
2899
|
Seahorse::Client::Request.new(handlers, context)
|
2897
2900
|
end
|
2898
2901
|
|
@@ -666,6 +666,7 @@ module Aws::ChimeSDKVoice
|
|
666
666
|
ListVoiceConnectorsResponse.struct_class = Types::ListVoiceConnectorsResponse
|
667
667
|
|
668
668
|
LoggingConfiguration.add_member(:enable_sip_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableSIPLogs"))
|
669
|
+
LoggingConfiguration.add_member(:enable_media_metric_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableMediaMetricLogs"))
|
669
670
|
LoggingConfiguration.struct_class = Types::LoggingConfiguration
|
670
671
|
|
671
672
|
NonEmptyStringList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -14,36 +14,39 @@ module Aws::ChimeSDKVoice
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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://voice-chime-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
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://voice-chime-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
|
-
|
41
|
-
|
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://voice-chime-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://voice-chime-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://voice-chime.#{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
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://voice-chime.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://voice-chime.#{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
|
@@ -1380,10 +1380,14 @@ module Aws::ChimeSDKVoice
|
|
1380
1380
|
# @!attribute [rw] enable_sip_logs
|
1381
1381
|
# @return [Boolean]
|
1382
1382
|
#
|
1383
|
+
# @!attribute [rw] enable_media_metric_logs
|
1384
|
+
# @return [Boolean]
|
1385
|
+
#
|
1383
1386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/LoggingConfiguration AWS API Documentation
|
1384
1387
|
#
|
1385
1388
|
class LoggingConfiguration < Struct.new(
|
1386
|
-
:enable_sip_logs
|
1389
|
+
:enable_sip_logs,
|
1390
|
+
:enable_media_metric_logs)
|
1387
1391
|
SENSITIVE = []
|
1388
1392
|
include Aws::Structure
|
1389
1393
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chimesdkvoice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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-
|
11
|
+
date: 2023-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|