aws-sdk-prometheusservice 1.16.0 → 1.17.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: c74e5a13b541239f2f4949d5a1f67b41c52a2dccc21fb856fc0095a41ed45e80
4
- data.tar.gz: 96a623e2a1723c11d9c5c28ec8be7a0c4f57d06b6bb8254d9ef5874d61ebbfd2
3
+ metadata.gz: c4478a3c35eeabf9d0c770be456ec2bc1b038c081ed477b060f47c87973c08af
4
+ data.tar.gz: 5593228b63db87248b8f6f118b116c83d1b61ac33d4b154e3eddedefb24cd634
5
5
  SHA512:
6
- metadata.gz: 81647c1ad2fa4a76e844d13a29a3e5c1ccab91be87840b27acd3ee26a3a3f49ea8ac61ea567d0381ead90f643ebc8fa46df4fd7b46a217d0b77218235ab082ff
7
- data.tar.gz: 585030f80288392453f48c32ce076129e76b35a169cf9b0f3eb34de05453b02416351cc976ebd0bfc2b25c25d6b90cdcd0cb7203bf63fa3896865df67de14ee3
6
+ metadata.gz: f4ab0974d4cb33b6deae54f784a2cbb1c0521daebfe94596eb81ae2f6128d43969f907623bd82ca57023695b3d050bfb9e0216446ad9dc4e97f07bae103781f1
7
+ data.tar.gz: c58e8b9bf387b9abd07d06d365a1149012f4ef7a1942a56d310b405744a2703d6c3c3bfce8b95da1272f46c343ab83a79b36cfdaffa1aa8a238e89180276bc1f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.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.16.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -1203,7 +1203,7 @@ module Aws::PrometheusService
1203
1203
  params: params,
1204
1204
  config: config)
1205
1205
  context[:gem_name] = 'aws-sdk-prometheusservice'
1206
- context[:gem_version] = '1.16.0'
1206
+ context[:gem_version] = '1.17.0'
1207
1207
  Seahorse::Client::Request.new(handlers, context)
1208
1208
  end
1209
1209
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::PrometheusService
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://aps-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://aps-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://aps.#{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://aps.#{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
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluI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XJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
102
- b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
103
- dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
104
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
105
- Ijp7InVybCI6Imh0dHBzOi8vYXBzLntSZWdpb259LntQYXJ0aXRpb25SZXN1
106
- bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
107
- InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -98,15 +98,6 @@ module Aws::PrometheusService
98
98
 
99
99
  # Represents the input of a CreateAlertManagerDefinition operation.
100
100
  #
101
- # @note When making an API call, you may pass CreateAlertManagerDefinitionRequest
102
- # data as a hash:
103
- #
104
- # {
105
- # client_token: "IdempotencyToken",
106
- # data: "data", # required
107
- # workspace_id: "WorkspaceId", # required
108
- # }
109
- #
110
101
  # @!attribute [rw] client_token
111
102
  # Optional, unique, case-sensitive, user-provided identifier to ensure
112
103
  # the idempotency of the request.
@@ -150,15 +141,6 @@ module Aws::PrometheusService
150
141
 
151
142
  # Represents the input of a CreateLoggingConfiguration operation.
152
143
  #
153
- # @note When making an API call, you may pass CreateLoggingConfigurationRequest
154
- # data as a hash:
155
- #
156
- # {
157
- # client_token: "IdempotencyToken",
158
- # log_group_arn: "LogGroupArn", # required
159
- # workspace_id: "WorkspaceId", # required
160
- # }
161
- #
162
144
  # @!attribute [rw] client_token
163
145
  # Optional, unique, case-sensitive, user-provided identifier to ensure
164
146
  # the idempotency of the request.
@@ -202,19 +184,6 @@ module Aws::PrometheusService
202
184
 
203
185
  # Represents the input of a CreateRuleGroupsNamespace operation.
204
186
  #
