aws-sdk-pi 1.41.0 → 1.42.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 +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +1 -1
- data/lib/aws-sdk-pi/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-pi/types.rb +0 -119
- data/lib/aws-sdk-pi.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: '08dfa6e2e98c74cece29c41aa3ab0acf00927d4653973556bcfc10885c1aebbc'
|
4
|
+
data.tar.gz: 2dbbf594d4428db2a9d4a4fec41d115b6ebcb0234d1a2d9bdc6dbec8a1f0f477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db2df662d62403ffb0dcb6702eb0be834cc993855ace60c8b079ec6ac767ba1279bb815035b0fba6e68fa07f83ec6ef6aa1a28e7cc19e4041e8c63d1d6ddf64d
|
7
|
+
data.tar.gz: c6f5367c2bd0749eb23a8ba9f20b971c27d5796e6af65e4faea375921ec096441e2ed19a2e1eeb308623c29516894e1c49c833170334ad5730885a5841312f00
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.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.41.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -215,4 +222,4 @@ Unreleased Changes
|
|
215
222
|
1.0.0 (2018-05-29)
|
216
223
|
------------------
|
217
224
|
|
218
|
-
* Feature - Initial release of `aws-sdk-pi`.
|
225
|
+
* Feature - Initial release of `aws-sdk-pi`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::PI
|
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://pi-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://pi-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://pi.#{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://pi.#{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
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
c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4iOiJib29sZWFu
|
96
|
-
RXF1YWxzIiwiYXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2Ijpb
|
97
|
-
eyJyZWYiOiJQYXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2si
|
98
|
-
XX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltd
|
99
|
-
LCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3BpLntSZWdpb259LntQYXJ0
|
100
|
-
aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMi
|
101
|
-
Ont9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25k
|
102
|
-
aXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQg
|
103
|
-
dGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0
|
104
|
-
eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
|
105
|
-
InVybCI6Imh0dHBzOi8vcGkue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNk
|
106
|
-
bnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
|
107
|
-
ZSI6ImVuZHBvaW50In1dfV19
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -30,34 +30,6 @@ module Aws::PI
|
|
30
30
|
include Aws::Structure
|
31
31
|
end
|
32
32
|
|
33
|
-
# @note When making an API call, you may pass DescribeDimensionKeysRequest
|
34
|
-
# data as a hash:
|
35
|
-
#
|
36
|
-
# {
|
37
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
38
|
-
# identifier: "RequestString", # required
|
39
|
-
# start_time: Time.now, # required
|
40
|
-
# end_time: Time.now, # required
|
41
|
-
# metric: "RequestString", # required
|
42
|
-
# period_in_seconds: 1,
|
43
|
-
# group_by: { # required
|
44
|
-
# group: "RequestString", # required
|
45
|
-
# dimensions: ["RequestString"],
|
46
|
-
# limit: 1,
|
47
|
-
# },
|
48
|
-
# additional_metrics: ["RequestString"],
|
49
|
-
# partition_by: {
|
50
|
-
# group: "RequestString", # required
|
51
|
-
# dimensions: ["RequestString"],
|
52
|
-
# limit: 1,
|
53
|
-
# },
|
54
|
-
# filter: {
|
55
|
-
# "RequestString" => "RequestString",
|
56
|
-
# },
|
57
|
-
# max_results: 1,
|
58
|
-
# next_token: "NextToken",
|
59
|
-
# }
|
60
|
-
#
|
61
33
|
# @!attribute [rw] service_type
|
62
34
|
# The Amazon Web Services service for which Performance Insights will
|
63
35
|
# return metrics. Valid values are as follows:
|
@@ -279,15 +251,6 @@ module Aws::PI
|
|
279
251
|
#
|
280
252
|
# </note>
|
281
253
|
#
|
282
|
-
# @note When making an API call, you may pass DimensionGroup
|
283
|
-
# data as a hash:
|
284
|
-
#
|
285
|
-
# {
|
286
|
-
# group: "RequestString", # required
|
287
|
-
# dimensions: ["RequestString"],
|
288
|
-
# limit: 1,
|
289
|
-
# }
|
290
|
-
#
|
291
254
|
# @!attribute [rw] group
|
292
255
|
# The name of the dimension group. Valid values are as follows:
|
293
256
|
#
|
@@ -594,17 +557,6 @@ module Aws::PI
|
|
594
557
|
include Aws::Structure
|
595
558
|
end
|
596
559
|
|
597
|
-
# @note When making an API call, you may pass GetDimensionKeyDetailsRequest
|
598
|
-
# data as a hash:
|
599
|
-
#
|
600
|
-
# {
|
601
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
602
|
-
# identifier: "IdentifierString", # required
|
603
|
-
# group: "RequestString", # required
|
604
|
-
# group_identifier: "RequestString", # required
|
605
|
-
# requested_dimensions: ["RequestString"],
|
606
|
-
# }
|
607
|
-
#
|
608
560
|
# @!attribute [rw] service_type
|
609
561
|
# The Amazon Web Services service for which Performance Insights
|
610
562
|
# returns data. The only valid value is `RDS`.
|
@@ -678,14 +630,6 @@ module Aws::PI
|
|
678
630
|
include Aws::Structure
|
679
631
|
end
|
680
632
|
|
681
|
-
# @note When making an API call, you may pass GetResourceMetadataRequest
|
682
|
-
# data as a hash:
|
683
|
-
#
|
684
|
-
# {
|
685
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
686
|
-
# identifier: "RequestString", # required
|
687
|
-
# }
|
688
|
-
#
|
689
633
|
# @!attribute [rw] service_type
|
690
634
|
# The Amazon Web Services service for which Performance Insights
|
691
635
|
# returns metrics.
|
@@ -731,32 +675,6 @@ module Aws::PI
|
|
731
675
|
include Aws::Structure
|
732
676
|
end
|
733
677
|
|
734
|
-
# @note When making an API call, you may pass GetResourceMetricsRequest
|
735
|
-
# data as a hash:
|
736
|
-
#
|
737
|
-
# {
|
738
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
739
|
-
# identifier: "RequestString", # required
|
740
|
-
# metric_queries: [ # required
|
741
|
-
# {
|
742
|
-
# metric: "RequestString", # required
|
743
|
-
# group_by: {
|
744
|
-
# group: "RequestString", # required
|
745
|
-
# dimensions: ["RequestString"],
|
746
|
-
# limit: 1,
|
747
|
-
# },
|
748
|
-
# filter: {
|
749
|
-
# "RequestString" => "RequestString",
|
750
|
-
# },
|
751
|
-
# },
|
752
|
-
# ],
|
753
|
-
# start_time: Time.now, # required
|
754
|
-
# end_time: Time.now, # required
|
755
|
-
# period_in_seconds: 1,
|
756
|
-
# max_results: 1,
|
757
|
-
# next_token: "NextToken",
|
758
|
-
# }
|
759
|
-
#
|
760
678
|
# @!attribute [rw] service_type
|
761
679
|
# The Amazon Web Services service for which Performance Insights
|
762
680
|
# returns metrics. Valid values are as follows:
|
@@ -923,17 +841,6 @@ module Aws::PI
|
|
923
841
|
include Aws::Structure
|
924
842
|
end
|
925
843
|
|
926
|
-
# @note When making an API call, you may pass ListAvailableResourceDimensionsRequest
|
927
|
-
# data as a hash:
|
928
|
-
#
|
929
|
-
# {
|
930
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
931
|
-
# identifier: "RequestString", # required
|
932
|
-
# metrics: ["RequestString"], # required
|
933
|
-
# max_results: 1,
|
934
|
-
# next_token: "NextToken",
|
935
|
-
# }
|
936
|
-
#
|
937
844
|
# @!attribute [rw] service_type
|
938
845
|
# The Amazon Web Services service for which Performance Insights
|
939
846
|
# returns metrics.
|
@@ -996,17 +903,6 @@ module Aws::PI
|
|
996
903
|
include Aws::Structure
|
997
904
|
end
|
998
905
|
|
999
|
-
# @note When making an API call, you may pass ListAvailableResourceMetricsRequest
|
1000
|
-
# data as a hash:
|
1001
|
-
#
|
1002
|
-
# {
|
1003
|
-
# service_type: "RDS", # required, accepts RDS, DOCDB
|
1004
|
-
# identifier: "RequestString", # required
|
1005
|
-
# metric_types: ["RequestString"], # required
|
1006
|
-
# next_token: "NextToken",
|
1007
|
-
# max_results: 1,
|
1008
|
-
# }
|
1009
|
-
#
|
1010
906
|
# @!attribute [rw] service_type
|
1011
907
|
# The Amazon Web Services service for which Performance Insights
|
1012
908
|
# returns metrics.
|
@@ -1126,21 +1022,6 @@ module Aws::PI
|
|
1126
1022
|
# the data points be aggregated by dimension group (`GroupBy`), and
|
1127
1023
|
# return only those data points that match your criteria (`Filter`).
|
1128
1024
|
#
|
1129
|
-
# @note When making an API call, you may pass MetricQuery
|
1130
|
-
# data as a hash:
|
1131
|
-
#
|
1132
|
-
# {
|
1133
|
-
# metric: "RequestString", # required
|
1134
|
-
# group_by: {
|
1135
|
-
# group: "RequestString", # required
|
1136
|
-
# dimensions: ["RequestString"],
|
1137
|
-
# limit: 1,
|
1138
|
-
# },
|
1139
|
-
# filter: {
|
1140
|
-
# "RequestString" => "RequestString",
|
1141
|
-
# },
|
1142
|
-
# }
|
1143
|
-
#
|
1144
1025
|
# @!attribute [rw] metric
|
1145
1026
|
# The name of a Performance Insights metric to be measured.
|
1146
1027
|
#
|
data/lib/aws-sdk-pi.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.42.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
|