@aws-sdk/client-codestar-notifications 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +30 -36
- package/dist-es/models/models_0.js +30 -36
- package/dist-types/commands/CreateNotificationRuleCommand.d.ts +5 -5
- package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTargetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +1 -1
- package/dist-types/commands/ListEventTypesCommand.d.ts +3 -3
- package/dist-types/commands/ListNotificationRulesCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsCommand.d.ts +3 -3
- package/dist-types/commands/SubscribeCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UnsubscribeCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +60 -30
- package/dist-types/ts3.4/models/models_0.d.ts +40 -30
- package/package.json +34 -34
|
@@ -45,16 +45,14 @@ class ConfigurationException extends CodestarNotificationsServiceException_1.Cod
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
exports.ConfigurationException = ConfigurationException;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
NotificationRuleStatus["ENABLED"] = "ENABLED";
|
|
57
|
-
})(NotificationRuleStatus = exports.NotificationRuleStatus || (exports.NotificationRuleStatus = {}));
|
|
48
|
+
exports.DetailType = {
|
|
49
|
+
BASIC: "BASIC",
|
|
50
|
+
FULL: "FULL",
|
|
51
|
+
};
|
|
52
|
+
exports.NotificationRuleStatus = {
|
|
53
|
+
DISABLED: "DISABLED",
|
|
54
|
+
ENABLED: "ENABLED",
|
|
55
|
+
};
|
|
58
56
|
class LimitExceededException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
59
57
|
constructor(opts) {
|
|
60
58
|
super({
|
|
@@ -97,14 +95,13 @@ class ValidationException extends CodestarNotificationsServiceException_1.Codest
|
|
|
97
95
|
}
|
|
98
96
|
}
|
|
99
97
|
exports.ValidationException = ValidationException;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
})(TargetStatus = exports.TargetStatus || (exports.TargetStatus = {}));
|
|
98
|
+
exports.TargetStatus = {
|
|
99
|
+
ACTIVE: "ACTIVE",
|
|
100
|
+
DEACTIVATED: "DEACTIVATED",
|
|
101
|
+
INACTIVE: "INACTIVE",
|
|
102
|
+
PENDING: "PENDING",
|
|
103
|
+
UNREACHABLE: "UNREACHABLE",
|
|
104
|
+
};
|
|
108
105
|
class ResourceNotFoundException extends CodestarNotificationsServiceException_1.CodestarNotificationsServiceException {
|
|
109
106
|
constructor(opts) {
|
|
110
107
|
super({
|
|
@@ -133,24 +130,21 @@ class InvalidNextTokenException extends CodestarNotificationsServiceException_1.
|
|
|
133
130
|
}
|
|
134
131
|
}
|
|
135
132
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
ListTargetsFilterName["TARGET_STATUS"] = "TARGET_STATUS";
|
|
152
|
-
ListTargetsFilterName["TARGET_TYPE"] = "TARGET_TYPE";
|
|
153
|
-
})(ListTargetsFilterName = exports.ListTargetsFilterName || (exports.ListTargetsFilterName = {}));
|
|
133
|
+
exports.ListEventTypesFilterName = {
|
|
134
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
135
|
+
SERVICE_NAME: "SERVICE_NAME",
|
|
136
|
+
};
|
|
137
|
+
exports.ListNotificationRulesFilterName = {
|
|
138
|
+
CREATED_BY: "CREATED_BY",
|
|
139
|
+
EVENT_TYPE_ID: "EVENT_TYPE_ID",
|
|
140
|
+
RESOURCE: "RESOURCE",
|
|
141
|
+
TARGET_ADDRESS: "TARGET_ADDRESS",
|
|
142
|
+
};
|
|
143
|
+
exports.ListTargetsFilterName = {
|
|
144
|
+
TARGET_ADDRESS: "TARGET_ADDRESS",
|
|
145
|
+
TARGET_STATUS: "TARGET_STATUS",
|
|
146
|
+
TARGET_TYPE: "TARGET_TYPE",
|
|
147
|
+
};
|
|
154
148
|
const TargetFilterSensitiveLog = (obj) => ({
|
|
155
149
|
...obj,
|
|
156
150
|
...(obj.TargetAddress && { TargetAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -39,16 +39,14 @@ export class ConfigurationException extends __BaseException {
|
|
|
39
39
|
this.Message = opts.Message;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
NotificationRuleStatus["ENABLED"] = "ENABLED";
|
|
51
|
-
})(NotificationRuleStatus || (NotificationRuleStatus = {}));
|
|
42
|
+
export const DetailType = {
|
|
43
|
+
BASIC: "BASIC",
|
|
44
|
+
FULL: "FULL",
|
|
45
|
+
};
|
|
46
|
+
export const NotificationRuleStatus = {
|
|
47
|
+
DISABLED: "DISABLED",
|
|
48
|
+
ENABLED: "ENABLED",
|
|
49
|
+
};
|
|
52
50
|
export class LimitExceededException extends __BaseException {
|
|
53
51
|
constructor(opts) {
|
|
54
52
|
super({
|
|
@@ -88,14 +86,13 @@ export class ValidationException extends __BaseException {
|
|
|
88
86
|
this.Message = opts.Message;
|
|
89
87
|
}
|
|
90
88
|
}
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
})(TargetStatus || (TargetStatus = {}));
|
|
89
|
+
export const TargetStatus = {
|
|
90
|
+
ACTIVE: "ACTIVE",
|
|
91
|
+
DEACTIVATED: "DEACTIVATED",
|
|
92
|
+
INACTIVE: "INACTIVE",
|
|
93
|
+
PENDING: "PENDING",
|
|
94
|
+
UNREACHABLE: "UNREACHABLE",
|
|
95
|
+
};
|
|
99
96
|
export class ResourceNotFoundException extends __BaseException {
|
|
100
97
|
constructor(opts) {
|
|
101
98
|
super({
|
|
@@ -122,24 +119,21 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
122
119
|
this.Message = opts.Message;
|
|
123
120
|
}
|
|
124
121
|
}
|
|
125
|
-
export
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
ListTargetsFilterName["TARGET_STATUS"] = "TARGET_STATUS";
|
|
141
|
-
ListTargetsFilterName["TARGET_TYPE"] = "TARGET_TYPE";
|
|
142
|
-
})(ListTargetsFilterName || (ListTargetsFilterName = {}));
|
|
122
|
+
export const ListEventTypesFilterName = {
|
|
123
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
124
|
+
SERVICE_NAME: "SERVICE_NAME",
|
|
125
|
+
};
|
|
126
|
+
export const ListNotificationRulesFilterName = {
|
|
127
|
+
CREATED_BY: "CREATED_BY",
|
|
128
|
+
EVENT_TYPE_ID: "EVENT_TYPE_ID",
|
|
129
|
+
RESOURCE: "RESOURCE",
|
|
130
|
+
TARGET_ADDRESS: "TARGET_ADDRESS",
|
|
131
|
+
};
|
|
132
|
+
export const ListTargetsFilterName = {
|
|
133
|
+
TARGET_ADDRESS: "TARGET_ADDRESS",
|
|
134
|
+
TARGET_STATUS: "TARGET_STATUS",
|
|
135
|
+
TARGET_TYPE: "TARGET_TYPE",
|
|
136
|
+
};
|
|
143
137
|
export const TargetFilterSensitiveLog = (obj) => ({
|
|
144
138
|
...obj,
|
|
145
139
|
...(obj.TargetAddress && { TargetAddress: SENSITIVE_STRING }),
|
|
@@ -28,21 +28,21 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
|
|
|
28
28
|
* import { CodestarNotificationsClient, CreateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, CreateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateNotificationRuleRequest
|
|
32
32
|
* Name: "STRING_VALUE", // required
|
|
33
|
-
* EventTypeIds: [ // required
|
|
33
|
+
* EventTypeIds: [ // EventTypeIds // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* Resource: "STRING_VALUE", // required
|
|
37
|
-
* Targets: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* Targets: [ // Targets // required
|
|
38
|
+
* { // Target
|
|
39
39
|
* TargetType: "STRING_VALUE",
|
|
40
40
|
* TargetAddress: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
43
|
* DetailType: "BASIC" || "FULL", // required
|
|
44
44
|
* ClientRequestToken: "STRING_VALUE",
|
|
45
|
-
* Tags: {
|
|
45
|
+
* Tags: { // Tags
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* Status: "ENABLED" || "DISABLED",
|
|
@@ -26,7 +26,7 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
|
|
|
26
26
|
* import { CodestarNotificationsClient, DeleteNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DeleteNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteNotificationRuleRequest
|
|
30
30
|
* Arn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteNotificationRuleCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
|
|
|
26
26
|
* import { CodestarNotificationsClient, DeleteTargetCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DeleteTargetCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteTargetRequest
|
|
30
30
|
* TargetAddress: "STRING_VALUE", // required
|
|
31
31
|
* ForceUnsubscribeAll: true || false,
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
|
|
|
26
26
|
* import { CodestarNotificationsClient, DescribeNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, DescribeNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeNotificationRuleRequest
|
|
30
30
|
* Arn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeNotificationRuleCommand(input);
|
|
@@ -26,9 +26,9 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListEventTypesCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListEventTypesCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Filters: [
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // ListEventTypesRequest
|
|
30
|
+
* Filters: [ // ListEventTypesFilters
|
|
31
|
+
* { // ListEventTypesFilter
|
|
32
32
|
* Name: "RESOURCE_TYPE" || "SERVICE_NAME", // required
|
|
33
33
|
* Value: "STRING_VALUE", // required
|
|
34
34
|
* },
|
|
@@ -26,9 +26,9 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListNotificationRulesCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListNotificationRulesCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Filters: [
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // ListNotificationRulesRequest
|
|
30
|
+
* Filters: [ // ListNotificationRulesFilters
|
|
31
|
+
* { // ListNotificationRulesFilter
|
|
32
32
|
* Name: "EVENT_TYPE_ID" || "CREATED_BY" || "RESOURCE" || "TARGET_ADDRESS", // required
|
|
33
33
|
* Value: "STRING_VALUE", // required
|
|
34
34
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListTagsForResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* Arn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,9 +26,9 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
|
|
|
26
26
|
* import { CodestarNotificationsClient, ListTargetsCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, ListTargetsCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* Filters: [
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // ListTargetsRequest
|
|
30
|
+
* Filters: [ // ListTargetsFilters
|
|
31
|
+
* { // ListTargetsFilter
|
|
32
32
|
* Name: "TARGET_TYPE" || "TARGET_ADDRESS" || "TARGET_STATUS", // required
|
|
33
33
|
* Value: "STRING_VALUE", // required
|
|
34
34
|
* },
|
|
@@ -28,9 +28,9 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
|
|
|
28
28
|
* import { CodestarNotificationsClient, SubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, SubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // SubscribeRequest
|
|
32
32
|
* Arn: "STRING_VALUE", // required
|
|
33
|
-
* Target: {
|
|
33
|
+
* Target: { // Target
|
|
34
34
|
* TargetType: "STRING_VALUE",
|
|
35
35
|
* TargetAddress: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
26
26
|
* import { CodestarNotificationsClient, TagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
27
27
|
* // const { CodestarNotificationsClient, TagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
28
28
|
* const client = new CodestarNotificationsClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* Arn: "STRING_VALUE", // required
|
|
31
|
-
* Tags: { // required
|
|
31
|
+
* Tags: { // Tags // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -28,7 +28,7 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
|
|
|
28
28
|
* import { CodestarNotificationsClient, UnsubscribeCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
29
29
|
* // const { CodestarNotificationsClient, UnsubscribeCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
30
30
|
* const client = new CodestarNotificationsClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UnsubscribeRequest
|
|
32
32
|
* Arn: "STRING_VALUE", // required
|
|
33
33
|
* TargetAddress: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
27
27
|
* import { CodestarNotificationsClient, UntagResourceCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
28
28
|
* // const { CodestarNotificationsClient, UntagResourceCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
29
29
|
* const client = new CodestarNotificationsClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
31
|
* Arn: "STRING_VALUE", // required
|
|
32
|
-
* TagKeys: [ // required
|
|
32
|
+
* TagKeys: [ // TagKeys // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -31,15 +31,15 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
|
|
|
31
31
|
* import { CodestarNotificationsClient, UpdateNotificationRuleCommand } from "@aws-sdk/client-codestar-notifications"; // ES Modules import
|
|
32
32
|
* // const { CodestarNotificationsClient, UpdateNotificationRuleCommand } = require("@aws-sdk/client-codestar-notifications"); // CommonJS import
|
|
33
33
|
* const client = new CodestarNotificationsClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // UpdateNotificationRuleRequest
|
|
35
35
|
* Arn: "STRING_VALUE", // required
|
|
36
36
|
* Name: "STRING_VALUE",
|
|
37
37
|
* Status: "ENABLED" || "DISABLED",
|
|
38
|
-
* EventTypeIds: [
|
|
38
|
+
* EventTypeIds: [ // EventTypeIds
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* Targets: [
|
|
42
|
-
* {
|
|
41
|
+
* Targets: [ // Targets
|
|
42
|
+
* { // Target
|
|
43
43
|
* TargetType: "STRING_VALUE",
|
|
44
44
|
* TargetAddress: "STRING_VALUE",
|
|
45
45
|
* },
|
|
@@ -43,18 +43,28 @@ export declare class ConfigurationException extends __BaseException {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* @public
|
|
46
|
+
* @enum
|
|
46
47
|
*/
|
|
47
|
-
export declare
|
|
48
|
-
BASIC
|
|
49
|
-
FULL
|
|
50
|
-
}
|
|
48
|
+
export declare const DetailType: {
|
|
49
|
+
readonly BASIC: "BASIC";
|
|
50
|
+
readonly FULL: "FULL";
|
|
51
|
+
};
|
|
51
52
|
/**
|
|
52
53
|
* @public
|
|
53
54
|
*/
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
export type DetailType = (typeof DetailType)[keyof typeof DetailType];
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
* @enum
|
|
59
|
+
*/
|
|
60
|
+
export declare const NotificationRuleStatus: {
|
|
61
|
+
readonly DISABLED: "DISABLED";
|
|
62
|
+
readonly ENABLED: "ENABLED";
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export type NotificationRuleStatus = (typeof NotificationRuleStatus)[keyof typeof NotificationRuleStatus];
|
|
58
68
|
/**
|
|
59
69
|
* @public
|
|
60
70
|
* <p>Information about the Chatbot topics or Chatbot clients associated with a notification rule.</p>
|
|
@@ -251,14 +261,19 @@ export interface EventTypeSummary {
|
|
|
251
261
|
}
|
|
252
262
|
/**
|
|
253
263
|
* @public
|
|
264
|
+
* @enum
|
|
254
265
|
*/
|
|
255
|
-
export declare
|
|
256
|
-
ACTIVE
|
|
257
|
-
DEACTIVATED
|
|
258
|
-
INACTIVE
|
|
259
|
-
PENDING
|
|
260
|
-
UNREACHABLE
|
|
261
|
-
}
|
|
266
|
+
export declare const TargetStatus: {
|
|
267
|
+
readonly ACTIVE: "ACTIVE";
|
|
268
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
269
|
+
readonly INACTIVE: "INACTIVE";
|
|
270
|
+
readonly PENDING: "PENDING";
|
|
271
|
+
readonly UNREACHABLE: "UNREACHABLE";
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
|
|
262
277
|
/**
|
|
263
278
|
* @public
|
|
264
279
|
* <p>Information about the targets specified for a notification rule.</p>
|
|
@@ -367,11 +382,16 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
367
382
|
}
|
|
368
383
|
/**
|
|
369
384
|
* @public
|
|
385
|
+
* @enum
|
|
370
386
|
*/
|
|
371
|
-
export declare
|
|
372
|
-
RESOURCE_TYPE
|
|
373
|
-
SERVICE_NAME
|
|
374
|
-
}
|
|
387
|
+
export declare const ListEventTypesFilterName: {
|
|
388
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
389
|
+
readonly SERVICE_NAME: "SERVICE_NAME";
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* @public
|
|
393
|
+
*/
|
|
394
|
+
export type ListEventTypesFilterName = (typeof ListEventTypesFilterName)[keyof typeof ListEventTypesFilterName];
|
|
375
395
|
/**
|
|
376
396
|
* @public
|
|
377
397
|
* <p>Information about a filter to apply to the list of returned event types. You can filter
|
|
@@ -423,13 +443,18 @@ export interface ListEventTypesResult {
|
|
|
423
443
|
}
|
|
424
444
|
/**
|
|
425
445
|
* @public
|
|
446
|
+
* @enum
|
|
426
447
|
*/
|
|
427
|
-
export declare
|
|
428
|
-
CREATED_BY
|
|
429
|
-
EVENT_TYPE_ID
|
|
430
|
-
RESOURCE
|
|
431
|
-
TARGET_ADDRESS
|
|
432
|
-
}
|
|
448
|
+
export declare const ListNotificationRulesFilterName: {
|
|
449
|
+
readonly CREATED_BY: "CREATED_BY";
|
|
450
|
+
readonly EVENT_TYPE_ID: "EVENT_TYPE_ID";
|
|
451
|
+
readonly RESOURCE: "RESOURCE";
|
|
452
|
+
readonly TARGET_ADDRESS: "TARGET_ADDRESS";
|
|
453
|
+
};
|
|
454
|
+
/**
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
export type ListNotificationRulesFilterName = (typeof ListNotificationRulesFilterName)[keyof typeof ListNotificationRulesFilterName];
|
|
433
458
|
/**
|
|
434
459
|
* @public
|
|
435
460
|
* <p>Information about a filter to apply to the list of returned notification rules. You can
|
|
@@ -516,12 +541,17 @@ export interface ListTagsForResourceResult {
|
|
|
516
541
|
}
|
|
517
542
|
/**
|
|
518
543
|
* @public
|
|
544
|
+
* @enum
|
|
519
545
|
*/
|
|
520
|
-
export declare
|
|
521
|
-
TARGET_ADDRESS
|
|
522
|
-
TARGET_STATUS
|
|
523
|
-
TARGET_TYPE
|
|
524
|
-
}
|
|
546
|
+
export declare const ListTargetsFilterName: {
|
|
547
|
+
readonly TARGET_ADDRESS: "TARGET_ADDRESS";
|
|
548
|
+
readonly TARGET_STATUS: "TARGET_STATUS";
|
|
549
|
+
readonly TARGET_TYPE: "TARGET_TYPE";
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
export type ListTargetsFilterName = (typeof ListTargetsFilterName)[keyof typeof ListTargetsFilterName];
|
|
525
555
|
/**
|
|
526
556
|
* @public
|
|
527
557
|
* <p>Information about a filter to apply to the list of returned targets. You can filter by
|
|
@@ -27,14 +27,17 @@ export declare class ConfigurationException extends __BaseException {
|
|
|
27
27
|
opts: __ExceptionOptionType<ConfigurationException, __BaseException>
|
|
28
28
|
);
|
|
29
29
|
}
|
|
30
|
-
export declare
|
|
31
|
-
BASIC
|
|
32
|
-
FULL
|
|
33
|
-
}
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
export declare const DetailType: {
|
|
31
|
+
readonly BASIC: "BASIC";
|
|
32
|
+
readonly FULL: "FULL";
|
|
33
|
+
};
|
|
34
|
+
export type DetailType = (typeof DetailType)[keyof typeof DetailType];
|
|
35
|
+
export declare const NotificationRuleStatus: {
|
|
36
|
+
readonly DISABLED: "DISABLED";
|
|
37
|
+
readonly ENABLED: "ENABLED";
|
|
38
|
+
};
|
|
39
|
+
export type NotificationRuleStatus =
|
|
40
|
+
(typeof NotificationRuleStatus)[keyof typeof NotificationRuleStatus];
|
|
38
41
|
export interface Target {
|
|
39
42
|
TargetType?: string;
|
|
40
43
|
TargetAddress?: string;
|
|
@@ -96,13 +99,14 @@ export interface EventTypeSummary {
|
|
|
96
99
|
EventTypeName?: string;
|
|
97
100
|
ResourceType?: string;
|
|
98
101
|
}
|
|
99
|
-
export declare
|
|
100
|
-
ACTIVE
|
|
101
|
-
DEACTIVATED
|
|
102
|
-
INACTIVE
|
|
103
|
-
PENDING
|
|
104
|
-
UNREACHABLE
|
|
105
|
-
}
|
|
102
|
+
export declare const TargetStatus: {
|
|
103
|
+
readonly ACTIVE: "ACTIVE";
|
|
104
|
+
readonly DEACTIVATED: "DEACTIVATED";
|
|
105
|
+
readonly INACTIVE: "INACTIVE";
|
|
106
|
+
readonly PENDING: "PENDING";
|
|
107
|
+
readonly UNREACHABLE: "UNREACHABLE";
|
|
108
|
+
};
|
|
109
|
+
export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
|
|
106
110
|
export interface TargetSummary {
|
|
107
111
|
TargetAddress?: string;
|
|
108
112
|
TargetType?: string;
|
|
@@ -137,10 +141,12 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
137
141
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
138
142
|
);
|
|
139
143
|
}
|
|
140
|
-
export declare
|
|
141
|
-
RESOURCE_TYPE
|
|
142
|
-
SERVICE_NAME
|
|
143
|
-
}
|
|
144
|
+
export declare const ListEventTypesFilterName: {
|
|
145
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
146
|
+
readonly SERVICE_NAME: "SERVICE_NAME";
|
|
147
|
+
};
|
|
148
|
+
export type ListEventTypesFilterName =
|
|
149
|
+
(typeof ListEventTypesFilterName)[keyof typeof ListEventTypesFilterName];
|
|
144
150
|
export interface ListEventTypesFilter {
|
|
145
151
|
Name: ListEventTypesFilterName | string | undefined;
|
|
146
152
|
Value: string | undefined;
|
|
@@ -154,12 +160,14 @@ export interface ListEventTypesResult {
|
|
|
154
160
|
EventTypes?: EventTypeSummary[];
|
|
155
161
|
NextToken?: string;
|
|
156
162
|
}
|
|
157
|
-
export declare
|
|
158
|
-
CREATED_BY
|
|
159
|
-
EVENT_TYPE_ID
|
|
160
|
-
RESOURCE
|
|
161
|
-
TARGET_ADDRESS
|
|
162
|
-
}
|
|
163
|
+
export declare const ListNotificationRulesFilterName: {
|
|
164
|
+
readonly CREATED_BY: "CREATED_BY";
|
|
165
|
+
readonly EVENT_TYPE_ID: "EVENT_TYPE_ID";
|
|
166
|
+
readonly RESOURCE: "RESOURCE";
|
|
167
|
+
readonly TARGET_ADDRESS: "TARGET_ADDRESS";
|
|
168
|
+
};
|
|
169
|
+
export type ListNotificationRulesFilterName =
|
|
170
|
+
(typeof ListNotificationRulesFilterName)[keyof typeof ListNotificationRulesFilterName];
|
|
163
171
|
export interface ListNotificationRulesFilter {
|
|
164
172
|
Name: ListNotificationRulesFilterName | string | undefined;
|
|
165
173
|
Value: string | undefined;
|
|
@@ -183,11 +191,13 @@ export interface ListTagsForResourceRequest {
|
|
|
183
191
|
export interface ListTagsForResourceResult {
|
|
184
192
|
Tags?: Record<string, string>;
|
|
185
193
|
}
|
|
186
|
-
export declare
|
|
187
|
-
TARGET_ADDRESS
|
|
188
|
-
TARGET_STATUS
|
|
189
|
-
TARGET_TYPE
|
|
190
|
-
}
|
|
194
|
+
export declare const ListTargetsFilterName: {
|
|
195
|
+
readonly TARGET_ADDRESS: "TARGET_ADDRESS";
|
|
196
|
+
readonly TARGET_STATUS: "TARGET_STATUS";
|
|
197
|
+
readonly TARGET_TYPE: "TARGET_TYPE";
|
|
198
|
+
};
|
|
199
|
+
export type ListTargetsFilterName =
|
|
200
|
+
(typeof ListTargetsFilterName)[keyof typeof ListTargetsFilterName];
|
|
191
201
|
export interface ListTargetsFilter {
|
|
192
202
|
Name: ListTargetsFilterName | string | undefined;
|
|
193
203
|
Value: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codestar-notifications",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codestar Notifications Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|