aws-sdk-codestarnotifications 1.21.0 → 1.22.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: 9f62f06552e39f96a4b36f882ddbbe9f53fa133cbb5b6331e906ee6a64d75695
4
- data.tar.gz: ffb8d002903d9644bfd77666f4bfa88a9b7a36f59f65d6c46a697876e713673d
3
+ metadata.gz: 829a78f8fd4117c258a6fd92e94fbaeb2629b4884177571cd68303657c998978
4
+ data.tar.gz: 1c5fe39366909fca76ebe12c86fbb3b24e5c7b8038da9ca5057bd654dd39474c
5
5
  SHA512:
6
- metadata.gz: 56141e5ce6393d80019c3c90a648f2ae262d264679a91bda896db0d2639838dae1e80b2333e2e7d182a9f0e4ceda46d7d280ce522f4edbb09427f8f1c7becb6a
7
- data.tar.gz: 70f8c50e3dc177b51ab3e3fb7eb5354ada463cd32bdb251ddea65fd511914e74fe86cb8aa19ed0464df159f91ae148da3b378a5a30586133320d7f90bd786b23
6
+ metadata.gz: 5f48726bd04754944ff9e3eb4c8ba5b8573e94d55fe587431bf13469199d58ebd7eee741ee47bd236429e416c30e0ab4433cbf6de587cc037bc70a5fb0f4d976
7
+ data.tar.gz: '09202d0bcd6db296e5c2f599e65a7da8c44b04b1c1c9264dcfbf27757c372dbab16e936de4c0510ddbd0e521994fb7d5bbaaf17b8bed044cff59194e1985c4c9'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.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.21.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -115,4 +122,4 @@ Unreleased Changes
115
122
  1.0.0 (2019-11-05)
116
123
  ------------------
117
124
 
118
- * Feature - Initial release of `aws-sdk-codestarnotifications`.
125
+ * Feature - Initial release of `aws-sdk-codestarnotifications`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.22.0
@@ -995,7 +995,7 @@ module Aws::CodeStarNotifications
995
995
  params: params,
996
996
  config: config)
997
997
  context[:gem_name] = 'aws-sdk-codestarnotifications'
998
- context[:gem_version] = '1.21.0'
998
+ context[:gem_version] = '1.22.0'
999
999
  Seahorse::Client::Request.new(handlers, context)
1000
1000
  end
1001
1001
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::CodeStarNotifications
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://codestar-notifications-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://codestar-notifications-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://codestar-notifications.#{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://codestar-notifications.#{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
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bW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sIjoiaHR0cHM6Ly9jb2Rlc3Rhci1ub3RpZmljYXRp
100
- b25zLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3Vm
101
- Zml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJl
102
- bmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3Rh
103
- Y2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3Vw
104
- cG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9u
105
- cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vY29kZXN0YXItbm90
106
- aWZpY2F0aW9ucy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZp
107
- eH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5k
108
- cG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -52,27 +52,6 @@ module Aws::CodeStarNotifications
52
52
  include Aws::Structure
53
53
  end
54
54
 
55
- # @note When making an API call, you may pass CreateNotificationRuleRequest
56
- # data as a hash:
57
- #
58
- # {
59
- # name: "NotificationRuleName", # required
60
- # event_type_ids: ["EventTypeId"], # required
61
- # resource: "NotificationRuleResource", # required
62
- # targets: [ # required
63
- # {
64
- # target_type: "TargetType",
65
- # target_address: "TargetAddress",
66
- # },
67
- # ],
68
- # detail_type: "BASIC", # required, accepts BASIC, FULL
69
- # client_request_token: "ClientRequestToken",
70
- # tags: {
71
- # "TagKey" => "TagValue",
72
- # },
73
- # status: "ENABLED", # accepts ENABLED, DISABLED
74
- # }
75
- #
76
55
  # @!attribute [rw] name
77
56
  # The name for the notification rule. Notification rule names must be
78
57
  # unique in your Amazon Web Services account.
@@ -160,13 +139,6 @@ module Aws::CodeStarNotifications
160
139
  include Aws::Structure
161
140
  end
162
141
 
163
- # @note When making an API call, you may pass DeleteNotificationRuleRequest
164
- # data as a hash:
165
- #
166
- # {
167
- # arn: "NotificationRuleArn", # required
168
- # }
169
- #
170
142
  # @!attribute [rw] arn
171
143
  # The Amazon Resource Name (ARN) of the notification rule you want to
172
144
  # delete.
@@ -192,14 +164,6 @@ module Aws::CodeStarNotifications
192
164
  include Aws::Structure
193
165
  end
194
166
 
195
- # @note When making an API call, you may pass DeleteTargetRequest
196
- # data as a hash:
197
- #
198
- # {
199
- # target_address: "TargetAddress", # required
200
- # force_unsubscribe_all: false,
201
- # }
202
- #
203
167
  # @!attribute [rw] target_address
