@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,3 +1,11 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
1
9
  import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
2
10
  import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
3
11
  import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "./commands/DeleteTargetCommand";
@@ -11,14 +19,6 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
11
19
  import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
12
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
13
21
  import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
14
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
15
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
16
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
17
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
18
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
19
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
20
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
21
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
22
22
  export declare type ServiceInputTypes = CreateNotificationRuleCommandInput | DeleteNotificationRuleCommandInput | DeleteTargetCommandInput | DescribeNotificationRuleCommandInput | ListEventTypesCommandInput | ListNotificationRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | UpdateNotificationRuleCommandInput;
23
23
  export declare type ServiceOutputTypes = CreateNotificationRuleCommandOutput | DeleteNotificationRuleCommandOutput | DeleteTargetCommandOutput | DescribeNotificationRuleCommandOutput | ListEventTypesCommandOutput | ListNotificationRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | UpdateNotificationRuleCommandOutput;
24
24
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface CreateNotificationRuleCommandInput extends CreateNotificationRuleRequest {
6
6
  }
7
7
  export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest {
6
6
  }
7
7
  export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteTargetCommandInput extends DeleteTargetRequest {
6
6
  }
7
7
  export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeNotificationRuleCommandInput extends DescribeNotificationRuleRequest {
6
6
  }
7
7
  export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListEventTypesCommandInput extends ListEventTypesRequest {
6
6
  }
7
7
  export interface ListEventTypesCommandOutput extends ListEventTypesResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListNotificationRulesCommandInput extends ListNotificationRulesRequest {
6
6
  }
7
7
  export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
6
  }
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface ListTargetsCommandInput extends ListTargetsRequest {
6
6
  }
