@aws-sdk/client-codestar-notifications 3.477.0 → 3.481.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 (69) hide show
  1. package/dist-cjs/commands/CreateNotificationRuleCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteNotificationRuleCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteTargetCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeNotificationRuleCommand.js +18 -41
  5. package/dist-cjs/commands/ListEventTypesCommand.js +18 -41
  6. package/dist-cjs/commands/ListNotificationRulesCommand.js +18 -41
  7. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  8. package/dist-cjs/commands/ListTargetsCommand.js +18 -41
  9. package/dist-cjs/commands/SubscribeCommand.js +18 -41
  10. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  11. package/dist-cjs/commands/UnsubscribeCommand.js +18 -41
  12. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UpdateNotificationRuleCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/ListEventTypesPaginator.js +2 -24
  16. package/dist-cjs/pagination/ListNotificationRulesPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListTargetsPaginator.js +2 -24
  18. package/dist-es/commands/CreateNotificationRuleCommand.js +18 -41
  19. package/dist-es/commands/DeleteNotificationRuleCommand.js +18 -41
  20. package/dist-es/commands/DeleteTargetCommand.js +18 -41
  21. package/dist-es/commands/DescribeNotificationRuleCommand.js +18 -41
  22. package/dist-es/commands/ListEventTypesCommand.js +18 -41
  23. package/dist-es/commands/ListNotificationRulesCommand.js +18 -41
  24. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  25. package/dist-es/commands/ListTargetsCommand.js +18 -41
  26. package/dist-es/commands/SubscribeCommand.js +18 -41
  27. package/dist-es/commands/TagResourceCommand.js +18 -41
  28. package/dist-es/commands/UnsubscribeCommand.js +18 -41
  29. package/dist-es/commands/UntagResourceCommand.js +18 -41
  30. package/dist-es/commands/UpdateNotificationRuleCommand.js +18 -41
  31. package/dist-es/endpoint/EndpointParameters.js +6 -0
  32. package/dist-es/pagination/ListEventTypesPaginator.js +2 -23
  33. package/dist-es/pagination/ListNotificationRulesPaginator.js +2 -23
  34. package/dist-es/pagination/ListTargetsPaginator.js +2 -23
  35. package/dist-types/commands/CreateNotificationRuleCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +6 -21
  37. package/dist-types/commands/DeleteTargetCommand.d.ts +6 -21
  38. package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +6 -21
  39. package/dist-types/commands/ListEventTypesCommand.d.ts +6 -21
  40. package/dist-types/commands/ListNotificationRulesCommand.d.ts +6 -21
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  42. package/dist-types/commands/ListTargetsCommand.d.ts +6 -21
  43. package/dist-types/commands/SubscribeCommand.d.ts +6 -21
  44. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  45. package/dist-types/commands/UnsubscribeCommand.d.ts +6 -21
  46. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/pagination/ListEventTypesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/ListNotificationRulesPaginator.d.ts +1 -1
  51. package/dist-types/pagination/ListTargetsPaginator.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +12 -24
  53. package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +12 -24
  54. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +12 -24
  56. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  66. package/dist-types/ts3.4/pagination/ListEventTypesPaginator.d.ts +3 -3
  67. package/dist-types/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +3 -3
  68. package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +3 -3
  69. package/package.json +11 -11
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateNotificationRuleRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateNotificationRuleCommand, se_UpdateNotificationRuleCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateNotificationRuleCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateNotificationRuleCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "CodestarNotificationsClient";
27
- const commandName = "UpdateNotificationRuleCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateNotificationRuleRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "CodeStarNotifications_20191015",
36
- operation: "UpdateNotificationRule",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateNotificationRuleCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateNotificationRuleCommand(output, context);
47
- }
8
+ export class UpdateNotificationRuleCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("CodeStarNotifications_20191015", "UpdateNotificationRule", {})
20
+ .n("CodestarNotificationsClient", "UpdateNotificationRuleCommand")
21
+ .f(UpdateNotificationRuleRequestFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateNotificationRuleCommand)
23
+ .de(de_UpdateNotificationRuleCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "codestar-notifications",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodestarNotificationsClient } from "../CodestarNotificationsClient";
2
3
  import { ListEventTypesCommand, } from "../commands/ListEventTypesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListEventTypesCommand(input), ...args);
