@aws-sdk/client-codestar-notifications 3.50.0 → 3.53.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 (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CodestarNotificationsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +114 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +139 -375
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/CodestarNotificationsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +106 -1
  9. package/dist-es/protocols/Aws_restJson1.js +259 -436
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/CodestarNotificationsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +58 -25
  13. package/dist-types/ts3.4/CodestarNotifications.d.ts +70 -0
  14. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +86 -0
  15. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  29. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  30. package/dist-types/ts3.4/index.d.ts +6 -0
  31. package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +6 -0
  32. package/dist-types/ts3.4/models/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +465 -0
  34. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  35. package/dist-types/ts3.4/pagination/ListEventTypesPaginator.d.ts +4 -0
  36. package/dist-types/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/ListTargetsPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +41 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  44. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./CodestarNotificationsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from CodestarNotifications service.
4
+ */
5
+ export declare class CodestarNotificationsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,29 +1,42 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CodestarNotificationsServiceException as __BaseException } from "./CodestarNotificationsServiceException";
2
3
  /**
3
4
  * <p>AWS CodeStar Notifications can't create the notification rule because you do not have sufficient
4
5
  * permissions.</p>
5
6
  */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
9
10
  Message?: string;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
15
  }
11
16
  /**
12
17
  * <p>AWS CodeStar Notifications can't complete the request because the resource is being modified by
13
18
  * another process. Wait a few minutes and try again.</p>
14
19
  */
15
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
16
- name: "ConcurrentModificationException";
17
- $fault: "client";
20
+ export declare class ConcurrentModificationException extends __BaseException {
21
+ readonly name: "ConcurrentModificationException";
22
+ readonly $fault: "client";
18
23
  Message?: string;
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
19
28
  }
20
29
  /**
21
30
  * <p>Some or all of the configuration is incomplete, missing, or not valid.</p>
22
31
  */
