aws-sdk-oam 1.0.0 → 1.1.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 +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-oam/client.rb +1 -1
- data/lib/aws-sdk-oam/endpoint_provider.rb +35 -94
- data/lib/aws-sdk-oam/types.rb +0 -123
- data/lib/aws-sdk-oam.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: 3f62c746261b337d9b11cb4e55e41ed6c106a7050bd943a5808dea8251e28723
|
4
|
+
data.tar.gz: '037398cc1c6cb4157a409809b8f648dc7954fdc346337cae9772d2b4a233f4b5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4adad2ce4c267e7ba8c380f48da2e79d7cf59fcd37c13847b1f3d4a577c4f9c46c3d6307499738cb9f65b469a715ed9acc92cfcc1ccbed3d00f86ba842697121
|
7
|
+
data.tar.gz: 90dd20a3d6025fb8998daa1934b34457afe3c6541cbb2167837f012d1f397e6cb48ea84ef80afabf20ab5a6da8deec5ed16fef52469e44e1114ae7e67ea4dd99
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.1.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.0.0 (2022-11-28)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/lib/aws-sdk-oam/client.rb
CHANGED
@@ -9,102 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::OAM
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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://oam-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://oam-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://oam.#{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://oam.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
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
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
-
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
-
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
|
35
|
-
aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
|
36
|
-
Z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jpbeyJjb25kaXRpb25z
|
98
|
-
IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9vYW0ue1JlZ2lvbn0u
|
99
|
-
e1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVy
|
100
|
-
dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7
|
101
|
-
ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVk
|
102
|
-
IGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFj
|
103
|
-
ayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9p
|
104
|
-
bnQiOnsidXJsIjoiaHR0cHM6Ly9vYW0ue1JlZ2lvbn0ue1BhcnRpdGlvblJl
|
105
|
-
c3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9
|
106
|
-
fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
107
|
-
|
108
|
-
JSON
|
109
50
|
end
|
110
51
|
end
|
data/lib/aws-sdk-oam/types.rb
CHANGED
@@ -29,18 +29,6 @@ module Aws::OAM
|
|
29
29
|
include Aws::Structure
|
30
30
|
end
|
31
31
|
|
32
|
-
# @note When making an API call, you may pass CreateLinkInput
|
33
|
-
# data as a hash:
|
34
|
-
#
|
35
|
-
# {
|
36
|
-
# label_template: "LabelTemplate", # required
|
37
|
-
# resource_types: ["AWS::CloudWatch::Metric"], # required, accepts AWS::CloudWatch::Metric, AWS::Logs::LogGroup, AWS::XRay::Trace
|
38
|
-
# sink_identifier: "ResourceIdentifier", # required
|
39
|
-
# tags: {
|
40
|
-
# "TagKey" => "TagValue",
|
41
|
-
# },
|
42
|
-
# }
|
43
|
-
#
|
44
32
|
# @!attribute [rw] label_template
|
45
33
|
# Specify a friendly human-readable name to use to identify this
|
46
34
|
# source account when you are viewing data from it in the monitoring
|
@@ -147,16 +135,6 @@ module Aws::OAM
|
|
147
135
|
include Aws::Structure
|
148
136
|
end
|
149
137
|
|
150
|
-
# @note When making an API call, you may pass CreateSinkInput
|
151
|
-
# data as a hash:
|
152
|
-
#
|
153
|
-
# {
|
154
|
-
# name: "SinkName", # required
|
155
|
-
# tags: {
|
156
|
-
# "TagKey" => "TagValue",
|
157
|
-
# },
|
158
|
-
# }
|
159
|
-
#
|
160
138
|
# @!attribute [rw] name
|
161
139
|
# A name for the sink.
|
162
140
|
# @return [String]
|
@@ -214,13 +192,6 @@ module Aws::OAM
|
|
214
192
|
include Aws::Structure
|
215
193
|
end
|
216
194
|
|
217
|
-
# @note When making an API call, you may pass DeleteLinkInput
|
218
|
-
# data as a hash:
|
219
|
-
#
|
220
|
-
# {
|
221
|
-
# identifier: "ResourceIdentifier", # required
|
222
|
-
# }
|
223
|
-
#
|
224
195
|
# @!attribute [rw] identifier
|
225
196
|
# The ARN of the link to delete.
|
226
197
|
# @return [String]
|
@@ -237,13 +208,6 @@ module Aws::OAM
|
|
237
208
|
#
|
238
209
|
class DeleteLinkOutput < Aws::EmptyStructure; end
|
239
210
|
|
240
|
-
# @note When making an API call, you may pass DeleteSinkInput
|
241
|
-
# data as a hash:
|
242
|
-
#
|
243
|
-
# {
|
244
|
-
# identifier: "ResourceIdentifier", # required
|
245
|
-
# }
|
246
|
-
#
|
247
211
|
# @!attribute [rw] identifier
|
248
212
|
# The ARN of the sink to delete.
|
249
213
|
# @return [String]
|
@@ -260,13 +224,6 @@ module Aws::OAM
|
|
260
224
|
#
|
261
225
|
class DeleteSinkOutput < Aws::EmptyStructure; end
|
262
226
|
|
263
|
-
# @note When making an API call, you may pass GetLinkInput
|
264
|
-
# data as a hash:
|
265
|
-
#
|
266
|
-
# {
|
267
|
-
# identifier: "ResourceIdentifier", # required
|
268
|
-
# }
|
269
|
-
#
|
270
227
|
# @!attribute [rw] identifier
|
271
228
|
# The ARN of the link to retrieve information for.
|
272
229
|
# @return [String]
|
@@ -324,13 +281,6 @@ module Aws::OAM
|
|
324
281
|
include Aws::Structure
|
325
282
|
end
|
326
283
|
|
327
|
-
# @note When making an API call, you may pass GetSinkInput
|
328
|
-
# data as a hash:
|
329
|
-
#
|
330
|
-
# {
|
331
|
-
# identifier: "ResourceIdentifier", # required
|
332
|
-
# }
|
333
|
-
#
|
334
284
|
# @!attribute [rw] identifier
|
335
285
|
# The ARN of the sink to retrieve information for.
|
336
286
|
# @return [String]
|
@@ -371,13 +321,6 @@ module Aws::OAM
|
|
371
321
|
include Aws::Structure
|
372
322
|
end
|
373
323
|
|
374
|
-
# @note When making an API call, you may pass GetSinkPolicyInput
|
375
|
-
# data as a hash:
|
376
|
-
#
|
377
|
-
# {
|
378
|
-
# sink_identifier: "ResourceIdentifier", # required
|
379
|
-
# }
|
380
|
-
#
|
381
324
|
# @!attribute [rw] sink_identifier
|
382
325
|
# The ARN of the sink to retrieve the policy of.
|
383
326
|
# @return [String]
|
@@ -449,15 +392,6 @@ module Aws::OAM
|
|
449
392
|
include Aws::Structure
|
450
393
|
end
|
451
394
|
|
452
|
-
# @note When making an API call, you may pass ListAttachedLinksInput
|
453
|
-
# data as a hash:
|
454
|
-
#
|
455
|
-
# {
|
456
|
-
# max_results: 1,
|
457
|
-
# next_token: "NextToken",
|
458
|
-
# sink_identifier: "ResourceIdentifier", # required
|
459
|
-
# }
|
460
|
-
#
|
461
395
|
# @!attribute [rw] max_results
|
462
396
|
# Limits the number of returned links to the specified number.
|
463
397
|
# @return [Integer]
|
@@ -525,14 +459,6 @@ module Aws::OAM
|
|
525
459
|
include Aws::Structure
|
526
460
|
end
|
527
461
|
|
528
|
-
# @note When making an API call, you may pass ListLinksInput
|
529
|
-
# data as a hash:
|
530
|
-
#
|
531
|
-
# {
|
532
|
-
# max_results: 1,
|
533
|
-
# next_token: "NextToken",
|
534
|
-
# }
|
535
|
-
#
|
536
462
|
# @!attribute [rw] max_results
|
537
463
|
# Limits the number of returned links to the specified number.
|
538
464
|
# @return [Integer]
|
@@ -606,14 +532,6 @@ module Aws::OAM
|
|
606
532
|
include Aws::Structure
|
607
533
|
end
|
608
534
|
|
609
|
-
# @note When making an API call, you may pass ListSinksInput
|
610
|
-
# data as a hash:
|
611
|
-
#
|
612
|
-
# {
|
613
|
-
# max_results: 1,
|
614
|
-
# next_token: "NextToken",
|
615
|
-
# }
|
616
|
-
#
|
617
535
|
# @!attribute [rw] max_results
|
618
536
|
# Limits the number of returned links to the specified number.
|
619
537
|
# @return [Integer]
|
@@ -676,13 +594,6 @@ module Aws::OAM
|
|
676
594
|
include Aws::Structure
|
677
595
|
end
|
678
596
|
|
679
|
-
# @note When making an API call, you may pass ListTagsForResourceInput
|
680
|
-
# data as a hash:
|
681
|
-
#
|
682
|
-
# {
|
683
|
-
# resource_arn: "Arn", # required
|
684
|
-
# }
|
685
|
-
#
|
686
597
|
# @!attribute [rw] resource_arn
|
687
598
|
# The ARN of the resource that you want to view tags for.
|
688
599
|
#
|
@@ -743,14 +654,6 @@ module Aws::OAM
|
|
743
654
|
include Aws::Structure
|
744
655
|
end
|
745
656
|
|
746
|
-
# @note When making an API call, you may pass PutSinkPolicyInput
|
747
|
-
# data as a hash:
|
748
|
-
#
|
749
|
-
# {
|
750
|
-
# sink_identifier: "ResourceIdentifier", # required
|
751
|
-
# policy: "SinkPolicy", # required
|
752
|
-
# }
|
753
|
-
#
|
754
657
|
# @!attribute [rw] sink_identifier
|
755
658
|
# The ARN of the sink to attach this policy to.
|
756
659
|
# @return [String]
|
@@ -834,16 +737,6 @@ module Aws::OAM
|
|
834
737
|
include Aws::Structure
|
835
738
|
end
|
836
739
|
|
837
|
-
# @note When making an API call, you may pass TagResourceInput
|
838
|
-
# data as a hash:
|
839
|
-
#
|
840
|
-
# {
|
841
|
-
# resource_arn: "Arn", # required
|
842
|
-
# tags: { # required
|
843
|
-
# "TagKey" => "TagValue",
|
844
|
-
# },
|
845
|
-
# }
|
846
|
-
#
|
847
740
|
# @!attribute [rw] resource_arn
|
848
741
|
# The ARN of the resource that you're adding tags to.
|
849
742
|
#
|
@@ -891,14 +784,6 @@ module Aws::OAM
|
|
891
784
|
include Aws::Structure
|
892
785
|
end
|
893
786
|
|
894
|
-
# @note When making an API call, you may pass UntagResourceInput
|
895
|
-
# data as a hash:
|
896
|
-
#
|
897
|
-
# {
|
898
|
-
# resource_arn: "Arn", # required
|
899
|
-
# tag_keys: ["TagKey"], # required
|
900
|
-
# }
|
901
|
-
#
|
902
787
|
# @!attribute [rw] resource_arn
|
903
788
|
# The ARN of the resource that you're removing tags from.
|
904
789
|
#
|
@@ -933,14 +818,6 @@ module Aws::OAM
|
|
933
818
|
#
|
934
819
|
class UntagResourceOutput < Aws::EmptyStructure; end
|
935
820
|
|
936
|
-
# @note When making an API call, you may pass UpdateLinkInput
|
937
|
-
# data as a hash:
|
938
|
-
#
|
939
|
-
# {
|
940
|
-
# identifier: "ResourceIdentifier", # required
|
941
|
-
# resource_types: ["AWS::CloudWatch::Metric"], # required, accepts AWS::CloudWatch::Metric, AWS::Logs::LogGroup, AWS::XRay::Trace
|
942
|
-
# }
|
943
|
-
#
|
944
821
|
# @!attribute [rw] identifier
|
945
822
|
# The ARN of the link that you want to update.
|
946
823
|
# @return [String]
|
data/lib/aws-sdk-oam.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-oam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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:
|
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
|