aws-sdk-codestarnotifications 1.18.0 → 1.20.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codestarnotifications/client.rb +47 -31
- data/lib/aws-sdk-codestarnotifications/client_api.rb +7 -3
- data/lib/aws-sdk-codestarnotifications/types.rb +75 -45
- data/lib/aws-sdk-codestarnotifications.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: e95a989bd1d339d53551ec14097a06554c4f198e4a296f9c5cdfdf7a6225b3bf
|
4
|
+
data.tar.gz: 277a3bab4cc3d281c291d5cc8a17c400891f4b3fc1c6a8c8086d0768551d093b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfc72c2a42a4b10b768285769b96aa49d089d0171b7972fad9d2599c3dd875f831773ec42fa26eb29515ee80f12a089de5999fcf36c0be6e869ef4137cba32e
|
7
|
+
data.tar.gz: acd5093420b4fdaf42f1324264962da99ea9b85b7f907d9b3b96b0fed72effc1e814a51428b996cfb5c6e86eb497aad30bd7ea92251d1aa30397511055b9b5fb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2022-09-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds tag based access control for the UntagResource API.
|
8
|
+
|
9
|
+
1.19.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.18.0 (2022-02-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::CodeStarNotifications
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -350,12 +352,13 @@ module Aws::CodeStarNotifications
|
|
350
352
|
# @!group API Operations
|
351
353
|
|
352
354
|
# Creates a notification rule for a resource. The rule specifies the
|
353
|
-
# events you want notifications about and the targets (such as
|
354
|
-
# topics) where you want to
|
355
|
+
# events you want notifications about and the targets (such as Chatbot
|
356
|
+
# topics or Chatbot clients configured for Slack) where you want to
|
357
|
+
# receive them.
|
355
358
|
#
|
356
359
|
# @option params [required, String] :name
|
357
|
-
# The name for the notification rule.
|
358
|
-
# unique in your
|
360
|
+
# The name for the notification rule. Notification rule names must be
|
361
|
+
# unique in your Amazon Web Services account.
|
359
362
|
#
|
360
363
|
# @option params [required, Array<String>] :event_type_ids
|
361
364
|
# A list of event types associated with this notification rule. For a
|
@@ -363,18 +366,19 @@ module Aws::CodeStarNotifications
|
|
363
366
|
#
|
364
367
|
# @option params [required, String] :resource
|
365
368
|
# The Amazon Resource Name (ARN) of the resource to associate with the
|
366
|
-
# notification rule. Supported resources include pipelines in
|
367
|
-
# CodePipeline, repositories in
|
368
|
-
#
|
369
|
+
# notification rule. Supported resources include pipelines in
|
370
|
+
# CodePipeline, repositories in CodeCommit, and build projects in
|
371
|
+
# CodeBuild.
|
369
372
|
#
|
370
373
|
# @option params [required, Array<Types::Target>] :targets
|
371
|
-
# A list of Amazon Resource Names (ARNs) of
|
372
|
-
# the notification
|
374
|
+
# A list of Amazon Resource Names (ARNs) of Amazon Simple Notification
|
375
|
+
# Service topics and Chatbot clients to associate with the notification
|
376
|
+
# rule.
|
373
377
|
#
|
374
378
|
# @option params [required, String] :detail_type
|
375
379
|
# The level of detail to include in the notifications for this resource.
|
376
|
-
# BASIC will include only the contents of the event as it would appear
|
377
|
-
# in
|
380
|
+
# `BASIC` will include only the contents of the event as it would appear
|
381
|
+
# in Amazon CloudWatch. `FULL` will include any supplemental information
|
378
382
|
# provided by AWS CodeStar Notifications and/or the service for the
|
379
383
|
# resource for which the notification is created.
|
380
384
|
#
|
@@ -385,8 +389,9 @@ module Aws::CodeStarNotifications
|
|
385
389
|
# token is included, the request returns information about the initial
|
386
390
|
# request that used that token.
|
387
391
|
#
|
388
|
-
# <note markdown="1"> The
|
389
|
-
#
|
392
|
+
# <note markdown="1"> The Amazon Web Services SDKs prepopulate client request tokens. If you
|
393
|
+
# are using an Amazon Web Services SDK, an idempotency token is created
|
394
|
+
# for you.
|
390
395
|
#
|
391
396
|
# </note>
|
392
397
|
#
|
@@ -395,11 +400,11 @@ module Aws::CodeStarNotifications
|
|
395
400
|
#
|
396
401
|
# @option params [Hash<String,String>] :tags
|
397
402
|
# A list of tags to apply to this notification rule. Key names cannot
|
398
|
-
# start with "aws".
|
403
|
+
# start with "`aws`".
|
399
404
|
#
|
400
405
|
# @option params [String] :status
|
401
|
-
# The status of the notification rule. The default value is ENABLED
|
402
|
-
# the status is set to DISABLED
|
406
|
+
# The status of the notification rule. The default value is `ENABLED`.
|
407
|
+
# If the status is set to `DISABLED`, notifications aren't sent for the
|
403
408
|
# notification rule.
|
404
409
|
#
|
405
410
|
# @return [Types::CreateNotificationRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -471,13 +476,14 @@ module Aws::CodeStarNotifications
|
|
471
476
|
# Deletes a specified target for notifications.
|
472
477
|
#
|
473
478
|
# @option params [required, String] :target_address
|
474
|
-
# The Amazon Resource Name (ARN) of the
|
479
|
+
# The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client
|
480
|
+
# to delete.
|
475
481
|
#
|
476
482
|
# @option params [Boolean] :force_unsubscribe_all
|
477
483
|
# A Boolean value that can be used to delete all associations with this
|
478
|
-
#
|
484
|
+
# Chatbot topic. The default value is FALSE. If set to TRUE, all
|
479
485
|
# associations between that target and every notification rule in your
|
480
|
-
#
|
486
|
+
# Amazon Web Services account are deleted.
|
481
487
|
#
|
482
488
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
483
489
|
#
|
@@ -606,7 +612,8 @@ module Aws::CodeStarNotifications
|
|
606
612
|
req.send_request(options)
|
607
613
|
end
|
608
614
|
|
609
|
-
# Returns a list of the notification rules for an
|
615
|
+
# Returns a list of the notification rules for an Amazon Web Services
|
616
|
+
# account.
|
610
617
|
#
|
611
618
|
# @option params [Array<Types::ListNotificationRulesFilter>] :filters
|
612
619
|
# The filters to use to return information by service or resource type.
|
@@ -691,7 +698,8 @@ module Aws::CodeStarNotifications
|
|
691
698
|
req.send_request(options)
|
692
699
|
end
|
693
700
|
|
694
|
-
# Returns a list of the notification rule targets for an
|
701
|
+
# Returns a list of the notification rule targets for an Amazon Web
|
702
|
+
# Services account.
|
695
703
|
#
|
696
704
|
# @option params [Array<Types::ListTargetsFilter>] :filters
|
697
705
|
# The filters to use to return information by service or resource type.
|
@@ -748,16 +756,17 @@ module Aws::CodeStarNotifications
|
|
748
756
|
req.send_request(options)
|
749
757
|
end
|
750
758
|
|
751
|
-
# Creates an association between a notification rule and an
|
752
|
-
# that the associated target can receive
|
753
|
-
# described in the rule are triggered.
|
759
|
+
# Creates an association between a notification rule and an Chatbot
|
760
|
+
# topic or Chatbot client so that the associated target can receive
|
761
|
+
# notifications when the events described in the rule are triggered.
|
754
762
|
#
|
755
763
|
# @option params [required, String] :arn
|
756
764
|
# The Amazon Resource Name (ARN) of the notification rule for which you
|
757
765
|
# want to create the association.
|
758
766
|
#
|
759
767
|
# @option params [required, Types::Target] :target
|
760
|
-
# Information about the
|
768
|
+
# Information about the Chatbot topics or Chatbot clients associated
|
769
|
+
# with a notification rule.
|
761
770
|
#
|
762
771
|
# @option params [String] :client_request_token
|
763
772
|
# An enumeration token that, when provided in a request, returns the
|
@@ -798,7 +807,7 @@ module Aws::CodeStarNotifications
|
|
798
807
|
#
|
799
808
|
# @option params [required, Hash<String,String>] :tags
|
800
809
|
# The list of tags to associate with the resource. Tag key names cannot
|
801
|
-
# start with "aws".
|
810
|
+
# start with "`aws`".
|
802
811
|
#
|
803
812
|
# @return [Types::TagResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
804
813
|
#
|
@@ -827,7 +836,7 @@ module Aws::CodeStarNotifications
|
|
827
836
|
req.send_request(options)
|
828
837
|
end
|
829
838
|
|
830
|
-
# Removes an association between a notification rule and an
|
839
|
+
# Removes an association between a notification rule and an Chatbot
|
831
840
|
# topic so that subscribers to that topic stop receiving notifications
|
832
841
|
# when the events described in the rule are triggered.
|
833
842
|
#
|
@@ -835,7 +844,8 @@ module Aws::CodeStarNotifications
|
|
835
844
|
# The Amazon Resource Name (ARN) of the notification rule.
|
836
845
|
#
|
837
846
|
# @option params [required, String] :target_address
|
838
|
-
# The ARN of the
|
847
|
+
# The ARN of the Chatbot topic to unsubscribe from the notification
|
848
|
+
# rule.
|
839
849
|
#
|
840
850
|
# @return [Types::UnsubscribeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
841
851
|
#
|
@@ -909,7 +919,13 @@ module Aws::CodeStarNotifications
|
|
909
919
|
# (sending notifications) or disabled (not sending notifications).
|
910
920
|
#
|
911
921
|
# @option params [Array<String>] :event_type_ids
|
912
|
-
# A list of event types associated with this notification rule.
|
922
|
+
# A list of event types associated with this notification rule. For a
|
923
|
+
# complete list of event types and IDs, see [Notification concepts][1]
|
924
|
+
# in the *Developer Tools Console User Guide*.
|
925
|
+
#
|
926
|
+
#
|
927
|
+
#
|
928
|
+
# [1]: https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api
|
913
929
|
#
|
914
930
|
# @option params [Array<Types::Target>] :targets
|
915
931
|
# The address and type of the targets to receive notifications from this
|
@@ -918,7 +934,7 @@ module Aws::CodeStarNotifications
|
|
918
934
|
# @option params [String] :detail_type
|
919
935
|
# The level of detail to include in the notifications for this resource.
|
920
936
|
# BASIC will include only the contents of the event as it would appear
|
921
|
-
# in
|
937
|
+
# in Amazon CloudWatch. FULL will include any supplemental information
|
922
938
|
# provided by AWS CodeStar Notifications and/or the service for the
|
923
939
|
# resource for which the notification is created.
|
924
940
|
#
|
@@ -962,7 +978,7 @@ module Aws::CodeStarNotifications
|
|
962
978
|
params: params,
|
963
979
|
config: config)
|
964
980
|
context[:gem_name] = 'aws-sdk-codestarnotifications'
|
965
|
-
context[:gem_version] = '1.
|
981
|
+
context[:gem_version] = '1.20.0'
|
966
982
|
Seahorse::Client::Request.new(handlers, context)
|
967
983
|
end
|
968
984
|
|
@@ -263,8 +263,8 @@ module Aws::CodeStarNotifications
|
|
263
263
|
UnsubscribeResult.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationRuleArn, required: true, location_name: "Arn"))
|
264
264
|
UnsubscribeResult.struct_class = Types::UnsubscribeResult
|
265
265
|
|
266
|
-
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationRuleArn, required: true, location_name: "
|
267
|
-
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "
|
266
|
+
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: NotificationRuleArn, required: true, location: "uri", location_name: "resourceArn"))
|
267
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
268
268
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
269
269
|
|
270
270
|
UntagResourceResult.struct_class = Types::UntagResourceResult
|
@@ -410,6 +410,7 @@ module Aws::CodeStarNotifications
|
|
410
410
|
o.output = Shapes::ShapeRef.new(shape: SubscribeResult)
|
411
411
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
412
412
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationException)
|
413
414
|
end)
|
414
415
|
|
415
416
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -419,6 +420,7 @@ module Aws::CodeStarNotifications
|
|
419
420
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
420
421
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
|
421
422
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
422
424
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
423
425
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
424
426
|
end)
|
@@ -435,10 +437,11 @@ module Aws::CodeStarNotifications
|
|
435
437
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
436
438
|
o.name = "UntagResource"
|
437
439
|
o.http_method = "POST"
|
438
|
-
o.http_request_uri = "/untagResource"
|
440
|
+
o.http_request_uri = "/untagResource/{resourceArn}"
|
439
441
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
440
442
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
|
441
443
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
442
445
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
443
446
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
444
447
|
end)
|
@@ -451,6 +454,7 @@ module Aws::CodeStarNotifications
|
|
451
454
|
o.output = Shapes::ShapeRef.new(shape: UpdateNotificationRuleResult)
|
452
455
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
453
456
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ConfigurationException)
|
454
458
|
end)
|
455
459
|
end
|
456
460
|
|
@@ -74,8 +74,8 @@ module Aws::CodeStarNotifications
|
|
74
74
|
# }
|
75
75
|
#
|
76
76
|
# @!attribute [rw] name
|
77
|
-
# The name for the notification rule.
|
78
|
-
# unique in your
|
77
|
+
# The name for the notification rule. Notification rule names must be
|
78
|
+
# unique in your Amazon Web Services account.
|
79
79
|
# @return [String]
|
80
80
|
#
|
81
81
|
# @!attribute [rw] event_type_ids
|
@@ -85,22 +85,24 @@ module Aws::CodeStarNotifications
|
|
85
85
|
#
|
86
86
|
# @!attribute [rw] resource
|
87
87
|
# The Amazon Resource Name (ARN) of the resource to associate with the
|
88
|
-
# notification rule. Supported resources include pipelines in
|
89
|
-
# CodePipeline, repositories in
|
90
|
-
#
|
88
|
+
# notification rule. Supported resources include pipelines in
|
89
|
+
# CodePipeline, repositories in CodeCommit, and build projects in
|
90
|
+
# CodeBuild.
|
91
91
|
# @return [String]
|
92
92
|
#
|
93
93
|
# @!attribute [rw] targets
|
94
|
-
# A list of Amazon Resource Names (ARNs) of
|
95
|
-
# with the
|
94
|
+
# A list of Amazon Resource Names (ARNs) of Amazon Simple Notification
|
95
|
+
# Service topics and Chatbot clients to associate with the
|
96
|
+
# notification rule.
|
96
97
|
# @return [Array<Types::Target>]
|
97
98
|
#
|
98
99
|
# @!attribute [rw] detail_type
|
99
100
|
# The level of detail to include in the notifications for this
|
100
|
-
# resource. BASIC will include only the contents of the event as it
|
101
|
-
# would appear in
|
102
|
-
# information provided by AWS CodeStar Notifications
|
103
|
-
# service for the resource for which the notification is
|
101
|
+
# resource. `BASIC` will include only the contents of the event as it
|
102
|
+
# would appear in Amazon CloudWatch. `FULL` will include any
|
103
|
+
# supplemental information provided by AWS CodeStar Notifications
|
104
|
+
# and/or the service for the resource for which the notification is
|
105
|
+
# created.
|
104
106
|
# @return [String]
|
105
107
|
#
|
106
108
|
# @!attribute [rw] client_request_token
|
@@ -110,8 +112,9 @@ module Aws::CodeStarNotifications
|
|
110
112
|
# token is included, the request returns information about the initial
|
111
113
|
# request that used that token.
|
112
114
|
#
|
113
|
-
# <note markdown="1"> The
|
114
|
-
#
|
115
|
+
# <note markdown="1"> The Amazon Web Services SDKs prepopulate client request tokens. If
|
116
|
+
# you are using an Amazon Web Services SDK, an idempotency token is
|
117
|
+
# created for you.
|
115
118
|
#
|
116
119
|
# </note>
|
117
120
|
#
|
@@ -121,13 +124,13 @@ module Aws::CodeStarNotifications
|
|
121
124
|
#
|
122
125
|
# @!attribute [rw] tags
|
123
126
|
# A list of tags to apply to this notification rule. Key names cannot
|
124
|
-
# start with "aws".
|
127
|
+
# start with "`aws`".
|
125
128
|
# @return [Hash<String,String>]
|
126
129
|
#
|
127
130
|
# @!attribute [rw] status
|
128
|
-
# The status of the notification rule. The default value is ENABLED
|
129
|
-
# If the status is set to DISABLED
|
130
|
-
# notification rule.
|
131
|
+
# The status of the notification rule. The default value is `ENABLED`.
|
132
|
+
# If the status is set to `DISABLED`, notifications aren't sent for
|
133
|
+
# the notification rule.
|
131
134
|
# @return [String]
|
132
135
|
#
|
133
136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/CreateNotificationRuleRequest AWS API Documentation
|
@@ -198,14 +201,15 @@ module Aws::CodeStarNotifications
|
|
198
201
|
# }
|
199
202
|
#
|
200
203
|
# @!attribute [rw] target_address
|
201
|
-
# The Amazon Resource Name (ARN) of the
|
204
|
+
# The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot
|
205
|
+
# client to delete.
|
202
206
|
# @return [String]
|
203
207
|
#
|
204
208
|
# @!attribute [rw] force_unsubscribe_all
|
205
209
|
# A Boolean value that can be used to delete all associations with
|
206
|
-
# this
|
210
|
+
# this Chatbot topic. The default value is FALSE. If set to TRUE, all
|
207
211
|
# associations between that target and every notification rule in your
|
208
|
-
#
|
212
|
+
# Amazon Web Services account are deleted.
|
209
213
|
# @return [Boolean]
|
210
214
|
#
|
211
215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteTargetRequest AWS API Documentation
|
@@ -258,13 +262,14 @@ module Aws::CodeStarNotifications
|
|
258
262
|
# @return [String]
|
259
263
|
#
|
260
264
|
# @!attribute [rw] targets
|
261
|
-
# A list of the
|
265
|
+
# A list of the Chatbot topics and Chatbot clients associated with the
|
266
|
+
# notification rule.
|
262
267
|
# @return [Array<Types::TargetSummary>]
|
263
268
|
#
|
264
269
|
# @!attribute [rw] detail_type
|
265
270
|
# The level of detail included in the notifications for this resource.
|
266
271
|
# BASIC will include only the contents of the event as it would appear
|
267
|
-
# in
|
272
|
+
# in Amazon CloudWatch. FULL will include any supplemental information
|
268
273
|
# provided by AWS CodeStar Notifications and/or the service for the
|
269
274
|
# resource for which the notification is created.
|
270
275
|
# @return [String]
|
@@ -315,7 +320,13 @@ module Aws::CodeStarNotifications
|
|
315
320
|
# rule.
|
316
321
|
#
|
317
322
|
# @!attribute [rw] event_type_id
|
318
|
-
# The system-generated ID of the event.
|
323
|
+
# The system-generated ID of the event. For a complete list of event
|
324
|
+
# types and IDs, see [Notification concepts][1] in the *Developer
|
325
|
+
# Tools Console User Guide*.
|
326
|
+
#
|
327
|
+
#
|
328
|
+
#
|
329
|
+
# [1]: https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api
|
319
330
|
# @return [String]
|
320
331
|
#
|
321
332
|
# @!attribute [rw] service_name
|
@@ -478,7 +489,7 @@ module Aws::CodeStarNotifications
|
|
478
489
|
# @!attribute [rw] value
|
479
490
|
# The value of the attribute you want to use to filter the returned
|
480
491
|
# notification rules. For example, if you specify filtering by
|
481
|
-
# *RESOURCE* in Name, you might specify the ARN of a pipeline in
|
492
|
+
# *RESOURCE* in Name, you might specify the ARN of a pipeline in
|
482
493
|
# CodePipeline for the value.
|
483
494
|
# @return [String]
|
484
495
|
#
|
@@ -542,8 +553,8 @@ module Aws::CodeStarNotifications
|
|
542
553
|
# @return [String]
|
543
554
|
#
|
544
555
|
# @!attribute [rw] notification_rules
|
545
|
-
# The list of notification rules for the
|
546
|
-
# Resource Name (ARN) and ID.
|
556
|
+
# The list of notification rules for the Amazon Web Services account,
|
557
|
+
# by Amazon Resource Name (ARN) and ID.
|
547
558
|
# @return [Array<Types::NotificationRuleSummary>]
|
548
559
|
#
|
549
560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListNotificationRulesResult AWS API Documentation
|
@@ -588,10 +599,10 @@ module Aws::CodeStarNotifications
|
|
588
599
|
|
589
600
|
# Information about a filter to apply to the list of returned targets.
|
590
601
|
# You can filter by target type, address, or status. For example, to
|
591
|
-
# filter results to notification rules that have active
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
602
|
+
# filter results to notification rules that have active Chatbot topics
|
603
|
+
# as targets, you could specify a ListTargetsFilter Name as `TargetType`
|
604
|
+
# and a Value of `SNS`, and a Name of `TARGET_STATUS` and a Value of
|
605
|
+
# `ACTIVE`.
|
595
606
|
#
|
596
607
|
# @note When making an API call, you may pass ListTargetsFilter
|
597
608
|
# data as a hash:
|
@@ -608,7 +619,7 @@ module Aws::CodeStarNotifications
|
|
608
619
|
#
|
609
620
|
# @!attribute [rw] value
|
610
621
|
# The value of the attribute you want to use to filter the returned
|
611
|
-
# targets. For example, if you specify
|
622
|
+
# targets. For example, if you specify `SNS` for the Target type, you
|
612
623
|
# could specify an Amazon Resource Name (ARN) for a topic as the
|
613
624
|
# value.
|
614
625
|
# @return [String]
|
@@ -706,7 +717,7 @@ module Aws::CodeStarNotifications
|
|
706
717
|
end
|
707
718
|
|
708
719
|
# A resource with the same name or ID already exists. Notification rule
|
709
|
-
# names must be unique in your
|
720
|
+
# names must be unique in your Amazon Web Services account.
|
710
721
|
#
|
711
722
|
# @!attribute [rw] message
|
712
723
|
# @return [String]
|
@@ -751,8 +762,8 @@ module Aws::CodeStarNotifications
|
|
751
762
|
# @return [String]
|
752
763
|
#
|
753
764
|
# @!attribute [rw] target
|
754
|
-
# Information about the
|
755
|
-
# rule.
|
765
|
+
# Information about the Chatbot topics or Chatbot clients associated
|
766
|
+
# with a notification rule.
|
756
767
|
# @return [Types::Target]
|
757
768
|
#
|
758
769
|
# @!attribute [rw] client_request_token
|
@@ -799,7 +810,7 @@ module Aws::CodeStarNotifications
|
|
799
810
|
#
|
800
811
|
# @!attribute [rw] tags
|
801
812
|
# The list of tags to associate with the resource. Tag key names
|
802
|
-
# cannot start with "aws".
|
813
|
+
# cannot start with "`aws`".
|
803
814
|
# @return [Hash<String,String>]
|
804
815
|
#
|
805
816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/TagResourceRequest AWS API Documentation
|
@@ -823,7 +834,8 @@ module Aws::CodeStarNotifications
|
|
823
834
|
include Aws::Structure
|
824
835
|
end
|
825
836
|
|
826
|
-
# Information about the
|
837
|
+
# Information about the Chatbot topics or Chatbot clients associated
|
838
|
+
# with a notification rule.
|
827
839
|
#
|
828
840
|
# @note When making an API call, you may pass Target
|
829
841
|
# data as a hash:
|
@@ -834,11 +846,16 @@ module Aws::CodeStarNotifications
|
|
834
846
|
# }
|
835
847
|
#
|
836
848
|
# @!attribute [rw] target_type
|
837
|
-
# The target type. Can be an
|
849
|
+
# The target type. Can be an Chatbot topic or Chatbot client.
|
850
|
+
#
|
851
|
+
# * Chatbot topics are specified as `SNS`.
|
852
|
+
#
|
853
|
+
# * Chatbot clients are specified as `AWSChatbotSlack`.
|
838
854
|
# @return [String]
|
839
855
|
#
|
840
856
|
# @!attribute [rw] target_address
|
841
|
-
# The Amazon Resource Name (ARN) of the
|
857
|
+
# The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot
|
858
|
+
# client.
|
842
859
|
# @return [String]
|
843
860
|
#
|
844
861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Target AWS API Documentation
|
@@ -853,11 +870,16 @@ module Aws::CodeStarNotifications
|
|
853
870
|
# Information about the targets specified for a notification rule.
|
854
871
|
#
|
855
872
|
# @!attribute [rw] target_address
|
856
|
-
# The Amazon Resource Name (ARN) of the
|
873
|
+
# The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot
|
874
|
+
# client.
|
857
875
|
# @return [String]
|
858
876
|
#
|
859
877
|
# @!attribute [rw] target_type
|
860
|
-
# The type of the target (for example, SNS).
|
878
|
+
# The type of the target (for example, `SNS`).
|
879
|
+
#
|
880
|
+
# * Chatbot topics are specified as `SNS`.
|
881
|
+
#
|
882
|
+
# * Chatbot clients are specified as `AWSChatbotSlack`.
|
861
883
|
# @return [String]
|
862
884
|
#
|
863
885
|
# @!attribute [rw] target_status
|
@@ -887,7 +909,8 @@ module Aws::CodeStarNotifications
|
|
887
909
|
# @return [String]
|
888
910
|
#
|
889
911
|
# @!attribute [rw] target_address
|
890
|
-
# The ARN of the
|
912
|
+
# The ARN of the Chatbot topic to unsubscribe from the notification
|
913
|
+
# rule.
|
891
914
|
# @return [String]
|
892
915
|
#
|
893
916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UnsubscribeRequest AWS API Documentation
|
@@ -973,7 +996,13 @@ module Aws::CodeStarNotifications
|
|
973
996
|
# @return [String]
|
974
997
|
#
|
975
998
|
# @!attribute [rw] event_type_ids
|
976
|
-
# A list of event types associated with this notification rule.
|
999
|
+
# A list of event types associated with this notification rule. For a
|
1000
|
+
# complete list of event types and IDs, see [Notification concepts][1]
|
1001
|
+
# in the *Developer Tools Console User Guide*.
|
1002
|
+
#
|
1003
|
+
#
|
1004
|
+
#
|
1005
|
+
# [1]: https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api
|
977
1006
|
# @return [Array<String>]
|
978
1007
|
#
|
979
1008
|
# @!attribute [rw] targets
|
@@ -984,9 +1013,10 @@ module Aws::CodeStarNotifications
|
|
984
1013
|
# @!attribute [rw] detail_type
|
985
1014
|
# The level of detail to include in the notifications for this
|
986
1015
|
# resource. BASIC will include only the contents of the event as it
|
987
|
-
# would appear in
|
988
|
-
# information provided by AWS CodeStar Notifications
|
989
|
-
# service for the resource for which the notification is
|
1016
|
+
# would appear in Amazon CloudWatch. FULL will include any
|
1017
|
+
# supplemental information provided by AWS CodeStar Notifications
|
1018
|
+
# and/or the service for the resource for which the notification is
|
1019
|
+
# created.
|
990
1020
|
# @return [String]
|
991
1021
|
#
|
992
1022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRuleRequest AWS API Documentation
|
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.
|
4
|
+
version: 1.20.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-
|
11
|
+
date: 2022-09-16 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|