aws-sdk-chimesdkmediapipelines 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkmediapipelines/client.rb +698 -13
- data/lib/aws-sdk-chimesdkmediapipelines/client_api.rb +425 -0
- data/lib/aws-sdk-chimesdkmediapipelines/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-chimesdkmediapipelines/endpoints.rb +98 -0
- data/lib/aws-sdk-chimesdkmediapipelines/errors.rb +26 -0
- data/lib/aws-sdk-chimesdkmediapipelines/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-chimesdkmediapipelines/types.rb +1357 -24
- data/lib/aws-sdk-chimesdkmediapipelines.rb +1 -1
- metadata +2 -2
@@ -14,36 +14,39 @@ module Aws::ChimeSDKMediaPipelines
|
|
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://media-pipelines-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://media-pipelines-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://media-pipelines-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://media-pipelines-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://media-pipelines-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://media-pipelines-chime.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://media-pipelines-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
|
@@ -39,6 +39,34 @@ module Aws::ChimeSDKMediaPipelines
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
class CreateMediaInsightsPipeline
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateMediaInsightsPipelineConfiguration
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
42
70
|
class CreateMediaLiveConnectorPipeline
|
43
71
|
def self.build(context)
|
44
72
|
unless context.config.regional_endpoint
|
@@ -67,6 +95,20 @@ module Aws::ChimeSDKMediaPipelines
|
|
67
95
|
end
|
68
96
|
end
|
69
97
|
|
98
|
+
class DeleteMediaInsightsPipelineConfiguration
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
70
112
|
class DeleteMediaPipeline
|
71
113
|
def self.build(context)
|
72
114
|
unless context.config.regional_endpoint
|
@@ -95,6 +137,20 @@ module Aws::ChimeSDKMediaPipelines
|
|
95
137
|
end
|
96
138
|
end
|
97
139
|
|
140
|
+
class GetMediaInsightsPipelineConfiguration
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
98
154
|
class GetMediaPipeline
|
99
155
|
def self.build(context)
|
100
156
|
unless context.config.regional_endpoint
|
@@ -123,6 +179,20 @@ module Aws::ChimeSDKMediaPipelines
|
|
123
179
|
end
|
124
180
|
end
|
125
181
|
|
182
|
+
class ListMediaInsightsPipelineConfigurations
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
126
196
|
class ListMediaPipelines
|
127
197
|
def self.build(context)
|
128
198
|
unless context.config.regional_endpoint
|
@@ -179,5 +249,33 @@ module Aws::ChimeSDKMediaPipelines
|
|
179
249
|
end
|
180
250
|
end
|
181
251
|
|
252
|
+
class UpdateMediaInsightsPipelineConfiguration
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class UpdateMediaInsightsPipelineStatus
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
182
280
|
end
|
183
281
|
end
|
@@ -28,6 +28,7 @@ module Aws::ChimeSDKMediaPipelines
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {BadRequestException}
|
31
|
+
# * {ConflictException}
|
31
32
|
# * {ForbiddenException}
|
32
33
|
# * {NotFoundException}
|
33
34
|
# * {ResourceLimitExceededException}
|
@@ -67,6 +68,31 @@ module Aws::ChimeSDKMediaPipelines
|
|
67
68
|
end
|
68
69
|
end
|
69
70
|
|
71
|
+
class ConflictException < ServiceError
|
72
|
+
|
73
|
+
# @param [Seahorse::Client::RequestContext] context
|
74
|
+
# @param [String] message
|
75
|
+
# @param [Aws::ChimeSDKMediaPipelines::Types::ConflictException] data
|
76
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
77
|
+
super(context, message, data)
|
78
|
+
end
|
79
|
+
|
80
|
+
# @return [String]
|
81
|
+
def code
|
82
|
+
@code || @data[:code]
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def request_id
|
92
|
+
@data[:request_id]
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
70
96
|
class ForbiddenException < ServiceError
|
71
97
|
|
72
98
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -60,18 +60,28 @@ module Aws::ChimeSDKMediaPipelines
|
|
60
60
|
Aws::ChimeSDKMediaPipelines::Endpoints::CreateMediaCapturePipeline.build(context)
|
61
61
|
when :create_media_concatenation_pipeline
|
62
62
|
Aws::ChimeSDKMediaPipelines::Endpoints::CreateMediaConcatenationPipeline.build(context)
|
63
|
+
when :create_media_insights_pipeline
|
64
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::CreateMediaInsightsPipeline.build(context)
|
65
|
+
when :create_media_insights_pipeline_configuration
|
66
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::CreateMediaInsightsPipelineConfiguration.build(context)
|
63
67
|
when :create_media_live_connector_pipeline
|
64
68
|
Aws::ChimeSDKMediaPipelines::Endpoints::CreateMediaLiveConnectorPipeline.build(context)
|
65
69
|
when :delete_media_capture_pipeline
|
66
70
|
Aws::ChimeSDKMediaPipelines::Endpoints::DeleteMediaCapturePipeline.build(context)
|
71
|
+
when :delete_media_insights_pipeline_configuration
|
72
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::DeleteMediaInsightsPipelineConfiguration.build(context)
|
67
73
|
when :delete_media_pipeline
|
68
74
|
Aws::ChimeSDKMediaPipelines::Endpoints::DeleteMediaPipeline.build(context)
|
69
75
|
when :get_media_capture_pipeline
|
70
76
|
Aws::ChimeSDKMediaPipelines::Endpoints::GetMediaCapturePipeline.build(context)
|
77
|
+
when :get_media_insights_pipeline_configuration
|
78
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::GetMediaInsightsPipelineConfiguration.build(context)
|
71
79
|
when :get_media_pipeline
|
72
80
|
Aws::ChimeSDKMediaPipelines::Endpoints::GetMediaPipeline.build(context)
|
73
81
|
when :list_media_capture_pipelines
|
74
82
|
Aws::ChimeSDKMediaPipelines::Endpoints::ListMediaCapturePipelines.build(context)
|
83
|
+
when :list_media_insights_pipeline_configurations
|
84
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::ListMediaInsightsPipelineConfigurations.build(context)
|
75
85
|
when :list_media_pipelines
|
76
86
|
Aws::ChimeSDKMediaPipelines::Endpoints::ListMediaPipelines.build(context)
|
77
87
|
when :list_tags_for_resource
|
@@ -80,6 +90,10 @@ module Aws::ChimeSDKMediaPipelines
|
|
80
90
|
Aws::ChimeSDKMediaPipelines::Endpoints::TagResource.build(context)
|
81
91
|
when :untag_resource
|
82
92
|
Aws::ChimeSDKMediaPipelines::Endpoints::UntagResource.build(context)
|
93
|
+
when :update_media_insights_pipeline_configuration
|
94
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::UpdateMediaInsightsPipelineConfiguration.build(context)
|
95
|
+
when :update_media_insights_pipeline_status
|
96
|
+
Aws::ChimeSDKMediaPipelines::Endpoints::UpdateMediaInsightsPipelineStatus.build(context)
|
83
97
|
end
|
84
98
|
end
|
85
99
|
end
|