aws-sdk-mediatailor 1.130.0 → 1.131.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-mediatailor/client.rb +43 -1
- data/lib/aws-sdk-mediatailor/client_api.rb +9 -0
- data/lib/aws-sdk-mediatailor/types.rb +70 -2
- data/lib/aws-sdk-mediatailor.rb +1 -1
- data/sig/client.rbs +17 -2
- data/sig/types.rbs +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5248e509ace6bb07f9aa90e89038e930517ba0a3a90a253c76e87dae7afa26fe
|
|
4
|
+
data.tar.gz: dbadba10951338464e414e1cda015fbde2b61fa218db29ae710dcde53b20630f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 303ef890c9ee193d01191bfc583bb53898f07b80b7301f43aeabf1aaf96f41d92dfa2b6f14246d1663dc06c34c3166cf1d73b5e96578acab2b2909aaaa9d1c6e
|
|
7
|
+
data.tar.gz: 80f8234b79d0710a1ae37a9c8249b9e35f2e9df46738e441064465555720f4eaf46db83d16ddfa06853cba7098d37b0bface7a83ea35ed36a70d2e6b9086300f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.131.0
|
|
@@ -2165,6 +2165,9 @@ module Aws::MediaTailor
|
|
|
2165
2165
|
# resp.http_request_configuration.body #=> String
|
|
2166
2166
|
# resp.http_request_configuration.headers #=> Hash
|
|
2167
2167
|
# resp.http_request_configuration.headers["__string"] #=> String
|
|
2168
|
+
# resp.http_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2169
|
+
# resp.http_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2170
|
+
# resp.http_request_configuration.cache.key #=> String
|
|
2168
2171
|
# resp.aws_service_request_configuration.runtime #=> String, one of "JSONATA"
|
|
2169
2172
|
# resp.aws_service_request_configuration.output #=> Hash
|
|
2170
2173
|
# resp.aws_service_request_configuration.output["__string"] #=> String
|
|
@@ -2174,6 +2177,9 @@ module Aws::MediaTailor
|
|
|
2174
2177
|
# resp.aws_service_request_configuration.body #=> String
|
|
2175
2178
|
# resp.aws_service_request_configuration.headers #=> Hash
|
|
2176
2179
|
# resp.aws_service_request_configuration.headers["__string"] #=> String
|
|
2180
|
+
# resp.aws_service_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2181
|
+
# resp.aws_service_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2182
|
+
# resp.aws_service_request_configuration.cache.key #=> String
|
|
2177
2183
|
# resp.aws_service_request_configuration.target_service #=> String
|
|
2178
2184
|
# resp.aws_service_request_configuration.target_region #=> String
|
|
2179
2185
|
# resp.custom_output_configuration.runtime #=> String, one of "JSONATA"
|
|
@@ -2205,6 +2211,9 @@ module Aws::MediaTailor
|
|
|
2205
2211
|
# resp.vast_request_configuration.body #=> String
|
|
2206
2212
|
# resp.vast_request_configuration.headers #=> Hash
|
|
2207
2213
|
# resp.vast_request_configuration.headers["__string"] #=> String
|
|
2214
|
+
# resp.vast_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2215
|
+
# resp.vast_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2216
|
+
# resp.vast_request_configuration.cache.key #=> String
|
|
2208
2217
|
# resp.tags #=> Hash
|
|
2209
2218
|
# resp.tags["__string"] #=> String
|
|
2210
2219
|
# resp.arn #=> String
|
|
@@ -2638,6 +2647,9 @@ module Aws::MediaTailor
|
|
|
2638
2647
|
# resp.items[0].http_request_configuration.body #=> String
|
|
2639
2648
|
# resp.items[0].http_request_configuration.headers #=> Hash
|
|
2640
2649
|
# resp.items[0].http_request_configuration.headers["__string"] #=> String
|
|
2650
|
+
# resp.items[0].http_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2651
|
+
# resp.items[0].http_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2652
|
+
# resp.items[0].http_request_configuration.cache.key #=> String
|
|
2641
2653
|
# resp.items[0].aws_service_request_configuration.runtime #=> String, one of "JSONATA"
|
|
2642
2654
|
# resp.items[0].aws_service_request_configuration.output #=> Hash
|
|
2643
2655
|
# resp.items[0].aws_service_request_configuration.output["__string"] #=> String
|
|
@@ -2647,6 +2659,9 @@ module Aws::MediaTailor
|
|
|
2647
2659
|
# resp.items[0].aws_service_request_configuration.body #=> String
|
|
2648
2660
|
# resp.items[0].aws_service_request_configuration.headers #=> Hash
|
|
2649
2661
|
# resp.items[0].aws_service_request_configuration.headers["__string"] #=> String
|
|
2662
|
+
# resp.items[0].aws_service_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2663
|
+
# resp.items[0].aws_service_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2664
|
+
# resp.items[0].aws_service_request_configuration.cache.key #=> String
|
|
2650
2665
|
# resp.items[0].aws_service_request_configuration.target_service #=> String
|
|
2651
2666
|
# resp.items[0].aws_service_request_configuration.target_region #=> String
|
|
2652
2667
|
# resp.items[0].custom_output_configuration.runtime #=> String, one of "JSONATA"
|
|
@@ -2678,6 +2693,9 @@ module Aws::MediaTailor
|
|
|
2678
2693
|
# resp.items[0].vast_request_configuration.body #=> String
|
|
2679
2694
|
# resp.items[0].vast_request_configuration.headers #=> Hash
|
|
2680
2695
|
# resp.items[0].vast_request_configuration.headers["__string"] #=> String
|
|
2696
|
+
# resp.items[0].vast_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
2697
|
+
# resp.items[0].vast_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
2698
|
+
# resp.items[0].vast_request_configuration.cache.key #=> String
|
|
2681
2699
|
# resp.items[0].tags #=> Hash
|
|
2682
2700
|
# resp.items[0].tags["__string"] #=> String
|
|
2683
2701
|
# resp.items[0].arn #=> String
|
|
@@ -3318,6 +3336,11 @@ module Aws::MediaTailor
|
|
|
3318
3336
|
# headers: {
|
|
3319
3337
|
# "__string" => "__string",
|
|
3320
3338
|
# },
|
|
3339
|
+
# cache: {
|
|
3340
|
+
# ttl_minimum_seconds: 1, # required
|
|
3341
|
+
# ttl_maximum_seconds: 1, # required
|
|
3342
|
+
# key: "__string",
|
|
3343
|
+
# },
|
|
3321
3344
|
# },
|
|
3322
3345
|
# aws_service_request_configuration: {
|
|
3323
3346
|
# runtime: "JSONATA", # required, accepts JSONATA
|
|
@@ -3331,6 +3354,11 @@ module Aws::MediaTailor
|
|
|
3331
3354
|
# headers: {
|
|
3332
3355
|
# "__string" => "__string",
|
|
3333
3356
|
# },
|
|
3357
|
+
# cache: {
|
|
3358
|
+
# ttl_minimum_seconds: 1, # required
|
|
3359
|
+
# ttl_maximum_seconds: 1, # required
|
|
3360
|
+
# key: "__string",
|
|
3361
|
+
# },
|
|
3334
3362
|
# target_service: "AwsTargetService", # required
|
|
3335
3363
|
# target_region: "AwsServiceRequestConfigurationTargetRegionString", # required
|
|
3336
3364
|
# },
|
|
@@ -3381,6 +3409,11 @@ module Aws::MediaTailor
|
|
|
3381
3409
|
# headers: {
|
|
3382
3410
|
# "__string" => "__string",
|
|
3383
3411
|
# },
|
|
3412
|
+
# cache: {
|
|
3413
|
+
# ttl_minimum_seconds: 1, # required
|
|
3414
|
+
# ttl_maximum_seconds: 1, # required
|
|
3415
|
+
# key: "__string",
|
|
3416
|
+
# },
|
|
3384
3417
|
# },
|
|
3385
3418
|
# tags: {
|
|
3386
3419
|
# "__string" => "__string",
|
|
@@ -3401,6 +3434,9 @@ module Aws::MediaTailor
|
|
|
3401
3434
|
# resp.http_request_configuration.body #=> String
|
|
3402
3435
|
# resp.http_request_configuration.headers #=> Hash
|
|
3403
3436
|
# resp.http_request_configuration.headers["__string"] #=> String
|
|
3437
|
+
# resp.http_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
3438
|
+
# resp.http_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
3439
|
+
# resp.http_request_configuration.cache.key #=> String
|
|
3404
3440
|
# resp.aws_service_request_configuration.runtime #=> String, one of "JSONATA"
|
|
3405
3441
|
# resp.aws_service_request_configuration.output #=> Hash
|
|
3406
3442
|
# resp.aws_service_request_configuration.output["__string"] #=> String
|
|
@@ -3410,6 +3446,9 @@ module Aws::MediaTailor
|
|
|
3410
3446
|
# resp.aws_service_request_configuration.body #=> String
|
|
3411
3447
|
# resp.aws_service_request_configuration.headers #=> Hash
|
|
3412
3448
|
# resp.aws_service_request_configuration.headers["__string"] #=> String
|
|
3449
|
+
# resp.aws_service_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
3450
|
+
# resp.aws_service_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
3451
|
+
# resp.aws_service_request_configuration.cache.key #=> String
|
|
3413
3452
|
# resp.aws_service_request_configuration.target_service #=> String
|
|
3414
3453
|
# resp.aws_service_request_configuration.target_region #=> String
|
|
3415
3454
|
# resp.custom_output_configuration.runtime #=> String, one of "JSONATA"
|
|
@@ -3441,6 +3480,9 @@ module Aws::MediaTailor
|
|
|
3441
3480
|
# resp.vast_request_configuration.body #=> String
|
|
3442
3481
|
# resp.vast_request_configuration.headers #=> Hash
|
|
3443
3482
|
# resp.vast_request_configuration.headers["__string"] #=> String
|
|
3483
|
+
# resp.vast_request_configuration.cache.ttl_minimum_seconds #=> Integer
|
|
3484
|
+
# resp.vast_request_configuration.cache.ttl_maximum_seconds #=> Integer
|
|
3485
|
+
# resp.vast_request_configuration.cache.key #=> String
|
|
3444
3486
|
# resp.tags #=> Hash
|
|
3445
3487
|
# resp.tags["__string"] #=> String
|
|
3446
3488
|
# resp.arn #=> String
|
|
@@ -4488,7 +4530,7 @@ module Aws::MediaTailor
|
|
|
4488
4530
|
tracer: tracer
|
|
4489
4531
|
)
|
|
4490
4532
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
|
4491
|
-
context[:gem_version] = '1.
|
|
4533
|
+
context[:gem_version] = '1.131.0'
|
|
4492
4534
|
Seahorse::Client::Request.new(handlers, context)
|
|
4493
4535
|
end
|
|
4494
4536
|
|
|
@@ -128,6 +128,7 @@ module Aws::MediaTailor
|
|
|
128
128
|
HttpPackageConfiguration = Shapes::StructureShape.new(name: 'HttpPackageConfiguration')
|
|
129
129
|
HttpPackageConfigurations = Shapes::ListShape.new(name: 'HttpPackageConfigurations')
|
|
130
130
|
HttpRequest = Shapes::StructureShape.new(name: 'HttpRequest')
|
|
131
|
+
HttpRequestCacheConfiguration = Shapes::StructureShape.new(name: 'HttpRequestCacheConfiguration')
|
|
131
132
|
HttpRequestConfiguration = Shapes::StructureShape.new(name: 'HttpRequestConfiguration')
|
|
132
133
|
InsertionMode = Shapes::StringShape.new(name: 'InsertionMode')
|
|
133
134
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
@@ -356,6 +357,7 @@ module Aws::MediaTailor
|
|
|
356
357
|
AwsServiceRequestConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Url"))
|
|
357
358
|
AwsServiceRequestConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
|
358
359
|
AwsServiceRequestConfiguration.add_member(:headers, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Headers"))
|
|
360
|
+
AwsServiceRequestConfiguration.add_member(:cache, Shapes::ShapeRef.new(shape: HttpRequestCacheConfiguration, location_name: "Cache"))
|
|
359
361
|
AwsServiceRequestConfiguration.add_member(:target_service, Shapes::ShapeRef.new(shape: AwsTargetService, required: true, location_name: "TargetService"))
|
|
360
362
|
AwsServiceRequestConfiguration.add_member(:target_region, Shapes::ShapeRef.new(shape: AwsServiceRequestConfigurationTargetRegionString, required: true, location_name: "TargetRegion"))
|
|
361
363
|
AwsServiceRequestConfiguration.struct_class = Types::AwsServiceRequestConfiguration
|
|
@@ -830,6 +832,11 @@ module Aws::MediaTailor
|
|
|
830
832
|
HttpRequest.add_member(:compress_request, Shapes::ShapeRef.new(shape: CompressionMethod, location_name: "CompressRequest"))
|
|
831
833
|
HttpRequest.struct_class = Types::HttpRequest
|
|
832
834
|
|
|
835
|
+
HttpRequestCacheConfiguration.add_member(:ttl_minimum_seconds, Shapes::ShapeRef.new(shape: __integerMin1, required: true, location_name: "TtlMinimumSeconds"))
|
|
836
|
+
HttpRequestCacheConfiguration.add_member(:ttl_maximum_seconds, Shapes::ShapeRef.new(shape: __integerMin1, required: true, location_name: "TtlMaximumSeconds"))
|
|
837
|
+
HttpRequestCacheConfiguration.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
|
|
838
|
+
HttpRequestCacheConfiguration.struct_class = Types::HttpRequestCacheConfiguration
|
|
839
|
+
|
|
833
840
|
HttpRequestConfiguration.add_member(:runtime, Shapes::ShapeRef.new(shape: RuntimeType, required: true, location_name: "Runtime"))
|
|
834
841
|
HttpRequestConfiguration.add_member(:output, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Output"))
|
|
835
842
|
HttpRequestConfiguration.add_member(:method_type, Shapes::ShapeRef.new(shape: MethodType, required: true, location_name: "MethodType"))
|
|
@@ -837,6 +844,7 @@ module Aws::MediaTailor
|
|
|
837
844
|
HttpRequestConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Url"))
|
|
838
845
|
HttpRequestConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
|
839
846
|
HttpRequestConfiguration.add_member(:headers, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Headers"))
|
|
847
|
+
HttpRequestConfiguration.add_member(:cache, Shapes::ShapeRef.new(shape: HttpRequestCacheConfiguration, location_name: "Cache"))
|
|
840
848
|
HttpRequestConfiguration.struct_class = Types::HttpRequestConfiguration
|
|
841
849
|
|
|
842
850
|
KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
|
|
@@ -1349,6 +1357,7 @@ module Aws::MediaTailor
|
|
|
1349
1357
|
VastRequestConfiguration.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Url"))
|
|
1350
1358
|
VastRequestConfiguration.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
|
1351
1359
|
VastRequestConfiguration.add_member(:headers, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "Headers"))
|
|
1360
|
+
VastRequestConfiguration.add_member(:cache, Shapes::ShapeRef.new(shape: HttpRequestCacheConfiguration, location_name: "Cache"))
|
|
1352
1361
|
VastRequestConfiguration.struct_class = Types::VastRequestConfiguration
|
|
1353
1362
|
|
|
1354
1363
|
VastResponse.add_member(:ad_sequencing_mode, Shapes::ShapeRef.new(shape: AdSequencingMode, location_name: "AdSequencingMode"))
|
|
@@ -606,6 +606,13 @@ module Aws::MediaTailor
|
|
|
606
606
|
# include a maximum of 50 headers.
|
|
607
607
|
# @return [Hash<String,String>]
|
|
608
608
|
#
|
|
609
|
+
# @!attribute [rw] cache
|
|
610
|
+
# The optional response-caching configuration for the function. When
|
|
611
|
+
# present, MediaTailor caches the responses that the function receives
|
|
612
|
+
# from the AWS service, within the time-to-live (TTL) bounds that you
|
|
613
|
+
# specify. Omit this configuration to disable response caching.
|
|
614
|
+
# @return [Types::HttpRequestCacheConfiguration]
|
|
615
|
+
#
|
|
609
616
|
# @!attribute [rw] target_service
|
|
610
617
|
# The AWS service to call. Valid value: `elemental-inference` (AWS
|
|
611
618
|
# Elemental Inference).
|
|
@@ -627,6 +634,7 @@ module Aws::MediaTailor
|
|
|
627
634
|
:url,
|
|
628
635
|
:body,
|
|
629
636
|
:headers,
|
|
637
|
+
:cache,
|
|
630
638
|
:target_service,
|
|
631
639
|
:target_region)
|
|
632
640
|
SENSITIVE = []
|
|
@@ -3278,6 +3286,50 @@ module Aws::MediaTailor
|
|
|
3278
3286
|
include Aws::Structure
|
|
3279
3287
|
end
|
|
3280
3288
|
|
|
3289
|
+
# The optional response-caching configuration shared by the HTTP-based
|
|
3290
|
+
# function types (`HTTP_REQUEST`, `AWS_SERVICE_REQUEST`, and
|
|
3291
|
+
# `VAST_REQUEST`). When you provide this configuration, MediaTailor
|
|
3292
|
+
# caches the function's responses that have one of the following HTTP
|
|
3293
|
+
# status codes: `200`, `203`, `204`, `404`, `405`, `410`, `414`, and
|
|
3294
|
+
# `501`. For a cacheable response, MediaTailor caches it for the number
|
|
3295
|
+
# of seconds given by the response's `Cache-Control` `max-age`
|
|
3296
|
+
# directive, limited to the range between `TtlMinimumSeconds` and
|
|
3297
|
+
# `TtlMaximumSeconds`. If the response has no `Cache-Control` `max-age`
|
|
3298
|
+
# directive, MediaTailor caches it for `TtlMinimumSeconds` seconds.
|
|
3299
|
+
# Cached HTTP responses are scoped per playback configuration, not per
|
|
3300
|
+
# function.
|
|
3301
|
+
#
|
|
3302
|
+
# @!attribute [rw] ttl_minimum_seconds
|
|
3303
|
+
# The lower bound, in seconds, on how long MediaTailor caches a
|
|
3304
|
+
# response. MediaTailor also uses this value as the cache duration
|
|
3305
|
+
# when a response has no `Cache-Control` `max-age` directive.
|
|
3306
|
+
# @return [Integer]
|
|
3307
|
+
#
|
|
3308
|
+
# @!attribute [rw] ttl_maximum_seconds
|
|
3309
|
+
# The upper bound, in seconds, on how long MediaTailor caches a
|
|
3310
|
+
# response. This value must be greater than or equal to
|
|
3311
|
+
# `TtlMinimumSeconds`.
|
|
3312
|
+
# @return [Integer]
|
|
3313
|
+
#
|
|
3314
|
+
# @!attribute [rw] key
|
|
3315
|
+
# A JSONata expression that MediaTailor evaluates to a custom cache
|
|
3316
|
+
# key. By default, the cache key is a hash of the HTTP URL, the
|
|
3317
|
+
# request body, and the HTTP method; request headers are not included.
|
|
3318
|
+
# You can specify a custom cache key expression to vary caching by
|
|
3319
|
+
# request headers and more. The evaluated key must be smaller than 1
|
|
3320
|
+
# KB; otherwise the HTTP function will fail.
|
|
3321
|
+
# @return [String]
|
|
3322
|
+
#
|
|
3323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HttpRequestCacheConfiguration AWS API Documentation
|
|
3324
|
+
#
|
|
3325
|
+
class HttpRequestCacheConfiguration < Struct.new(
|
|
3326
|
+
:ttl_minimum_seconds,
|
|
3327
|
+
:ttl_maximum_seconds,
|
|
3328
|
+
:key)
|
|
3329
|
+
SENSITIVE = []
|
|
3330
|
+
include Aws::Structure
|
|
3331
|
+
end
|
|
3332
|
+
|
|
3281
3333
|
# The configuration for an `HTTP_REQUEST` function. Specifies the HTTP
|
|
3282
3334
|
# method, URL, headers, body, timeout, and output expressions for the
|
|
3283
3335
|
# request. For more information, see [HTTP\_REQUEST][1] in the
|
|
@@ -3335,6 +3387,13 @@ module Aws::MediaTailor
|
|
|
3335
3387
|
# result in the outbound HTTP request. Maximum 50 headers.
|
|
3336
3388
|
# @return [Hash<String,String>]
|
|
3337
3389
|
#
|
|
3390
|
+
# @!attribute [rw] cache
|
|
3391
|
+
# The optional response-caching configuration for the function. When
|
|
3392
|
+
# present, MediaTailor caches the responses that the function receives
|
|
3393
|
+
# from the HTTP endpoint, within the time-to-live (TTL) bounds that
|
|
3394
|
+
# you specify. Omit this configuration to disable response caching.
|
|
3395
|
+
# @return [Types::HttpRequestCacheConfiguration]
|
|
3396
|
+
#
|
|
3338
3397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/HttpRequestConfiguration AWS API Documentation
|
|
3339
3398
|
#
|
|
3340
3399
|
class HttpRequestConfiguration < Struct.new(
|
|
@@ -3344,7 +3403,8 @@ module Aws::MediaTailor
|
|
|
3344
3403
|
:request_timeout_milliseconds,
|
|
3345
3404
|
:url,
|
|
3346
3405
|
:body,
|
|
3347
|
-
:headers
|
|
3406
|
+
:headers,
|
|
3407
|
+
:cache)
|
|
3348
3408
|
SENSITIVE = []
|
|
3349
3409
|
include Aws::Structure
|
|
3350
3410
|
end
|
|
@@ -6622,6 +6682,13 @@ module Aws::MediaTailor
|
|
|
6622
6682
|
# allowed.
|
|
6623
6683
|
# @return [Hash<String,String>]
|
|
6624
6684
|
#
|
|
6685
|
+
# @!attribute [rw] cache
|
|
6686
|
+
# The optional response-caching configuration for the function. When
|
|
6687
|
+
# present, MediaTailor caches the responses that the function receives
|
|
6688
|
+
# from the HTTP endpoint, within the time-to-live (TTL) bounds that
|
|
6689
|
+
# you specify. Omit this configuration to disable response caching.
|
|
6690
|
+
# @return [Types::HttpRequestCacheConfiguration]
|
|
6691
|
+
#
|
|
6625
6692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/VastRequestConfiguration AWS API Documentation
|
|
6626
6693
|
#
|
|
6627
6694
|
class VastRequestConfiguration < Struct.new(
|
|
@@ -6631,7 +6698,8 @@ module Aws::MediaTailor
|
|
|
6631
6698
|
:request_timeout_milliseconds,
|
|
6632
6699
|
:url,
|
|
6633
6700
|
:body,
|
|
6634
|
-
:headers
|
|
6701
|
+
:headers,
|
|
6702
|
+
:cache)
|
|
6635
6703
|
SENSITIVE = []
|
|
6636
6704
|
include Aws::Structure
|
|
6637
6705
|
end
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -780,7 +780,12 @@ module Aws
|
|
|
780
780
|
request_timeout_milliseconds: ::Integer,
|
|
781
781
|
url: ::String,
|
|
782
782
|
body: ::String?,
|
|
783
|
-
headers: Hash[::String, ::String]
|
|
783
|
+
headers: Hash[::String, ::String]?,
|
|
784
|
+
cache: {
|
|
785
|
+
ttl_minimum_seconds: ::Integer,
|
|
786
|
+
ttl_maximum_seconds: ::Integer,
|
|
787
|
+
key: ::String?
|
|
788
|
+
}?
|
|
784
789
|
},
|
|
785
790
|
?aws_service_request_configuration: {
|
|
786
791
|
runtime: ("JSONATA"),
|
|
@@ -790,6 +795,11 @@ module Aws
|
|
|
790
795
|
url: ::String,
|
|
791
796
|
body: ::String?,
|
|
792
797
|
headers: Hash[::String, ::String]?,
|
|
798
|
+
cache: {
|
|
799
|
+
ttl_minimum_seconds: ::Integer,
|
|
800
|
+
ttl_maximum_seconds: ::Integer,
|
|
801
|
+
key: ::String?
|
|
802
|
+
}?,
|
|
793
803
|
target_service: ::String,
|
|
794
804
|
target_region: ::String
|
|
795
805
|
},
|
|
@@ -829,7 +839,12 @@ module Aws
|
|
|
829
839
|
request_timeout_milliseconds: ::Integer,
|
|
830
840
|
url: ::String,
|
|
831
841
|
body: ::String?,
|
|
832
|
-
headers: Hash[::String, ::String]
|
|
842
|
+
headers: Hash[::String, ::String]?,
|
|
843
|
+
cache: {
|
|
844
|
+
ttl_minimum_seconds: ::Integer,
|
|
845
|
+
ttl_maximum_seconds: ::Integer,
|
|
846
|
+
key: ::String?
|
|
847
|
+
}?
|
|
833
848
|
},
|
|
834
849
|
?tags: Hash[::String, ::String]
|
|
835
850
|
) -> _PutFunctionResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -114,6 +114,7 @@ module Aws::MediaTailor
|
|
|
114
114
|
attr_accessor url: ::String
|
|
115
115
|
attr_accessor body: ::String
|
|
116
116
|
attr_accessor headers: ::Hash[::String, ::String]
|
|
117
|
+
attr_accessor cache: Types::HttpRequestCacheConfiguration
|
|
117
118
|
attr_accessor target_service: ::String
|
|
118
119
|
attr_accessor target_region: ::String
|
|
119
120
|
SENSITIVE: []
|
|
@@ -715,6 +716,13 @@ module Aws::MediaTailor
|
|
|
715
716
|
SENSITIVE: []
|
|
716
717
|
end
|
|
717
718
|
|
|
719
|
+
class HttpRequestCacheConfiguration
|
|
720
|
+
attr_accessor ttl_minimum_seconds: ::Integer
|
|
721
|
+
attr_accessor ttl_maximum_seconds: ::Integer
|
|
722
|
+
attr_accessor key: ::String
|
|
723
|
+
SENSITIVE: []
|
|
724
|
+
end
|
|
725
|
+
|
|
718
726
|
class HttpRequestConfiguration
|
|
719
727
|
attr_accessor runtime: ("JSONATA")
|
|
720
728
|
attr_accessor output: ::Hash[::String, ::String]
|
|
@@ -723,6 +731,7 @@ module Aws::MediaTailor
|
|
|
723
731
|
attr_accessor url: ::String
|
|
724
732
|
attr_accessor body: ::String
|
|
725
733
|
attr_accessor headers: ::Hash[::String, ::String]
|
|
734
|
+
attr_accessor cache: Types::HttpRequestCacheConfiguration
|
|
726
735
|
SENSITIVE: []
|
|
727
736
|
end
|
|
728
737
|
|
|
@@ -1373,6 +1382,7 @@ module Aws::MediaTailor
|
|
|
1373
1382
|
attr_accessor url: ::String
|
|
1374
1383
|
attr_accessor body: ::String
|
|
1375
1384
|
attr_accessor headers: ::Hash[::String, ::String]
|
|
1385
|
+
attr_accessor cache: Types::HttpRequestCacheConfiguration
|
|
1376
1386
|
SENSITIVE: []
|
|
1377
1387
|
end
|
|
1378
1388
|
|