@aws-sdk/client-codestar-notifications 3.758.0 → 3.772.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/index.js +17 -17
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
CodestarNotifications: () => CodestarNotifications,
|
|
26
26
|
CodestarNotificationsClient: () => CodestarNotificationsClient,
|
|
@@ -65,7 +65,7 @@ __export(src_exports, {
|
|
|
65
65
|
paginateListNotificationRules: () => paginateListNotificationRules,
|
|
66
66
|
paginateListTargets: () => paginateListTargets
|
|
67
67
|
});
|
|
68
|
-
module.exports = __toCommonJS(
|
|
68
|
+
module.exports = __toCommonJS(index_exports);
|
|
69
69
|
|
|
70
70
|
// src/CodestarNotificationsClient.ts
|
|
71
71
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -192,9 +192,9 @@ var CodestarNotificationsClient = class extends import_smithy_client.Client {
|
|
|
192
192
|
this.middlewareStack.use(
|
|
193
193
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
194
194
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodestarNotificationsHttpAuthSchemeParametersProvider,
|
|
195
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
195
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
196
196
|
"aws.auth#sigv4": config.credentials
|
|
197
|
-
})
|
|
197
|
+
}), "identityProviderConfigProvider")
|
|
198
198
|
})
|
|
199
199
|
);
|
|
200
200
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -482,12 +482,12 @@ var se_CreateNotificationRuleCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
482
482
|
(0, import_smithy_client.take)(input, {
|
|
483
483
|
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
484
484
|
DetailType: [],
|
|
485
|
-
EventTypeIds: (_) => (0, import_smithy_client._json)(_),
|
|
485
|
+
EventTypeIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EventTypeIds"),
|
|
486
486
|
Name: [],
|
|
487
487
|
Resource: [],
|
|
488
488
|
Status: [],
|
|
489
|
-
Tags: (_) => (0, import_smithy_client._json)(_),
|
|
490
|
-
Targets: (_) => (0, import_smithy_client._json)(_)
|
|
489
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
|
|
490
|
+
Targets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Targets")
|
|
491
491
|
})
|
|
492
492
|
);
|
|
493
493
|
b.m("POST").h(headers).b(body);
|
|
@@ -548,7 +548,7 @@ var se_ListEventTypesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
548
548
|
let body;
|
|
549
549
|
body = JSON.stringify(
|
|
550
550
|
(0, import_smithy_client.take)(input, {
|
|
551
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
551
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
552
552
|
MaxResults: [],
|
|
553
553
|
NextToken: []
|
|
554
554
|
})
|
|
@@ -565,7 +565,7 @@ var se_ListNotificationRulesCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
565
565
|
let body;
|
|
566
566
|
body = JSON.stringify(
|
|
567
567
|
(0, import_smithy_client.take)(input, {
|
|
568
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
568
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
569
569
|
MaxResults: [],
|
|
570
570
|
NextToken: []
|
|
571
571
|
})
|
|
@@ -597,7 +597,7 @@ var se_ListTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
597
597
|
let body;
|
|
598
598
|
body = JSON.stringify(
|
|
599
599
|
(0, import_smithy_client.take)(input, {
|
|
600
|
-
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
600
|
+
Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
|
|
601
601
|
MaxResults: [],
|
|
602
602
|
NextToken: []
|
|
603
603
|
})
|
|
@@ -616,7 +616,7 @@ var se_SubscribeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
616
616
|
(0, import_smithy_client.take)(input, {
|
|
617
617
|
Arn: [],
|
|
618
618
|
ClientRequestToken: [],
|
|
619
|
-
Target: (_) => (0, import_smithy_client._json)(_)
|
|
619
|
+
Target: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Target")
|
|
620
620
|
})
|
|
621
621
|
);
|
|
622
622
|
b.m("POST").h(headers).b(body);
|
|
@@ -632,7 +632,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
632
632
|
body = JSON.stringify(
|
|
633
633
|
(0, import_smithy_client.take)(input, {
|
|
634
634
|
Arn: [],
|
|
635
|
-
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
635
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
636
636
|
})
|
|
637
637
|
);
|
|
638
638
|
b.m("POST").h(headers).b(body);
|
|
@@ -677,10 +677,10 @@ var se_UpdateNotificationRuleCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
677
677
|
(0, import_smithy_client.take)(input, {
|
|
678
678
|
Arn: [],
|
|
679
679
|
DetailType: [],
|
|
680
|
-
EventTypeIds: (_) => (0, import_smithy_client._json)(_),
|
|
680
|
+
EventTypeIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EventTypeIds"),
|
|
681
681
|
Name: [],
|
|
682
682
|
Status: [],
|
|
683
|
-
Targets: (_) => (0, import_smithy_client._json)(_)
|
|
683
|
+
Targets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Targets")
|
|
684
684
|
})
|
|
685
685
|
);
|
|
686
686
|
b.m("POST").h(headers).b(body);
|
|
@@ -735,10 +735,10 @@ var de_DescribeNotificationRuleCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
735
735
|
const doc = (0, import_smithy_client.take)(data, {
|
|
736
736
|
Arn: import_smithy_client.expectString,
|
|
737
737
|
CreatedBy: import_smithy_client.expectString,
|
|
738
|
-
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
738
|
+
CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"),
|
|
739
739
|
DetailType: import_smithy_client.expectString,
|
|
740
740
|
EventTypes: import_smithy_client._json,
|
|
741
|
-
LastModifiedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
741
|
+
LastModifiedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTimestamp"),
|
|
742
742
|
Name: import_smithy_client.expectString,
|
|
743
743
|
Resource: import_smithy_client.expectString,
|
|
744
744
|
Status: import_smithy_client.expectString,
|
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.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codestar-notifications",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|