aws-sdk-mediastore 1.42.0 → 1.43.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: bc86c234838cecb9b89502ac3afe0a17a1b0933a9a4b54b319850d51fcaad938
4
- data.tar.gz: c4bd908ec22c2debc77d1d0872310708e37423894f236c566bc6380c5ffa3230
3
+ metadata.gz: b2cd46e11f7d041f309507bafe51a2fa62f6d7f0adce4ae5a11cca3990a1b75a
4
+ data.tar.gz: 76a9dafec076a18c4e97165d8ecb10b32aadb79503933537a40e799a9f10bbf2
5
5
  SHA512:
6
- metadata.gz: a555453ecc3d58233ab64c2cc6106a841608ec590d3888516386986d53d8094144318f3479900eeb805f3da21f4f083598cb5ac05b5b77fe3cf4c70d3d78cd30
7
- data.tar.gz: 96470640715b3f81c580dbe4fde45fef66058cf84f9488047eaf3b27aed4eead640b256e401f06d5ceec13116538ccc728acc3d916633869dbea194e500e2083
6
+ metadata.gz: 421cfea0d46fe458459ec462e95f725c1ba24d3d4ea1322e12a52771544555222268e3d0276cd96160190ec03d9338612836dad70c2bde773f5809ad138ce75f
7
+ data.tar.gz: e1d4ed52bc8cf94e1c5ebeda644a8aec697cbf5b59cc04849b7edd5c9dad5cd483b87c004ac188ff90260d766e34ddbb77824f346c27ce097ac432587f9ae75b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.42.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -220,4 +227,4 @@ Unreleased Changes
220
227
  1.0.0 (2017-11-27)
221
228
  ------------------
222
229
 
223
- * Feature - Initial release of `aws-sdk-mediastore`.
230
+ * Feature - Initial release of `aws-sdk-mediastore`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.43.0
@@ -1144,7 +1144,7 @@ module Aws::MediaStore
1144
1144
  params: params,
1145
1145
  config: config)
1146
1146
  context[:gem_name] = 'aws-sdk-mediastore'
1147
- context[:gem_version] = '1.42.0'
1147
+ context[:gem_version] = '1.43.0'
1148
1148
  Seahorse::Client::Request.new(handlers, context)
1149
1149
  end
1150
1150
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::MediaStore
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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://mediastore-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
33
+ 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://mediastore-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ 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://mediastore.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://mediastore.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBka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0b3JlLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNr
101
- RG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
102
- cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
103
- dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
104
- b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
105
- ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbWVkaWFz
106
- dG9yZS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJw
107
- cm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
108
- fV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -112,17 +112,6 @@ module Aws::MediaStore
112
112
  # policy. If more than one rule applies, the service uses the first
113
113
  # applicable rule listed.
114
114
  #
115
- # @note When making an API call, you may pass CorsRule
116
- # data as a hash:
117
- #
118
- # {
119
- # allowed_origins: ["Origin"], # required
120
- # allowed_methods: ["PUT"], # accepts PUT, GET, DELETE, HEAD
121
- # allowed_headers: ["Header"], # required
122
- # max_age_seconds: 1,
123
- # expose_headers: ["Header"],
124
- # }
125
- #
126
115
  # @!attribute [rw] allowed_origins
127
116
  # One or more response headers that you want users to be able to
128
117
  # access from their applications (for example, from a JavaScript
@@ -179,19 +168,6 @@ module Aws::MediaStore
179
168
  include Aws::Structure
180
169
  end
181
170
 
182
- # @note When making an API call, you may pass CreateContainerInput
183
- # data as a hash:
184
- #
185
- # {
186
- # container_name: "ContainerName", # required
187
- # tags: [
188
- # {
189
- # key: "TagKey", # required
190
- # value: "TagValue",
191
- # },
192
- # ],
193
- # }
194
- #
195
171
  # @!attribute [rw] container_name
196
172
  # The name for the container. The name must be from 1 to 255
197
173
  # characters. Container names must be unique to your AWS account
@@ -252,13 +228,6 @@ module Aws::MediaStore
252
228
  include Aws::Structure
253
229
  end
254
230
 
255
- # @note When making an API call, you may pass DeleteContainerInput
256
- # data as a hash:
257
- #
258
- # {
259
- # container_name: "ContainerName", # required
260
- # }
261
- #
262
231
  # @!attribute [rw] container_name
