@aws-sdk/client-chime-sdk-messaging 3.1086.0 → 3.1088.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.
Files changed (71) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/ChimeSDKMessaging.d.ts +165 -216
  3. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +6 -19
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AssociateChannelFlowCommand.d.ts +3 -4
  8. package/dist-types/ts3.4/commands/BatchCreateChannelMembershipCommand.d.ts +4 -6
  9. package/dist-types/ts3.4/commands/ChannelFlowCallbackCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/CreateChannelBanCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +4 -9
  12. package/dist-types/ts3.4/commands/CreateChannelFlowCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/CreateChannelMembershipCommand.d.ts +4 -6
  14. package/dist-types/ts3.4/commands/CreateChannelModeratorCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/DeleteChannelBanCommand.d.ts +2 -2
  16. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +2 -2
  17. package/dist-types/ts3.4/commands/DeleteChannelFlowCommand.d.ts +3 -4
  18. package/dist-types/ts3.4/commands/DeleteChannelMembershipCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/DeleteChannelMessageCommand.d.ts +3 -4
  20. package/dist-types/ts3.4/commands/DeleteChannelModeratorCommand.d.ts +3 -4
  21. package/dist-types/ts3.4/commands/DeleteMessagingStreamingConfigurationsCommand.d.ts +4 -6
  22. package/dist-types/ts3.4/commands/DescribeChannelBanCommand.d.ts +5 -10
  23. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/DescribeChannelFlowCommand.d.ts +5 -10
  25. package/dist-types/ts3.4/commands/DescribeChannelMembershipCommand.d.ts +4 -6
  26. package/dist-types/ts3.4/commands/DescribeChannelMembershipForAppInstanceUserCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/DescribeChannelModeratedByAppInstanceUserCommand.d.ts +4 -6
  28. package/dist-types/ts3.4/commands/DescribeChannelModeratorCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/DisassociateChannelFlowCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/GetChannelMembershipPreferencesCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/GetChannelMessageCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/GetChannelMessageStatusCommand.d.ts +4 -6
  33. package/dist-types/ts3.4/commands/GetMessagingSessionEndpointCommand.d.ts +3 -5
  34. package/dist-types/ts3.4/commands/GetMessagingStreamingConfigurationsCommand.d.ts +4 -6
  35. package/dist-types/ts3.4/commands/ListChannelBansCommand.d.ts +4 -9
  36. package/dist-types/ts3.4/commands/ListChannelFlowsCommand.d.ts +4 -9
  37. package/dist-types/ts3.4/commands/ListChannelMembershipsCommand.d.ts +5 -10
  38. package/dist-types/ts3.4/commands/ListChannelMembershipsForAppInstanceUserCommand.d.ts +4 -6
  39. package/dist-types/ts3.4/commands/ListChannelMessagesCommand.d.ts +5 -10
  40. package/dist-types/ts3.4/commands/ListChannelModeratorsCommand.d.ts +5 -10
  41. package/dist-types/ts3.4/commands/ListChannelsAssociatedWithChannelFlowCommand.d.ts +4 -6
  42. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +3 -5
  43. package/dist-types/ts3.4/commands/ListChannelsModeratedByAppInstanceUserCommand.d.ts +4 -6
  44. package/dist-types/ts3.4/commands/ListSubChannelsCommand.d.ts +4 -9
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  46. package/dist-types/ts3.4/commands/PutChannelExpirationSettingsCommand.d.ts +4 -6
  47. package/dist-types/ts3.4/commands/PutChannelMembershipPreferencesCommand.d.ts +4 -6
  48. package/dist-types/ts3.4/commands/PutMessagingStreamingConfigurationsCommand.d.ts +4 -6
  49. package/dist-types/ts3.4/commands/RedactChannelMessageCommand.d.ts +5 -10
  50. package/dist-types/ts3.4/commands/SearchChannelsCommand.d.ts +4 -9
  51. package/dist-types/ts3.4/commands/SendChannelMessageCommand.d.ts +5 -10
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  54. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +4 -9
  55. package/dist-types/ts3.4/commands/UpdateChannelFlowCommand.d.ts +5 -10
  56. package/dist-types/ts3.4/commands/UpdateChannelMessageCommand.d.ts +5 -10
  57. package/dist-types/ts3.4/commands/UpdateChannelReadMarkerCommand.d.ts +4 -6
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  59. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  60. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  61. package/dist-types/ts3.4/models/enums.d.ts +11 -22
  62. package/dist-types/ts3.4/models/errors.d.ts +6 -18
  63. package/dist-types/ts3.4/models/models_0.d.ts +1 -3
  64. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  69. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  71. package/package.json +39 -39
@@ -1,7 +1,5 @@
1
1
  import { ChimeSDKMessagingClientConfig } from "./ChimeSDKMessagingClient";
2
- export declare const getRuntimeConfig: (
3
- config: ChimeSDKMessagingClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: ChimeSDKMessagingClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
107
92
  signingRegion?: string;
108
93
  signerConstructor?: new (
109
94
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
96
  ) => import("@smithy/types").RequestSigner;
112
97
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { ChimeSDKMessagingClientConfig } from "./ChimeSDKMessagingClient";
3
- export declare const getRuntimeConfig: (
4
- config: ChimeSDKMessagingClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: ChimeSDKMessagingClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ChimeSDKMessagingHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { ChimeSDKMessagingExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: ChimeSDKMessagingExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: ChimeSDKMessagingExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var ChimeSDKMessagingServiceException$: StaticErrorSchema;
8
4
  export declare var BadRequestException$: StaticErrorSchema;
9
5
  export declare var ConflictException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-chime-sdk-messaging",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-chime-sdk-messaging",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-chime-sdk-messaging"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/types": "^3.974.0",
25
- "@smithy/core": "^3.29.2",
26
- "@smithy/fetch-http-handler": "^5.6.4",
27
- "@smithy/node-http-handler": "^4.9.4",
28
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
55
+ "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
31
58
  "devDependencies": {
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-chime-sdk-messaging",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-chime-sdk-messaging"
68
68
  }
69
69
  }