205
- # @note When making an API call, you may pass CreateRuleGroupsNamespaceRequest
206
- # data as a hash:
207
- #
208
- # {
209
- # client_token: "IdempotencyToken",
210
- # data: "data", # required
211
- # name: "RuleGroupsNamespaceName", # required
212
- # tags: {
213
- # "TagKey" => "TagValue",
214
- # },
215
- # workspace_id: "WorkspaceId", # required
216
- # }
217
- #
218
187
  # @!attribute [rw] client_token
219
188
  # Optional, unique, case-sensitive, user-provided identifier to ensure
220
189
  # the idempotency of the request.
@@ -282,17 +251,6 @@ module Aws::PrometheusService
282
251
 
283
252
  # Represents the input of a CreateWorkspace operation.
284
253
  #
285
- # @note When making an API call, you may pass CreateWorkspaceRequest
286
- # data as a hash:
287
- #
288
- # {
289
- # alias: "WorkspaceAlias",
290
- # client_token: "IdempotencyToken",
291
- # tags: {
292
- # "TagKey" => "TagValue",
293
- # },
294
- # }
295
- #
296
254
  # @!attribute [rw] alias
297
255
  # An optional user-assigned alias for this workspace. This alias is
298
256
  # for user reference and does not need to be unique.
@@ -352,14 +310,6 @@ module Aws::PrometheusService
352
310
 
353
311
  # Represents the input of a DeleteAlertManagerDefinition operation.
354
312
  #
355
- # @note When making an API call, you may pass DeleteAlertManagerDefinitionRequest
356
- # data as a hash:
357
- #
358
- # {
359
- # client_token: "IdempotencyToken",
360
- # workspace_id: "WorkspaceId", # required
361
- # }
362
- #
363
313
  # @!attribute [rw] client_token
364
314
  # Optional, unique, case-sensitive, user-provided identifier to ensure
365
315
  # the idempotency of the request.
@@ -384,14 +334,6 @@ module Aws::PrometheusService
384
334
 
385
335
  # Represents the input of a DeleteLoggingConfiguration operation.
386
336
  #
387
- # @note When making an API call, you may pass DeleteLoggingConfigurationRequest
388
- # data as a hash:
389
- #
390
- # {
391
- # client_token: "IdempotencyToken",
392
- # workspace_id: "WorkspaceId", # required
393
- # }
394
- #
395
337
  # @!attribute [rw] client_token
396
338
  # Optional, unique, case-sensitive, user-provided identifier to ensure
397
339
  # the idempotency of the request.
@@ -415,15 +357,6 @@ module Aws::PrometheusService
415
357
 
416
358
  # Represents the input of a DeleteRuleGroupsNamespace operation.
417
359
  #
418
- # @note When making an API call, you may pass DeleteRuleGroupsNamespaceRequest
419
- # data as a hash:
420
- #
421
- # {
422
- # client_token: "IdempotencyToken",
423
- # name: "RuleGroupsNamespaceName", # required
424
- # workspace_id: "WorkspaceId", # required
425
- # }
426
- #
427
360
  # @!attribute [rw] client_token
428
361
  # Optional, unique, case-sensitive, user-provided identifier to ensure
429
362
  # the idempotency of the request.
@@ -452,14 +385,6 @@ module Aws::PrometheusService
452
385
 
453
386
  # Represents the input of a DeleteWorkspace operation.
454
387
  #
455
- # @note When making an API call, you may pass DeleteWorkspaceRequest
456
- # data as a hash:
457
- #
458
- # {
459
- # client_token: "IdempotencyToken",
460
- # workspace_id: "WorkspaceId", # required
461
- # }
462
- #
463
388
  # @!attribute [rw] client_token
464
389
  # Optional, unique, case-sensitive, user-provided identifier to ensure
465
390
  # the idempotency of the request.
@@ -483,13 +408,6 @@ module Aws::PrometheusService
483
408
 
484
409
  # Represents the input of a DescribeAlertManagerDefinition operation.
485
410
  #
