@aws-sdk/client-codestar-notifications 3.427.0 → 3.429.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.
@@ -122,7 +122,7 @@ export interface CreateNotificationRuleRequest {
122
122
  * contents of the event as it would appear in Amazon CloudWatch. <code>FULL</code> will include any supplemental information
123
123
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
124
124
  */
125
- DetailType: DetailType | string | undefined;
125
+ DetailType: DetailType | undefined;
126
126
  /**
127
127
  * @public
128
128
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
@@ -145,7 +145,7 @@ export interface CreateNotificationRuleRequest {
145
145
  * <p>The status of the notification rule. The default value is <code>ENABLED</code>. If the status is
146
146
  * set to <code>DISABLED</code>, notifications aren't sent for the notification rule.</p>
147
147
  */
148
- Status?: NotificationRuleStatus | string;
148
+ Status?: NotificationRuleStatus;
149
149
  }
150
150
  /**
151
151
  * @public
@@ -321,7 +321,7 @@ export interface TargetSummary {
321
321
  * @public
322
322
  * <p>The status of the target.</p>
323
323
  */
324
- TargetStatus?: TargetStatus | string;
324
+ TargetStatus?: TargetStatus;
325
325
  }
326
326
  /**
327
327
  * @public
@@ -359,7 +359,7 @@ export interface DescribeNotificationRuleResult {
359
359
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
360
360
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
361
361
  */
362
- DetailType?: DetailType | string;
362
+ DetailType?: DetailType;
363
363
  /**
364
364
  * @public
365
365
  * <p>The name or email alias of the person who created the notification rule.</p>
@@ -370,7 +370,7 @@ export interface DescribeNotificationRuleResult {
370
370
  * <p>The status of the notification rule. Valid statuses are on (sending notifications) or off
371
371
  * (not sending notifications).</p>
372
372
  */
373
- Status?: NotificationRuleStatus | string;
373
+ Status?: NotificationRuleStatus;
374
374
  /**
375
375
  * @public
376
376
  * <p>The date and time the notification rule was created, in timestamp format.</p>
@@ -436,7 +436,7 @@ export interface ListEventTypesFilter {
436
436
  * @public
437
437
  * <p>The system-generated name of the filter type you want to filter by.</p>
438
438
  */
439
- Name: ListEventTypesFilterName | string | undefined;
439
+ Name: ListEventTypesFilterName | undefined;
440
440
  /**
441
441
  * @public
442
442
  * <p>The name of the resource type (for example, pipeline) or service name (for example,
@@ -506,7 +506,7 @@ export interface ListNotificationRulesFilter {
506
506
  * @public
507
507
  * <p>The name of the attribute you want to use to filter the returned notification rules.</p>
508
508
  */
509
- Name: ListNotificationRulesFilterName | string | undefined;
509
+ Name: ListNotificationRulesFilterName | undefined;
510
510
  /**
511
511
  * @public
512
512
  * <p>The value of the attribute you want to use to filter the returned notification rules. For example, if you specify filtering by <i>RESOURCE</i>
@@ -617,7 +617,7 @@ export interface ListTargetsFilter {
617
617
  * @public
618
618
  * <p>The name of the attribute you want to use to filter the returned targets.</p>
619
619
  */
620
- Name: ListTargetsFilterName | string | undefined;
620
+ Name: ListTargetsFilterName | undefined;
621
621
  /**
622
622
  * @public
623
623
  * <p>The value of the attribute you want to use to filter the returned targets. For example,
@@ -789,7 +789,7 @@ export interface UpdateNotificationRuleRequest {
789
789
  * <p>The status of the notification rule. Valid statuses include enabled (sending notifications) or
790
790
  * disabled (not sending notifications).</p>
791
791
  */
792
- Status?: NotificationRuleStatus | string;
792
+ Status?: NotificationRuleStatus;
793
793
  /**
794
794
  * @public
795
795
  * <p>A list of event types associated with this notification rule. For a complete list of event types and IDs, see
@@ -809,7 +809,7 @@ export interface UpdateNotificationRuleRequest {
809
809
  * contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
810
810
  * provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.</p>
811
811
  */