23
- export interface ConfigurationException extends __SmithyException, $MetadataBearer {
24
- name: "ConfigurationException";
25
- $fault: "client";
32
+ export declare class ConfigurationException extends __BaseException {
33
+ readonly name: "ConfigurationException";
34
+ readonly $fault: "client";
26
35
  Message?: string;
36
+ /**
37
+ * @internal
38
+ */
39
+ constructor(opts: __ExceptionOptionType<ConfigurationException, __BaseException>);
27
40
  }
28
41
  export declare enum DetailType {
29
42
  BASIC = "BASIC",
@@ -125,27 +138,39 @@ export declare namespace CreateNotificationRuleResult {
125
138
  * accounts, notification rules, notifications, resources, and targets. For more
126
139
  * information, see Limits.</p>
127
140
  */
128
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
129
- name: "LimitExceededException";
130
- $fault: "client";
141
+ export declare class LimitExceededException extends __BaseException {
142
+ readonly name: "LimitExceededException";
143
+ readonly $fault: "client";
131
144
  Message?: string;
145
+ /**
146
+ * @internal
147
+ */
148
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
132
149
  }
133
150
  /**
134
151
  * <p>A resource with the same name or ID already exists. Notification rule names must be
135
152
  * unique in your AWS account.</p>
136
153
  */
137
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
138
- name: "ResourceAlreadyExistsException";
139
- $fault: "client";
154
+ export declare class ResourceAlreadyExistsException extends __BaseException {
155
+ readonly name: "ResourceAlreadyExistsException";
156
+ readonly $fault: "client";
140
157
  Message?: string;
158
+ /**
159
+ * @internal
160
+ */
161
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
141
162
  }
142
163
  /**
143
164
  * <p>One or more parameter values are not valid.</p>
144
165
  */
145
- export interface ValidationException extends __SmithyException, $MetadataBearer {
146
- name: "ValidationException";
147
- $fault: "client";
166
+ export declare class ValidationException extends __BaseException {
167
+ readonly name: "ValidationException";
168
+ readonly $fault: "client";
148
169
  Message?: string;
170
+ /**
171
+ * @internal
172
+ */
173
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
149
174
  }
150
175
  export interface DeleteNotificationRuleRequest {
151
176
  /**
@@ -328,18 +353,26 @@ export declare namespace DescribeNotificationRuleResult {
328
353
  /**
329
354
  * <p>AWS CodeStar Notifications can't find a resource that matches the provided ARN. </p>
330
355
  */
331
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
332
- name: "ResourceNotFoundException";
333
- $fault: "client";
356
+ export declare class ResourceNotFoundException extends __BaseException {
357
+ readonly name: "ResourceNotFoundException";
358
+ readonly $fault: "client";
334
359
  Message?: string;
360
+ /**
361
+ * @internal
362
+ */
363
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
335
364
  }
336
365
  /**
337
366
  * <p>The value for the enumeration token used in the request to return the next batch of the results is not valid. </p>
338
367
  */
339
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
340
- name: "InvalidNextTokenException";
341
- $fault: "client";
368
+ export declare class InvalidNextTokenException extends __BaseException {
369
+ readonly name: "InvalidNextTokenException";
370
+ readonly $fault: "client";
342
371
  Message?: string;
372
+ /**
373
+ * @internal
374
+ */
375
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
343
376
  }
344
377
  export declare enum ListEventTypesFilterName {
345
378
  RESOURCE_TYPE = "RESOURCE_TYPE",
@@ -0,0 +1,70 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CodestarNotificationsClient } from "./CodestarNotificationsClient";
3
+ import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput } from "./commands/CreateNotificationRuleCommand";
4
+ import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput } from "./commands/DeleteNotificationRuleCommand";
5
+ import { DeleteTargetCommandInput, DeleteTargetCommandOutput } from "./commands/DeleteTargetCommand";
6
+ import { DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput } from "./commands/DescribeNotificationRuleCommand";
7
+ import { ListEventTypesCommandInput, ListEventTypesCommandOutput } from "./commands/ListEventTypesCommand";
8
+ import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput } from "./commands/ListNotificationRulesCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand";
11
+ import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand";
12
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
+ import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand";
14
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput } from "./commands/UpdateNotificationRuleCommand";
16
+
17
+ export declare class CodestarNotifications extends CodestarNotificationsClient {
18
+
19
+ createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
20
+ createNotificationRule(args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
21
+ createNotificationRule(args: CreateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void): void;
22
+
23
+ deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationRuleCommandOutput>;
24
+ deleteNotificationRule(args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
25
+ deleteNotificationRule(args: DeleteNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void): void;
26
+
27
+ deleteTarget(args: DeleteTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTargetCommandOutput>;
28
+ deleteTarget(args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
29
+ deleteTarget(args: DeleteTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void): void;
30
+
31
+ describeNotificationRule(args: DescribeNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationRuleCommandOutput>;
32
+ describeNotificationRule(args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
33
+ describeNotificationRule(args: DescribeNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void): void;
34
+
35
+ listEventTypes(args: ListEventTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListEventTypesCommandOutput>;
36
+ listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
37
+ listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
38
+
39
+ listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
40
+ listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
41
+ listNotificationRules(args: ListNotificationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
42
+
43
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
44
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
45
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
46
+
47
+ listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
48
+ listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
49
+ listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
50
+
51
+ subscribe(args: SubscribeCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeCommandOutput>;
52
+ subscribe(args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
53
+ subscribe(args: SubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeCommandOutput) => void): void;
54
+
55
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
56
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
57
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
58
+
59
+ unsubscribe(args: UnsubscribeCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeCommandOutput>;
60
+ unsubscribe(args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
61
+ unsubscribe(args: UnsubscribeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void): void;
62
+
63
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
64
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
65
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
66
+
67
+ updateNotificationRule(args: UpdateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNotificationRuleCommandOutput>;
68
+ updateNotificationRule(args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
69
+ updateNotificationRule(args: UpdateNotificationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void): void;
70
+ }
@@ -0,0 +1,86 @@
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, DefaultsMode, 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
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
55
+
56
+ useFipsEndpoint?: boolean | __Provider<boolean>;
57
+
58
+ serviceId?: string;
59
+
60
+ region?: string | __Provider<string>;
61
+
62
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
63
+
64
+ regionInfoProvider?: RegionInfoProvider;
65
+
66
+ defaultUserAgentProvider?: Provider<__UserAgent>;
67
+
68
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
69
+ }
70
+ declare type CodestarNotificationsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
71
+
72
+ export interface CodestarNotificationsClientConfig extends CodestarNotificationsClientConfigType {
73
+ }
74
+ declare type CodestarNotificationsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
75
+
76
+ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotificationsClientResolvedConfigType {
77
+ }
78
+
79
+ export declare class CodestarNotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodestarNotificationsClientResolvedConfig> {
80
+
81
+ readonly config: CodestarNotificationsClientResolvedConfig;
82
+ constructor(configuration: CodestarNotificationsClientConfig);
83
+
84
+ destroy(): void;
85
+ }
86
+ 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
+ }
@@ -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 { DeleteNotificationRuleRequest, DeleteNotificationRuleResult } from "../models/models_0";
5
+ export interface DeleteNotificationRuleCommandInput extends DeleteNotificationRuleRequest {
6
+ }
7
+ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationRuleResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteNotificationRuleCommand extends $Command<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: DeleteNotificationRuleCommandInput;
12
+ constructor(input: DeleteNotificationRuleCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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
+ }
@@ -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 { DescribeNotificationRuleRequest, DescribeNotificationRuleResult } from "../models/models_0";
5
+ export interface DescribeNotificationRuleCommandInput extends DescribeNotificationRuleRequest {
6
+ }
7
+ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificationRuleResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeNotificationRuleCommand extends $Command<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: DescribeNotificationRuleCommandInput;
12
+ constructor(input: DescribeNotificationRuleCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { ListEventTypesRequest, ListEventTypesResult } from "../models/models_0";
5
+ export interface ListEventTypesCommandInput extends ListEventTypesRequest {
6
+ }
7
+ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListEventTypesCommand extends $Command<ListEventTypesCommandInput, ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: ListEventTypesCommandInput;
12
+ constructor(input: ListEventTypesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventTypesCommandInput, ListEventTypesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { ListNotificationRulesRequest, ListNotificationRulesResult } from "../models/models_0";
5
+ export interface ListNotificationRulesCommandInput extends ListNotificationRulesRequest {
6
+ }
7
+ export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListNotificationRulesCommand extends $Command<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: ListNotificationRulesCommandInput;
12
+ constructor(input: ListNotificationRulesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: ListTagsForResourceCommandInput;
12
+ constructor(input: ListTagsForResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
5
+ export interface ListTargetsCommandInput extends ListTargetsRequest {
6
+ }
7
+ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTargetsCommand extends $Command<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: ListTargetsCommandInput;
12
+ constructor(input: ListTargetsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetsCommandInput, ListTargetsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { SubscribeRequest, SubscribeResult } from "../models/models_0";
5
+ export interface SubscribeCommandInput extends SubscribeRequest {
6
+ }
7
+ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: SubscribeCommandInput;
12
+ constructor(input: SubscribeCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeCommandInput, SubscribeCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { TagResourceRequest, TagResourceResult } from "../models/models_0";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: TagResourceCommandInput;
12
+ constructor(input: TagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
5
+ export interface UnsubscribeCommandInput extends UnsubscribeRequest {
6
+ }
7
+ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: UnsubscribeCommandInput;
12
+ constructor(input: UnsubscribeCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeCommandInput, UnsubscribeCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: UntagResourceCommandInput;
12
+ constructor(input: UntagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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 { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
5
+ export interface UpdateNotificationRuleCommandInput extends UpdateNotificationRuleRequest {
6
+ }
7
+ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationRuleResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateNotificationRuleCommand extends $Command<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
11
+ readonly input: UpdateNotificationRuleCommandInput;
12
+ constructor(input: UpdateNotificationRuleCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,13 @@
1
+ export * from "./CreateNotificationRuleCommand";
2
+ export * from "./DeleteNotificationRuleCommand";
3
+ export * from "./DeleteTargetCommand";
4
+ export * from "./DescribeNotificationRuleCommand";
5
+ export * from "./ListEventTypesCommand";
6
+ export * from "./ListNotificationRulesCommand";
7
+ export * from "./ListTagsForResourceCommand";
8
+ export * from "./ListTargetsCommand";
9
+ export * from "./SubscribeCommand";
10
+ export * from "./TagResourceCommand";
11
+ export * from "./UnsubscribeCommand";
12
+ export * from "./UntagResourceCommand";
13
+ export * from "./UpdateNotificationRuleCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./CodestarNotifications";
2
+ export * from "./CodestarNotificationsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class CodestarNotificationsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";