7
7
  export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { SubscribeRequest, SubscribeResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface SubscribeCommandInput extends SubscribeRequest {
6
6
  }
7
7
  export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { TagResourceRequest, TagResourceResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface TagResourceCommandInput extends TagResourceRequest {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UnsubscribeCommandInput extends UnsubscribeRequest {
6
6
  }
7
7
  export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UntagResourceCommandInput extends UntagResourceRequest {
6
6
  }
7
7
  export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UpdateNotificationRuleCommandInput extends UpdateNotificationRuleRequest {
6
6
  }
7
7
  export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationRuleResult, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
1
2
  import { CodestarNotifications } from "../CodestarNotifications";
2
3
  import { CodestarNotificationsClient } from "../CodestarNotificationsClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
4
  export interface CodestarNotificationsPaginationConfiguration extends PaginationConfiguration {
5
5
  client: CodestarNotifications | CodestarNotificationsClient;
6
6
  }
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "../commands/ListEventTypesCommand";
2
3
  import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListEventTypes(config: CodestarNotificationsPaginationConfiguration, input: ListEventTypesCommandInput, ...additionalArguments: any): Paginator<ListEventTypesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "../commands/ListNotificationRulesCommand";
2
3
  import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListNotificationRules(config: CodestarNotificationsPaginationConfiguration, input: ListNotificationRulesCommandInput, ...additionalArguments: any): Paginator<ListNotificationRulesCommandOutput>;
@@ -1,4 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
1
2
  import { ListTargetsCommandInput, ListTargetsCommandOutput } from "../commands/ListTargetsCommand";
2
3
  import { CodestarNotificationsPaginationConfiguration } from "./Interfaces";
3
- import { Paginator } from "@aws-sdk/types";
4
4
  export declare function paginateListTargets(config: CodestarNotificationsPaginationConfiguration, input: ListTargetsCommandInput, ...additionalArguments: any): Paginator<ListTargetsCommandOutput>;
@@ -1,3 +1,5 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "../commands/CreateNotificationRuleCommand";
2
4
  import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "../commands/DeleteNotificationRuleCommand";
3
5
  import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "../commands/DeleteTargetCommand";
@@ -11,8 +13,6 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
11
13
  import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "../commands/UnsubscribeCommand";
12
14
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
13
15
  import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "../commands/UpdateNotificationRuleCommand";
14
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
15
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
16
16
  export declare const serializeAws_restJson1CreateNotificationRuleCommand: (input: CreateNotificationRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
17
  export declare const serializeAws_restJson1DeleteNotificationRuleCommand: (input: DeleteNotificationRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
18
  export declare const serializeAws_restJson1DeleteTargetCommand: (input: DeleteTargetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfi
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,3 +1,4 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
2
  import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
2
3
  import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
3
4
  import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
@@ -12,181 +13,57 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
12
13
  import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
13
14
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
15
  import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
15
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
16
- /**
17
- * <p>This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the
18
- * operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API
19
- * to work with the following objects:</p>
20
- *
21
- * <p>Notification rules, by calling the following: </p>
22
- * <ul>
23
- * <li>
24
- * <p>
25
- * <a>CreateNotificationRule</a>, which creates a notification rule for a
26
- * resource in your account. </p>
27
- * </li>
28
- * <li>
29
- * <p>
30
- * <a>DeleteNotificationRule</a>, which deletes a notification rule. </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <a>DescribeNotificationRule</a>, which provides information about a notification rule. </p>
35
- * </li>
36
- * <li>
37
- * <p>
38
- * <a>ListNotificationRules</a>, which lists the notification rules associated with
39
- * your account. </p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <a>UpdateNotificationRule</a>, which changes the name, events, or targets associated with a
44
- * notification rule. </p>
45
- * </li>
46
- * <li>
47
- * <p>
48
- * <a>Subscribe</a>, which subscribes a target to a notification rule. </p>
49
- * </li>
50
- * <li>
51
- * <p>
52
- * <a>Unsubscribe</a>, which removes a target from a notification rule. </p>
53
- * </li>
54
- * </ul>
55
- *
56
- * <p>Targets, by calling the following: </p>
57
- * <ul>
58
- * <li>
59
- * <p>
60
- * <a>DeleteTarget</a>, which removes a notification rule target (SNS topic) from a
61
- * notification rule. </p>
62
- * </li>
63
- * <li>
64
- * <p>
65
- * <a>ListTargets</a>, which lists the targets associated with a
66
- * notification rule. </p>
67
- * </li>
68
- * </ul>
69
- *
70
- * <p>Events, by calling the following: </p>
71
- * <ul>
72
- * <li>
73
- * <p>
74
- * <a>ListEventTypes</a>, which lists the event types you can include in
75
- * a notification rule. </p>
76
- * </li>
77
- * </ul>
78
- * <p>Tags, by calling the following: </p>
79
- * <ul>
80
- * <li>
81
- * <p>
82
- * <a>ListTagsForResource</a>, which lists the tags already associated
83
- * with a notification rule in your account. </p>
84
- * </li>
85
- * <li>
86
- * <p>
87
- * <a>TagResource</a>, which associates a tag you provide with a
88
- * notification rule in your account. </p>
89
- * </li>
90
- * <li>
91
- * <p>
92
- * <a>UntagResource</a>, which removes a tag from a notification rule in
93
- * your account. </p>
94
- * </li>
95
- * </ul>
96
- *
97
- *
98
- *
99
- * <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
100
- * </p>
101
- */
16
+
102
17
  export declare class CodestarNotifications extends CodestarNotificationsClient {
103
- /**
104
- * <p>Creates a notification rule for a resource. The rule specifies the events you want
105
- * notifications about and the targets (such as SNS topics) where you want to receive
106
- * them.</p>
107
- */
18
+
108
19
  createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
109
20
  createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
110
21
  createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
111
- /**
112
- * <p>Deletes a notification rule for a resource.</p>
113
- */
22
+
114
23
  deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
115
24
  deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
116
25
  deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
117
- /**
118
- * <p>Deletes a specified target for notifications.</p>
119
- */
26
+
120
27
  deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
121
28
  deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
122
29
  deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
123
- /**
124
- * <p>Returns information about a specified notification rule.</p>
125
- */
30
+
126
31
  describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
127
32
  describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
128
33
  describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
129
- /**
130
- * <p>Returns information about the event types available for configuring notifications.</p>
131
- */
34
+
132
35
  listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
133
36
  listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
134
37
  listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
135
- /**
136
- * <p>Returns a list of the notification rules for an AWS account.</p>
137
- */
38
+
138
39
  listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
139
40
  listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
140
41
  listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
141
- /**
142
- * <p>Returns a list of the tags associated with a notification rule.</p>
143
- */
42
+
144
43
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
145
44
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
146
45
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
147
- /**
148
- * <p>Returns a list of the notification rule targets for an AWS account.</p>
149
- */
46
+
150
47
  listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
151
48
  listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
152
49
  listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
153
- /**
154
- * <p>Creates an association between a notification rule and an SNS topic so that the
155
- * associated target can receive notifications when the events described in the rule are
156
- * triggered.</p>
157
- */
50
+
158
51
  subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
159
52
  subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
160
53
  subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
161
- /**
162
- * <p>Associates a set of provided tags with a notification rule.</p>
163
- */
54
+
164
55
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
165
56
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
166
57
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
167
- /**
168
- * <p>Removes an association between a notification rule and an Amazon SNS topic so that
169
- * subscribers to that topic stop receiving notifications when the events described in the
170
- * rule are triggered.</p>
171
- */
58
+
172
59
  unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
173
60
  unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
174
61
  unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
175
- /**
176
- * <p>Removes the association between one or more provided tags and a notification
177
- * rule.</p>
178
- */
62
+
179
63
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
180
64
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
181
65
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
182
- /**
183
- * <p>Updates a notification rule for a resource. You can change the events that trigger the
184
- * notification rule, the status of the rule, and the targets that receive the
185
- * notifications.</p>
186
- * <note>
187
- * <p>To add or remove tags for a notification rule, you must use <a>TagResource</a> and <a>UntagResource</a>.</p>
188
- * </note>
189
- */
66
+
190
67
  updateNotificationRule(args: UpdateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationRuleCommandOutput>;
191
68
  updateNotificationRule(args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
192
69
  updateNotificationRule(args: UpdateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
@@ -0,0 +1,80 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
10
+ import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
11
+ import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "./commands/DeleteTargetCommand";
12
+ import { DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput } from "./commands/DescribeNotificationRuleCommand";
13
+ import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "./commands/ListEventTypesCommand";
14
+ import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "./commands/ListNotificationRulesCommand";
15
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
16
+ import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
17
+ import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
18
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
+ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
20
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
+ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
22
+ export declare type ServiceInputTypes = CreateNotificationRuleCommandInput | DeleteNotificationRuleCommandInput | DeleteTargetCommandInput | DescribeNotificationRuleCommandInput | ListEventTypesCommandInput | ListNotificationRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsCommandInput | SubscribeCommandInput | TagResourceCommandInput | UnsubscribeCommandInput | UntagResourceCommandInput | UpdateNotificationRuleCommandInput;
23
+ export declare type ServiceOutputTypes = CreateNotificationRuleCommandOutput | DeleteNotificationRuleCommandOutput | DeleteTargetCommandOutput | DescribeNotificationRuleCommandOutput | ListEventTypesCommandOutput | ListNotificationRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsCommandOutput | SubscribeCommandOutput | TagResourceCommandOutput | UnsubscribeCommandOutput | UntagResourceCommandOutput | UpdateNotificationRuleCommandOutput;
24
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
25
+
26
+ requestHandler?: __HttpHandler;
27
+
28
+ sha256?: __HashConstructor;
29
+
30
+ urlParser?: __UrlParser;
31
+
32
+ bodyLengthChecker?: (body: any) => number | undefined;
33
+
34
+ streamCollector?: __StreamCollector;
35
+
36
+ base64Decoder?: __Decoder;
37
+
38
+ base64Encoder?: __Encoder;
39
+
40
+ utf8Decoder?: __Decoder;
41
+
42
+ utf8Encoder?: __Encoder;
43
+
44
+ runtime?: string;
45
+
46
+ disableHostPrefix?: boolean;
47
+
48
+ maxAttempts?: number | __Provider<number>;
49
+
50
+ retryMode?: string | __Provider<string>;
51
+
52
+ logger?: __Logger;
53
+
54
+ serviceId?: string;
55
+
56
+ region?: string | __Provider<string>;
57
+
58
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
59
+
60
+ regionInfoProvider?: RegionInfoProvider;
61
+
62
+ defaultUserAgentProvider?: Provider<__UserAgent>;
63
+ }
64
+ declare type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
65
+
66
+ export interface CodestarNotificationsClientConfig extends CodestarNotificationsClientConfigType {
67
+ }
68
+ declare type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
69
+
70
+ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotificationsClientResolvedConfigType {
71
+ }
72
+
73
+ export declare class CodestarNotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodestarNotificationsClientResolvedConfig> {
74
+
75
+ readonly config: CodestarNotificationsClientResolvedConfig;
76
+ constructor(configuration: CodestarNotificationsClientConfig);
77
+
78
+ destroy(): void;
79
+ }
80
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
4
+ import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
5
+ export interface CreateNotificationRuleCommandInput extends CreateNotificationRuleRequest {
6
+ }
7
+ export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateNotificationRuleCommand extends $Command<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: CreateNotificationRuleCommandInput;
12
+ constructor(input: CreateNotificationRuleCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
2
4
  import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest {
6
6
  }
7
7
  export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a notification rule for a resource.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
15
- * // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
16
- * const client = new CodestarNotificationsClient(config);
17
- * const command = new DeleteNotificationRuleCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteNotificationRuleCommandInput} for command's `input` shape.
22
- * @see {@link DeleteNotificationRuleCommandOutput} for command's `response` shape.
23
- * @see {@link CodestarNotificationsClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteNotificationRuleCommand extends $Command<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
27
11
  readonly input: DeleteNotificationRuleCommandInput;
28
12
  constructor(input: DeleteNotificationRuleCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
4
+ import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
5
+ export interface DeleteTargetCommandInput extends DeleteTargetRequest {
6
+ }
7
+ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteTargetCommand extends $Command<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: DeleteTargetCommandInput;
12
+ constructor(input: DeleteTargetCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTargetCommandInput, DeleteTargetCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }