@aws-sdk/client-notifications 3.952.0 → 3.953.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 +514 -355
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/AssociateChannelCommand.js +2 -2
- package/dist-es/commands/AssociateManagedNotificationAccountContactCommand.js +2 -2
- package/dist-es/commands/AssociateManagedNotificationAdditionalChannelCommand.js +2 -2
- package/dist-es/commands/AssociateOrganizationalUnitCommand.js +2 -2
- package/dist-es/commands/CreateEventRuleCommand.js +2 -2
- package/dist-es/commands/CreateNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteEventRuleCommand.js +2 -2
- package/dist-es/commands/DeleteNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/DeregisterNotificationHubCommand.js +2 -2
- package/dist-es/commands/DisableNotificationsAccessForOrganizationCommand.js +2 -2
- package/dist-es/commands/DisassociateChannelCommand.js +2 -2
- package/dist-es/commands/DisassociateManagedNotificationAccountContactCommand.js +2 -2
- package/dist-es/commands/DisassociateManagedNotificationAdditionalChannelCommand.js +2 -2
- package/dist-es/commands/DisassociateOrganizationalUnitCommand.js +2 -2
- package/dist-es/commands/EnableNotificationsAccessForOrganizationCommand.js +2 -2
- package/dist-es/commands/GetEventRuleCommand.js +2 -2
- package/dist-es/commands/GetManagedNotificationChildEventCommand.js +2 -2
- package/dist-es/commands/GetManagedNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/GetManagedNotificationEventCommand.js +2 -2
- package/dist-es/commands/GetNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/GetNotificationEventCommand.js +2 -2
- package/dist-es/commands/GetNotificationsAccessForOrganizationCommand.js +2 -2
- package/dist-es/commands/ListChannelsCommand.js +2 -2
- package/dist-es/commands/ListEventRulesCommand.js +2 -2
- package/dist-es/commands/ListManagedNotificationChannelAssociationsCommand.js +2 -2
- package/dist-es/commands/ListManagedNotificationChildEventsCommand.js +2 -2
- package/dist-es/commands/ListManagedNotificationConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListManagedNotificationEventsCommand.js +2 -2
- package/dist-es/commands/ListMemberAccountsCommand.js +2 -2
- package/dist-es/commands/ListNotificationConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListNotificationEventsCommand.js +2 -2
- package/dist-es/commands/ListNotificationHubsCommand.js +2 -2
- package/dist-es/commands/ListOrganizationalUnitsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/RegisterNotificationHubCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateEventRuleCommand.js +2 -2
- package/dist-es/commands/UpdateNotificationConfigurationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +307 -306
- package/dist-types/NotificationsClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +159 -187
- package/dist-types/ts3.4/NotificationsClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +158 -188
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Notifications", "TagResource", {})
|
|
13
13
|
.n("NotificationsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Notifications", "UntagResource", {})
|
|
13
13
|
.n("NotificationsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateEventRule } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateEventRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateEventRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateEventRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Notifications", "UpdateEventRule", {})
|
|
13
13
|
.n("NotificationsClient", "UpdateEventRuleCommand")
|
|
14
|
-
.sc(UpdateEventRule)
|
|
14
|
+
.sc(UpdateEventRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateNotificationConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateNotificationConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateNotificationConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateNotificationConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("Notifications", "UpdateNotificationConfiguration", {})
|
|
13
13
|
.n("NotificationsClient", "UpdateNotificationConfigurationCommand")
|
|
14
|
-
.sc(UpdateNotificationConfiguration)
|
|
14
|
+
.sc(UpdateNotificationConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.notifications",
|
|
29
|
+
version: "2018-05-10",
|
|
30
|
+
serviceTarget: "Notifications",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Notifications",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|