@aws-sdk/client-timestream-influxdb 3.534.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 (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/TimestreamInfluxDB.js +33 -0
  4. package/dist-cjs/TimestreamInfluxDBClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateDbInstanceCommand.js +29 -0
  8. package/dist-cjs/commands/CreateDbParameterGroupCommand.js +28 -0
  9. package/dist-cjs/commands/DeleteDbInstanceCommand.js +28 -0
  10. package/dist-cjs/commands/GetDbInstanceCommand.js +28 -0
  11. package/dist-cjs/commands/GetDbParameterGroupCommand.js +28 -0
  12. package/dist-cjs/commands/ListDbInstancesCommand.js +28 -0
  13. package/dist-cjs/commands/ListDbParameterGroupsCommand.js +28 -0
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  17. package/dist-cjs/commands/UpdateDbInstanceCommand.js +28 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +12 -0
  24. package/dist-cjs/models/TimestreamInfluxDBServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +159 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListDbInstancesPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListDbParameterGroupsPaginator.js +7 -0
  30. package/dist-cjs/pagination/index.js +6 -0
  31. package/dist-cjs/protocols/Aws_json1_0.js +365 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +49 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +34 -0
  36. package/dist-cjs/runtimeExtensions.js +25 -0
  37. package/dist-es/TimestreamInfluxDB.js +29 -0
  38. package/dist-es/TimestreamInfluxDBClient.js +52 -0
  39. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  40. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  41. package/dist-es/commands/CreateDbInstanceCommand.js +25 -0
  42. package/dist-es/commands/CreateDbParameterGroupCommand.js +24 -0
  43. package/dist-es/commands/DeleteDbInstanceCommand.js +24 -0
  44. package/dist-es/commands/GetDbInstanceCommand.js +24 -0
  45. package/dist-es/commands/GetDbParameterGroupCommand.js +24 -0
  46. package/dist-es/commands/ListDbInstancesCommand.js +24 -0
  47. package/dist-es/commands/ListDbParameterGroupsCommand.js +24 -0
  48. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  49. package/dist-es/commands/TagResourceCommand.js +24 -0
  50. package/dist-es/commands/UntagResourceCommand.js +24 -0
  51. package/dist-es/commands/UpdateDbInstanceCommand.js +24 -0
  52. package/dist-es/commands/index.js +11 -0
  53. package/dist-es/endpoint/EndpointParameters.js +14 -0
  54. package/dist-es/endpoint/endpointResolver.js +8 -0
  55. package/dist-es/endpoint/ruleset.js +4 -0
  56. package/dist-es/extensionConfiguration.js +1 -0
  57. package/dist-es/index.js +7 -0
  58. package/dist-es/models/TimestreamInfluxDBServiceException.js +8 -0
  59. package/dist-es/models/index.js +1 -0
  60. package/dist-es/models/models_0.js +148 -0
  61. package/dist-es/pagination/Interfaces.js +1 -0
  62. package/dist-es/pagination/ListDbInstancesPaginator.js +4 -0
  63. package/dist-es/pagination/ListDbParameterGroupsPaginator.js +4 -0
  64. package/dist-es/pagination/index.js +3 -0
  65. package/dist-es/protocols/Aws_json1_0.js +340 -0
  66. package/dist-es/runtimeConfig.browser.js +34 -0
  67. package/dist-es/runtimeConfig.js +44 -0
  68. package/dist-es/runtimeConfig.native.js +11 -0
  69. package/dist-es/runtimeConfig.shared.js +30 -0
  70. package/dist-es/runtimeExtensions.js +21 -0
  71. package/dist-types/TimestreamInfluxDB.d.ts +87 -0
  72. package/dist-types/TimestreamInfluxDBClient.d.ts +182 -0
  73. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  74. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  75. package/dist-types/commands/CreateDbInstanceCommand.d.ts +129 -0
  76. package/dist-types/commands/CreateDbParameterGroupCommand.d.ts +108 -0
  77. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +101 -0
  78. package/dist-types/commands/GetDbInstanceCommand.d.ts +98 -0
  79. package/dist-types/commands/GetDbParameterGroupCommand.d.ts +87 -0
  80. package/dist-types/commands/ListDbInstancesCommand.d.ts +87 -0
  81. package/dist-types/commands/ListDbParameterGroupsCommand.d.ts +82 -0
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +63 -0
  83. package/dist-types/commands/TagResourceCommand.d.ts +62 -0
  84. package/dist-types/commands/UntagResourceCommand.d.ts +62 -0
  85. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +108 -0
  86. package/dist-types/commands/index.d.ts +11 -0
  87. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  88. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  89. package/dist-types/endpoint/ruleset.d.ts +2 -0
  90. package/dist-types/extensionConfiguration.d.ts +9 -0
  91. package/dist-types/index.d.ts +15 -0
  92. package/dist-types/models/TimestreamInfluxDBServiceException.d.ts +13 -0
  93. package/dist-types/models/index.d.ts +1 -0
  94. package/dist-types/models/models_0.d.ts +1099 -0
  95. package/dist-types/pagination/Interfaces.d.ts +8 -0
  96. package/dist-types/pagination/ListDbInstancesPaginator.d.ts +7 -0
  97. package/dist-types/pagination/ListDbParameterGroupsPaginator.d.ts +7 -0
  98. package/dist-types/pagination/index.d.ts +3 -0
  99. package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
  100. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  101. package/dist-types/runtimeConfig.d.ts +45 -0
  102. package/dist-types/runtimeConfig.native.d.ts +44 -0
  103. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  104. package/dist-types/runtimeExtensions.d.ts +17 -0
  105. package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +194 -0
  106. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +189 -0
  107. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  108. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  109. package/dist-types/ts3.4/commands/CreateDbInstanceCommand.d.ts +29 -0
  110. package/dist-types/ts3.4/commands/CreateDbParameterGroupCommand.d.ts +30 -0
  111. package/dist-types/ts3.4/commands/DeleteDbInstanceCommand.d.ts +29 -0
  112. package/dist-types/ts3.4/commands/GetDbInstanceCommand.d.ts +26 -0
  113. package/dist-types/ts3.4/commands/GetDbParameterGroupCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/ListDbInstancesCommand.d.ts +29 -0
  115. package/dist-types/ts3.4/commands/ListDbParameterGroupsCommand.d.ts +30 -0
  116. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +24 -0
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +24 -0
  119. package/dist-types/ts3.4/commands/UpdateDbInstanceCommand.d.ts +29 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  122. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  123. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  124. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  125. package/dist-types/ts3.4/index.d.ts +10 -0
  126. package/dist-types/ts3.4/models/TimestreamInfluxDBServiceException.d.ts +8 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +319 -0
  129. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  130. package/dist-types/ts3.4/pagination/ListDbInstancesPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListDbParameterGroupsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  133. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  139. package/package.json +101 -0
@@ -0,0 +1,182 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
11
+ import { CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput } from "./commands/CreateDbParameterGroupCommand";
12
+ import { DeleteDbInstanceCommandInput, DeleteDbInstanceCommandOutput } from "./commands/DeleteDbInstanceCommand";
13
+ import { GetDbInstanceCommandInput, GetDbInstanceCommandOutput } from "./commands/GetDbInstanceCommand";
14
+ import { GetDbParameterGroupCommandInput, GetDbParameterGroupCommandOutput } from "./commands/GetDbParameterGroupCommand";
15
+ import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./commands/ListDbInstancesCommand";
16
+ import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
17
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
+ import { UpdateDbInstanceCommandInput, UpdateDbInstanceCommandOutput } from "./commands/UpdateDbInstanceCommand";
21
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
22
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
23
+ export { __Client };
24
+ /**
25
+ * @public
26
+ */
27
+ export type ServiceInputTypes = CreateDbInstanceCommandInput | CreateDbParameterGroupCommandInput | DeleteDbInstanceCommandInput | GetDbInstanceCommandInput | GetDbParameterGroupCommandInput | ListDbInstancesCommandInput | ListDbParameterGroupsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDbInstanceCommandInput;
28
+ /**
29
+ * @public
30
+ */
31
+ export type ServiceOutputTypes = CreateDbInstanceCommandOutput | CreateDbParameterGroupCommandOutput | DeleteDbInstanceCommandOutput | GetDbInstanceCommandOutput | GetDbParameterGroupCommandOutput | ListDbInstancesCommandOutput | ListDbParameterGroupsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDbInstanceCommandOutput;
32
+ /**
33
+ * @public
34
+ */
35
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
36
+ /**
37
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
38
+ */
39
+ requestHandler?: __HttpHandlerUserInput;
40
+ /**
41
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
42
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
43
+ * @internal
44
+ */
45
+ sha256?: __ChecksumConstructor | __HashConstructor;
46
+ /**
47
+ * The function that will be used to convert strings into HTTP endpoints.
48
+ * @internal
49
+ */
50
+ urlParser?: __UrlParser;
51
+ /**
52
+ * A function that can calculate the length of a request body.
53
+ * @internal
54
+ */
55
+ bodyLengthChecker?: __BodyLengthCalculator;
56
+ /**
57
+ * A function that converts a stream into an array of bytes.
58
+ * @internal
59
+ */
60
+ streamCollector?: __StreamCollector;
61
+ /**
62
+ * The function that will be used to convert a base64-encoded string to a byte array.
63
+ * @internal
64
+ */
65
+ base64Decoder?: __Decoder;
66
+ /**
67
+ * The function that will be used to convert binary data to a base64-encoded string.
68
+ * @internal
69
+ */
70
+ base64Encoder?: __Encoder;
71
+ /**
72
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
73
+ * @internal
74
+ */
75
+ utf8Decoder?: __Decoder;
76
+ /**
77
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
78
+ * @internal
79
+ */
80
+ utf8Encoder?: __Encoder;
81
+ /**
82
+ * The runtime environment.
83
+ * @internal
84
+ */
85
+ runtime?: string;
86
+ /**
87
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
88
+ * trait of an operation.
89
+ */
90
+ disableHostPrefix?: boolean;
91
+ /**
92
+ * Unique service identifier.
93
+ * @internal
94
+ */
95
+ serviceId?: string;
96
+ /**
97
+ * Enables IPv6/IPv4 dualstack endpoint.
98
+ */
99
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
100
+ /**
101
+ * Enables FIPS compatible endpoints.
102
+ */
103
+ useFipsEndpoint?: boolean | __Provider<boolean>;
104
+ /**
105
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
106
+ * @internal
107
+ */
108
+ defaultUserAgentProvider?: Provider<__UserAgent>;
109
+ /**
110
+ * The AWS region to which this client will send requests
111
+ */
112
+ region?: string | __Provider<string>;
113
+ /**
114
+ * Default credentials provider; Not available in browser runtime.
115
+ * @deprecated
116
+ * @internal
117
+ */
118
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
119
+ /**
120
+ * Value for how many times a request will be made at most in case of retry.
121
+ */
122
+ maxAttempts?: number | __Provider<number>;
123
+ /**
124
+ * Specifies which retry algorithm to use.
125
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
126
+ *
127
+ */
128
+ retryMode?: string | __Provider<string>;
129
+ /**
130
+ * Optional logger for logging debug/info/warn/error.
131
+ */
132
+ logger?: __Logger;
133
+ /**
134
+ * Optional extensions
135
+ */
136
+ extensions?: RuntimeExtension[];
137
+ /**
138
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
139
+ */
140
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
141
+ }
142
+ /**
143
+ * @public
144
+ */
145
+ export type TimestreamInfluxDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
146
+ /**
147
+ * @public
148
+ *
149
+ * The configuration interface of TimestreamInfluxDBClient class constructor that set the region, credentials and other options.
150
+ */
151
+ export interface TimestreamInfluxDBClientConfig extends TimestreamInfluxDBClientConfigType {
152
+ }
153
+ /**
154
+ * @public
155
+ */
156
+ export type TimestreamInfluxDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
157
+ /**
158
+ * @public
159
+ *
160
+ * The resolved configuration interface of TimestreamInfluxDBClient class. This is resolved and normalized from the {@link TimestreamInfluxDBClientConfig | constructor configuration interface}.
161
+ */
162
+ export interface TimestreamInfluxDBClientResolvedConfig extends TimestreamInfluxDBClientResolvedConfigType {
163
+ }
164
+ /**
165
+ * @public
166
+ * <p>Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers and DevOps teams to run InfluxDB databases on AWS for near real-time time-series applications using open-source APIs. With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer queries with single-digit millisecond query response time.</p>
167
+ */
168
+ export declare class TimestreamInfluxDBClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig> {
169
+ /**
170
+ * The resolved configuration of TimestreamInfluxDBClient class. This is resolved and normalized from the {@link TimestreamInfluxDBClientConfig | constructor configuration interface}.
171
+ */
172
+ readonly config: TimestreamInfluxDBClientResolvedConfig;
173
+ constructor(...[configuration]: __CheckOptionalClientConfig<TimestreamInfluxDBClientConfig>);
174
+ /**
175
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
176
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
177
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
178
+ */
179
+ destroy(): void;
180
+ private getDefaultHttpAuthSchemeParametersProvider;
181
+ private getIdentityProviderConfigProvider;
182
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { TimestreamInfluxDBHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: TimestreamInfluxDBHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): TimestreamInfluxDBHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: TimestreamInfluxDBHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface TimestreamInfluxDBHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface TimestreamInfluxDBHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<TimestreamInfluxDBClientResolvedConfig, HandlerExecutionContext, TimestreamInfluxDBHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultTimestreamInfluxDBHttpAuthSchemeParametersProvider: (config: TimestreamInfluxDBClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<TimestreamInfluxDBHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface TimestreamInfluxDBHttpAuthSchemeProvider extends HttpAuthSchemeProvider<TimestreamInfluxDBHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultTimestreamInfluxDBHttpAuthSchemeProvider: TimestreamInfluxDBHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: TimestreamInfluxDBHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: TimestreamInfluxDBHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,129 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDbInstanceInput, CreateDbInstanceOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateDbInstanceCommand}.
13
+ */
14
+ export interface CreateDbInstanceCommandInput extends CreateDbInstanceInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateDbInstanceCommand}.
20
+ */
21
+ export interface CreateDbInstanceCommandOutput extends CreateDbInstanceOutput, __MetadataBearer {
22
+ }
23
+ declare const CreateDbInstanceCommand_base: {
24
+ new (input: CreateDbInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Creates a new Timestream for InfluxDB DB instance.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { TimestreamInfluxDBClient, CreateDbInstanceCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
34
+ * // const { TimestreamInfluxDBClient, CreateDbInstanceCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
35
+ * const client = new TimestreamInfluxDBClient(config);
36
+ * const input = { // CreateDbInstanceInput
37
+ * name: "STRING_VALUE", // required
38
+ * username: "STRING_VALUE",
39
+ * password: "STRING_VALUE", // required
40
+ * organization: "STRING_VALUE",
41
+ * bucket: "STRING_VALUE",
42
+ * dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge", // required
43
+ * vpcSubnetIds: [ // VpcSubnetIdList // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * vpcSecurityGroupIds: [ // VpcSecurityGroupIdList // required
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * publiclyAccessible: true || false,
50
+ * dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
51
+ * allocatedStorage: Number("int"), // required
52
+ * dbParameterGroupIdentifier: "STRING_VALUE",
53
+ * deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
54
+ * logDeliveryConfiguration: { // LogDeliveryConfiguration
55
+ * s3Configuration: { // S3Configuration
56
+ * bucketName: "STRING_VALUE", // required
57
+ * enabled: true || false, // required
58
+ * },
59
+ * },
60
+ * tags: { // RequestTagMap
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * };
64
+ * const command = new CreateDbInstanceCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // CreateDbInstanceOutput
67
+ * // id: "STRING_VALUE", // required
68
+ * // name: "STRING_VALUE", // required
69
+ * // arn: "STRING_VALUE", // required
70
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
71
+ * // endpoint: "STRING_VALUE",
72
+ * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
73
+ * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
74
+ * // allocatedStorage: Number("int"),
75
+ * // deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
76
+ * // vpcSubnetIds: [ // VpcSubnetIdList // required
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // publiclyAccessible: true || false,
80
+ * // vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // dbParameterGroupIdentifier: "STRING_VALUE",
84
+ * // availabilityZone: "STRING_VALUE",
85
+ * // secondaryAvailabilityZone: "STRING_VALUE",
86
+ * // logDeliveryConfiguration: { // LogDeliveryConfiguration
87
+ * // s3Configuration: { // S3Configuration
88
+ * // bucketName: "STRING_VALUE", // required
89
+ * // enabled: true || false, // required
90
+ * // },
91
+ * // },
92
+ * // influxAuthParametersSecretArn: "STRING_VALUE",
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param CreateDbInstanceCommandInput - {@link CreateDbInstanceCommandInput}
98
+ * @returns {@link CreateDbInstanceCommandOutput}
99
+ * @see {@link CreateDbInstanceCommandInput} for command's `input` shape.
100
+ * @see {@link CreateDbInstanceCommandOutput} for command's `response` shape.
101
+ * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
102
+ *
103
+ * @throws {@link AccessDeniedException} (client fault)
104
+ * <p>You do not have sufficient access to perform this action.</p>
105
+ *
106
+ * @throws {@link ConflictException} (client fault)
107
+ * <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
108
+ *
109
+ * @throws {@link InternalServerException} (server fault)
110
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
111
+ *
112
+ * @throws {@link ResourceNotFoundException} (client fault)
113
+ * <p>The requested resource was not found or does not exist.</p>
114
+ *
115
+ * @throws {@link ServiceQuotaExceededException} (client fault)
116
+ * <p>The request exceeds the service quota.</p>
117
+ *
118
+ * @throws {@link ThrottlingException} (client fault)
119
+ * <p>The request was denied due to request throttling.</p>
120
+ *
121
+ * @throws {@link ValidationException} (client fault)
122
+ * <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
123
+ *
124
+ * @throws {@link TimestreamInfluxDBServiceException}
125
+ * <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
126
+ *
127
+ */
128
+ export declare class CreateDbInstanceCommand extends CreateDbInstanceCommand_base {
129
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateDbParameterGroupInput, CreateDbParameterGroupOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link CreateDbParameterGroupCommand}.
13
+ */
14
+ export interface CreateDbParameterGroupCommandInput extends CreateDbParameterGroupInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link CreateDbParameterGroupCommand}.
20
+ */
21
+ export interface CreateDbParameterGroupCommandOutput extends CreateDbParameterGroupOutput, __MetadataBearer {
22
+ }
23
+ declare const CreateDbParameterGroupCommand_base: {
24
+ new (input: CreateDbParameterGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Creates a new Timestream for InfluxDB DB parameter group to associate with DB instances.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { TimestreamInfluxDBClient, CreateDbParameterGroupCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
34
+ * // const { TimestreamInfluxDBClient, CreateDbParameterGroupCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
35
+ * const client = new TimestreamInfluxDBClient(config);
36
+ * const input = { // CreateDbParameterGroupInput
37
+ * name: "STRING_VALUE", // required
38
+ * description: "STRING_VALUE",
39
+ * parameters: { // Parameters Union: only one key present
40
+ * InfluxDBv2: { // InfluxDBv2Parameters
41
+ * fluxLogEnabled: true || false,
42
+ * logLevel: "debug" || "info" || "error",
43
+ * noTasks: true || false,
44
+ * queryConcurrency: Number("int"),
45
+ * queryQueueSize: Number("int"),
46
+ * tracingType: "log" || "jaeger",
47
+ * metricsDisabled: true || false,
48
+ * },
49
+ * },
50
+ * tags: { // RequestTagMap
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * };
54
+ * const command = new CreateDbParameterGroupCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreateDbParameterGroupOutput
57
+ * // id: "STRING_VALUE", // required
58
+ * // name: "STRING_VALUE", // required
59
+ * // arn: "STRING_VALUE", // required
60
+ * // description: "STRING_VALUE",
61
+ * // parameters: { // Parameters Union: only one key present
62
+ * // InfluxDBv2: { // InfluxDBv2Parameters
63
+ * // fluxLogEnabled: true || false,
64
+ * // logLevel: "debug" || "info" || "error",
65
+ * // noTasks: true || false,
66
+ * // queryConcurrency: Number("int"),
67
+ * // queryQueueSize: Number("int"),
68
+ * // tracingType: "log" || "jaeger",
69
+ * // metricsDisabled: true || false,
70
+ * // },
71
+ * // },
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param CreateDbParameterGroupCommandInput - {@link CreateDbParameterGroupCommandInput}
77
+ * @returns {@link CreateDbParameterGroupCommandOutput}
78
+ * @see {@link CreateDbParameterGroupCommandInput} for command's `input` shape.
79
+ * @see {@link CreateDbParameterGroupCommandOutput} for command's `response` shape.
80
+ * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * <p>You do not have sufficient access to perform this action.</p>
84
+ *
85
+ * @throws {@link ConflictException} (client fault)
86
+ * <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
87
+ *
88
+ * @throws {@link InternalServerException} (server fault)
89
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>The requested resource was not found or does not exist.</p>
93
+ *
94
+ * @throws {@link ServiceQuotaExceededException} (client fault)
95
+ * <p>The request exceeds the service quota.</p>
96
+ *
97
+ * @throws {@link ThrottlingException} (client fault)
98
+ * <p>The request was denied due to request throttling.</p>
99
+ *
100
+ * @throws {@link ValidationException} (client fault)
101
+ * <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
102
+ *
103
+ * @throws {@link TimestreamInfluxDBServiceException}
104
+ * <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
105
+ *
106
+ */
107
+ export declare class CreateDbParameterGroupCommand extends CreateDbParameterGroupCommand_base {
108
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteDbInstanceInput, DeleteDbInstanceOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteDbInstanceCommand}.
13
+ */
14
+ export interface DeleteDbInstanceCommandInput extends DeleteDbInstanceInput {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteDbInstanceCommand}.
20
+ */
21
+ export interface DeleteDbInstanceCommandOutput extends DeleteDbInstanceOutput, __MetadataBearer {
22
+ }
23
+ declare const DeleteDbInstanceCommand_base: {
24
+ new (input: DeleteDbInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDbInstanceCommandInput, DeleteDbInstanceCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Deletes a Timestream for InfluxDB DB instance.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { TimestreamInfluxDBClient, DeleteDbInstanceCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
34
+ * // const { TimestreamInfluxDBClient, DeleteDbInstanceCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
35
+ * const client = new TimestreamInfluxDBClient(config);
36
+ * const input = { // DeleteDbInstanceInput
37
+ * identifier: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteDbInstanceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteDbInstanceOutput
42
+ * // id: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // arn: "STRING_VALUE", // required
45
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
46
+ * // endpoint: "STRING_VALUE",
47
+ * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
48
+ * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
49
+ * // allocatedStorage: Number("int"),
50
+ * // deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
51
+ * // vpcSubnetIds: [ // VpcSubnetIdList // required
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // publiclyAccessible: true || false,
55
+ * // vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // dbParameterGroupIdentifier: "STRING_VALUE",
59
+ * // availabilityZone: "STRING_VALUE",
60
+ * // secondaryAvailabilityZone: "STRING_VALUE",
61
+ * // logDeliveryConfiguration: { // LogDeliveryConfiguration
62
+ * // s3Configuration: { // S3Configuration
63
+ * // bucketName: "STRING_VALUE", // required
64
+ * // enabled: true || false, // required
65
+ * // },
66
+ * // },
67
+ * // influxAuthParametersSecretArn: "STRING_VALUE",
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param DeleteDbInstanceCommandInput - {@link DeleteDbInstanceCommandInput}
73
+ * @returns {@link DeleteDbInstanceCommandOutput}
74
+ * @see {@link DeleteDbInstanceCommandInput} for command's `input` shape.
75
+ * @see {@link DeleteDbInstanceCommandOutput} for command's `response` shape.
76
+ * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You do not have sufficient access to perform this action.</p>
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The requested resource was not found or does not exist.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>The request was denied due to request throttling.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
95
+ *
96
+ * @throws {@link TimestreamInfluxDBServiceException}
97
+ * <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
98
+ *
99
+ */
100
+ export declare class DeleteDbInstanceCommand extends DeleteDbInstanceCommand_base {
101
+ }