486
- # @note When making an API call, you may pass DescribeAlertManagerDefinitionRequest
487
- # data as a hash:
488
- #
489
- # {
490
- # workspace_id: "WorkspaceId", # required
491
- # }
492
- #
493
411
  # @!attribute [rw] workspace_id
494
412
  # The ID of the workspace to describe.
495
413
  # @return [String]
@@ -519,13 +437,6 @@ module Aws::PrometheusService
519
437
 
520
438
  # Represents the input of a DescribeLoggingConfiguration operation.
521
439
  #
522
- # @note When making an API call, you may pass DescribeLoggingConfigurationRequest
523
- # data as a hash:
524
- #
525
- # {
526
- # workspace_id: "WorkspaceId", # required
527
- # }
528
- #
529
440
  # @!attribute [rw] workspace_id
530
441
  # The ID of the workspace to vend logs to.
531
442
  # @return [String]
@@ -555,14 +466,6 @@ module Aws::PrometheusService
555
466
 
556
467
  # Represents the input of a DescribeRuleGroupsNamespace operation.
557
468
  #
558
- # @note When making an API call, you may pass DescribeRuleGroupsNamespaceRequest
559
- # data as a hash:
560
- #
561
- # {
562
- # name: "RuleGroupsNamespaceName", # required
563
- # workspace_id: "WorkspaceId", # required
564
- # }
565
- #
566
469
  # @!attribute [rw] name
567
470
  # The rule groups namespace.
568
471
  # @return [String]
@@ -596,13 +499,6 @@ module Aws::PrometheusService
596
499
 
597
500
  # Represents the input of a DescribeWorkspace operation.
598
501
  #
599
- # @note When making an API call, you may pass DescribeWorkspaceRequest
600
- # data as a hash:
601
- #
602
- # {
603
- # workspace_id: "WorkspaceId", # required
604
- # }
605
- #
606
502
  # @!attribute [rw] workspace_id
607
503
  # The ID of the workspace to describe.
608
504
  # @return [String]
@@ -650,16 +546,6 @@ module Aws::PrometheusService
650
546
 
651
547
  # Represents the input of a ListRuleGroupsNamespaces operation.
652
548
  #
653
- # @note When making an API call, you may pass ListRuleGroupsNamespacesRequest
654
- # data as a hash:
655
- #
656
- # {
657
- # max_results: 1,
658
- # name: "RuleGroupsNamespaceName",
659
- # next_token: "PaginationToken",
660
- # workspace_id: "WorkspaceId", # required
661
- # }
662
- #
663
549
  # @!attribute [rw] max_results
664
550
  # Maximum results to return in response (default=100, maximum=1000).
665
551
  # @return [Integer]
@@ -709,13 +595,6 @@ module Aws::PrometheusService
709
595
  include Aws::Structure
710
596
  end
711
597
 
712
- # @note When making an API call, you may pass ListTagsForResourceRequest
713
- # data as a hash:
714
- #
715
- # {
716
- # resource_arn: "String", # required
717
- # }
718
- #
719
598
  # @!attribute [rw] resource_arn
720
599
  # The ARN of the resource.
721
600
  # @return [String]
@@ -742,15 +621,6 @@ module Aws::PrometheusService
742
621
 
743
622
  # Represents the input of a ListWorkspaces operation.
744
623
  #
745
- # @note When making an API call, you may pass ListWorkspacesRequest
746
- # data as a hash:
747
- #
748
- # {
749
- # alias: "WorkspaceAlias",
750
- # max_results: 1,
751
- # next_token: "PaginationToken",
752
- # }
753
- #
754
624
  # @!attribute [rw] alias
755
625
  # Optional filter for workspace alias. Only the workspaces with
756
626
  # aliases that begin with this value will be returned.
@@ -852,15 +722,6 @@ module Aws::PrometheusService
852
722
 
853
723
  # Represents the input of a PutAlertManagerDefinition operation.
854
724
  #