263
232
  # The name of the container to delete.
264
233
  # @return [String]
@@ -275,13 +244,6 @@ module Aws::MediaStore
275
244
  #
276
245
  class DeleteContainerOutput < Aws::EmptyStructure; end
277
246
 
278
- # @note When making an API call, you may pass DeleteContainerPolicyInput
279
- # data as a hash:
280
- #
281
- # {
282
- # container_name: "ContainerName", # required
283
- # }
284
- #
285
247
  # @!attribute [rw] container_name
286
248
  # The name of the container that holds the policy.
287
249
  # @return [String]
@@ -298,13 +260,6 @@ module Aws::MediaStore
298
260
  #
299
261
  class DeleteContainerPolicyOutput < Aws::EmptyStructure; end
300
262
 
301
- # @note When making an API call, you may pass DeleteCorsPolicyInput
302
- # data as a hash:
303
- #
304
- # {
305
- # container_name: "ContainerName", # required
306
- # }
307
- #
308
263
  # @!attribute [rw] container_name
309
264
  # The name of the container to remove the policy from.
310
265
  # @return [String]
@@ -321,13 +276,6 @@ module Aws::MediaStore
321
276
  #
322
277
  class DeleteCorsPolicyOutput < Aws::EmptyStructure; end
323
278
 
324
- # @note When making an API call, you may pass DeleteLifecyclePolicyInput
325
- # data as a hash:
326
- #
327
- # {
328
- # container_name: "ContainerName", # required
329
- # }
330
- #
331
279
  # @!attribute [rw] container_name
332
280
  # The name of the container that holds the object lifecycle policy.
333
281
  # @return [String]
@@ -344,13 +292,6 @@ module Aws::MediaStore
344
292
  #
345
293
  class DeleteLifecyclePolicyOutput < Aws::EmptyStructure; end
346
294
 
347
- # @note When making an API call, you may pass DeleteMetricPolicyInput
348
- # data as a hash:
349
- #
350
- # {
351
- # container_name: "ContainerName", # required
352
- # }
353
- #
354
295
  # @!attribute [rw] container_name
355
296
  # The name of the container that is associated with the metric policy
356
297
  # that you want to delete.
@@ -368,13 +309,6 @@ module Aws::MediaStore
368
309
  #
369
310
  class DeleteMetricPolicyOutput < Aws::EmptyStructure; end
370
311
 
371
- # @note When making an API call, you may pass DescribeContainerInput
372
- # data as a hash:
373
- #
374
- # {
375
- # container_name: "ContainerName",
376
- # }
377
- #
378
312
  # @!attribute [rw] container_name
379
313
  # The name of the container to query.
380
314
  # @return [String]
@@ -399,13 +333,6 @@ module Aws::MediaStore
399
333
  include Aws::Structure
400
334
  end
401
335
 
402
- # @note When making an API call, you may pass GetContainerPolicyInput
403
- # data as a hash:
404
- #
405
- # {
406
- # container_name: "ContainerName", # required
407
- # }
408
- #
409
336
  # @!attribute [rw] container_name
410
337
  # The name of the container.
411
338
  # @return [String]
@@ -430,13 +357,6 @@ module Aws::MediaStore
430
357
  include Aws::Structure
431
358
  end
432
359
 
433
- # @note When making an API call, you may pass GetCorsPolicyInput
434
- # data as a hash:
435
- #
436
- # {
437
- # container_name: "ContainerName", # required
438
- # }
439
- #
440
360
  # @!attribute [rw] container_name
441
361
  # The name of the container that the policy is assigned to.
442
362
  # @return [String]
@@ -461,13 +381,6 @@ module Aws::MediaStore
461
381
  include Aws::Structure
462
382
  end
463
383
 
464
- # @note When making an API call, you may pass GetLifecyclePolicyInput
465
- # data as a hash:
466
- #
467
- # {
468
- # container_name: "ContainerName", # required
469
- # }
470
- #
471
384
  # @!attribute [rw] container_name
472
385
  # The name of the container that the object lifecycle policy is
473
386
  # assigned to.
@@ -493,13 +406,6 @@ module Aws::MediaStore
493
406
  include Aws::Structure
494
407
  end
