aws-sdk-codestarnotifications 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -352,12 +352,13 @@ module Aws::CodeStarNotifications
|
|
352
352
|
# @!group API Operations
|
353
353
|
|
354
354
|
# Creates a notification rule for a resource. The rule specifies the
|
355
|
-
# events you want notifications about and the targets (such as
|
356
|
-
# 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.
|
357
358
|
#
|
358
359
|
# @option params [required, String] :name
|
359
|
-
# The name for the notification rule.
|
360
|
-
# unique in your
|
360
|
+
# The name for the notification rule. Notification rule names must be
|
361
|
+
# unique in your Amazon Web Services account.
|
361
362
|
#
|
362
363
|
# @option params [required, Array<String>] :event_type_ids
|
363
364
|
# A list of event types associated with this notification rule. For a
|
@@ -365,18 +366,19 @@ module Aws::CodeStarNotifications
|
|
365
366
|
#
|
366
367
|
# @option params [required, String] :resource
|
367
368
|
# The Amazon Resource Name (ARN) of the resource to associate with the
|
368
|
-
# notification rule. Supported resources include pipelines in
|
369
|
-
# CodePipeline, repositories in
|
370
|
-
#
|
369
|
+
# notification rule. Supported resources include pipelines in
|
370
|
+
# CodePipeline, repositories in CodeCommit, and build projects in
|
371
|
+
# CodeBuild.
|
371
372
|
#
|
372
373
|
# @option params [required, Array<Types::Target>] :targets
|
373
|
-
# A list of Amazon Resource Names (ARNs) of
|
374
|
-
# 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.
|
375
377
|
#
|
376
378
|
# @option params [required, String] :detail_type
|
377
379
|
# The level of detail to include in the notifications for this resource.
|
378
|
-
# BASIC will include only the contents of the event as it would appear
|
379
|
-
# 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
|
380
382
|
# provided by AWS CodeStar Notifications and/or the service for the
|
381
383
|
# resource for which the notification is created.
|
382
384
|
#
|
@@ -387,8 +389,9 @@ module Aws::CodeStarNotifications
|
|
387
389
|
# token is included, the request returns information about the initial
|
388
390
|
# request that used that token.
|
389
391
|
#
|
390
|
-
# <note markdown="1"> The
|
391
|
-
#
|
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.
|
392
395
|
#
|
393
396
|
# </note>
|
394
397
|
#
|
@@ -397,11 +400,11 @@ module Aws::CodeStarNotifications
|
|
397
400
|
#
|
398
401
|
# @option params [Hash<String,String>] :tags
|
399
402
|
# A list of tags to apply to this notification rule. Key names cannot
|
400
|
-
# start with "aws".
|
403
|
+
# start with "`aws`".
|
401
404
|
#
|
402
405
|
# @option params [String] :status
|
403
|
-
# The status of the notification rule. The default value is ENABLED
|
404
|
-
# 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
|
405
408
|
# notification rule.
|
406
409
|
#
|
407
410
|
# @return [Types::CreateNotificationRuleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -473,13 +476,14 @@ module Aws::CodeStarNotifications
|
|
473
476
|
# Deletes a specified target for notifications.
|
474
477
|
#
|
475
478
|
# @option params [required, String] :target_address
|
476
|
-
# The Amazon Resource Name (ARN) of the
|
479
|
+
# The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client
|
480
|
+
# to delete.
|
477
481
|
#
|
478
482
|
# @option params [Boolean] :force_unsubscribe_all
|
479
483
|
# A Boolean value that can be used to delete all associations with this
|
480
|
-
#
|
484
|
+
# Chatbot topic. The default value is FALSE. If set to TRUE, all
|
481
485
|
# associations between that target and every notification rule in your
|
482
|
-
#
|
486
|
+
# Amazon Web Services account are deleted.
|
483
487
|
#
|
484
488
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
485
489
|
#
|
@@ -608,7 +612,8 @@ module Aws::CodeStarNotifications
|
|
608
612
|
req.send_request(options)
|
609
613
|
end
|
610
614
|
|
611
|
-
# Returns a list of the notification rules for an
|
615
|
+
# Returns a list of the notification rules for an Amazon Web Services
|
616
|
+
# account.
|
612
617
|
#
|
613
618
|
# @option params [Array<Types::ListNotificationRulesFilter>] :filters
|
614
619
|
# The filters to use to return information by service or resource type.
|
@@ -693,7 +698,8 @@ module Aws::CodeStarNotifications
|
|
693
698
|
req.send_request(options)
|
694
699
|
end
|
695
700
|
|
696
|
-
# 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.
|
697
703
|
#
|
698
704
|
# @option params [Array<Types::ListTargetsFilter>] :filters
|
699
705
|
# The filters to use to return information by service or resource type.
|
@@ -750,16 +756,17 @@ module Aws::CodeStarNotifications
|
|
750
756
|
req.send_request(options)
|
751
757
|
end
|
752
758
|
|
753
|
-
# Creates an association between a notification rule and an
|
754
|
-
# that the associated target can receive
|
755
|
-
# 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.
|
756
762
|
#
|
757
763
|
# @option params [required, String] :arn
|
758
764
|
# The Amazon Resource Name (ARN) of the notification rule for which you
|
759
765
|
# want to create the association.
|
760
766
|
#
|
761
767
|
# @option params [required, Types::Target] :target
|
762
|
-
# Information about the
|
768
|
+
# Information about the Chatbot topics or Chatbot clients associated
|
769
|
+
# with a notification rule.
|
763
770
|
#
|
764
771
|
# @option params [String] :client_request_token
|
765
772
|
# An enumeration token that, when provided in a request, returns the
|
@@ -800,7 +807,7 @@ module Aws::CodeStarNotifications
|
|
800
807
|
#
|
801
808
|
# @option params [required, Hash<String,String>] :tags
|
802
809
|
# The list of tags to associate with the resource. Tag key names cannot
|
803
|
-
# start with "aws".
|
810
|
+
# start with "`aws`".
|
804
811
|
#
|
805
812
|
# @return [Types::TagResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
806
813
|
#
|
@@ -829,7 +836,7 @@ module Aws::CodeStarNotifications
|
|
829
836
|
req.send_request(options)
|
830
837
|
end
|
831
838
|
|
832
|
-
# Removes an association between a notification rule and an
|
839
|
+
# Removes an association between a notification rule and an Chatbot
|
833
840
|
# topic so that subscribers to that topic stop receiving notifications
|
834
841
|
# when the events described in the rule are triggered.
|
835
842
|
#
|
@@ -837,7 +844,8 @@ module Aws::CodeStarNotifications
|
|
837
844
|
# The Amazon Resource Name (ARN) of the notification rule.
|
838
845
|
#
|
839
846
|
# @option params [required, String] :target_address
|
840
|
-
# The ARN of the
|
847
|
+
# The ARN of the Chatbot topic to unsubscribe from the notification
|
848
|
+
# rule.
|
841
849
|
#
|
842
850
|
# @return [Types::UnsubscribeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
843
851
|
#
|
@@ -911,7 +919,13 @@ module Aws::CodeStarNotifications
|
|
911
919
|
# (sending notifications) or disabled (not sending notifications).
|
912
920
|
#
|
913
921
|
# @option params [Array<String>] :event_type_ids
|
914
|
-
# 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
|
915
929
|
#
|
916
930
|
# @option params [Array<Types::Target>] :targets
|
917
931
|
# The address and type of the targets to receive notifications from this
|
@@ -920,7 +934,7 @@ module Aws::CodeStarNotifications
|
|
920
934
|
# @option params [String] :detail_type
|
921
935
|
# The level of detail to include in the notifications for this resource.
|
922
936
|
# BASIC will include only the contents of the event as it would appear
|
923
|
-
# in
|
937
|
+
# in Amazon CloudWatch. FULL will include any supplemental information
|
924
938
|
# provided by AWS CodeStar Notifications and/or the service for the
|
925
939
|
# resource for which the notification is created.
|
926
940
|
#
|
@@ -964,7 +978,7 @@ module Aws::CodeStarNotifications
|
|
964
978
|
params: params,
|
965
979
|
config: config)
|
966
980
|
context[:gem_name] = 'aws-sdk-codestarnotifications'
|
967
|
-
context[:gem_version] = '1.
|
981
|
+
context[:gem_version] = '1.20.0'
|
968
982
|
Seahorse::Client::Request.new(handlers, context)
|
969
983
|
end
|
970
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
|