@aws-sdk/client-chime-sdk-messaging 3.294.0 → 3.296.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/README.md +24 -0
- package/dist-cjs/ChimeSDKMessaging.js +45 -0
- package/dist-cjs/commands/AssociateChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/BatchCreateChannelMembershipCommand.js +4 -4
- package/dist-cjs/commands/ChannelFlowCallbackCommand.js +4 -4
- package/dist-cjs/commands/CreateChannelBanCommand.js +4 -4
- package/dist-cjs/commands/CreateChannelCommand.js +4 -4
- package/dist-cjs/commands/CreateChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/CreateChannelMembershipCommand.js +4 -4
- package/dist-cjs/commands/CreateChannelModeratorCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelBanCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelMembershipCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelMessageCommand.js +4 -4
- package/dist-cjs/commands/DeleteChannelModeratorCommand.js +4 -4
- package/dist-cjs/commands/DeleteMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/DescribeChannelBanCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelMembershipCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
- package/dist-cjs/commands/DescribeChannelModeratorCommand.js +4 -4
- package/dist-cjs/commands/DisassociateChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/GetChannelMembershipPreferencesCommand.js +4 -4
- package/dist-cjs/commands/GetChannelMessageCommand.js +4 -4
- package/dist-cjs/commands/GetChannelMessageStatusCommand.js +4 -4
- package/dist-cjs/commands/GetMessagingSessionEndpointCommand.js +4 -4
- package/dist-cjs/commands/GetMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/ListChannelBansCommand.js +4 -4
- package/dist-cjs/commands/ListChannelFlowsCommand.js +4 -4
- package/dist-cjs/commands/ListChannelMembershipsCommand.js +4 -4
- package/dist-cjs/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
- package/dist-cjs/commands/ListChannelMessagesCommand.js +4 -4
- package/dist-cjs/commands/ListChannelModeratorsCommand.js +4 -4
- package/dist-cjs/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/ListChannelsCommand.js +4 -4
- package/dist-cjs/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
- package/dist-cjs/commands/ListSubChannelsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/PutChannelMembershipPreferencesCommand.js +4 -4
- package/dist-cjs/commands/PutMessagingStreamingConfigurationsCommand.js +46 -0
- package/dist-cjs/commands/RedactChannelMessageCommand.js +4 -4
- package/dist-cjs/commands/SearchChannelsCommand.js +4 -4
- package/dist-cjs/commands/SendChannelMessageCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateChannelCommand.js +4 -4
- package/dist-cjs/commands/UpdateChannelFlowCommand.js +4 -4
- package/dist-cjs/commands/UpdateChannelMessageCommand.js +4 -4
- package/dist-cjs/commands/UpdateChannelReadMarkerCommand.js +4 -4
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +32 -3
- package/dist-cjs/protocols/Aws_restJson1.js +243 -2
- package/dist-es/ChimeSDKMessaging.js +45 -0
- package/dist-es/commands/AssociateChannelFlowCommand.js +4 -4
- package/dist-es/commands/BatchCreateChannelMembershipCommand.js +4 -4
- package/dist-es/commands/ChannelFlowCallbackCommand.js +4 -4
- package/dist-es/commands/CreateChannelBanCommand.js +4 -4
- package/dist-es/commands/CreateChannelCommand.js +4 -4
- package/dist-es/commands/CreateChannelFlowCommand.js +4 -4
- package/dist-es/commands/CreateChannelMembershipCommand.js +4 -4
- package/dist-es/commands/CreateChannelModeratorCommand.js +4 -4
- package/dist-es/commands/DeleteChannelBanCommand.js +4 -4
- package/dist-es/commands/DeleteChannelCommand.js +4 -4
- package/dist-es/commands/DeleteChannelFlowCommand.js +4 -4
- package/dist-es/commands/DeleteChannelMembershipCommand.js +4 -4
- package/dist-es/commands/DeleteChannelMessageCommand.js +4 -4
- package/dist-es/commands/DeleteChannelModeratorCommand.js +4 -4
- package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/DescribeChannelBanCommand.js +4 -4
- package/dist-es/commands/DescribeChannelCommand.js +4 -4
- package/dist-es/commands/DescribeChannelFlowCommand.js +4 -4
- package/dist-es/commands/DescribeChannelMembershipCommand.js +4 -4
- package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +4 -4
- package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +4 -4
- package/dist-es/commands/DescribeChannelModeratorCommand.js +4 -4
- package/dist-es/commands/DisassociateChannelFlowCommand.js +4 -4
- package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +4 -4
- package/dist-es/commands/GetChannelMessageCommand.js +4 -4
- package/dist-es/commands/GetChannelMessageStatusCommand.js +4 -4
- package/dist-es/commands/GetMessagingSessionEndpointCommand.js +4 -4
- package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/ListChannelBansCommand.js +4 -4
- package/dist-es/commands/ListChannelFlowsCommand.js +4 -4
- package/dist-es/commands/ListChannelMembershipsCommand.js +4 -4
- package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +4 -4
- package/dist-es/commands/ListChannelMessagesCommand.js +4 -4
- package/dist-es/commands/ListChannelModeratorsCommand.js +4 -4
- package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +4 -4
- package/dist-es/commands/ListChannelsCommand.js +4 -4
- package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +4 -4
- package/dist-es/commands/ListSubChannelsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +4 -4
- package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +42 -0
- package/dist-es/commands/RedactChannelMessageCommand.js +4 -4
- package/dist-es/commands/SearchChannelsCommand.js +4 -4
- package/dist-es/commands/SendChannelMessageCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateChannelCommand.js +4 -4
- package/dist-es/commands/UpdateChannelFlowCommand.js +4 -4
- package/dist-es/commands/UpdateChannelMessageCommand.js +4 -4
- package/dist-es/commands/UpdateChannelReadMarkerCommand.js +4 -4
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +235 -0
- package/dist-types/ChimeSDKMessaging.d.ts +25 -40
- package/dist-types/ChimeSDKMessagingClient.d.ts +7 -4
- package/dist-types/commands/AssociateChannelFlowCommand.d.ts +0 -1
- package/dist-types/commands/CreateChannelBanCommand.d.ts +0 -1
- package/dist-types/commands/CreateChannelCommand.d.ts +0 -2
- package/dist-types/commands/CreateChannelFlowCommand.d.ts +1 -3
- package/dist-types/commands/CreateChannelMembershipCommand.d.ts +0 -4
- package/dist-types/commands/CreateChannelModeratorCommand.d.ts +0 -2
- package/dist-types/commands/DeleteChannelBanCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelMembershipCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/DeleteChannelModeratorCommand.d.ts +0 -1
- package/dist-types/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +60 -0
- package/dist-types/commands/DescribeChannelBanCommand.d.ts +0 -2
- package/dist-types/commands/DescribeChannelCommand.d.ts +0 -2
- package/dist-types/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/GetChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/GetChannelMessageStatusCommand.d.ts +0 -3
- package/dist-types/commands/GetMessagingStreamingConfigurationsCommand.d.ts +66 -0
- package/dist-types/commands/ListChannelBansCommand.d.ts +0 -1
- package/dist-types/commands/ListChannelMembershipsCommand.d.ts +0 -2
- package/dist-types/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/ListChannelsCommand.d.ts +0 -2
- package/dist-types/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +0 -1
- package/dist-types/commands/PutMessagingStreamingConfigurationsCommand.d.ts +70 -0
- package/dist-types/commands/RedactChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/SendChannelMessageCommand.d.ts +0 -2
- package/dist-types/commands/UpdateChannelMessageCommand.d.ts +0 -1
- package/dist-types/commands/UpdateChannelReadMarkerCommand.d.ts +0 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +75 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +69 -0
- package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +22 -4
- package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
- package/dist-types/ts3.4/models/models_0.d.ts +42 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +36 -36
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetMessagingStreamingConfigurationsRequestFilterSensitiveLog, GetMessagingStreamingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand, serializeAws_restJson1GetMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetMessagingStreamingConfigurationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKMessagingClient";
|
|
25
|
+
const commandName = "GetMessagingStreamingConfigurationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetMessagingStreamingConfigurationsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetMessagingStreamingConfigurationsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetMessagingStreamingConfigurationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetMessagingStreamingConfigurationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelBansRequestFilterSensitiveLog, ListChannelBansResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelBansCommand, serializeAws_restJson1ListChannelBansCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelBansCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelBansCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelBansCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelFlowsRequestFilterSensitiveLog, ListChannelFlowsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelFlowsCommand, serializeAws_restJson1ListChannelFlowsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelFlowsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelFlowsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelFlowsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelMembershipsRequestFilterSensitiveLog, ListChannelMembershipsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelMembershipsCommand, serializeAws_restJson1ListChannelMembershipsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelMembershipsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelMembershipsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog, ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, serializeAws_restJson1ListChannelMembershipsForAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelMembershipsForAppInstanceUserCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMembershipsForAppInstanceUserCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelMessagesRequestFilterSensitiveLog, ListChannelMessagesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelMessagesCommand, serializeAws_restJson1ListChannelMessagesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelMessagesCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelMessagesCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelMessagesCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelModeratorsRequestFilterSensitiveLog, ListChannelModeratorsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelModeratorsCommand, serializeAws_restJson1ListChannelModeratorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelModeratorsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelModeratorsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelModeratorsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog, ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, serializeAws_restJson1ListChannelsAssociatedWithChannelFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelsAssociatedWithChannelFlowCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsAssociatedWithChannelFlowCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelsRequestFilterSensitiveLog, ListChannelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelsCommand, serializeAws_restJson1ListChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog, ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, serializeAws_restJson1ListChannelsModeratedByAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListChannelsModeratedByAppInstanceUserCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListSubChannelsRequestFilterSensitiveLog, ListSubChannelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListSubChannelsCommand, serializeAws_restJson1ListSubChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListSubChannelsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListSubChannelsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListSubChannelsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { PutChannelMembershipPreferencesRequestFilterSensitiveLog, PutChannelMembershipPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutChannelMembershipPreferencesCommand, serializeAws_restJson1PutChannelMembershipPreferencesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutChannelMembershipPreferencesCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class PutChannelMembershipPreferencesCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutChannelMembershipPreferencesCommand.getEndpointParameterInstructions()));
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutMessagingStreamingConfigurationsRequestFilterSensitiveLog, PutMessagingStreamingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand, serializeAws_restJson1PutMessagingStreamingConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class PutMessagingStreamingConfigurationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKMessagingClient";
|
|
25
|
+
const commandName = "PutMessagingStreamingConfigurationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: PutMessagingStreamingConfigurationsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: PutMessagingStreamingConfigurationsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1PutMessagingStreamingConfigurationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1PutMessagingStreamingConfigurationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { RedactChannelMessageRequestFilterSensitiveLog, RedactChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1RedactChannelMessageCommand, serializeAws_restJson1RedactChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class RedactChannelMessageCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class RedactChannelMessageCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, RedactChannelMessageCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { SearchChannelsRequestFilterSensitiveLog, SearchChannelsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1SearchChannelsCommand, serializeAws_restJson1SearchChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class SearchChannelsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class SearchChannelsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, SearchChannelsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { SendChannelMessageRequestFilterSensitiveLog, SendChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1SendChannelMessageCommand, serializeAws_restJson1SendChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class SendChannelMessageCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class SendChannelMessageCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, SendChannelMessageCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateChannelRequestFilterSensitiveLog, UpdateChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateChannelCommand, serializeAws_restJson1UpdateChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateChannelCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateChannelCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateChannelFlowRequestFilterSensitiveLog, UpdateChannelFlowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateChannelFlowCommand, serializeAws_restJson1UpdateChannelFlowCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateChannelFlowCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateChannelFlowCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelFlowCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateChannelMessageRequestFilterSensitiveLog, UpdateChannelMessageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateChannelMessageCommand, serializeAws_restJson1UpdateChannelMessageCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateChannelMessageCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateChannelMessageCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelMessageCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateChannelReadMarkerRequestFilterSensitiveLog, UpdateChannelReadMarkerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateChannelReadMarkerCommand, serializeAws_restJson1UpdateChannelReadMarkerCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateChannelReadMarkerCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateChannelReadMarkerCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelReadMarkerCommand.getEndpointParameterInstructions()));
|
|
@@ -12,6 +12,7 @@ export * from "./DeleteChannelFlowCommand";
|
|
|
12
12
|
export * from "./DeleteChannelMembershipCommand";
|
|
13
13
|
export * from "./DeleteChannelMessageCommand";
|
|
14
14
|
export * from "./DeleteChannelModeratorCommand";
|
|
15
|
+
export * from "./DeleteMessagingStreamingConfigurationsCommand";
|
|
15
16
|
export * from "./DescribeChannelBanCommand";
|
|
16
17
|
export * from "./DescribeChannelCommand";
|
|
17
18
|
export * from "./DescribeChannelFlowCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./GetChannelMembershipPreferencesCommand";
|
|
|
24
25
|
export * from "./GetChannelMessageCommand";
|
|
25
26
|
export * from "./GetChannelMessageStatusCommand";
|
|
26
27
|
export * from "./GetMessagingSessionEndpointCommand";
|
|
28
|
+
export * from "./GetMessagingStreamingConfigurationsCommand";
|
|
27
29
|
export * from "./ListChannelBansCommand";
|
|
28
30
|
export * from "./ListChannelFlowsCommand";
|
|
29
31
|
export * from "./ListChannelMembershipsCommand";
|
|
@@ -36,6 +38,7 @@ export * from "./ListChannelsModeratedByAppInstanceUserCommand";
|
|
|
36
38
|
export * from "./ListSubChannelsCommand";
|
|
37
39
|
export * from "./ListTagsForResourceCommand";
|
|
38
40
|
export * from "./PutChannelMembershipPreferencesCommand";
|
|
41
|
+
export * from "./PutMessagingStreamingConfigurationsCommand";
|
|
39
42
|
export * from "./RedactChannelMessageCommand";
|
|
40
43
|
export * from "./SearchChannelsCommand";
|
|
41
44
|
export * from "./SendChannelMessageCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = "fn", s = "argv", t = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|