204
168
  # The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot
205
169
  # client to delete.
@@ -225,13 +189,6 @@ module Aws::CodeStarNotifications
225
189
  #
226
190
  class DeleteTargetResult < Aws::EmptyStructure; end
227
191
 
228
- # @note When making an API call, you may pass DescribeNotificationRuleRequest
229
- # data as a hash:
230
- #
231
- # {
232
- # arn: "NotificationRuleArn", # required
233
- # }
234
- #
235
192
  # @!attribute [rw] arn
236
193
  # The Amazon Resource Name (ARN) of the notification rule.
237
194
  # @return [String]
@@ -384,14 +341,6 @@ module Aws::CodeStarNotifications
384
341
  # Information about a filter to apply to the list of returned event
385
342
  # types. You can filter by resource type or service name.
386
343
  #
387
- # @note When making an API call, you may pass ListEventTypesFilter
388
- # data as a hash:
389
- #
390
- # {
391
- # name: "RESOURCE_TYPE", # required, accepts RESOURCE_TYPE, SERVICE_NAME
392
- # value: "ListEventTypesFilterValue", # required
393
- # }
394
- #
395
344
  # @!attribute [rw] name
396
345
  # The system-generated name of the filter type you want to filter by.
397
346
  # @return [String]
@@ -410,20 +359,6 @@ module Aws::CodeStarNotifications
410
359
  include Aws::Structure
411
360
  end
412
361
 
413
- # @note When making an API call, you may pass ListEventTypesRequest
414
- # data as a hash:
415
- #
416
- # {
417
- # filters: [
418
- # {
419
- # name: "RESOURCE_TYPE", # required, accepts RESOURCE_TYPE, SERVICE_NAME
420
- # value: "ListEventTypesFilterValue", # required
421
- # },
422
- # ],
423
- # next_token: "NextToken",
424
- # max_results: 1,
425
- # }
426
- #
427
362
  # @!attribute [rw] filters
428
363
  # The filters to use to return information by service or resource
429
364
  # type.
@@ -473,14 +408,6 @@ module Aws::CodeStarNotifications
473
408
  # notification rules. You can filter by event type, owner, resource, or
474
409
  # target.
475
410
  #
476
- # @note When making an API call, you may pass ListNotificationRulesFilter
477
- # data as a hash:
478
- #
479
- # {
480
- # name: "EVENT_TYPE_ID", # required, accepts EVENT_TYPE_ID, CREATED_BY, RESOURCE, TARGET_ADDRESS
481
- # value: "ListNotificationRulesFilterValue", # required
482
- # }
483
- #
484
411
  # @!attribute [rw] name
485
412
  # The name of the attribute you want to use to filter the returned
486
413
  # notification rules.
@@ -502,20 +429,6 @@ module Aws::CodeStarNotifications
502
429
  include Aws::Structure
503
430
  end
504
431
 
505
- # @note When making an API call, you may pass ListNotificationRulesRequest
506
- # data as a hash:
507
- #
508
- # {
509
- # filters: [
510
- # {
511
- # name: "EVENT_TYPE_ID", # required, accepts EVENT_TYPE_ID, CREATED_BY, RESOURCE, TARGET_ADDRESS
512
- # value: "ListNotificationRulesFilterValue", # required
513
- # },
514
- # ],
515
- # next_token: "NextToken",
516
- # max_results: 1,
517
- # }
518
- #
519
432
  # @!attribute [rw] filters
520
433
  # The filters to use to return information by service or resource
521
434
  # type. For valid values, see ListNotificationRulesFilter.
@@ -566,13 +479,6 @@ module Aws::CodeStarNotifications
566
479
  include Aws::Structure
567
480
  end
568
481
 
569
- # @note When making an API call, you may pass ListTagsForResourceRequest
570
- # data as a hash:
571
- #
572
- # {
573
- # arn: "NotificationRuleArn", # required
574
- # }
575
- #
576
482
  # @!attribute [rw] arn
577
483
  # The Amazon Resource Name (ARN) for the notification rule.
578
484
  # @return [String]
@@ -604,14 +510,6 @@ module Aws::CodeStarNotifications
604
510
  # and a Value of `SNS`, and a Name of `TARGET_STATUS` and a Value of
605
511
  # `ACTIVE`.
606
512
  #
607
- # @note When making an API call, you may pass ListTargetsFilter
608
- # data as a hash:
609
- #
610
- # {
611
- # name: "TARGET_TYPE", # required, accepts TARGET_TYPE, TARGET_ADDRESS, TARGET_STATUS
612
- # value: "ListTargetsFilterValue", # required
613
- # }
614
- #
615
513
  # @!attribute [rw] name