495
408
 
496
- # @note When making an API call, you may pass GetMetricPolicyInput
497
- # data as a hash:
498
- #
499
- # {
500
- # container_name: "ContainerName", # required
501
- # }
502
- #
503
409
  # @!attribute [rw] container_name
504
410
  # The name of the container that is associated with the metric policy.
505
411
  # @return [String]
@@ -550,14 +456,6 @@ module Aws::MediaStore
550
456
  include Aws::Structure
551
457
  end
552
458
 
553
- # @note When making an API call, you may pass ListContainersInput
554
- # data as a hash:
555
- #
556
- # {
557
- # next_token: "PaginationToken",
558
- # max_results: 1,
559
- # }
560
- #
561
459
  # @!attribute [rw] next_token
562
460
  # Only if you used `MaxResults` in the first command, enter the token
563
461
  # (which was included in the previous response) to obtain the next set
@@ -599,13 +497,6 @@ module Aws::MediaStore
599
497
  include Aws::Structure
600
498
  end
601
499
 
602
- # @note When making an API call, you may pass ListTagsForResourceInput
603
- # data as a hash:
604
- #
605
- # {
606
- # resource: "ContainerARN", # required
607
- # }
608
- #
609
500
  # @!attribute [rw] resource
610
501
  # The Amazon Resource Name (ARN) for the container.
611
502
  # @return [String]
@@ -644,19 +535,6 @@ module Aws::MediaStore
644
535
  #
645
536
  # [1]: https://docs.aws.amazon.com/mediastore/latest/ug/policies-metric-examples.html
646
537
  #
647
- # @note When making an API call, you may pass MetricPolicy
648
- # data as a hash:
649
- #
650
- # {
651
- # container_level_metrics: "ENABLED", # required, accepts ENABLED, DISABLED
652
- # metric_policy_rules: [
653
- # {
654
- # object_group: "ObjectGroup", # required
655
- # object_group_name: "ObjectGroupName", # required
656
- # },
657
- # ],
658
- # }
659
- #
660
538
  # @!attribute [rw] container_level_metrics
661
539
  # A setting to enable or disable metrics at the container level.
662
540
  # @return [String]
@@ -692,14 +570,6 @@ module Aws::MediaStore
692
570
  #
693
571
  # [1]: https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas
694
572
  #
695
- # @note When making an API call, you may pass MetricPolicyRule
696
- # data as a hash:
697
- #
698
- # {
699
- # object_group: "ObjectGroup", # required
700
- # object_group_name: "ObjectGroupName", # required
701
- # }
702
- #
703
573
  # @!attribute [rw] object_group
704
574
  # A path or file name that defines which objects to include in the
705
575
  # group. Wildcards (*) are acceptable.
@@ -731,14 +601,6 @@ module Aws::MediaStore
731
601
  include Aws::Structure
732
602
  end
733
603
 
734
- # @note When making an API call, you may pass PutContainerPolicyInput
735
- # data as a hash:
736
- #
737
- # {
738
- # container_name: "ContainerName", # required
739
- # policy: "ContainerPolicy", # required
740
- # }
741
- #
742
604
  # @!attribute [rw] container_name
743
605
  # The name of the container.
744
606
  # @return [String]
@@ -765,22 +627,6 @@ module Aws::MediaStore
765
627
  #
766
628
  class PutContainerPolicyOutput < Aws::EmptyStructure; end
767
629
 
768
- # @note When making an API call, you may pass PutCorsPolicyInput
769
- # data as a hash:
770
- #
771
- # {
772
- # container_name: "ContainerName", # required
773
- # cors_policy: [ # required
774
- # {
775
- # allowed_origins: ["Origin"], # required
776
- # allowed_methods: ["PUT"], # accepts PUT, GET, DELETE, HEAD
777
- # allowed_headers: ["Header"], # required
778
- # max_age_seconds: 1,
779
- # expose_headers: ["Header"],
780
- # },
781
- # ],
782
- # }
783
- #
784
630
  # @!attribute [rw] container_name
785
631
  # The name of the container that you want to assign the CORS policy
786
632
  # to.
@@ -803,14 +649,6 @@ module Aws::MediaStore
803
649
  #
804
650
  class PutCorsPolicyOutput < Aws::EmptyStructure; end
805
651
 