855
- # @note When making an API call, you may pass PutAlertManagerDefinitionRequest
856
- # data as a hash:
857
- #
858
- # {
859
- # client_token: "IdempotencyToken",
860
- # data: "data", # required
861
- # workspace_id: "WorkspaceId", # required
862
- # }
863
- #
864
725
  # @!attribute [rw] client_token
865
726
  # Optional, unique, case-sensitive, user-provided identifier to ensure
866
727
  # the idempotency of the request.
@@ -904,16 +765,6 @@ module Aws::PrometheusService
904
765
 
905
766
  # Represents the input of a PutRuleGroupsNamespace operation.
906
767
  #
907
- # @note When making an API call, you may pass PutRuleGroupsNamespaceRequest
908
- # data as a hash:
909
- #
910
- # {
911
- # client_token: "IdempotencyToken",
912
- # data: "data", # required
913
- # name: "RuleGroupsNamespaceName", # required
914
- # workspace_id: "WorkspaceId", # required
915
- # }
916
- #
917
768
  # @!attribute [rw] client_token
918
769
  # Optional, unique, case-sensitive, user-provided identifier to ensure
919
770
  # the idempotency of the request.
@@ -1134,16 +985,6 @@ module Aws::PrometheusService
1134
985
  include Aws::Structure
1135
986
  end
1136
987
 
1137
- # @note When making an API call, you may pass TagResourceRequest
1138
- # data as a hash:
1139
- #
1140
- # {
1141
- # resource_arn: "String", # required
1142
- # tags: { # required
1143
- # "TagKey" => "TagValue",
1144
- # },
1145
- # }
1146
- #
1147
988
  # @!attribute [rw] resource_arn
1148
989
  # The ARN of the resource.
1149
990
  # @return [String]
@@ -1194,14 +1035,6 @@ module Aws::PrometheusService
1194
1035
  include Aws::Structure
1195
1036
  end
1196
1037
 
1197
- # @note When making an API call, you may pass UntagResourceRequest
1198
- # data as a hash:
1199
- #
1200
- # {
1201
- # resource_arn: "String", # required
1202
- # tag_keys: ["TagKey"], # required
1203
- # }
1204
- #
1205
1038
  # @!attribute [rw] resource_arn
1206
1039
  # The ARN of the resource.
1207
1040
  # @return [String]
@@ -1225,15 +1058,6 @@ module Aws::PrometheusService
1225
1058
 
1226
1059
  # Represents the input of an UpdateLoggingConfiguration operation.
1227
1060
  #
1228
- # @note When making an API call, you may pass UpdateLoggingConfigurationRequest
1229
- # data as a hash:
1230
- #
1231
- # {
1232
- # client_token: "IdempotencyToken",
1233
- # log_group_arn: "LogGroupArn", # required
1234
- # workspace_id: "WorkspaceId", # required
1235
- # }
1236
- #
1237
1061
  # @!attribute [rw] client_token
1238
1062
  # Optional, unique, case-sensitive, user-provided identifier to ensure
1239
1063
  # the idempotency of the request.
@@ -1277,15 +1101,6 @@ module Aws::PrometheusService
1277
1101
 
1278
1102
  # Represents the input of an UpdateWorkspaceAlias operation.
1279
1103
  #
1280
- # @note When making an API call, you may pass UpdateWorkspaceAliasRequest
1281
- # data as a hash:
1282
- #
1283
- # {
1284
- # alias: "WorkspaceAlias",
1285
- # client_token: "IdempotencyToken",
1286
- # workspace_id: "WorkspaceId", # required
1287
- # }
1288
- #
1289
1104
  # @!attribute [rw] alias
1290
1105
  # The new alias of the workspace.
1291
1106
  # @return [String]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-prometheusservice/customizations'
53
53
  # @!group service
54
54
  module Aws::PrometheusService
55
55
 
56
- GEM_VERSION = '1.16.0'
56
+ GEM_VERSION = '1.17.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-prometheusservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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