aws-sdk-codestarnotifications 1.31.0 → 1.33.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: 3c153404d23ec912438b9949218197726c8e6fef682d1df9785be81727f5c12f
4
- data.tar.gz: 635ff546452967ad21b4e2f6f2e4e8a9cd3b75de4099fe78f54b7bc71879b37a
3
+ metadata.gz: f4fbf6c32354a264407d8723ae9d50a88cc756053163b57029c977fef765ff55
4
+ data.tar.gz: 4f63b7b3a8de45f8abdb49d175c97d70039be5194bb5a3f9724b8641d5193115
5
5
  SHA512:
6
- metadata.gz: 56457dbde41eca5ee311897a0fbbafc982b6024f55207989b17fd1bb1a73cbd0bebd0bff49a2590c6e63c63cad8c48a456da5997b31f4049b6d17b4467a6d327
7
- data.tar.gz: 9a0e5988958a086b2a3020a794248c1cadc56c2e783a673866d7abc900df92bbb81c40ba8ef6b131a2aa4b7ad8aa900e6024ec7aa0453dfe57647a7ed2e20464
6
+ metadata.gz: 7000ae2fc39f6186097817b07200b130b782f4ec803566f8897daa47cbb7951b9ad109f92b1ca533018cf44b31d3fa85d2897b35c00466090922d381cb12ad26
7
+ data.tar.gz: '038a192a9d28bf5cf2748ae7909d17138a21314fc5e64c84890999020db0ffadc5c3e26fcaf55fb8af3ed9df8ab7e2b6c4291dc95a943285ae3307a32e760d21'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.32.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.31.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::CodeStarNotifications
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::CodeStarNotifications
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::CodeStarNotifications
337
346
  # @option options [Aws::CodeStarNotifications::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeStarNotifications::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -1015,7 +1039,7 @@ module Aws::CodeStarNotifications
1015
1039
  params: params,
1016
1040
  config: config)
1017
1041
  context[:gem_name] = 'aws-sdk-codestarnotifications'
1018
- context[:gem_version] = '1.31.0'
1042
+ context[:gem_version] = '1.33.0'
1019
1043
  Seahorse::Client::Request.new(handlers, context)
1020
1044
  end
1021
1045
 