812
- DetailType?: DetailType | string;
812
+ DetailType?: DetailType;
813
813
  }
814
814
  /**
815
815
  * @public
@@ -47,10 +47,10 @@ export interface CreateNotificationRuleRequest {
47
47
  EventTypeIds: string[] | undefined;
48
48
  Resource: string | undefined;
49
49
  Targets: Target[] | undefined;
50
- DetailType: DetailType | string | undefined;
50
+ DetailType: DetailType | undefined;
51
51
  ClientRequestToken?: string;
52
52
  Tags?: Record<string, string>;
53
- Status?: NotificationRuleStatus | string;
53
+ Status?: NotificationRuleStatus;
54
54
  }
55
55
  export interface CreateNotificationRuleResult {
56
56
  Arn?: string;
@@ -110,7 +110,7 @@ export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
110
110
  export interface TargetSummary {
111
111
  TargetAddress?: string;
112
112
  TargetType?: string;
113
- TargetStatus?: TargetStatus | string;
113
+ TargetStatus?: TargetStatus;
114
114
  }
115
115
  export interface DescribeNotificationRuleResult {
116
116
  Arn: string | undefined;
@@ -118,9 +118,9 @@ export interface DescribeNotificationRuleResult {
118
118
  EventTypes?: EventTypeSummary[];
119
119
  Resource?: string;
120
120
  Targets?: TargetSummary[];
121
- DetailType?: DetailType | string;
121
+ DetailType?: DetailType;
122
122
  CreatedBy?: string;
123
- Status?: NotificationRuleStatus | string;
123
+ Status?: NotificationRuleStatus;
124
124
  CreatedTimestamp?: Date;
125
125
  LastModifiedTimestamp?: Date;
126
126
  Tags?: Record<string, string>;
@@ -148,7 +148,7 @@ export declare const ListEventTypesFilterName: {
148
148
  export type ListEventTypesFilterName =
149
149
  (typeof ListEventTypesFilterName)[keyof typeof ListEventTypesFilterName];
150
150
  export interface ListEventTypesFilter {
151
- Name: ListEventTypesFilterName | string | undefined;
151
+ Name: ListEventTypesFilterName | undefined;
152
152
  Value: string | undefined;
153
153
  }
154
154
  export interface ListEventTypesRequest {
@@ -169,7 +169,7 @@ export declare const ListNotificationRulesFilterName: {
169
169
  export type ListNotificationRulesFilterName =
170
170
  (typeof ListNotificationRulesFilterName)[keyof typeof ListNotificationRulesFilterName];
171
171
  export interface ListNotificationRulesFilter {
172
- Name: ListNotificationRulesFilterName | string | undefined;
172
+ Name: ListNotificationRulesFilterName | undefined;
173
173
  Value: string | undefined;
174
174
  }
175
175
  export interface ListNotificationRulesRequest {
@@ -199,7 +199,7 @@ export declare const ListTargetsFilterName: {
199
199
  export type ListTargetsFilterName =
200
200
  (typeof ListTargetsFilterName)[keyof typeof ListTargetsFilterName];
201
201
  export interface ListTargetsFilter {
202
- Name: ListTargetsFilterName | string | undefined;
202
+ Name: ListTargetsFilterName | undefined;
203
203
  Value: string | undefined;
204
204
  }
205
205
  export interface ListTargetsRequest {
@@ -241,10 +241,10 @@ export interface UntagResourceResult {}
241
241
  export interface UpdateNotificationRuleRequest {
242
242
  Arn: string | undefined;
243
243
  Name?: string;
244
- Status?: NotificationRuleStatus | string;
244
+ Status?: NotificationRuleStatus;
245
245
  EventTypeIds?: string[];
246
246
  Targets?: Target[];
247
- DetailType?: DetailType | string;
247
+ DetailType?: DetailType;
248
248
  }
249
249
  export interface UpdateNotificationRuleResult {}
250
250
  export declare const TargetFilterSensitiveLog: (obj: Target) => any;
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"