616
514
  # The name of the attribute you want to use to filter the returned
617
515
  # targets.
@@ -633,20 +531,6 @@ module Aws::CodeStarNotifications
633
531
  include Aws::Structure
634
532
  end
635
533
 
636
- # @note When making an API call, you may pass ListTargetsRequest
637
- # data as a hash:
638
- #
639
- # {
640
- # filters: [
641
- # {
642
- # name: "TARGET_TYPE", # required, accepts TARGET_TYPE, TARGET_ADDRESS, TARGET_STATUS
643
- # value: "ListTargetsFilterValue", # required
644
- # },
645
- # ],
646
- # next_token: "NextToken",
647
- # max_results: 1,
648
- # }
649
- #
650
534
  # @!attribute [rw] filters
651
535
  # The filters to use to return information by service or resource
652
536
  # type. Valid filters include target type, target address, and target
@@ -744,18 +628,6 @@ module Aws::CodeStarNotifications
744
628
  include Aws::Structure
745
629
  end
746
630
 
747
- # @note When making an API call, you may pass SubscribeRequest
748
- # data as a hash:
749
- #
750
- # {
751
- # arn: "NotificationRuleArn", # required
752
- # target: { # required
753
- # target_type: "TargetType",
754
- # target_address: "TargetAddress",
755
- # },
756
- # client_request_token: "ClientRequestToken",
757
- # }
758
- #
759
631
  # @!attribute [rw] arn
760
632
  # The Amazon Resource Name (ARN) of the notification rule for which
761
633
  # you want to create the association.
@@ -794,16 +666,6 @@ module Aws::CodeStarNotifications
794
666
  include Aws::Structure
795
667
  end
796
668
 
797
- # @note When making an API call, you may pass TagResourceRequest
798
- # data as a hash:
799
- #
800
- # {
801
- # arn: "NotificationRuleArn", # required
802
- # tags: { # required
803
- # "TagKey" => "TagValue",
804
- # },
805
- # }
806
- #
807
669
  # @!attribute [rw] arn
808
670
  # The Amazon Resource Name (ARN) of the notification rule to tag.
809
671
  # @return [String]
@@ -837,14 +699,6 @@ module Aws::CodeStarNotifications
837
699
  # Information about the Chatbot topics or Chatbot clients associated
838
700
  # with a notification rule.
839
701
  #
840
- # @note When making an API call, you may pass Target
841
- # data as a hash:
842
- #
843
- # {
844
- # target_type: "TargetType",
845
- # target_address: "TargetAddress",
846
- # }
847
- #
848
702
  # @!attribute [rw] target_type
849
703
  # The target type. Can be an Chatbot topic or Chatbot client.
850
704
  #
@@ -896,14 +750,6 @@ module Aws::CodeStarNotifications
896
750
  include Aws::Structure
897
751
  end
898
752
 
899
- # @note When making an API call, you may pass UnsubscribeRequest
900
- # data as a hash:
901
- #
902
- # {
903
- # arn: "NotificationRuleArn", # required
904
- # target_address: "TargetAddress", # required
905
- # }
906
- #
907
753
  # @!attribute [rw] arn
908
754
  # The Amazon Resource Name (ARN) of the notification rule.
909
755
  # @return [String]
@@ -935,14 +781,6 @@ module Aws::CodeStarNotifications
935
781
  include Aws::Structure
936
782
  end
937
783
 
938
- # @note When making an API call, you may pass UntagResourceRequest
939
- # data as a hash:
940
- #
941
- # {
942
- # arn: "NotificationRuleArn", # required
943
- # tag_keys: ["TagKey"], # required
944
- # }
945
- #
946
784
  # @!attribute [rw] arn
947
785
  # The Amazon Resource Name (ARN) of the notification rule from which
948
786
  # to remove the tags.
@@ -965,23 +803,6 @@ module Aws::CodeStarNotifications
965
803
  #
966
804
  class UntagResourceResult < Aws::EmptyStructure; end
967
805
 
968
- # @note When making an API call, you may pass UpdateNotificationRuleRequest
969
- # data as a hash:
970
- #
971
- # {
972
- # arn: "NotificationRuleArn", # required
973
- # name: "NotificationRuleName",
974
- # status: "ENABLED", # accepts ENABLED, DISABLED
975
- # event_type_ids: ["EventTypeId"],
976
- # targets: [
977
- # {
978
- # target_type: "TargetType",
979
- # target_address: "TargetAddress",
980
- # },
981
- # ],
982
- # detail_type: "BASIC", # accepts BASIC, FULL
983
- # }
984
- #
985
806
  # @!attribute [rw] arn
986
807
  # The Amazon Resource Name (ARN) of the notification rule.
987
808
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codestarnotifications/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeStarNotifications
54
54
 
55
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.22.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codestarnotifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.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