@aws-sdk/client-codestar-notifications 3.34.0 → 3.37.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.
Files changed (218) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CodestarNotifications.js +0 -87
  3. package/dist-cjs/CodestarNotificationsClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateNotificationRuleCommand.js +2 -29
  5. package/{dist/cjs → dist-cjs}/commands/DeleteNotificationRuleCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/DeleteTargetCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DescribeNotificationRuleCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/ListEventTypesCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/ListNotificationRulesCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/ListTargetsCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/SubscribeCommand.js +2 -29
  13. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/UnsubscribeCommand.js +2 -29
  15. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
  16. package/{dist/cjs → dist-cjs}/commands/UpdateNotificationRuleCommand.js +2 -32
  17. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  18. package/{dist/cjs → dist-cjs}/index.js +0 -1
  19. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  20. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -124
  21. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  22. package/{dist/cjs → dist-cjs}/pagination/ListEventTypesPaginator.js +0 -11
  23. package/{dist/cjs → dist-cjs}/pagination/ListNotificationRulesPaginator.js +0 -11
  24. package/{dist/cjs → dist-cjs}/pagination/ListTargetsPaginator.js +0 -11
  25. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +13 -19
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  30. package/{dist/es → dist-es}/CodestarNotifications.js +0 -1
  31. package/{dist/es → dist-es}/CodestarNotificationsClient.js +1 -2
  32. package/{dist/es → dist-es}/commands/CreateNotificationRuleCommand.js +2 -3
  33. package/{dist/es → dist-es}/commands/DeleteNotificationRuleCommand.js +2 -3
  34. package/{dist/es → dist-es}/commands/DeleteTargetCommand.js +2 -3
  35. package/{dist/es → dist-es}/commands/DescribeNotificationRuleCommand.js +2 -3
  36. package/{dist/es → dist-es}/commands/ListEventTypesCommand.js +2 -3
  37. package/{dist/es → dist-es}/commands/ListNotificationRulesCommand.js +2 -3
  38. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  39. package/{dist/es → dist-es}/commands/ListTargetsCommand.js +2 -3
  40. package/{dist/es → dist-es}/commands/SubscribeCommand.js +2 -3
  41. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/UnsubscribeCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/UpdateNotificationRuleCommand.js +2 -3
  45. package/{dist/es → dist-es}/endpoints.js +1 -2
  46. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  47. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  48. package/{dist/es → dist-es}/models/models_0.js +0 -1
  49. package/dist-es/pagination/Interfaces.js +1 -0
  50. package/{dist/es → dist-es}/pagination/ListEventTypesPaginator.js +0 -1
  51. package/{dist/es → dist-es}/pagination/ListNotificationRulesPaginator.js +0 -1
  52. package/{dist/es → dist-es}/pagination/ListTargetsPaginator.js +0 -1
  53. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  54. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  55. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  56. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  57. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  58. package/{dist/types → dist-types}/CodestarNotifications.d.ts +1 -1
  59. package/{dist/types → dist-types}/CodestarNotificationsClient.d.ts +8 -8
  60. package/{dist/types → dist-types}/commands/CreateNotificationRuleCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/DeleteNotificationRuleCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/commands/DeleteTargetCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/commands/DescribeNotificationRuleCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/commands/ListEventTypesCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/ListNotificationRulesCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/commands/ListTargetsCommand.d.ts +2 -2
  68. package/{dist/types → dist-types}/commands/SubscribeCommand.d.ts +2 -2
  69. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  70. package/{dist/types → dist-types}/commands/UnsubscribeCommand.d.ts +2 -2
  71. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  72. package/{dist/types → dist-types}/commands/UpdateNotificationRuleCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  74. package/{index.ts → dist-types/index.d.ts} +0 -0
  75. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  76. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  77. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  78. package/{dist/types → dist-types}/pagination/ListEventTypesPaginator.d.ts +1 -1
  79. package/{dist/types → dist-types}/pagination/ListNotificationRulesPaginator.d.ts +1 -1
  80. package/{dist/types → dist-types}/pagination/ListTargetsPaginator.d.ts +1 -1
  81. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  82. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  83. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  84. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  85. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  86. package/{dist/types → dist-types}/ts3.4/CodestarNotifications.d.ts +15 -138
  87. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +80 -0
  88. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
  89. package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +4 -22
  90. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
  91. package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +4 -22
  92. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
  93. package/{dist/types → dist-types}/ts3.4/commands/ListNotificationRulesCommand.d.ts +4 -22
  94. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
  101. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  102. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  103. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  104. package/dist-types/ts3.4/models/models_0.d.ts +480 -0
  105. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  106. package/{dist/types → dist-types}/ts3.4/pagination/ListEventTypesPaginator.d.ts +1 -1
  107. package/{dist/types → dist-types}/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +1 -1
  108. package/{dist/types → dist-types}/ts3.4/pagination/ListTargetsPaginator.d.ts +1 -1
  109. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  111. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  112. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  113. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  114. package/package.json +45 -42
  115. package/CodestarNotifications.ts +0 -540
  116. package/CodestarNotificationsClient.ts +0 -375
  117. package/commands/CreateNotificationRuleCommand.ts +0 -100
  118. package/commands/DeleteNotificationRuleCommand.ts +0 -98
  119. package/commands/DeleteTargetCommand.ts +0 -98
  120. package/commands/DescribeNotificationRuleCommand.ts +0 -98
  121. package/commands/ListEventTypesCommand.ts +0 -98
  122. package/commands/ListNotificationRulesCommand.ts +0 -98
  123. package/commands/ListTagsForResourceCommand.ts +0 -98
  124. package/commands/ListTargetsCommand.ts +0 -98
  125. package/commands/SubscribeCommand.ts +0 -100
  126. package/commands/TagResourceCommand.ts +0 -98
  127. package/commands/UnsubscribeCommand.ts +0 -100
  128. package/commands/UntagResourceCommand.ts +0 -99
  129. package/commands/UpdateNotificationRuleCommand.ts +0 -103
  130. package/dist/cjs/CodestarNotifications.js.map +0 -1
  131. package/dist/cjs/CodestarNotificationsClient.js +0 -127
  132. package/dist/cjs/CodestarNotificationsClient.js.map +0 -1
  133. package/dist/cjs/commands/CreateNotificationRuleCommand.js.map +0 -1
  134. package/dist/cjs/commands/DeleteNotificationRuleCommand.js.map +0 -1
  135. package/dist/cjs/commands/DeleteTargetCommand.js.map +0 -1
  136. package/dist/cjs/commands/DescribeNotificationRuleCommand.js.map +0 -1
  137. package/dist/cjs/commands/ListEventTypesCommand.js.map +0 -1
  138. package/dist/cjs/commands/ListNotificationRulesCommand.js.map +0 -1
  139. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  140. package/dist/cjs/commands/ListTargetsCommand.js.map +0 -1
  141. package/dist/cjs/commands/SubscribeCommand.js.map +0 -1
  142. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  143. package/dist/cjs/commands/UnsubscribeCommand.js.map +0 -1
  144. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  145. package/dist/cjs/commands/UpdateNotificationRuleCommand.js.map +0 -1
  146. package/dist/cjs/endpoints.js.map +0 -1
  147. package/dist/cjs/index.js.map +0 -1
  148. package/dist/cjs/models/index.js.map +0 -1
  149. package/dist/cjs/models/models_0.js.map +0 -1
  150. package/dist/cjs/package.json +0 -93
  151. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  152. package/dist/cjs/pagination/ListEventTypesPaginator.js.map +0 -1
  153. package/dist/cjs/pagination/ListNotificationRulesPaginator.js.map +0 -1
  154. package/dist/cjs/pagination/ListTargetsPaginator.js.map +0 -1
  155. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  156. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  157. package/dist/cjs/runtimeConfig.js.map +0 -1
  158. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  159. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  160. package/dist/es/CodestarNotifications.js.map +0 -1
  161. package/dist/es/CodestarNotificationsClient.js.map +0 -1
  162. package/dist/es/commands/CreateNotificationRuleCommand.js.map +0 -1
  163. package/dist/es/commands/DeleteNotificationRuleCommand.js.map +0 -1
  164. package/dist/es/commands/DeleteTargetCommand.js.map +0 -1
  165. package/dist/es/commands/DescribeNotificationRuleCommand.js.map +0 -1
  166. package/dist/es/commands/ListEventTypesCommand.js.map +0 -1
  167. package/dist/es/commands/ListNotificationRulesCommand.js.map +0 -1
  168. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  169. package/dist/es/commands/ListTargetsCommand.js.map +0 -1
  170. package/dist/es/commands/SubscribeCommand.js.map +0 -1
  171. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  172. package/dist/es/commands/UnsubscribeCommand.js.map +0 -1
  173. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  174. package/dist/es/commands/UpdateNotificationRuleCommand.js.map +0 -1
  175. package/dist/es/endpoints.js.map +0 -1
  176. package/dist/es/index.js +0 -21
  177. package/dist/es/index.js.map +0 -1
  178. package/dist/es/models/index.js +0 -2
  179. package/dist/es/models/index.js.map +0 -1
  180. package/dist/es/models/models_0.js.map +0 -1
  181. package/dist/es/package.json +0 -93
  182. package/dist/es/pagination/Interfaces.js +0 -2
  183. package/dist/es/pagination/Interfaces.js.map +0 -1
  184. package/dist/es/pagination/ListEventTypesPaginator.js.map +0 -1
  185. package/dist/es/pagination/ListNotificationRulesPaginator.js.map +0 -1
  186. package/dist/es/pagination/ListTargetsPaginator.js.map +0 -1
  187. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  188. package/dist/es/runtimeConfig.browser.js.map +0 -1
  189. package/dist/es/runtimeConfig.js.map +0 -1
  190. package/dist/es/runtimeConfig.native.js.map +0 -1
  191. package/dist/es/runtimeConfig.shared.js.map +0 -1
  192. package/dist/types/ts3.4/CodestarNotificationsClient.d.ts +0 -228
  193. package/dist/types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -37
  194. package/dist/types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -35
  195. package/dist/types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -35
  196. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
  197. package/dist/types/ts3.4/commands/ListTargetsCommand.d.ts +0 -35
  198. package/dist/types/ts3.4/commands/SubscribeCommand.d.ts +0 -37
  199. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
  200. package/dist/types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -37
  201. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
  202. package/dist/types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -40
  203. package/dist/types/ts3.4/models/models_0.d.ts +0 -804
  204. package/endpoints.ts +0 -57
  205. package/jest.config.js +0 -4
  206. package/models/models_0.ts +0 -1021
  207. package/pagination/Interfaces.ts +0 -7
  208. package/pagination/ListEventTypesPaginator.ts +0 -58
  209. package/pagination/ListNotificationRulesPaginator.ts +0 -58
  210. package/pagination/ListTargetsPaginator.ts +0 -54
  211. package/protocols/Aws_restJson1.ts +0 -1703
  212. package/runtimeConfig.browser.ts +0 -40
  213. package/runtimeConfig.native.ts +0 -16
  214. package/runtimeConfig.shared.ts +0 -16
  215. package/runtimeConfig.ts +0 -45
  216. package/tsconfig.es.json +0 -10
  217. package/tsconfig.json +0 -31
  218. package/tsconfig.types.json +0 -8