5
- };
6
- export async function* paginateListEventTypes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodestarNotificationsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodestarNotifications | CodestarNotificationsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListEventTypes = createPaginator(CodestarNotificationsClient, ListEventTypesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodestarNotificationsClient } from "../CodestarNotificationsClient";
2
3
  import { ListNotificationRulesCommand, } from "../commands/ListNotificationRulesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListNotificationRulesCommand(input), ...args);
5
- };
6
- export async function* paginateListNotificationRules(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodestarNotificationsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodestarNotifications | CodestarNotificationsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListNotificationRules = createPaginator(CodestarNotificationsClient, ListNotificationRulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CodestarNotificationsClient } from "../CodestarNotificationsClient";
2
3
  import { ListTargetsCommand } from "../commands/ListTargetsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTargetsCommand(input), ...args);
5
- };
6
- export async function* paginateListTargets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof CodestarNotificationsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodestarNotifications | CodestarNotificationsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTargets = createPaginator(CodestarNotificationsClient, ListTargetsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { CreateNotificationRuleRequest, CreateNotificationRuleResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateNotificationRuleCommandInput extends CreateNotificationRu
21
20
  */
22
21
  export interface CreateNotificationRuleCommandOutput extends CreateNotificationRuleResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateNotificationRuleCommand_base: {
24
+ new (input: CreateNotificationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a notification rule for a resource. The rule specifies the events you want
@@ -92,23 +95,5 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
92
95
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
93
96
  *
94
97
  */
95
- export declare class CreateNotificationRuleCommand extends $Command<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
96
- readonly input: CreateNotificationRuleCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: CreateNotificationRuleCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class CreateNotificationRuleCommand extends CreateNotificationRuleCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRu
21
20
  */
22
21
  export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteNotificationRuleCommand_base: {
24
+ new (input: DeleteNotificationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a notification rule for a resource.</p>
@@ -63,23 +66,5 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
63
66
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
64
67
  *
65
68
  */
66
- export declare class DeleteNotificationRuleCommand extends $Command<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
67
- readonly input: DeleteNotificationRuleCommandInput;
68
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
- /**
70
- * @public
71
- */
72
- constructor(input: DeleteNotificationRuleCommandInput);
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput>;
77
- /**
78
- * @internal
79
- */
80
- private serialize;
81
- /**
82
- * @internal
83
- */
84
- private deserialize;
69
+ export declare class DeleteNotificationRuleCommand extends DeleteNotificationRuleCommand_base {
85
70
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { DeleteTargetRequest, DeleteTargetResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteTargetCommandInput extends DeleteTargetRequest {
21
20
  */
22
21
  export interface DeleteTargetCommandOutput extends DeleteTargetResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteTargetCommand_base: {
24
+ new (input: DeleteTargetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a specified target for notifications.</p>
@@ -53,23 +56,5 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
53
56
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
54
57
  *
55
58
  */
56
- export declare class DeleteTargetCommand extends $Command<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig> {
57
- readonly input: DeleteTargetCommandInput;
58
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
- /**
60
- * @public
61
- */
62
- constructor(input: DeleteTargetCommandInput);
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTargetCommandInput, DeleteTargetCommandOutput>;
67
- /**
68
- * @internal
69
- */
70
- private serialize;
71
- /**
72
- * @internal
73
- */
74
- private deserialize;
59
+ export declare class DeleteTargetCommand extends DeleteTargetCommand_base {
75
60
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeNotificationRuleCommandInput extends DescribeNotificati
21
20
  */
22
21
  export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer {
23
22
  }
23
+ declare const DescribeNotificationRuleCommand_base: {
24
+ new (input: DescribeNotificationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about a specified notification rule.</p>
@@ -82,23 +85,5 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
82
85
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
83
86
  *
84
87
  */
85
- export declare class DescribeNotificationRuleCommand extends $Command<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
86
- readonly input: DescribeNotificationRuleCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: DescribeNotificationRuleCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class DescribeNotificationRuleCommand extends DescribeNotificationRuleCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListEventTypesCommandInput extends ListEventTypesRequest {
21
20
  */
22
21
  export interface ListEventTypesCommandOutput extends ListEventTypesResult, __MetadataBearer {
23
22
  }
23
+ declare const ListEventTypesCommand_base: {
24
+ new (input: ListEventTypesCommandInput): import("@smithy/smithy-client").CommandImpl<ListEventTypesCommandInput, ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns information about the event types available for configuring notifications.</p>
@@ -72,23 +75,5 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
72
75
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
73
76
  *
74
77
  */
75
- export declare class ListEventTypesCommand extends $Command<ListEventTypesCommandInput, ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig> {
76
- readonly input: ListEventTypesCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: ListEventTypesCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventTypesCommandInput, ListEventTypesCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class ListEventTypesCommand extends ListEventTypesCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListNotificationRulesCommandInput extends ListNotificationRules
21
20
  */
22
21
  export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer {
23
22
  }
23
+ declare const ListNotificationRulesCommand_base: {
24
+ new (input: ListNotificationRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of the notification rules for an Amazon Web Services account.</p>
@@ -70,23 +73,5 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
70
73
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
71
74
  *
72
75
  */
73
- export declare class ListNotificationRulesCommand extends $Command<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig> {
74
- readonly input: ListNotificationRulesCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: ListNotificationRulesCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class ListNotificationRulesCommand extends ListNotificationRulesCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of the tags associated with a notification rule.</p>
@@ -59,23 +62,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
59
62
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
60
63
  *
61
64
  */
62
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
63
- readonly input: ListTagsForResourceCommandInput;
64
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
- /**
66
- * @public
67
- */
68
- constructor(input: ListTagsForResourceCommandInput);
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
73
- /**
74
- * @internal
75
- */
76
- private serialize;
77
- /**
78
- * @internal
79
- */
80
- private deserialize;
65
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
81
66
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTargetsCommandInput extends ListTargetsRequest {
21
20
  */
22
21
  export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
23
22
  }
23
+ declare const ListTargetsCommand_base: {
24
+ new (input: ListTargetsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
@@ -71,23 +74,5 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
71
74
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
72
75
  *
73
76
  */
74
- export declare class ListTargetsCommand extends $Command<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig> {
75
- readonly input: ListTargetsCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: ListTargetsCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetsCommandInput, ListTargetsCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class ListTargetsCommand extends ListTargetsCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { SubscribeRequest, SubscribeResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SubscribeCommandInput extends SubscribeRequest {
21
20
  */
22
21
  export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
23
22
  }
23
+ declare const SubscribeCommand_base: {
24
+ new (input: SubscribeCommandInput): import("@smithy/smithy-client").CommandImpl<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
@@ -67,23 +70,5 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
67
70
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
68
71
  *
69
72
  */
70
- export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
71
- readonly input: SubscribeCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: SubscribeCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeCommandInput, SubscribeCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class SubscribeCommand extends SubscribeCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { TagResourceRequest, TagResourceResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a set of provided tags with a notification rule.</p>
@@ -71,23 +74,5 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
71
74
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
72
75
  *
73
76
  */
74
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
75
- readonly input: TagResourceCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: TagResourceCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class TagResourceCommand extends TagResourceCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
4
  import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UnsubscribeCommandInput extends UnsubscribeRequest {
21
20
  */
22
21
  export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
23
22
  }
23
+ declare const UnsubscribeCommand_base: {
24
+ new (input: UnsubscribeCommandInput): import("@smithy/smithy-client").CommandImpl<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes an association between a notification rule and an Chatbot topic so that
@@ -57,23 +60,5 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
57
60
  * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
58
61
  *
59
62
  */
60
- export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
61
- readonly input: UnsubscribeCommandInput;
62
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
- /**
64
- * @public
65
- */
66
- constructor(input: UnsubscribeCommandInput);
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeCommandInput, UnsubscribeCommandOutput>;
71
- /**
72
- * @internal
73
- */
74
- private serialize;
75
- /**
76
- * @internal
77
- */
78
- private deserialize;
63
+ export declare class UnsubscribeCommand extends UnsubscribeCommand_base {
79
64
  }