aws-sdk-oam 1.0.0 → 1.2.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-oam/client.rb +6 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b47da784f4d2dfe0946ada3ed44ebbbb615c81a7f878709b5b0e495ba58d877c
|
4
|
+
data.tar.gz: 69f3cf82f4c975bfc629ca16b88a55acfda4b9b651a9f87d5a9498d191e4e3f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab868761deee105e30cef990e8f2d00a3c7799861dcc8f0c5d8d16e6e7eab36fb7a0e49dd021780a642065e9d9efa41ab167f3e75f374d3af55c035d281db241
|
7
|
+
data.tar.gz: fefe3a45aced1ca396bfb7ae4069a6279a9c24d5e7f65d9aa742f63a0180365f395ef437847fa54fea83c5136a8806909c45756f6d99e0d740c76e92a93b2bfc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.1.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.0.0 (2022-11-28)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/aws-sdk-oam/client.rb
CHANGED
@@ -275,6 +275,11 @@ module Aws::OAM
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -1144,7 +1149,7 @@ module Aws::OAM
|
|
1144
1149
|
params: params,
|
1145
1150
|
config: config)
|
1146
1151
|
context[:gem_name] = 'aws-sdk-oam'
|
1147
|
-
context[:gem_version] = '1.
|
1152
|
+
context[:gem_version] = '1.2.0'
|
1148
1153
|
Seahorse::Client::Request.new(handlers, context)
|
1149
1154
|
end
|
1150
1155
|
|
@@ -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
|
-
ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
|
37
|
-
IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
|
38
|
-
bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
|
39
|
-
aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
|
40
|
-
IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
|
41
|
-
IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
|
42
|
-
aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
|
43
|
-
Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
|
44
|
-
cmV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WRlcnMiOnt9
|
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.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:
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|