@@ -1,1021 +0,0 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
3
-
4
- /**
5
- * <p>AWS CodeStar Notifications can't create the notification rule because you do not have sufficient
6
- * permissions.</p>
7
- */
8
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
9
- name: "AccessDeniedException";
10
- $fault: "client";
11
- Message?: string;
12
- }
13
-
14
- export namespace AccessDeniedException {
15
- /**
16
- * @internal
17
- */
18
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
19
- ...obj,
20
- });
21
- }
22
-
23
- /**
24
- * <p>AWS CodeStar Notifications can't complete the request because the resource is being modified by
25
- * another process. Wait a few minutes and try again.</p>
26
- */
27
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
28
- name: "ConcurrentModificationException";
29
- $fault: "client";
30
- Message?: string;
31
- }
32
-
33
- export namespace ConcurrentModificationException {
34
- /**
35
- * @internal
36
- */
37
- export const filterSensitiveLog = (obj: ConcurrentModificationException): any => ({
38
- ...obj,
39
- });
40
- }
41
-
42
- /**
43
- * <p>Some or all of the configuration is incomplete, missing, or not valid.</p>
44
- */
45
- export interface ConfigurationException extends __SmithyException, $MetadataBearer {
46
- name: "ConfigurationException";
47
- $fault: "client";
48
- Message?: string;
49
- }
50
-
51
- export namespace ConfigurationException {
52
- /**
53
- * @internal
54
- */
55
- export const filterSensitiveLog = (obj: ConfigurationException): any => ({
56
- ...obj,
57
- });
58
- }
59
-
60
- export enum DetailType {
61
- BASIC = "BASIC",
62
- FULL = "FULL",
63
- }
64
-
65
- export enum NotificationRuleStatus {
66
- DISABLED = "DISABLED",
67
- ENABLED = "ENABLED",
68
- }
69
-
70
- /**
71
- * <p>Information about the SNS topics associated with a notification rule.</p>
72
- */
73
- export interface Target {
74
- /**
75
- * <p>The target type. Can be an Amazon SNS topic.</p>
76
- */
77
- TargetType?: string;
78
-
79
- /**
80
- * <p>The Amazon Resource Name (ARN) of the SNS topic.</p>
81
- */
82
- TargetAddress?: string;
83
- }
84
-
85
- export namespace Target {
86
- /**
87
- * @internal
88
- */
89
- export const filterSensitiveLog = (obj: Target): any => ({
90
- ...obj,
91
- ...(obj.TargetAddress && { TargetAddress: SENSITIVE_STRING }),
92
- });
93
- }
94
-
95
- export interface CreateNotificationRuleRequest {
96
- /**
97
- * <p>The name for the notification rule. Notifictaion rule names must be unique in your AWS
98
- * account.</p>
99
- */
100
- Name: string | undefined;
101
-
102
- /**
103
- * <p>A list of event types associated with this notification rule. For a list of allowed
104
- * events, see <a>EventTypeSummary</a>.</p>
105
- */
106
- EventTypeIds: string[] | undefined;
107
-
108
- /**
109
- * <p>The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline,
110
- * repositories in AWS CodeCommit, and build projects in AWS CodeBuild.</p>
111
- */
112
- Resource: string | undefined;
113
-
114
- /**
115
- * <p>A list of Amazon Resource Names (ARNs) of SNS topics to associate with the
116
- * notification rule.</p>
117
- */
118
- Targets: Target[] | undefined;
119
-
120
- /**
121
- * <p>The level of detail to include in the notifications for this resource. BASIC will include only the
122
- * contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information
123
- * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
124
- */
125
- DetailType: DetailType | string | undefined;
126
-
127
- /**
128
- * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
129
- * the request cannot be repeated with a changed parameter. If a request with the same
130
- * parameters is received and a token is included, the request returns information about
131
- * the initial request that used that token.</p>
132
- * <note>
133
- * <p>The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an
134
- * idempotency token is created for you.</p>
135
- * </note>
136
- */
137
- ClientRequestToken?: string;
138
-
139
- /**
140
- * <p>A list of tags to apply to this notification rule. Key names cannot start with "aws". </p>
141
- */
142
- Tags?: { [key: string]: string };
143
-
144
- /**
145
- * <p>The status of the notification rule. The default value is ENABLED. If the status is
146
- * set to DISABLED, notifications aren't sent for the notification rule.</p>
147
- */
148
- Status?: NotificationRuleStatus | string;
149
- }
150
-
151
- export namespace CreateNotificationRuleRequest {
152
- /**
153
- * @internal
154
- */
155
- export const filterSensitiveLog = (obj: CreateNotificationRuleRequest): any => ({
156
- ...obj,
157
- ...(obj.Name && { Name: SENSITIVE_STRING }),
158
- ...(obj.Targets && { Targets: obj.Targets.map((item) => Target.filterSensitiveLog(item)) }),
159
- });
160
- }
161
-
162
- export interface CreateNotificationRuleResult {
163
- /**
164
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
165
- */
166
- Arn?: string;
167
- }
168
-
169
- export namespace CreateNotificationRuleResult {
170
- /**
171
- * @internal
172
- */
173
- export const filterSensitiveLog = (obj: CreateNotificationRuleResult): any => ({
174
- ...obj,
175
- });
176
- }
177
-
178
- /**
179
- * <p>One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to
180
- * accounts, notification rules, notifications, resources, and targets. For more
181
- * information, see Limits.</p>
182
- */
183
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
184
- name: "LimitExceededException";
185
- $fault: "client";
186
- Message?: string;
187
- }
188
-
189
- export namespace LimitExceededException {
190
- /**
191
- * @internal
192
- */
193
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
194
- ...obj,
195
- });
196
- }
197
-
198
- /**
199
- * <p>A resource with the same name or ID already exists. Notification rule names must be
200
- * unique in your AWS account.</p>
201
- */
202
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
203
- name: "ResourceAlreadyExistsException";
204
- $fault: "client";
205
- Message?: string;
206
- }
207
-
208
- export namespace ResourceAlreadyExistsException {
209
- /**
210
- * @internal
211
- */
212
- export const filterSensitiveLog = (obj: ResourceAlreadyExistsException): any => ({
213
- ...obj,
214
- });
215
- }
216
-
217
- /**
218
- * <p>One or more parameter values are not valid.</p>
219
- */
220
- export interface ValidationException extends __SmithyException, $MetadataBearer {
221
- name: "ValidationException";
222
- $fault: "client";
223
- Message?: string;
224
- }
225
-
226
- export namespace ValidationException {
227
- /**
228
- * @internal
229
- */
230
- export const filterSensitiveLog = (obj: ValidationException): any => ({
231
- ...obj,
232
- });
233
- }
234
-
235
- export interface DeleteNotificationRuleRequest {
236
- /**
237
- * <p>The Amazon Resource Name (ARN) of the notification rule you want to delete.</p>
238
- */
239
- Arn: string | undefined;
240
- }
241
-
242
- export namespace DeleteNotificationRuleRequest {
243
- /**
244
- * @internal
245
- */
246
- export const filterSensitiveLog = (obj: DeleteNotificationRuleRequest): any => ({
247
- ...obj,
248
- });
249
- }
250
-
251
- export interface DeleteNotificationRuleResult {
252
- /**
253
- * <p>The Amazon Resource Name (ARN) of the deleted notification rule.</p>
254
- */
255
- Arn?: string;
256
- }
257
-
258
- export namespace DeleteNotificationRuleResult {
259
- /**
260
- * @internal
261
- */
262
- export const filterSensitiveLog = (obj: DeleteNotificationRuleResult): any => ({
263
- ...obj,
264
- });
265
- }
266
-
267
- export interface DeleteTargetRequest {
268
- /**
269
- * <p>The Amazon Resource Name (ARN) of the SNS topic to delete.</p>
270
- */
271
- TargetAddress: string | undefined;
272
-
273
- /**
274
- * <p>A Boolean value that can be used to delete all associations with this SNS topic. The
275
- * default value is FALSE. If set to TRUE, all associations between that target and every
276
- * notification rule in your AWS account are deleted.</p>
277
- */
278
- ForceUnsubscribeAll?: boolean;
279
- }
280
-
281
- export namespace DeleteTargetRequest {
282
- /**
283
- * @internal
284
- */
285
- export const filterSensitiveLog = (obj: DeleteTargetRequest): any => ({
286
- ...obj,
287
- ...(obj.TargetAddress && { TargetAddress: SENSITIVE_STRING }),
288
- });
289
- }
290
-
291
- export interface DeleteTargetResult {}
292
-
293
- export namespace DeleteTargetResult {
294
- /**
295
- * @internal
296
- */
297
- export const filterSensitiveLog = (obj: DeleteTargetResult): any => ({
298
- ...obj,
299
- });
300
- }
301
-
302
- export interface DescribeNotificationRuleRequest {
303
- /**
304
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
305
- */
306
- Arn: string | undefined;
307
- }
308
-
309
- export namespace DescribeNotificationRuleRequest {
310
- /**
311
- * @internal
312
- */
313
- export const filterSensitiveLog = (obj: DescribeNotificationRuleRequest): any => ({
314
- ...obj,
315
- });
316
- }
317
-
318
- /**
319
- * <p>Returns information about an event that has triggered a notification rule.</p>
320
- */
321
- export interface EventTypeSummary {
322
- /**
323
- * <p>The system-generated ID of the event.</p>
324
- */
325
- EventTypeId?: string;
326
-
327
- /**
328
- * <p>The name of the service for which the event applies.</p>
329
- */
330
- ServiceName?: string;
331
-
332
- /**
333
- * <p>The name of the event.</p>
334
- */
335
- EventTypeName?: string;
336
-
337
- /**
338
- * <p>The resource type of the event.</p>
339
- */
340
- ResourceType?: string;
341
- }
342
-
343
- export namespace EventTypeSummary {
344
- /**
345
- * @internal
346
- */
347
- export const filterSensitiveLog = (obj: EventTypeSummary): any => ({
348
- ...obj,
349
- });
350
- }
351
-
352
- export enum TargetStatus {
353
- ACTIVE = "ACTIVE",
354
- DEACTIVATED = "DEACTIVATED",
355
- INACTIVE = "INACTIVE",
356
- PENDING = "PENDING",
357
- UNREACHABLE = "UNREACHABLE",
358
- }
359
-
360
- /**
361
- * <p>Information about the targets specified for a notification rule.</p>
362
- */
363
- export interface TargetSummary {
364
- /**
365
- * <p>The Amazon Resource Name (ARN) of the SNS topic.</p>
366
- */
367
- TargetAddress?: string;
368
-
369
- /**
370
- * <p>The type of the target (for example, SNS).</p>
371
- */
372
- TargetType?: string;
373
-
374
- /**
375
- * <p>The status of the target.</p>
376
- */
377
- TargetStatus?: TargetStatus | string;
378
- }
379
-
380
- export namespace TargetSummary {
381
- /**
382
- * @internal
383
- */
384
- export const filterSensitiveLog = (obj: TargetSummary): any => ({
385
- ...obj,
386
- ...(obj.TargetAddress && { TargetAddress: SENSITIVE_STRING }),
387
- });
388
- }
389
-
390
- export interface DescribeNotificationRuleResult {
391
- /**
392
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
393
- */
394
- Arn: string | undefined;
395
-
396
- /**
397
- * <p>The name of the notification rule.</p>
398
- */
399
- Name?: string;
400
-
401
- /**
402
- * <p>A list of the event types associated with the notification rule.</p>
403
- */
404
- EventTypes?: EventTypeSummary[];
405
-
406
- /**
407
- * <p>The Amazon Resource Name (ARN) of the resource associated with the notification
408
- * rule.</p>
409
- */
410
- Resource?: string;
411
-
412
- /**
413
- * <p>A list of the SNS topics associated with the notification rule.</p>
414
- */
415
- Targets?: TargetSummary[];
416
-
417
- /**
418
- * <p>The level of detail included in the notifications for this resource. BASIC will include only the
419
- * contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information
420
- * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
421
- */
422
- DetailType?: DetailType | string;
423
-
424
- /**
425
- * <p>The name or email alias of the person who created the notification rule.</p>
426
- */
427
- CreatedBy?: string;
428
-
429
- /**
430
- * <p>The status of the notification rule. Valid statuses are on (sending notifications) or off
431
- * (not sending notifications).</p>
432
- */
433
- Status?: NotificationRuleStatus | string;
434
-
435
- /**
436
- * <p>The date and time the notification rule was created, in timestamp format.</p>
437
- */
438
- CreatedTimestamp?: Date;
439
-
440
- /**
441
- * <p>The date and time the notification rule was most recently updated, in timestamp
442
- * format.</p>
443
- */
444
- LastModifiedTimestamp?: Date;
445
-
446
- /**
447
- * <p>The tags associated with the notification rule.</p>
448
- */
449
- Tags?: { [key: string]: string };
450
- }
451
-
452
- export namespace DescribeNotificationRuleResult {
453
- /**
454
- * @internal
455
- */
456
- export const filterSensitiveLog = (obj: DescribeNotificationRuleResult): any => ({
457
- ...obj,
458
- ...(obj.Name && { Name: SENSITIVE_STRING }),
459
- ...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummary.filterSensitiveLog(item)) }),
460
- });
461
- }
462
-
463
- /**
464
- * <p>AWS CodeStar Notifications can't find a resource that matches the provided ARN. </p>
465
- */
466
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
467
- name: "ResourceNotFoundException";
468
- $fault: "client";
469
- Message?: string;
470
- }
471
-
472
- export namespace ResourceNotFoundException {
473
- /**
474
- * @internal
475
- */
476
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
477
- ...obj,
478
- });
479
- }
480
-
481
- /**
482
- * <p>The value for the enumeration token used in the request to return the next batch of the results is not valid. </p>
483
- */
484
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
485
- name: "InvalidNextTokenException";
486
- $fault: "client";
487
- Message?: string;
488
- }
489
-
490
- export namespace InvalidNextTokenException {
491
- /**
492
- * @internal
493
- */
494
- export const filterSensitiveLog = (obj: InvalidNextTokenException): any => ({
495
- ...obj,
496
- });
497
- }
498
-
499
- export enum ListEventTypesFilterName {
500
- RESOURCE_TYPE = "RESOURCE_TYPE",
501
- SERVICE_NAME = "SERVICE_NAME",
502
- }
503
-
504
- /**
505
- * <p>Information about a filter to apply to the list of returned event types. You can filter
506
- * by resource type or service name.</p>
507
- */
508
- export interface ListEventTypesFilter {
509
- /**
510
- * <p>The system-generated name of the filter type you want to filter by.</p>
511
- */
512
- Name: ListEventTypesFilterName | string | undefined;
513
-
514
- /**
515
- * <p>The name of the resource type (for example, pipeline) or service name (for example,
516
- * CodePipeline) that you want to filter by.</p>
517
- */
518
- Value: string | undefined;
519
- }
520
-
521
- export namespace ListEventTypesFilter {
522
- /**
523
- * @internal
524
- */
525
- export const filterSensitiveLog = (obj: ListEventTypesFilter): any => ({
526
- ...obj,
527
- });
528
- }
529
-
530
- export interface ListEventTypesRequest {
531
- /**
532
- * <p>The filters to use to return information by service or resource type.</p>
533
- */
534
- Filters?: ListEventTypesFilter[];
535
-
536
- /**
537
- * <p>An enumeration token that, when provided in a request, returns the next batch of the
538
- * results.</p>
539
- */
540
- NextToken?: string;
541
-
542
- /**
543
- * <p>A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of
544
- * results that can be returned is 100.</p>
545
- */
546
- MaxResults?: number;
547
- }
548
-
549
- export namespace ListEventTypesRequest {
550
- /**
551
- * @internal
552
- */
553
- export const filterSensitiveLog = (obj: ListEventTypesRequest): any => ({
554
- ...obj,
555
- });
556
- }
557
-
558
- export interface ListEventTypesResult {
559
- /**
560
- * <p>Information about each event, including service name, resource type, event ID, and event
561
- * name.</p>
562
- */
563
- EventTypes?: EventTypeSummary[];
564
-
565
- /**
566
- * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
567
- */
568
- NextToken?: string;
569
- }
570
-
571
- export namespace ListEventTypesResult {
572
- /**
573
- * @internal
574
- */
575
- export const filterSensitiveLog = (obj: ListEventTypesResult): any => ({
576
- ...obj,
577
- });
578
- }
579
-
580
- export enum ListNotificationRulesFilterName {
581
- CREATED_BY = "CREATED_BY",
582
- EVENT_TYPE_ID = "EVENT_TYPE_ID",
583
- RESOURCE = "RESOURCE",
584
- TARGET_ADDRESS = "TARGET_ADDRESS",
585
- }
586
-
587
- /**
588
- * <p>Information about a filter to apply to the list of returned notification rules. You can
589
- * filter by event type, owner, resource, or target.</p>
590
- */
591
- export interface ListNotificationRulesFilter {
592
- /**
593
- * <p>The name of the attribute you want to use to filter the returned notification rules.</p>
594
- */
595
- Name: ListNotificationRulesFilterName | string | undefined;
596
-
597
- /**
598
- * <p>The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by <i>RESOURCE</i>
599
- * in Name, you might specify the ARN of a pipeline in AWS CodePipeline for the value.</p>
600
- */
601
- Value: string | undefined;
602
- }
603
-
604
- export namespace ListNotificationRulesFilter {
605
- /**
606
- * @internal
607
- */
608
- export const filterSensitiveLog = (obj: ListNotificationRulesFilter): any => ({
609
- ...obj,
610
- });
611
- }
612
-
613
- export interface ListNotificationRulesRequest {
614
- /**
615
- * <p>The filters to use to return information by service or resource type. For valid values,
616
- * see <a>ListNotificationRulesFilter</a>.</p>
617
- * <note>
618
- * <p>A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.</p>
619
- * </note>
620
- */
621
- Filters?: ListNotificationRulesFilter[];
622
-
623
- /**
624
- * <p>An enumeration token that, when provided in a request, returns the next batch of the
625
- * results.</p>
626
- */
627
- NextToken?: string;
628
-
629
- /**
630
- * <p>A non-negative integer used to limit the number of returned results. The maximum number of
631
- * results that can be returned is 100.</p>
632
- */
633
- MaxResults?: number;
634
- }
635
-
636
- export namespace ListNotificationRulesRequest {
637
- /**
638
- * @internal
639
- */
640
- export const filterSensitiveLog = (obj: ListNotificationRulesRequest): any => ({
641
- ...obj,
642
- });
643
- }
644
-
645
- /**
646
- * <p>Information about a specified notification rule.</p>
647
- */
648
- export interface NotificationRuleSummary {
649
- /**
650
- * <p>The unique ID of the notification rule.</p>
651
- */
652
- Id?: string;
653
-
654
- /**
655
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
656
- */
657
- Arn?: string;
658
- }
659
-
660
- export namespace NotificationRuleSummary {
661
- /**
662
- * @internal
663
- */
664
- export const filterSensitiveLog = (obj: NotificationRuleSummary): any => ({
665
- ...obj,
666
- });
667
- }
668
-
669
- export interface ListNotificationRulesResult {
670
- /**
671
- * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
672
- */
673
- NextToken?: string;
674
-
675
- /**
676
- * <p>The list of notification rules for the AWS account, by Amazon Resource Name (ARN) and ID. </p>
677
- */
678
- NotificationRules?: NotificationRuleSummary[];
679
- }
680
-
681
- export namespace ListNotificationRulesResult {
682
- /**
683
- * @internal
684
- */
685
- export const filterSensitiveLog = (obj: ListNotificationRulesResult): any => ({
686
- ...obj,
687
- });
688
- }
689
-
690
- export interface ListTagsForResourceRequest {
691
- /**
692
- * <p>The Amazon Resource Name (ARN) for the notification rule.</p>
693
- */
694
- Arn: string | undefined;
695
- }
696
-
697
- export namespace ListTagsForResourceRequest {
698
- /**
699
- * @internal
700
- */
701
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
702
- ...obj,
703
- });
704
- }
705
-
706
- export interface ListTagsForResourceResult {
707
- /**
708
- * <p>The tags associated with the notification rule.</p>
709
- */
710
- Tags?: { [key: string]: string };
711
- }
712
-
713
- export namespace ListTagsForResourceResult {
714
- /**
715
- * @internal
716
- */
717
- export const filterSensitiveLog = (obj: ListTagsForResourceResult): any => ({
718
- ...obj,
719
- });
720
- }
721
-
722
- export enum ListTargetsFilterName {
723
- TARGET_ADDRESS = "TARGET_ADDRESS",
724
- TARGET_STATUS = "TARGET_STATUS",
725
- TARGET_TYPE = "TARGET_TYPE",
726
- }
727
-
728
- /**
729
- * <p>Information about a filter to apply to the list of returned targets. You can filter by
730
- * target type, address, or status. For example, to filter results to notification rules
731
- * that have active Amazon SNS topics as targets, you could specify a ListTargetsFilter
732
- * Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of
733
- * ACTIVE.</p>
734
- */
735
- export interface ListTargetsFilter {
736
- /**
737
- * <p>The name of the attribute you want to use to filter the returned targets.</p>
738
- */
739
- Name: ListTargetsFilterName | string | undefined;
740
-
741
- /**
742
- * <p>The value of the attribute you want to use to filter the returned targets. For example,
743
- * if you specify <i>SNS</i> for the Target type, you could specify an Amazon
744
- * Resource Name (ARN) for a topic as the value.</p>
745
- */
746
- Value: string | undefined;
747
- }
748
-
749
- export namespace ListTargetsFilter {
750
- /**
751
- * @internal
752
- */
753
- export const filterSensitiveLog = (obj: ListTargetsFilter): any => ({
754
- ...obj,
755
- });
756
- }
757
-
758
- export interface ListTargetsRequest {
759
- /**
760
- * <p>The filters to use to return information by service or resource type. Valid filters
761
- * include target type, target address, and target status.</p>
762
- * <note>
763
- * <p>A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.</p>
764
- * </note>
765
- */
766
- Filters?: ListTargetsFilter[];
767
-
768
- /**
769
- * <p>An enumeration token that, when provided in a request, returns the next batch of the
770
- * results.</p>
771
- */
772
- NextToken?: string;
773
-
774
- /**
775
- * <p>A non-negative integer used to limit the number of returned results. The maximum number of
776
- * results that can be returned is 100.</p>
777
- */
778
- MaxResults?: number;
779
- }
780
-
781
- export namespace ListTargetsRequest {
782
- /**
783
- * @internal
784
- */
785
- export const filterSensitiveLog = (obj: ListTargetsRequest): any => ({
786
- ...obj,
787
- });
788
- }
789
-
790
- export interface ListTargetsResult {
791
- /**
792
- * <p>The list of notification rule targets. </p>
793
- */
794
- Targets?: TargetSummary[];
795
-
796
- /**
797
- * <p>An enumeration token that can be used in a request to return the next batch of
798
- * results.</p>
799
- */
800
- NextToken?: string;
801
- }
802
-
803
- export namespace ListTargetsResult {
804
- /**
805
- * @internal
806
- */
807
- export const filterSensitiveLog = (obj: ListTargetsResult): any => ({
808
- ...obj,
809
- ...(obj.Targets && { Targets: obj.Targets.map((item) => TargetSummary.filterSensitiveLog(item)) }),
810
- });
811
- }
812
-
813
- export interface SubscribeRequest {
814
- /**
815
- * <p>The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.</p>
816
- */
817
- Arn: string | undefined;
818
-
819
- /**
820
- * <p>Information about the SNS topics associated with a notification rule.</p>
821
- */
822
- Target: Target | undefined;
823
-
824
- /**
825
- * <p>An enumeration token that, when provided in a request, returns the next batch of the
826
- * results.</p>
827
- */
828
- ClientRequestToken?: string;
829
- }
830
-
831
- export namespace SubscribeRequest {
832
- /**
833
- * @internal
834
- */
835
- export const filterSensitiveLog = (obj: SubscribeRequest): any => ({
836
- ...obj,
837
- ...(obj.Target && { Target: Target.filterSensitiveLog(obj.Target) }),
838
- });
839
- }
840
-
841
- export interface SubscribeResult {
842
- /**
843
- * <p>The Amazon Resource Name (ARN) of the notification rule for which you have created assocations.</p>
844
- */
845
- Arn?: string;
846
- }
847
-
848
- export namespace SubscribeResult {
849
- /**
850
- * @internal
851
- */
852
- export const filterSensitiveLog = (obj: SubscribeResult): any => ({
853
- ...obj,
854
- });
855
- }
856
-
857
- export interface TagResourceRequest {
858
- /**
859
- * <p>The Amazon Resource Name (ARN) of the notification rule to tag.</p>
860
- */
861
- Arn: string | undefined;
862
-
863
- /**
864
- * <p>The list of tags to associate with the resource. Tag key names cannot start with "aws".</p>
865
- */
866
- Tags: { [key: string]: string } | undefined;
867
- }
868
-
869
- export namespace TagResourceRequest {
870
- /**
871
- * @internal
872
- */
873
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
874
- ...obj,
875
- });
876
- }
877
-
878
- export interface TagResourceResult {
879
- /**
880
- * <p>The list of tags associated with the resource.</p>
881
- */
882
- Tags?: { [key: string]: string };
883
- }
884
-
885
- export namespace TagResourceResult {
886
- /**
887
- * @internal
888
- */
889
- export const filterSensitiveLog = (obj: TagResourceResult): any => ({
890
- ...obj,
891
- });
892
- }
893
-
894
- export interface UnsubscribeRequest {
895
- /**
896
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
897
- */
898
- Arn: string | undefined;
899
-
900
- /**
901
- * <p>The ARN of the SNS topic to unsubscribe from the notification rule.</p>
902
- */
903
- TargetAddress: string | undefined;
904
- }
905
-
906
- export namespace UnsubscribeRequest {
907
- /**
908
- * @internal
909
- */
910
- export const filterSensitiveLog = (obj: UnsubscribeRequest): any => ({
911
- ...obj,
912
- ...(obj.TargetAddress && { TargetAddress: SENSITIVE_STRING }),
913
- });
914
- }
915
-
916
- export interface UnsubscribeResult {
917
- /**
918
- * <p>The Amazon Resource Name (ARN) of the the notification rule from which you have removed a subscription.</p>
919
- */
920
- Arn: string | undefined;
921
- }
922
-
923
- export namespace UnsubscribeResult {
924
- /**
925
- * @internal
926
- */
927
- export const filterSensitiveLog = (obj: UnsubscribeResult): any => ({
928
- ...obj,
929
- });
930
- }
931
-
932
- export interface UntagResourceRequest {
933
- /**
934
- * <p>The Amazon Resource Name (ARN) of the notification rule from which to remove the
935
- * tags.</p>
936
- */
937
- Arn: string | undefined;
938
-
939
- /**
940
- * <p>The key names of the tags to remove.</p>
941
- */
942
- TagKeys: string[] | undefined;
943
- }
944
-
945
- export namespace UntagResourceRequest {
946
- /**
947
- * @internal
948
- */
949
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
950
- ...obj,
951
- });
952
- }
953
-
954
- export interface UntagResourceResult {}
955
-
956
- export namespace UntagResourceResult {
957
- /**
958
- * @internal
959
- */
960
- export const filterSensitiveLog = (obj: UntagResourceResult): any => ({
961
- ...obj,
962
- });
963
- }
964
-
965
- export interface UpdateNotificationRuleRequest {
966
- /**
967
- * <p>The Amazon Resource Name (ARN) of the notification rule.</p>
968
- */
969
- Arn: string | undefined;
970
-
971
- /**
972
- * <p>The name of the notification rule.</p>
973
- */
974
- Name?: string;
975
-
976
- /**
977
- * <p>The status of the notification rule. Valid statuses include enabled (sending notifications) or
978
- * disabled (not sending notifications).</p>
979
- */
980
- Status?: NotificationRuleStatus | string;
981
-
982
- /**
983
- * <p>A list of event types associated with this notification rule.</p>
984
- */
985
- EventTypeIds?: string[];
986
-
987
- /**
988
- * <p>The address and type of the targets to receive notifications from this notification
989
- * rule.</p>
990
- */
991
- Targets?: Target[];
992
-
993
- /**
994
- * <p>The level of detail to include in the notifications for this resource. BASIC will include only the
995
- * contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information
996
- * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
997
- */
998
- DetailType?: DetailType | string;
999
- }
1000
-
1001
- export namespace UpdateNotificationRuleRequest {
1002
- /**
1003
- * @internal
1004
- */
1005
- export const filterSensitiveLog = (obj: UpdateNotificationRuleRequest): any => ({
1006
- ...obj,
1007
- ...(obj.Name && { Name: SENSITIVE_STRING }),
1008
- ...(obj.Targets && { Targets: obj.Targets.map((item) => Target.filterSensitiveLog(item)) }),
1009
- });
1010
- }
1011
-
1012
- export interface UpdateNotificationRuleResult {}
1013
-
1014
- export namespace UpdateNotificationRuleResult {
1015
- /**
1016
- * @internal
1017
- */
1018
- export const filterSensitiveLog = (obj: UpdateNotificationRuleResult): any => ({
1019
- ...obj,
1020
- });
1021
- }