@@ -14,6 +14,7 @@ module Aws::CodeStarNotifications
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CodeStarNotifications::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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.31.0'
55
+ GEM_VERSION = '1.33.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,269 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeStarNotifications
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateNotificationRuleResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNotificationRuleResult]
77
+ def arn: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#create_notification_rule-instance_method
80
+ def create_notification_rule: (
81
+ name: ::String,
82
+ event_type_ids: Array[::String],
83
+ resource: ::String,
84
+ targets: Array[
85
+ {
86
+ target_type: ::String?,
87
+ target_address: ::String?
88
+ },
89
+ ],
90
+ detail_type: ("BASIC" | "FULL"),
91
+ ?client_request_token: ::String,
92
+ ?tags: Hash[::String, ::String],
93
+ ?status: ("ENABLED" | "DISABLED")
94
+ ) -> _CreateNotificationRuleResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNotificationRuleResponseSuccess
96
+
97
+ interface _DeleteNotificationRuleResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNotificationRuleResult]
99
+ def arn: () -> ::String
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#delete_notification_rule-instance_method
102
+ def delete_notification_rule: (
103
+ arn: ::String
104
+ ) -> _DeleteNotificationRuleResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNotificationRuleResponseSuccess
106
+
107
+ interface _DeleteTargetResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTargetResult]
109
+ end
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#delete_target-instance_method
111
+ def delete_target: (
112
+ target_address: ::String,
113
+ ?force_unsubscribe_all: bool
114
+ ) -> _DeleteTargetResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTargetResponseSuccess
116
+
117
+ interface _DescribeNotificationRuleResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNotificationRuleResult]
119
+ def arn: () -> ::String
120
+ def name: () -> ::String
121
+ def event_types: () -> ::Array[Types::EventTypeSummary]
122
+ def resource: () -> ::String
123
+ def targets: () -> ::Array[Types::TargetSummary]
124
+ def detail_type: () -> ("BASIC" | "FULL")
125
+ def created_by: () -> ::String
126
+ def status: () -> ("ENABLED" | "DISABLED")
127
+ def created_timestamp: () -> ::Time
128
+ def last_modified_timestamp: () -> ::Time
129
+ def tags: () -> ::Hash[::String, ::String]
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#describe_notification_rule-instance_method
132
+ def describe_notification_rule: (
133
+ arn: ::String
134
+ ) -> _DescribeNotificationRuleResponseSuccess
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNotificationRuleResponseSuccess
136
+
137
+ interface _ListEventTypesResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventTypesResult]
139
+ def event_types: () -> ::Array[Types::EventTypeSummary]
140
+ def next_token: () -> ::String
141
+ end
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#list_event_types-instance_method
143
+ def list_event_types: (
144
+ ?filters: Array[
145
+ {
146
+ name: ("RESOURCE_TYPE" | "SERVICE_NAME"),
147
+ value: ::String
148
+ },
149
+ ],
150
+ ?next_token: ::String,
151
+ ?max_results: ::Integer
152
+ ) -> _ListEventTypesResponseSuccess
153
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventTypesResponseSuccess
154
+
155
+ interface _ListNotificationRulesResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNotificationRulesResult]
157
+ def next_token: () -> ::String
158
+ def notification_rules: () -> ::Array[Types::NotificationRuleSummary]
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#list_notification_rules-instance_method
161
+ def list_notification_rules: (
162
+ ?filters: Array[
163
+ {
164
+ name: ("EVENT_TYPE_ID" | "CREATED_BY" | "RESOURCE" | "TARGET_ADDRESS"),
165
+ value: ::String
166
+ },
167
+ ],
168
+ ?next_token: ::String,
169
+ ?max_results: ::Integer
170
+ ) -> _ListNotificationRulesResponseSuccess
171
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNotificationRulesResponseSuccess
172
+
173
+ interface _ListTagsForResourceResponseSuccess
174
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResult]
175
+ def tags: () -> ::Hash[::String, ::String]
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#list_tags_for_resource-instance_method
178
+ def list_tags_for_resource: (
179
+ arn: ::String
180
+ ) -> _ListTagsForResourceResponseSuccess
181
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
182
+
183
+ interface _ListTargetsResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTargetsResult]
185
+ def targets: () -> ::Array[Types::TargetSummary]
186
+ def next_token: () -> ::String
187
+ end
188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#list_targets-instance_method
189
+ def list_targets: (
190
+ ?filters: Array[
191
+ {
192
+ name: ("TARGET_TYPE" | "TARGET_ADDRESS" | "TARGET_STATUS"),
193
+ value: ::String
194
+ },
195
+ ],
196
+ ?next_token: ::String,
197
+ ?max_results: ::Integer
198
+ ) -> _ListTargetsResponseSuccess
199
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTargetsResponseSuccess
200
+
201
+ interface _SubscribeResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubscribeResult]
203
+ def arn: () -> ::String
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#subscribe-instance_method
206
+ def subscribe: (
207
+ arn: ::String,
208
+ target: {
209
+ target_type: ::String?,
210
+ target_address: ::String?
211
+ },
212
+ ?client_request_token: ::String
213
+ ) -> _SubscribeResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubscribeResponseSuccess
215
+
216
+ interface _TagResourceResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResult]
218
+ def tags: () -> ::Hash[::String, ::String]
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#tag_resource-instance_method
221
+ def tag_resource: (
222
+ arn: ::String,
223
+ tags: Hash[::String, ::String]
224
+ ) -> _TagResourceResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
226
+
227
+ interface _UnsubscribeResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::UnsubscribeResult]
229
+ def arn: () -> ::String
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#unsubscribe-instance_method
232
+ def unsubscribe: (
233
+ arn: ::String,
234
+ target_address: ::String
235
+ ) -> _UnsubscribeResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnsubscribeResponseSuccess
237
+
238
+ interface _UntagResourceResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResult]
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#untag_resource-instance_method
242
+ def untag_resource: (
243
+ arn: ::String,
244
+ tag_keys: Array[::String]
245
+ ) -> _UntagResourceResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
247
+
248
+ interface _UpdateNotificationRuleResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNotificationRuleResult]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Client.html#update_notification_rule-instance_method
252
+ def update_notification_rule: (
253
+ arn: ::String,
254
+ ?name: ::String,
255
+ ?status: ("ENABLED" | "DISABLED"),
256
+ ?event_type_ids: Array[::String],
257
+ ?targets: Array[
258
+ {
259
+ target_type: ::String?,
260
+ target_address: ::String?
261
+ },
262
+ ],
263
+ ?detail_type: ("BASIC" | "FULL")
264
+ ) -> _UpdateNotificationRuleResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNotificationRuleResponseSuccess
266
+ end
267
+ end
268
+ end
269
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeStarNotifications
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConcurrentModificationException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConfigurationException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidNextTokenException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class LimitExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ValidationException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeStarNotifications
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeStarNotifications/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,257 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CodeStarNotifications
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class ConcurrentModificationException
17
+ attr_accessor message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class ConfigurationException
22
+ attr_accessor message: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class CreateNotificationRuleRequest
27
+ attr_accessor name: ::String
28
+ attr_accessor event_type_ids: ::Array[::String]
29
+ attr_accessor resource: ::String
30
+ attr_accessor targets: ::Array[Types::Target]
31
+ attr_accessor detail_type: ("BASIC" | "FULL")
32
+ attr_accessor client_request_token: ::String
33
+ attr_accessor tags: ::Hash[::String, ::String]
34
+ attr_accessor status: ("ENABLED" | "DISABLED")
35
+ SENSITIVE: [:name]
36
+ end
37
+
38
+ class CreateNotificationRuleResult
39
+ attr_accessor arn: ::String
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class DeleteNotificationRuleRequest
44
+ attr_accessor arn: ::String
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class DeleteNotificationRuleResult
49
+ attr_accessor arn: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class DeleteTargetRequest
54
+ attr_accessor target_address: ::String
55
+ attr_accessor force_unsubscribe_all: bool
56
+ SENSITIVE: [:target_address]
57
+ end
58
+
59
+ class DeleteTargetResult < Aws::EmptyStructure
60
+ end
61
+
62
+ class DescribeNotificationRuleRequest
63
+ attr_accessor arn: ::String
64
+ SENSITIVE: []
65
+ end
66
+
67
+ class DescribeNotificationRuleResult
68
+ attr_accessor arn: ::String
69
+ attr_accessor name: ::String
70
+ attr_accessor event_types: ::Array[Types::EventTypeSummary]
71
+ attr_accessor resource: ::String
72
+ attr_accessor targets: ::Array[Types::TargetSummary]
73
+ attr_accessor detail_type: ("BASIC" | "FULL")
74
+ attr_accessor created_by: ::String
75
+ attr_accessor status: ("ENABLED" | "DISABLED")
76
+ attr_accessor created_timestamp: ::Time
77
+ attr_accessor last_modified_timestamp: ::Time
78
+ attr_accessor tags: ::Hash[::String, ::String]
79
+ SENSITIVE: [:name]
80
+ end
81
+
82
+ class EventTypeSummary
83
+ attr_accessor event_type_id: ::String
84
+ attr_accessor service_name: ::String
85
+ attr_accessor event_type_name: ::String
86
+ attr_accessor resource_type: ::String
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class InvalidNextTokenException
91
+ attr_accessor message: ::String
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class LimitExceededException
96
+ attr_accessor message: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class ListEventTypesFilter
101
+ attr_accessor name: ("RESOURCE_TYPE" | "SERVICE_NAME")
102
+ attr_accessor value: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class ListEventTypesRequest
107
+ attr_accessor filters: ::Array[Types::ListEventTypesFilter]
108
+ attr_accessor next_token: ::String
109
+ attr_accessor max_results: ::Integer
110
+ SENSITIVE: []
111
+ end
112
+
113
+ class ListEventTypesResult
114
+ attr_accessor event_types: ::Array[Types::EventTypeSummary]
115
+ attr_accessor next_token: ::String
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class ListNotificationRulesFilter
120
+ attr_accessor name: ("EVENT_TYPE_ID" | "CREATED_BY" | "RESOURCE" | "TARGET_ADDRESS")
121
+ attr_accessor value: ::String
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class ListNotificationRulesRequest
126
+ attr_accessor filters: ::Array[Types::ListNotificationRulesFilter]
127
+ attr_accessor next_token: ::String
128
+ attr_accessor max_results: ::Integer
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class ListNotificationRulesResult
133
+ attr_accessor next_token: ::String
134
+ attr_accessor notification_rules: ::Array[Types::NotificationRuleSummary]
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class ListTagsForResourceRequest
139
+ attr_accessor arn: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class ListTagsForResourceResult
144
+ attr_accessor tags: ::Hash[::String, ::String]
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class ListTargetsFilter
149
+ attr_accessor name: ("TARGET_TYPE" | "TARGET_ADDRESS" | "TARGET_STATUS")
150
+ attr_accessor value: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class ListTargetsRequest
155
+ attr_accessor filters: ::Array[Types::ListTargetsFilter]
156
+ attr_accessor next_token: ::String
157
+ attr_accessor max_results: ::Integer
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class ListTargetsResult
162
+ attr_accessor targets: ::Array[Types::TargetSummary]
163
+ attr_accessor next_token: ::String
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class NotificationRuleSummary
168
+ attr_accessor id: ::String
169
+ attr_accessor arn: ::String
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class ResourceAlreadyExistsException
174
+ attr_accessor message: ::String
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class ResourceNotFoundException
179
+ attr_accessor message: ::String
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class SubscribeRequest
184
+ attr_accessor arn: ::String
185
+ attr_accessor target: Types::Target
186
+ attr_accessor client_request_token: ::String
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class SubscribeResult
191
+ attr_accessor arn: ::String
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class TagResourceRequest
196
+ attr_accessor arn: ::String
197
+ attr_accessor tags: ::Hash[::String, ::String]
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class TagResourceResult
202
+ attr_accessor tags: ::Hash[::String, ::String]
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class Target
207
+ attr_accessor target_type: ::String
208
+ attr_accessor target_address: ::String
209
+ SENSITIVE: [:target_address]
210
+ end
211
+
212
+ class TargetSummary
213
+ attr_accessor target_address: ::String
214
+ attr_accessor target_type: ::String
215
+ attr_accessor target_status: ("PENDING" | "ACTIVE" | "UNREACHABLE" | "INACTIVE" | "DEACTIVATED")
216
+ SENSITIVE: [:target_address]
217
+ end
218
+
219
+ class UnsubscribeRequest
220
+ attr_accessor arn: ::String
221
+ attr_accessor target_address: ::String
222
+ SENSITIVE: [:target_address]
223
+ end
224
+
225
+ class UnsubscribeResult
226
+ attr_accessor arn: ::String
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class UntagResourceRequest
231
+ attr_accessor arn: ::String
232
+ attr_accessor tag_keys: ::Array[::String]
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class UntagResourceResult < Aws::EmptyStructure
237
+ end
238
+
239
+ class UpdateNotificationRuleRequest
240
+ attr_accessor arn: ::String
241
+ attr_accessor name: ::String
242
+ attr_accessor status: ("ENABLED" | "DISABLED")
243
+ attr_accessor event_type_ids: ::Array[::String]
244
+ attr_accessor targets: ::Array[Types::Target]
245
+ attr_accessor detail_type: ("BASIC" | "FULL")
246
+ SENSITIVE: [:name]
247
+ end
248
+
249
+ class UpdateNotificationRuleResult < Aws::EmptyStructure
250
+ end
251
+
252
+ class ValidationException
253
+ attr_accessor message: ::String
254
+ SENSITIVE: []
255
+ end
256
+ end
257
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeStarNotifications
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.31.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.188.0
22
+ version: 3.193.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-codestarnotifications/plugins/endpoints.rb
67
67
  - lib/aws-sdk-codestarnotifications/resource.rb
68
68
  - lib/aws-sdk-codestarnotifications/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestarnotifications
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestarnotifications/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS CodeStar Notifications
94
99
  test_files: []