@aws-sdk/client-kafka 3.1087.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 (79) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Kafka.d.ts +197 -215
  3. package/dist-types/ts3.4/KafkaClient.d.ts +21 -49
  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 +8 -18
  7. package/dist-types/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +4 -6
  8. package/dist-types/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +4 -6
  9. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +4 -9
  10. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +3 -5
  14. package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +5 -10
  17. package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +4 -9
  19. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +3 -5
  20. package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +4 -6
  23. package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +4 -6
  24. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +5 -10
  25. package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +4 -9
  29. package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +5 -10
  31. package/dist-types/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +5 -10
  32. package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +3 -5
  34. package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +4 -6
  35. package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +4 -6
  37. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +3 -8
  39. package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +4 -6
  40. package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +4 -9
  41. package/dist-types/ts3.4/commands/ListKafkaVersionsCommand.d.ts +4 -9
  42. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +7 -5
  43. package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +3 -8
  44. package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +4 -9
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  46. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +3 -5
  47. package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +4 -9
  48. package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +4 -9
  49. package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +3 -5
  50. package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +4 -6
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  53. package/dist-types/ts3.4/commands/UpdateBrokerCountCommand.d.ts +5 -10
  54. package/dist-types/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +5 -10
  55. package/dist-types/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +4 -9
  56. package/dist-types/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +4 -6
  57. package/dist-types/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +4 -6
  58. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +5 -10
  59. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +5 -10
  60. package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +4 -9
  61. package/dist-types/ts3.4/commands/UpdateRebalancingCommand.d.ts +5 -10
  62. package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +5 -10
  63. package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +4 -9
  64. package/dist-types/ts3.4/commands/UpdateStorageCommand.d.ts +4 -9
  65. package/dist-types/ts3.4/commands/UpdateTopicCommand.d.ts +3 -5
  66. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  67. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  68. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  69. package/dist-types/ts3.4/models/enums.d.ts +9 -18
  70. package/dist-types/ts3.4/models/errors.d.ts +14 -51
  71. package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +1 -4
  72. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +1 -4
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  77. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  78. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  79. package/package.json +38 -38
@@ -8,8 +8,7 @@ export declare const VpcConnectionState: {
8
8
  readonly REJECTED: "REJECTED";
9
9
  readonly REJECTING: "REJECTING";
10
10
  };