806
- # @note When making an API call, you may pass PutLifecyclePolicyInput
807
- # data as a hash:
808
- #
809
- # {
810
- # container_name: "ContainerName", # required
811
- # lifecycle_policy: "LifecyclePolicy", # required
812
- # }
813
- #
814
652
  # @!attribute [rw] container_name
815
653
  # The name of the container that you want to assign the object
816
654
  # lifecycle policy to.
@@ -833,22 +671,6 @@ module Aws::MediaStore
833
671
  #
834
672
  class PutLifecyclePolicyOutput < Aws::EmptyStructure; end
835
673
 
836
- # @note When making an API call, you may pass PutMetricPolicyInput
837
- # data as a hash:
838
- #
839
- # {
840
- # container_name: "ContainerName", # required
841
- # metric_policy: { # required
842
- # container_level_metrics: "ENABLED", # required, accepts ENABLED, DISABLED
843
- # metric_policy_rules: [
844
- # {
845
- # object_group: "ObjectGroup", # required
846
- # object_group_name: "ObjectGroupName", # required
847
- # },
848
- # ],
849
- # },
850
- # }
851
- #
852
674
  # @!attribute [rw] container_name
853
675
  # The name of the container that you want to add the metric policy to.
854
676
  # @return [String]
@@ -886,13 +708,6 @@ module Aws::MediaStore
886
708
  #
887
709
  class PutMetricPolicyOutput < Aws::EmptyStructure; end
888
710
 
889
- # @note When making an API call, you may pass StartAccessLoggingInput
890
- # data as a hash:
891
- #
892
- # {
893
- # container_name: "ContainerName", # required
894
- # }
895
- #
896
711
  # @!attribute [rw] container_name
897
712
  # The name of the container that you want to start access logging on.
898
713
  # @return [String]
@@ -909,13 +724,6 @@ module Aws::MediaStore
909
724
  #
910
725
  class StartAccessLoggingOutput < Aws::EmptyStructure; end
911
726
 
912
- # @note When making an API call, you may pass StopAccessLoggingInput
913
- # data as a hash:
914
- #
915
- # {
916
- # container_name: "ContainerName", # required
917
- # }
918
- #
919
727
  # @!attribute [rw] container_name
920
728
  # The name of the container that you want to stop access logging on.
921
729
  # @return [String]
@@ -944,14 +752,6 @@ module Aws::MediaStore
944
752
  #
945
753
  # [1]: https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html
946
754
  #
947
- # @note When making an API call, you may pass Tag
948
- # data as a hash:
949
- #
950
- # {
951
- # key: "TagKey", # required
952
- # value: "TagValue",
953
- # }
954
- #
955
755
  # @!attribute [rw] key
956
756
  # Part of the key:value pair that defines a tag. You can use a tag key
957
757
  # to describe a category of information, such as "customer." Tag
@@ -973,19 +773,6 @@ module Aws::MediaStore
973
773
  include Aws::Structure
974
774
  end
975
775
 
976
- # @note When making an API call, you may pass TagResourceInput
977
- # data as a hash:
978
- #
979
- # {
980
- # resource: "ContainerARN", # required
981
- # tags: [ # required
982
- # {
983
- # key: "TagKey", # required
984
- # value: "TagValue",
985
- # },
986
- # ],
987
- # }
988
- #
989
776
  # @!attribute [rw] resource
990
777
  # The Amazon Resource Name (ARN) for the container.
991
778
  # @return [String]
@@ -1014,14 +801,6 @@ module Aws::MediaStore
1014
801
  #
1015
802
  class TagResourceOutput < Aws::EmptyStructure; end
1016
803
 
1017
- # @note When making an API call, you may pass UntagResourceInput
1018
- # data as a hash:
1019
- #
1020
- # {
1021
- # resource: "ContainerARN", # required
1022
- # tag_keys: ["TagKey"], # required
1023
- # }
1024
- #
1025
804
  # @!attribute [rw] resource
1026
805
  # The Amazon Resource Name (ARN) for the container.
1027
806
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mediastore/customizations'
52
52
  # @!group service
53
53
  module Aws::MediaStore
54
54
 
55
- GEM_VERSION = '1.42.0'
55
+ GEM_VERSION = '1.43.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediastore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.42.0
4
+ version: 1.43.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core