@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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CodestarNotifications.js +0 -87
- package/dist-cjs/CodestarNotificationsClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CreateNotificationRuleCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DeleteNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTargetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeNotificationRuleCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListEventTypesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListNotificationRulesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTargetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UnsubscribeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateNotificationRuleCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -124
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListEventTypesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListNotificationRulesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListTargetsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +13 -19
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CodestarNotifications.js +0 -1
- package/{dist/es → dist-es}/CodestarNotificationsClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteTargetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEventTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListNotificationRulesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTargetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UnsubscribeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateNotificationRuleCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListEventTypesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListNotificationRulesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListTargetsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CodestarNotifications.d.ts +1 -1
- package/{dist/types → dist-types}/CodestarNotificationsClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEventTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNotificationRulesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UnsubscribeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateNotificationRuleCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodestarNotifications.d.ts +15 -138
- package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListNotificationRulesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +480 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListEventTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNotificationRulesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTargetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CodestarNotifications.ts +0 -540
- package/CodestarNotificationsClient.ts +0 -375
- package/commands/CreateNotificationRuleCommand.ts +0 -100
- package/commands/DeleteNotificationRuleCommand.ts +0 -98
- package/commands/DeleteTargetCommand.ts +0 -98
- package/commands/DescribeNotificationRuleCommand.ts +0 -98
- package/commands/ListEventTypesCommand.ts +0 -98
- package/commands/ListNotificationRulesCommand.ts +0 -98
- package/commands/ListTagsForResourceCommand.ts +0 -98
- package/commands/ListTargetsCommand.ts +0 -98
- package/commands/SubscribeCommand.ts +0 -100
- package/commands/TagResourceCommand.ts +0 -98
- package/commands/UnsubscribeCommand.ts +0 -100
- package/commands/UntagResourceCommand.ts +0 -99
- package/commands/UpdateNotificationRuleCommand.ts +0 -103
- package/dist/cjs/CodestarNotifications.js.map +0 -1
- package/dist/cjs/CodestarNotificationsClient.js +0 -127
- package/dist/cjs/CodestarNotificationsClient.js.map +0 -1
- package/dist/cjs/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/SubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CodestarNotifications.js.map +0 -1
- package/dist/es/CodestarNotificationsClient.js.map +0 -1
- package/dist/es/commands/CreateNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteTargetCommand.js.map +0 -1
- package/dist/es/commands/DescribeNotificationRuleCommand.js.map +0 -1
- package/dist/es/commands/ListEventTypesCommand.js.map +0 -1
- package/dist/es/commands/ListNotificationRulesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTargetsCommand.js.map +0 -1
- package/dist/es/commands/SubscribeCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UnsubscribeCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateNotificationRuleCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -21
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListEventTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListNotificationRulesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTargetsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CodestarNotificationsClient.d.ts +0 -228
- package/dist/types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTargetsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/SubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -40
- package/dist/types/ts3.4/models/models_0.d.ts +0 -804
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1021
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListEventTypesPaginator.ts +0 -58
- package/pagination/ListNotificationRulesPaginator.ts +0 -58
- package/pagination/ListTargetsPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -1703
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
4
|
+
name: "AccessDeniedException";
|
|
5
|
+
$fault: "client";
|
|
6
|
+
Message?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace AccessDeniedException {
|
|
9
|
+
|
|
10
|
+
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
14
|
+
name: "ConcurrentModificationException";
|
|
15
|
+
$fault: "client";
|
|
16
|
+
Message?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace ConcurrentModificationException {
|
|
19
|
+
|
|
20
|
+
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface ConfigurationException extends __SmithyException, $MetadataBearer {
|
|
24
|
+
name: "ConfigurationException";
|
|
25
|
+
$fault: "client";
|
|
26
|
+
Message?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace ConfigurationException {
|
|
29
|
+
|
|
30
|
+
const filterSensitiveLog: (obj: ConfigurationException) => any;
|
|
31
|
+
}
|
|
32
|
+
export declare enum DetailType {
|
|
33
|
+
BASIC = "BASIC",
|
|
34
|
+
FULL = "FULL"
|
|
35
|
+
}
|
|
36
|
+
export declare enum NotificationRuleStatus {
|
|
37
|
+
DISABLED = "DISABLED",
|
|
38
|
+
ENABLED = "ENABLED"
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface Target {
|
|
42
|
+
|
|
43
|
+
TargetType?: string;
|
|
44
|
+
|
|
45
|
+
TargetAddress?: string;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace Target {
|
|
48
|
+
|
|
49
|
+
const filterSensitiveLog: (obj: Target) => any;
|
|
50
|
+
}
|
|
51
|
+
export interface CreateNotificationRuleRequest {
|
|
52
|
+
|
|
53
|
+
Name: string | undefined;
|
|
54
|
+
|
|
55
|
+
EventTypeIds: string[] | undefined;
|
|
56
|
+
|
|
57
|
+
Resource: string | undefined;
|
|
58
|
+
|
|
59
|
+
Targets: Target[] | undefined;
|
|
60
|
+
|
|
61
|
+
DetailType: DetailType | string | undefined;
|
|
62
|
+
|
|
63
|
+
ClientRequestToken?: string;
|
|
64
|
+
|
|
65
|
+
Tags?: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
Status?: NotificationRuleStatus | string;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace CreateNotificationRuleRequest {
|
|
72
|
+
|
|
73
|
+
const filterSensitiveLog: (obj: CreateNotificationRuleRequest) => any;
|
|
74
|
+
}
|
|
75
|
+
export interface CreateNotificationRuleResult {
|
|
76
|
+
|
|
77
|
+
Arn?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace CreateNotificationRuleResult {
|
|
80
|
+
|
|
81
|
+
const filterSensitiveLog: (obj: CreateNotificationRuleResult) => any;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
85
|
+
name: "LimitExceededException";
|
|
86
|
+
$fault: "client";
|
|
87
|
+
Message?: string;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace LimitExceededException {
|
|
90
|
+
|
|
91
|
+
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
|
|
95
|
+
name: "ResourceAlreadyExistsException";
|
|
96
|
+
$fault: "client";
|
|
97
|
+
Message?: string;
|
|
98
|
+
}
|
|
99
|
+
export declare namespace ResourceAlreadyExistsException {
|
|
100
|
+
|
|
101
|
+
const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
105
|
+
name: "ValidationException";
|
|
106
|
+
$fault: "client";
|
|
107
|
+
Message?: string;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace ValidationException {
|
|
110
|
+
|
|
111
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
112
|
+
}
|
|
113
|
+
export interface DeleteNotificationRuleRequest {
|
|
114
|
+
|
|
115
|
+
Arn: string | undefined;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace DeleteNotificationRuleRequest {
|
|
118
|
+
|
|
119
|
+
const filterSensitiveLog: (obj: DeleteNotificationRuleRequest) => any;
|
|
120
|
+
}
|
|
121
|
+
export interface DeleteNotificationRuleResult {
|
|
122
|
+
|
|
123
|
+
Arn?: string;
|
|
124
|
+
}
|
|
125
|
+
export declare namespace DeleteNotificationRuleResult {
|
|
126
|
+
|
|
127
|
+
const filterSensitiveLog: (obj: DeleteNotificationRuleResult) => any;
|
|
128
|
+
}
|
|
129
|
+
export interface DeleteTargetRequest {
|
|
130
|
+
|
|
131
|
+
TargetAddress: string | undefined;
|
|
132
|
+
|
|
133
|
+
ForceUnsubscribeAll?: boolean;
|
|
134
|
+
}
|
|
135
|
+
export declare namespace DeleteTargetRequest {
|
|
136
|
+
|
|
137
|
+
const filterSensitiveLog: (obj: DeleteTargetRequest) => any;
|
|
138
|
+
}
|
|
139
|
+
export interface DeleteTargetResult {
|
|
140
|
+
}
|
|
141
|
+
export declare namespace DeleteTargetResult {
|
|
142
|
+
|
|
143
|
+
const filterSensitiveLog: (obj: DeleteTargetResult) => any;
|
|
144
|
+
}
|
|
145
|
+
export interface DescribeNotificationRuleRequest {
|
|
146
|
+
|
|
147
|
+
Arn: string | undefined;
|
|
148
|
+
}
|
|
149
|
+
export declare namespace DescribeNotificationRuleRequest {
|
|
150
|
+
|
|
151
|
+
const filterSensitiveLog: (obj: DescribeNotificationRuleRequest) => any;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface EventTypeSummary {
|
|
155
|
+
|
|
156
|
+
EventTypeId?: string;
|
|
157
|
+
|
|
158
|
+
ServiceName?: string;
|
|
159
|
+
|
|
160
|
+
EventTypeName?: string;
|
|
161
|
+
|
|
162
|
+
ResourceType?: string;
|
|
163
|
+
}
|
|
164
|
+
export declare namespace EventTypeSummary {
|
|
165
|
+
|
|
166
|
+
const filterSensitiveLog: (obj: EventTypeSummary) => any;
|
|
167
|
+
}
|
|
168
|
+
export declare enum TargetStatus {
|
|
169
|
+
ACTIVE = "ACTIVE",
|
|
170
|
+
DEACTIVATED = "DEACTIVATED",
|
|
171
|
+
INACTIVE = "INACTIVE",
|
|
172
|
+
PENDING = "PENDING",
|
|
173
|
+
UNREACHABLE = "UNREACHABLE"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface TargetSummary {
|
|
177
|
+
|
|
178
|
+
TargetAddress?: string;
|
|
179
|
+
|
|
180
|
+
TargetType?: string;
|
|
181
|
+
|
|
182
|
+
TargetStatus?: TargetStatus | string;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace TargetSummary {
|
|
185
|
+
|
|
186
|
+
const filterSensitiveLog: (obj: TargetSummary) => any;
|
|
187
|
+
}
|
|
188
|
+
export interface DescribeNotificationRuleResult {
|
|
189
|
+
|
|
190
|
+
Arn: string | undefined;
|
|
191
|
+
|
|
192
|
+
Name?: string;
|
|
193
|
+
|
|
194
|
+
EventTypes?: EventTypeSummary[];
|
|
195
|
+
|
|
196
|
+
Resource?: string;
|
|
197
|
+
|
|
198
|
+
Targets?: TargetSummary[];
|
|
199
|
+
|
|
200
|
+
DetailType?: DetailType | string;
|
|
201
|
+
|
|
202
|
+
CreatedBy?: string;
|
|
203
|
+
|
|
204
|
+
Status?: NotificationRuleStatus | string;
|
|
205
|
+
|
|
206
|
+
CreatedTimestamp?: Date;
|
|
207
|
+
|
|
208
|
+
LastModifiedTimestamp?: Date;
|
|
209
|
+
|
|
210
|
+
Tags?: {
|
|
211
|
+
[key: string]: string;
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
export declare namespace DescribeNotificationRuleResult {
|
|
215
|
+
|
|
216
|
+
const filterSensitiveLog: (obj: DescribeNotificationRuleResult) => any;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
220
|
+
name: "ResourceNotFoundException";
|
|
221
|
+
$fault: "client";
|
|
222
|
+
Message?: string;
|
|
223
|
+
}
|
|
224
|
+
export declare namespace ResourceNotFoundException {
|
|
225
|
+
|
|
226
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
230
|
+
name: "InvalidNextTokenException";
|
|
231
|
+
$fault: "client";
|
|
232
|
+
Message?: string;
|
|
233
|
+
}
|
|
234
|
+
export declare namespace InvalidNextTokenException {
|
|
235
|
+
|
|
236
|
+
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
237
|
+
}
|
|
238
|
+
export declare enum ListEventTypesFilterName {
|
|
239
|
+
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
240
|
+
SERVICE_NAME = "SERVICE_NAME"
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export interface ListEventTypesFilter {
|
|
244
|
+
|
|
245
|
+
Name: ListEventTypesFilterName | string | undefined;
|
|
246
|
+
|
|
247
|
+
Value: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace ListEventTypesFilter {
|
|
250
|
+
|
|
251
|
+
const filterSensitiveLog: (obj: ListEventTypesFilter) => any;
|
|
252
|
+
}
|
|
253
|
+
export interface ListEventTypesRequest {
|
|
254
|
+
|
|
255
|
+
Filters?: ListEventTypesFilter[];
|
|
256
|
+
|
|
257
|
+
NextToken?: string;
|
|
258
|
+
|
|
259
|
+
MaxResults?: number;
|
|
260
|
+
}
|
|
261
|
+
export declare namespace ListEventTypesRequest {
|
|
262
|
+
|
|
263
|
+
const filterSensitiveLog: (obj: ListEventTypesRequest) => any;
|
|
264
|
+
}
|
|
265
|
+
export interface ListEventTypesResult {
|
|
266
|
+
|
|
267
|
+
EventTypes?: EventTypeSummary[];
|
|
268
|
+
|
|
269
|
+
NextToken?: string;
|
|
270
|
+
}
|
|
271
|
+
export declare namespace ListEventTypesResult {
|
|
272
|
+
|
|
273
|
+
const filterSensitiveLog: (obj: ListEventTypesResult) => any;
|
|
274
|
+
}
|
|
275
|
+
export declare enum ListNotificationRulesFilterName {
|
|
276
|
+
CREATED_BY = "CREATED_BY",
|
|
277
|
+
EVENT_TYPE_ID = "EVENT_TYPE_ID",
|
|
278
|
+
RESOURCE = "RESOURCE",
|
|
279
|
+
TARGET_ADDRESS = "TARGET_ADDRESS"
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export interface ListNotificationRulesFilter {
|
|
283
|
+
|
|
284
|
+
Name: ListNotificationRulesFilterName | string | undefined;
|
|
285
|
+
|
|
286
|
+
Value: string | undefined;
|
|
287
|
+
}
|
|
288
|
+
export declare namespace ListNotificationRulesFilter {
|
|
289
|
+
|
|
290
|
+
const filterSensitiveLog: (obj: ListNotificationRulesFilter) => any;
|
|
291
|
+
}
|
|
292
|
+
export interface ListNotificationRulesRequest {
|
|
293
|
+
|
|
294
|
+
Filters?: ListNotificationRulesFilter[];
|
|
295
|
+
|
|
296
|
+
NextToken?: string;
|
|
297
|
+
|
|
298
|
+
MaxResults?: number;
|
|
299
|
+
}
|
|
300
|
+
export declare namespace ListNotificationRulesRequest {
|
|
301
|
+
|
|
302
|
+
const filterSensitiveLog: (obj: ListNotificationRulesRequest) => any;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export interface NotificationRuleSummary {
|
|
306
|
+
|
|
307
|
+
Id?: string;
|
|
308
|
+
|
|
309
|
+
Arn?: string;
|
|
310
|
+
}
|
|
311
|
+
export declare namespace NotificationRuleSummary {
|
|
312
|
+
|
|
313
|
+
const filterSensitiveLog: (obj: NotificationRuleSummary) => any;
|
|
314
|
+
}
|
|
315
|
+
export interface ListNotificationRulesResult {
|
|
316
|
+
|
|
317
|
+
NextToken?: string;
|
|
318
|
+
|
|
319
|
+
NotificationRules?: NotificationRuleSummary[];
|
|
320
|
+
}
|
|
321
|
+
export declare namespace ListNotificationRulesResult {
|
|
322
|
+
|
|
323
|
+
const filterSensitiveLog: (obj: ListNotificationRulesResult) => any;
|
|
324
|
+
}
|
|
325
|
+
export interface ListTagsForResourceRequest {
|
|
326
|
+
|
|
327
|
+
Arn: string | undefined;
|
|
328
|
+
}
|
|
329
|
+
export declare namespace ListTagsForResourceRequest {
|
|
330
|
+
|
|
331
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
332
|
+
}
|
|
333
|
+
export interface ListTagsForResourceResult {
|
|
334
|
+
|
|
335
|
+
Tags?: {
|
|
336
|
+
[key: string]: string;
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
export declare namespace ListTagsForResourceResult {
|
|
340
|
+
|
|
341
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResult) => any;
|
|
342
|
+
}
|
|
343
|
+
export declare enum ListTargetsFilterName {
|
|
344
|
+
TARGET_ADDRESS = "TARGET_ADDRESS",
|
|
345
|
+
TARGET_STATUS = "TARGET_STATUS",
|
|
346
|
+
TARGET_TYPE = "TARGET_TYPE"
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface ListTargetsFilter {
|
|
350
|
+
|
|
351
|
+
Name: ListTargetsFilterName | string | undefined;
|
|
352
|
+
|
|
353
|
+
Value: string | undefined;
|
|
354
|
+
}
|
|
355
|
+
export declare namespace ListTargetsFilter {
|
|
356
|
+
|
|
357
|
+
const filterSensitiveLog: (obj: ListTargetsFilter) => any;
|
|
358
|
+
}
|
|
359
|
+
export interface ListTargetsRequest {
|
|
360
|
+
|
|
361
|
+
Filters?: ListTargetsFilter[];
|
|
362
|
+
|
|
363
|
+
NextToken?: string;
|
|
364
|
+
|
|
365
|
+
MaxResults?: number;
|
|
366
|
+
}
|
|
367
|
+
export declare namespace ListTargetsRequest {
|
|
368
|
+
|
|
369
|
+
const filterSensitiveLog: (obj: ListTargetsRequest) => any;
|
|
370
|
+
}
|
|
371
|
+
export interface ListTargetsResult {
|
|
372
|
+
|
|
373
|
+
Targets?: TargetSummary[];
|
|
374
|
+
|
|
375
|
+
NextToken?: string;
|
|
376
|
+
}
|
|
377
|
+
export declare namespace ListTargetsResult {
|
|
378
|
+
|
|
379
|
+
const filterSensitiveLog: (obj: ListTargetsResult) => any;
|
|
380
|
+
}
|
|
381
|
+
export interface SubscribeRequest {
|
|
382
|
+
|
|
383
|
+
Arn: string | undefined;
|
|
384
|
+
|
|
385
|
+
Target: Target | undefined;
|
|
386
|
+
|
|
387
|
+
ClientRequestToken?: string;
|
|
388
|
+
}
|
|
389
|
+
export declare namespace SubscribeRequest {
|
|
390
|
+
|
|
391
|
+
const filterSensitiveLog: (obj: SubscribeRequest) => any;
|
|
392
|
+
}
|
|
393
|
+
export interface SubscribeResult {
|
|
394
|
+
|
|
395
|
+
Arn?: string;
|
|
396
|
+
}
|
|
397
|
+
export declare namespace SubscribeResult {
|
|
398
|
+
|
|
399
|
+
const filterSensitiveLog: (obj: SubscribeResult) => any;
|
|
400
|
+
}
|
|
401
|
+
export interface TagResourceRequest {
|
|
402
|
+
|
|
403
|
+
Arn: string | undefined;
|
|
404
|
+
|
|
405
|
+
Tags: {
|
|
406
|
+
[key: string]: string;
|
|
407
|
+
} | undefined;
|
|
408
|
+
}
|
|
409
|
+
export declare namespace TagResourceRequest {
|
|
410
|
+
|
|
411
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
412
|
+
}
|
|
413
|
+
export interface TagResourceResult {
|
|
414
|
+
|
|
415
|
+
Tags?: {
|
|
416
|
+
[key: string]: string;
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
export declare namespace TagResourceResult {
|
|
420
|
+
|
|
421
|
+
const filterSensitiveLog: (obj: TagResourceResult) => any;
|
|
422
|
+
}
|
|
423
|
+
export interface UnsubscribeRequest {
|
|
424
|
+
|
|
425
|
+
Arn: string | undefined;
|
|
426
|
+
|
|
427
|
+
TargetAddress: string | undefined;
|
|
428
|
+
}
|
|
429
|
+
export declare namespace UnsubscribeRequest {
|
|
430
|
+
|
|
431
|
+
const filterSensitiveLog: (obj: UnsubscribeRequest) => any;
|
|
432
|
+
}
|
|
433
|
+
export interface UnsubscribeResult {
|
|
434
|
+
|
|
435
|
+
Arn: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
export declare namespace UnsubscribeResult {
|
|
438
|
+
|
|
439
|
+
const filterSensitiveLog: (obj: UnsubscribeResult) => any;
|
|
440
|
+
}
|
|
441
|
+
export interface UntagResourceRequest {
|
|
442
|
+
|
|
443
|
+
Arn: string | undefined;
|
|
444
|
+
|
|
445
|
+
TagKeys: string[] | undefined;
|
|
446
|
+
}
|
|
447
|
+
export declare namespace UntagResourceRequest {
|
|
448
|
+
|
|
449
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
450
|
+
}
|
|
451
|
+
export interface UntagResourceResult {
|
|
452
|
+
}
|
|
453
|
+
export declare namespace UntagResourceResult {
|
|
454
|
+
|
|
455
|
+
const filterSensitiveLog: (obj: UntagResourceResult) => any;
|
|
456
|
+
}
|
|
457
|
+
export interface UpdateNotificationRuleRequest {
|
|
458
|
+
|
|
459
|
+
Arn: string | undefined;
|
|
460
|
+
|
|
461
|
+
Name?: string;
|
|
462
|
+
|
|
463
|
+
Status?: NotificationRuleStatus | string;
|
|
464
|
+
|
|
465
|
+
EventTypeIds?: string[];
|
|
466
|
+
|
|
467
|
+
Targets?: Target[];
|
|
468
|
+
|
|
469
|
+
DetailType?: DetailType | string;
|
|
470
|
+
}
|
|
471
|
+
export declare namespace UpdateNotificationRuleRequest {
|
|
472
|
+
|
|
473
|
+
const filterSensitiveLog: (obj: UpdateNotificationRuleRequest) => any;
|
|
474
|
+
}
|
|
475
|
+
export interface UpdateNotificationRuleResult {
|
|
476
|
+
}
|
|
477
|
+
export declare namespace UpdateNotificationRuleResult {
|
|
478
|
+
|
|
479
|
+
const filterSensitiveLog: (obj: UpdateNotificationRuleResult) => any;
|
|
480
|
+
}
|
|
@@ -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>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { CodestarNotificationsClientConfig } from "./CodestarNotificationsClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { CodestarNotificationsClientConfig } from "./CodestarNotificationsClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
7
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
8
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
9
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
10
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
11
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
12
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CodestarNotificationsClientConfig } from "./CodestarNotificationsClient";
|
|
2
|
-
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
2
|
+
|
|
5
3
|
export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
2
|
import { CodestarNotificationsClientConfig } from "./CodestarNotificationsClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: CodestarNotificationsClientConfig) => {
|
|
7
5
|
apiVersion: string;
|
|
8
6
|
disableHostPrefix: boolean;
|