11
- export type VpcConnectionState =
12
- (typeof VpcConnectionState)[keyof typeof VpcConnectionState];
11
+ export type VpcConnectionState = (typeof VpcConnectionState)[keyof typeof VpcConnectionState];
13
12
  export declare const ClusterType: {
14
13
  readonly PROVISIONED: "PROVISIONED";
15
14
  readonly SERVERLESS: "SERVERLESS";
@@ -18,8 +17,7 @@ export type ClusterType = (typeof ClusterType)[keyof typeof ClusterType];
18
17
  export declare const BrokerAZDistribution: {
19
18
  readonly DEFAULT: "DEFAULT";
20
19
  };
21
- export type BrokerAZDistribution =
22
- (typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
20
+ export type BrokerAZDistribution = (typeof BrokerAZDistribution)[keyof typeof BrokerAZDistribution];
23
21
  export declare const NetworkType: {
24
22
  readonly DUAL: "DUAL";
25
23
  readonly IPV4: "IPV4";
@@ -30,8 +28,7 @@ export declare const CustomerActionStatus: {
30
28
  readonly CRITICAL_ACTION_REQUIRED: "CRITICAL_ACTION_REQUIRED";
31
29
  readonly NONE: "NONE";
32
30
  };
33
- export type CustomerActionStatus =
34
- (typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
31
+ export type CustomerActionStatus = (typeof CustomerActionStatus)[keyof typeof CustomerActionStatus];
35
32
  export declare const ClientBroker: {
36
33
  readonly PLAINTEXT: "PLAINTEXT";
37
34
  readonly TLS: "TLS";
@@ -44,14 +41,12 @@ export declare const EnhancedMonitoring: {
44
41
  readonly PER_TOPIC_PER_BROKER: "PER_TOPIC_PER_BROKER";
45
42
  readonly PER_TOPIC_PER_PARTITION: "PER_TOPIC_PER_PARTITION";
46
43
  };
47
- export type EnhancedMonitoring =
48
- (typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
44
+ export type EnhancedMonitoring = (typeof EnhancedMonitoring)[keyof typeof EnhancedMonitoring];
49
45
  export declare const RebalancingStatus: {
50
46
  readonly ACTIVE: "ACTIVE";
51
47
  readonly PAUSED: "PAUSED";
52
48
  };
53
- export type RebalancingStatus =
54
- (typeof RebalancingStatus)[keyof typeof RebalancingStatus];
49
+ export type RebalancingStatus = (typeof RebalancingStatus)[keyof typeof RebalancingStatus];
55
50
  export declare const StorageMode: {
56
51
  readonly LOCAL: "LOCAL";
57
52
  readonly TIERED: "TIERED";
@@ -72,15 +67,13 @@ export declare const UserIdentityType: {
72
67
  readonly AWSACCOUNT: "AWSACCOUNT";
73
68
  readonly AWSSERVICE: "AWSSERVICE";
74
69
  };
75
- export type UserIdentityType =
76
- (typeof UserIdentityType)[keyof typeof UserIdentityType];
70
+ export type UserIdentityType = (typeof UserIdentityType)[keyof typeof UserIdentityType];
77
71
  export declare const ConfigurationState: {
78
72
  readonly ACTIVE: "ACTIVE";
79
73
  readonly DELETE_FAILED: "DELETE_FAILED";
80
74
  readonly DELETING: "DELETING";
81
75
  };
82
- export type ConfigurationState =
83
- (typeof ConfigurationState)[keyof typeof ConfigurationState];
76
+ export type ConfigurationState = (typeof ConfigurationState)[keyof typeof ConfigurationState];
84
77
  export declare const KafkaClusterSaslScramMechanism: {
85
78
  readonly SHA256: "SHA256";
86
79
  readonly SHA512: "SHA512";
@@ -96,8 +89,7 @@ export declare const KafkaVersionStatus: {
96
89
  readonly ACTIVE: "ACTIVE";
97
90
  readonly DEPRECATED: "DEPRECATED";
98
91
  };
99
- export type KafkaVersionStatus =
100
- (typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
92
+ export type KafkaVersionStatus = (typeof KafkaVersionStatus)[keyof typeof KafkaVersionStatus];
101
93
  export declare const NodeType: {
102
94
  readonly BROKER: "BROKER";
103
95
  };
@@ -136,8 +128,7 @@ export declare const ReplicatorState: {
136
128
  readonly RUNNING: "RUNNING";
137
129
  readonly UPDATING: "UPDATING";
138
130
  };
139
- export type ReplicatorState =
140
- (typeof ReplicatorState)[keyof typeof ReplicatorState];
131
+ export type ReplicatorState = (typeof ReplicatorState)[keyof typeof ReplicatorState];
141
132
  export declare const TopicState: {
142
133
  readonly ACTIVE: "ACTIVE";
143
134
  readonly CREATING: "CREATING";
@@ -5,9 +5,7 @@ export declare class BadRequestException extends __BaseException {
5
5
  readonly $fault: "client";
6
6
  InvalidParameter?: string | undefined;
7
7
  Message?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
11
9
  }
12
10
  export declare class ForbiddenException extends __BaseException {
13
11
  readonly name: "ForbiddenException";
@@ -21,9 +19,7 @@ export declare class InternalServerErrorException extends __BaseException {
21
19
  readonly $fault: "server";
22
20
  InvalidParameter?: string | undefined;
23
21
  Message?: string | undefined;
24
- constructor(
25
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
26
- );
22
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
27
23
  }
28
24
  export declare class NotFoundException extends __BaseException {
29
25
  readonly name: "NotFoundException";
@@ -37,36 +33,28 @@ export declare class ServiceUnavailableException extends __BaseException {
37
33
  readonly $fault: "server";
38
34
  InvalidParameter?: string | undefined;
39
35
  Message?: string | undefined;
40
- constructor(
41
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
42
- );
36
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
43
37
  }
44
38
  export declare class TooManyRequestsException extends __BaseException {
45
39
  readonly name: "TooManyRequestsException";
46
40
  readonly $fault: "client";
47
41
  InvalidParameter?: string | undefined;
48
42
  Message?: string | undefined;
49
- constructor(
50
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
51
- );
43
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
52
44
  }
53
45
  export declare class UnauthorizedException extends __BaseException {
54
46
  readonly name: "UnauthorizedException";
55
47
  readonly $fault: "client";
56
48
  InvalidParameter?: string | undefined;
57
49
  Message?: string | undefined;
58
- constructor(
59
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
60
- );
50
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
61
51
  }
62
52
  export declare class ClusterConnectivityException extends __BaseException {
63
53
  readonly name: "ClusterConnectivityException";
64
54
  readonly $fault: "client";
65
55
  InvalidParameter?: string | undefined;
66
56
  Message?: string | undefined;
67
- constructor(
68
- opts: __ExceptionOptionType<ClusterConnectivityException, __BaseException>
69
- );
57
+ constructor(opts: __ExceptionOptionType<ClusterConnectivityException, __BaseException>);
70
58
  }
71
59
  export declare class ConflictException extends __BaseException {
72
60
  readonly name: "ConflictException";
@@ -80,79 +68,54 @@ export declare class ControllerMovedException extends __BaseException {
80
68
  readonly $fault: "client";
81
69
  InvalidParameter?: string | undefined;
82
70
  Message?: string | undefined;
83
- constructor(
84
- opts: __ExceptionOptionType<ControllerMovedException, __BaseException>
85
- );
71
+ constructor(opts: __ExceptionOptionType<ControllerMovedException, __BaseException>);
86
72
  }
87
73
  export declare class GroupSubscribedToTopicException extends __BaseException {
88
74
  readonly name: "GroupSubscribedToTopicException";
89
75
  readonly $fault: "client";
90
76
  InvalidParameter?: string | undefined;
91
77
  Message?: string | undefined;
92
- constructor(
93
- opts: __ExceptionOptionType<
94
- GroupSubscribedToTopicException,
95
- __BaseException
96
- >
97
- );
78
+ constructor(opts: __ExceptionOptionType<GroupSubscribedToTopicException, __BaseException>);
98
79
  }
99
80
  export declare class KafkaRequestException extends __BaseException {
100
81
  readonly name: "KafkaRequestException";
101
82
  readonly $fault: "client";
102
83
  InvalidParameter?: string | undefined;
103
84
  Message?: string | undefined;
104
- constructor(
105
- opts: __ExceptionOptionType<KafkaRequestException, __BaseException>
106
- );
85
+ constructor(opts: __ExceptionOptionType<KafkaRequestException, __BaseException>);
107
86
  }
108
87
  export declare class KafkaTimeoutException extends __BaseException {
109
88
  readonly name: "KafkaTimeoutException";
110
89
  readonly $fault: "client";
111
90
  InvalidParameter?: string | undefined;
112
91
  Message?: string | undefined;
113
- constructor(
114
- opts: __ExceptionOptionType<KafkaTimeoutException, __BaseException>
115
- );
92
+ constructor(opts: __ExceptionOptionType<KafkaTimeoutException, __BaseException>);
116
93
  }
117
94
  export declare class NotControllerException extends __BaseException {
118
95
  readonly name: "NotControllerException";
119
96
  readonly $fault: "client";
120
97
  InvalidParameter?: string | undefined;
121
98
  Message?: string | undefined;
122
- constructor(
123
- opts: __ExceptionOptionType<NotControllerException, __BaseException>
124
- );
99
+ constructor(opts: __ExceptionOptionType<NotControllerException, __BaseException>);
125
100
  }
126
101
  export declare class ReassignmentInProgressException extends __BaseException {
127
102
  readonly name: "ReassignmentInProgressException";
128
103
  readonly $fault: "client";
129
104
  InvalidParameter?: string | undefined;
130
105
  Message?: string | undefined;
131
- constructor(
132
- opts: __ExceptionOptionType<
133
- ReassignmentInProgressException,
134
- __BaseException
135
- >
136
- );
106
+ constructor(opts: __ExceptionOptionType<ReassignmentInProgressException, __BaseException>);
137
107
  }
138
108
  export declare class TopicExistsException extends __BaseException {
139
109
  readonly name: "TopicExistsException";
140
110
  readonly $fault: "client";
141
111
  InvalidParameter?: string | undefined;
142
112
  Message?: string | undefined;
143
- constructor(
144
- opts: __ExceptionOptionType<TopicExistsException, __BaseException>
145
- );
113
+ constructor(opts: __ExceptionOptionType<TopicExistsException, __BaseException>);
146
114
  }
147
115
  export declare class UnknownTopicOrPartitionException extends __BaseException {
148
116
  readonly name: "UnknownTopicOrPartitionException";
149
117
  readonly $fault: "client";
150
118
  InvalidParameter?: string | undefined;
151
119
  Message?: string | undefined;
152
- constructor(
153
- opts: __ExceptionOptionType<
154
- UnknownTopicOrPartitionException,
155
- __BaseException
156
- >
157
- );
120
+ constructor(opts: __ExceptionOptionType<UnknownTopicOrPartitionException, __BaseException>);
158
121
  }
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListNodesCommandInput,
4
- ListNodesCommandOutput,
5
- } from "../commands/ListNodesCommand";
2
+ import { ListNodesCommandInput, ListNodesCommandOutput } from "../commands/ListNodesCommand";
6
3
  import { KafkaPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListNodes: (
8
5
  config: KafkaPaginationConfiguration,
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListTopicsCommandInput,
4
- ListTopicsCommandOutput,
5
- } from "../commands/ListTopicsCommand";
2
+ import { ListTopicsCommandInput, ListTopicsCommandOutput } from "../commands/ListTopicsCommand";
6
3
  import { KafkaPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListTopics: (
8
5
  config: KafkaPaginationConfiguration,
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KafkaHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
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 KafkaServiceException$: StaticErrorSchema;
8
4
  export declare var BadRequestException$: StaticErrorSchema;
9
5
  export declare var ClusterConnectivityException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafka",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kafka",
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-kafka"
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,17 +45,13 @@
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.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
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",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -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-kafka",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-kafka"
68
68
  }
69
69
  }