@aws-sdk/client-sustainability 3.1087.0 → 3.1089.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 (50) hide show
  1. package/README.md +15 -1
  2. package/dist-cjs/index.js +89 -1
  3. package/dist-es/Sustainability.js +8 -0
  4. package/dist-es/commands/GetEstimatedWaterAllocationCommand.js +4 -0
  5. package/dist-es/commands/GetEstimatedWaterAllocationDimensionValuesCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +6 -0
  8. package/dist-es/pagination/GetEstimatedWaterAllocationDimensionValuesPaginator.js +4 -0
  9. package/dist-es/pagination/GetEstimatedWaterAllocationPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/schemas/schemas_0.js +55 -0
  12. package/dist-types/Sustainability.d.ts +29 -1
  13. package/dist-types/SustainabilityClient.d.ts +5 -3
  14. package/dist-types/commands/GetEstimatedWaterAllocationCommand.d.ts +162 -0
  15. package/dist-types/commands/GetEstimatedWaterAllocationDimensionValuesCommand.d.ts +149 -0
  16. package/dist-types/commands/index.d.ts +2 -0
  17. package/dist-types/index.d.ts +1 -1
  18. package/dist-types/models/enums.d.ts +34 -6
  19. package/dist-types/models/models_0.d.ts +146 -9
  20. package/dist-types/pagination/GetEstimatedWaterAllocationDimensionValuesPaginator.d.ts +7 -0
  21. package/dist-types/pagination/GetEstimatedWaterAllocationPaginator.d.ts +7 -0
  22. package/dist-types/pagination/index.d.ts +2 -0
  23. package/dist-types/schemas/schemas_0.d.ts +8 -0
  24. package/dist-types/ts3.4/Sustainability.d.ts +57 -17
  25. package/dist-types/ts3.4/SustainabilityClient.d.ts +20 -18
  26. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  27. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +12 -18
  28. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  29. package/dist-types/ts3.4/commands/GetEstimatedCarbonEmissionsCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/GetEstimatedCarbonEmissionsDimensionValuesCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/GetEstimatedWaterAllocationCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/GetEstimatedWaterAllocationDimensionValuesCommand.d.ts +42 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  34. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  35. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  36. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  37. package/dist-types/ts3.4/models/enums.d.ts +9 -2
  38. package/dist-types/ts3.4/models/errors.d.ts +4 -12
  39. package/dist-types/ts3.4/models/models_0.d.ts +35 -0
  40. package/dist-types/ts3.4/pagination/GetEstimatedWaterAllocationDimensionValuesPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/GetEstimatedWaterAllocationPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  43. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  48. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -5
  50. package/package.json +39 -39
@@ -11,55 +11,95 @@ import {
11
11
  GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
12
12
  GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
13
13
  } from "./commands/GetEstimatedCarbonEmissionsDimensionValuesCommand";
14
+ import {
15
+ GetEstimatedWaterAllocationCommandInput,
16
+ GetEstimatedWaterAllocationCommandOutput,
17
+ } from "./commands/GetEstimatedWaterAllocationCommand";
18
+ import {
19
+ GetEstimatedWaterAllocationDimensionValuesCommandInput,
20
+ GetEstimatedWaterAllocationDimensionValuesCommandOutput,
21
+ } from "./commands/GetEstimatedWaterAllocationDimensionValuesCommand";
14
22
  import { SustainabilityClient } from "./SustainabilityClient";
15
23
  export interface Sustainability {
16
24
  getEstimatedCarbonEmissions(
17
25
  args: GetEstimatedCarbonEmissionsCommandInput,
18
- options?: __HttpHandlerOptions
26
+ options?: __HttpHandlerOptions,
19
27
  ): Promise<GetEstimatedCarbonEmissionsCommandOutput>;
20
28
  getEstimatedCarbonEmissions(
21
29
  args: GetEstimatedCarbonEmissionsCommandInput,
22
- cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void
30
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void,
23
31
  ): void;
24
32
  getEstimatedCarbonEmissions(
25
33
  args: GetEstimatedCarbonEmissionsCommandInput,
26
34
  options: __HttpHandlerOptions,
27
- cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void
35
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void,
28
36
  ): void;
29
37
  getEstimatedCarbonEmissionsDimensionValues(
30
38
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
31
- options?: __HttpHandlerOptions
39
+ options?: __HttpHandlerOptions,
32
40
  ): Promise<GetEstimatedCarbonEmissionsDimensionValuesCommandOutput>;
33
41
  getEstimatedCarbonEmissionsDimensionValues(
34
42
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
35
- cb: (
36
- err: any,
37
- data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
38
- ) => void
43
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput) => void,
39
44
  ): void;
40
45
  getEstimatedCarbonEmissionsDimensionValues(
41
46
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
42
47
  options: __HttpHandlerOptions,
43
- cb: (
44
- err: any,
45
- data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
46
- ) => void
48
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput) => void,
49
+ ): void;
50
+ getEstimatedWaterAllocation(
51
+ args: GetEstimatedWaterAllocationCommandInput,
52
+ options?: __HttpHandlerOptions,
53
+ ): Promise<GetEstimatedWaterAllocationCommandOutput>;
54
+ getEstimatedWaterAllocation(
55
+ args: GetEstimatedWaterAllocationCommandInput,
56
+ cb: (err: any, data?: GetEstimatedWaterAllocationCommandOutput) => void,
57
+ ): void;
58
+ getEstimatedWaterAllocation(
59
+ args: GetEstimatedWaterAllocationCommandInput,
60
+ options: __HttpHandlerOptions,
61
+ cb: (err: any, data?: GetEstimatedWaterAllocationCommandOutput) => void,
62
+ ): void;
63
+ getEstimatedWaterAllocationDimensionValues(
64
+ args: GetEstimatedWaterAllocationDimensionValuesCommandInput,
65
+ options?: __HttpHandlerOptions,
66
+ ): Promise<GetEstimatedWaterAllocationDimensionValuesCommandOutput>;
67
+ getEstimatedWaterAllocationDimensionValues(
68
+ args: GetEstimatedWaterAllocationDimensionValuesCommandInput,
69
+ cb: (err: any, data?: GetEstimatedWaterAllocationDimensionValuesCommandOutput) => void,
70
+ ): void;
71
+ getEstimatedWaterAllocationDimensionValues(
72
+ args: GetEstimatedWaterAllocationDimensionValuesCommandInput,
73
+ options: __HttpHandlerOptions,
74
+ cb: (err: any, data?: GetEstimatedWaterAllocationDimensionValuesCommandOutput) => void,
47
75
  ): void;
48
76
  paginateGetEstimatedCarbonEmissions(
49
77
  args: GetEstimatedCarbonEmissionsCommandInput,
50
78
  paginationConfig?: Pick<
51
79
  PaginationConfiguration,
52
80
  Exclude<keyof PaginationConfiguration, "client">
53
- >
81
+ >,
54
82
  ): Paginator<GetEstimatedCarbonEmissionsCommandOutput>;
55
83
  paginateGetEstimatedCarbonEmissionsDimensionValues(
56
84
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
57
85
  paginationConfig?: Pick<
58
86
  PaginationConfiguration,
59
87
  Exclude<keyof PaginationConfiguration, "client">
60
- >
88
+ >,
61
89
  ): Paginator<GetEstimatedCarbonEmissionsDimensionValuesCommandOutput>;
90
+ paginateGetEstimatedWaterAllocation(
91
+ args: GetEstimatedWaterAllocationCommandInput,
92
+ paginationConfig?: Pick<
93
+ PaginationConfiguration,
94
+ Exclude<keyof PaginationConfiguration, "client">
95
+ >,
96
+ ): Paginator<GetEstimatedWaterAllocationCommandOutput>;
97
+ paginateGetEstimatedWaterAllocationDimensionValues(
98
+ args: GetEstimatedWaterAllocationDimensionValuesCommandInput,
99
+ paginationConfig?: Pick<
100
+ PaginationConfiguration,
101
+ Exclude<keyof PaginationConfiguration, "client">
102
+ >,
103
+ ): Paginator<GetEstimatedWaterAllocationDimensionValuesCommandOutput>;
62
104
  }
63
- export declare class Sustainability
64
- extends SustainabilityClient
65
- implements Sustainability {}
105
+ export declare class Sustainability extends SustainabilityClient implements Sustainability {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -44,6 +41,14 @@ import {
44
41
  GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
45
42
  GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
46
43
  } from "./commands/GetEstimatedCarbonEmissionsDimensionValuesCommand";
44
+ import {
45
+ GetEstimatedWaterAllocationCommandInput,
46
+ GetEstimatedWaterAllocationCommandOutput,
47
+ } from "./commands/GetEstimatedWaterAllocationCommand";
48
+ import {
49
+ GetEstimatedWaterAllocationDimensionValuesCommandInput,
50
+ GetEstimatedWaterAllocationDimensionValuesCommandOutput,
51
+ } from "./commands/GetEstimatedWaterAllocationDimensionValuesCommand";
47
52
  import {
48
53
  ClientInputEndpointParameters,
49
54
  ClientResolvedEndpointParameters,
@@ -53,12 +58,15 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
53
58
  export { __Client };
54
59
  export type ServiceInputTypes =
55
60
  | GetEstimatedCarbonEmissionsCommandInput
56
- | GetEstimatedCarbonEmissionsDimensionValuesCommandInput;
61
+ | GetEstimatedCarbonEmissionsDimensionValuesCommandInput
62
+ | GetEstimatedWaterAllocationCommandInput
63
+ | GetEstimatedWaterAllocationDimensionValuesCommandInput;
57
64
  export type ServiceOutputTypes =
58
65
  | GetEstimatedCarbonEmissionsCommandOutput
59
- | GetEstimatedCarbonEmissionsDimensionValuesCommandOutput;
60
- export interface ClientDefaults
61
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
66
+ | GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
67
+ | GetEstimatedWaterAllocationCommandOutput
68
+ | GetEstimatedWaterAllocationDimensionValuesCommandOutput;
69
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
62
70
  requestHandler?: __HttpHandlerUserInput;
63
71
  sha256?: __ChecksumConstructor | __HashConstructor;
64
72
  urlParser?: __UrlParser;
@@ -83,9 +91,7 @@ export interface ClientDefaults
83
91
  extensions?: RuntimeExtension[];
84
92
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
85
93
  }
86
- export type SustainabilityClientConfigType = Partial<
87
- __SmithyConfiguration<__HttpHandlerOptions>
88
- > &
94
+ export type SustainabilityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
89
95
  ClientDefaults &
90
96
  UserAgentInputConfig &
91
97
  RetryInputConfig &
@@ -94,8 +100,7 @@ export type SustainabilityClientConfigType = Partial<
94
100
  EndpointInputConfig<EndpointParameters> &
95
101
  HttpAuthSchemeInputConfig &
96
102
  ClientInputEndpointParameters;
97
- export interface SustainabilityClientConfig
98
- extends SustainabilityClientConfigType {}
103
+ export interface SustainabilityClientConfig extends SustainabilityClientConfigType {}
99
104
  export type SustainabilityClientResolvedConfigType =
100
105
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
101
106
  Required<ClientDefaults> &
@@ -107,8 +112,7 @@ export type SustainabilityClientResolvedConfigType =
107
112
  EndpointResolvedConfig<EndpointParameters> &
108
113
  HttpAuthSchemeResolvedConfig &
109
114
  ClientResolvedEndpointParameters;
110
- export interface SustainabilityClientResolvedConfig
111
- extends SustainabilityClientResolvedConfigType {}
115
+ export interface SustainabilityClientResolvedConfig extends SustainabilityClientResolvedConfigType {}
112
116
  export declare class SustainabilityClient extends __Client<
113
117
  __HttpHandlerOptions,
114
118
  ServiceInputTypes,
@@ -116,8 +120,6 @@ export declare class SustainabilityClient extends __Client<
116
120
  SustainabilityClientResolvedConfig
117
121
  > {
118
122
  readonly config: SustainabilityClientResolvedConfig;
119
- constructor(
120
- ...[configuration]: __CheckOptionalClientConfig<SustainabilityClientConfig>
121
- );
123
+ constructor(...[configuration]: __CheckOptionalClientConfig<SustainabilityClientConfig>);
122
124
  destroy(): void;
123
125
  }
@@ -7,17 +7,10 @@ import { SustainabilityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: SustainabilityHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: SustainabilityHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): SustainabilityHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -16,36 +16,30 @@ import {
16
16
  } from "@smithy/types";
17
17
  import { EndpointParameters } from "../endpoint/EndpointParameters";
18
18
  import { SustainabilityClientResolvedConfig } from "../SustainabilityClient";
19
- interface _SustainabilityHttpAuthSchemeParameters
20
- extends HttpAuthSchemeParameters {
19
+ interface _SustainabilityHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
21
20
  region?: string;
22
21
  }
23
22
  export interface SustainabilityHttpAuthSchemeParameters
24
- extends _SustainabilityHttpAuthSchemeParameters,
25
- EndpointParameters {
23
+ extends _SustainabilityHttpAuthSchemeParameters, EndpointParameters {
26
24
  region?: string;
27
25
  }
28
- export interface SustainabilityHttpAuthSchemeParametersProvider
29
- extends HttpAuthSchemeParametersProvider<
30
- SustainabilityClientResolvedConfig,
31
- HandlerExecutionContext,
32
- SustainabilityHttpAuthSchemeParameters,
33
- object
34
- > {}
26
+ export interface SustainabilityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
27
+ SustainabilityClientResolvedConfig,
28
+ HandlerExecutionContext,
29
+ SustainabilityHttpAuthSchemeParameters,
30
+ object
31
+ > {}
35
32
  export declare const defaultSustainabilityHttpAuthSchemeParametersProvider: SustainabilityHttpAuthSchemeParametersProvider;
36
- export interface SustainabilityHttpAuthSchemeProvider
37
- extends HttpAuthSchemeProvider<SustainabilityHttpAuthSchemeParameters> {}
33
+ export interface SustainabilityHttpAuthSchemeProvider extends HttpAuthSchemeProvider<SustainabilityHttpAuthSchemeParameters> {}
38
34
  export declare const defaultSustainabilityHttpAuthSchemeProvider: SustainabilityHttpAuthSchemeProvider;
39
35
  export interface HttpAuthSchemeInputConfig
40
- extends AwsSdkSigV4AuthInputConfig,
41
- AwsSdkSigV4AAuthInputConfig {
36
+ extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
42
37
  authSchemePreference?: string[] | Provider<string[]>;
43
38
  httpAuthSchemes?: HttpAuthScheme[];
44
39
  httpAuthSchemeProvider?: SustainabilityHttpAuthSchemeProvider;
45
40
  }
46
41
  export interface HttpAuthSchemeResolvedConfig
47
- extends AwsSdkSigV4AuthResolvedConfig,
48
- AwsSdkSigV4AAuthResolvedConfig {
42
+ extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
49
43
  readonly authSchemePreference: Provider<string[]>;
50
44
  readonly httpAuthSchemes: HttpAuthScheme[];
51
45
  readonly httpAuthSchemeProvider: SustainabilityHttpAuthSchemeProvider;
@@ -54,6 +48,6 @@ export declare const resolveHttpAuthSchemeConfig: <T>(
54
48
  config: T &
55
49
  HttpAuthSchemeInputConfig &
56
50
  AwsSdkSigV4PreviouslyResolved &
57
- AwsSdkSigV4APreviouslyResolved
51
+ AwsSdkSigV4APreviouslyResolved,
58
52
  ) => T & HttpAuthSchemeResolvedConfig;
59
53
  export {};
@@ -4,22 +4,21 @@ import {
4
4
  ServiceOutputTypes,
5
5
  SustainabilityClientResolvedConfig,
6
6
  } from "./SustainabilityClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  SustainabilityClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -4,14 +4,12 @@ import {
4
4
  GetEstimatedCarbonEmissionsResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface GetEstimatedCarbonEmissionsCommandInput
8
- extends GetEstimatedCarbonEmissionsRequest {}
7
+ export interface GetEstimatedCarbonEmissionsCommandInput extends GetEstimatedCarbonEmissionsRequest {}
9
8
  export interface GetEstimatedCarbonEmissionsCommandOutput
10
- extends GetEstimatedCarbonEmissionsResponse,
11
- __MetadataBearer {}
9
+ extends GetEstimatedCarbonEmissionsResponse, __MetadataBearer {}
12
10
  declare const GetEstimatedCarbonEmissionsCommand_base: {
13
11
  new (
14
- input: GetEstimatedCarbonEmissionsCommandInput
12
+ input: GetEstimatedCarbonEmissionsCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  GetEstimatedCarbonEmissionsCommandInput,
17
15
  GetEstimatedCarbonEmissionsCommandOutput,
@@ -20,7 +18,7 @@ declare const GetEstimatedCarbonEmissionsCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: GetEstimatedCarbonEmissionsCommandInput
21
+ input: GetEstimatedCarbonEmissionsCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  GetEstimatedCarbonEmissionsCommandInput,
26
24
  GetEstimatedCarbonEmissionsCommandOutput,
@@ -4,14 +4,12 @@ import {
4
4
  GetEstimatedCarbonEmissionsDimensionValuesResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface GetEstimatedCarbonEmissionsDimensionValuesCommandInput
8
- extends GetEstimatedCarbonEmissionsDimensionValuesRequest {}
7
+ export interface GetEstimatedCarbonEmissionsDimensionValuesCommandInput extends GetEstimatedCarbonEmissionsDimensionValuesRequest {}
9
8
  export interface GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
10
- extends GetEstimatedCarbonEmissionsDimensionValuesResponse,
11
- __MetadataBearer {}
9
+ extends GetEstimatedCarbonEmissionsDimensionValuesResponse, __MetadataBearer {}
12
10
  declare const GetEstimatedCarbonEmissionsDimensionValuesCommand_base: {
13
11
  new (
14
- input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput
12
+ input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
17
15
  GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
@@ -20,7 +18,7 @@ declare const GetEstimatedCarbonEmissionsDimensionValuesCommand_base: {
20
18
  import("..").ServiceOutputTypes
21
19
  >;
22
20
  new (
23
- input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput
21
+ input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
26
24
  GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetEstimatedWaterAllocationRequest,
4
+ GetEstimatedWaterAllocationResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetEstimatedWaterAllocationCommandInput extends GetEstimatedWaterAllocationRequest {}
8
+ export interface GetEstimatedWaterAllocationCommandOutput
9
+ extends GetEstimatedWaterAllocationResponse, __MetadataBearer {}
10
+ declare const GetEstimatedWaterAllocationCommand_base: {
11
+ new (
12
+ input: GetEstimatedWaterAllocationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetEstimatedWaterAllocationCommandInput,
15
+ GetEstimatedWaterAllocationCommandOutput,
16
+ import("..").SustainabilityClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetEstimatedWaterAllocationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetEstimatedWaterAllocationCommandInput,
24
+ GetEstimatedWaterAllocationCommandOutput,
25
+ import("..").SustainabilityClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetEstimatedWaterAllocationCommand extends GetEstimatedWaterAllocationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetEstimatedWaterAllocationRequest;
35
+ output: GetEstimatedWaterAllocationResponse;
36
+ };
37
+ sdk: {
38
+ input: GetEstimatedWaterAllocationCommandInput;
39
+ output: GetEstimatedWaterAllocationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ GetEstimatedWaterAllocationDimensionValuesRequest,
4
+ GetEstimatedWaterAllocationDimensionValuesResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface GetEstimatedWaterAllocationDimensionValuesCommandInput extends GetEstimatedWaterAllocationDimensionValuesRequest {}
8
+ export interface GetEstimatedWaterAllocationDimensionValuesCommandOutput
9
+ extends GetEstimatedWaterAllocationDimensionValuesResponse, __MetadataBearer {}
10
+ declare const GetEstimatedWaterAllocationDimensionValuesCommand_base: {
11
+ new (
12
+ input: GetEstimatedWaterAllocationDimensionValuesCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ GetEstimatedWaterAllocationDimensionValuesCommandInput,
15
+ GetEstimatedWaterAllocationDimensionValuesCommandOutput,
16
+ import("..").SustainabilityClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: GetEstimatedWaterAllocationDimensionValuesCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetEstimatedWaterAllocationDimensionValuesCommandInput,
24
+ GetEstimatedWaterAllocationDimensionValuesCommandOutput,
25
+ import("..").SustainabilityClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class GetEstimatedWaterAllocationDimensionValuesCommand extends GetEstimatedWaterAllocationDimensionValuesCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: GetEstimatedWaterAllocationDimensionValuesRequest;
35
+ output: GetEstimatedWaterAllocationDimensionValuesResponse;
36
+ };
37
+ sdk: {
38
+ input: GetEstimatedWaterAllocationDimensionValuesCommandInput;
39
+ output: GetEstimatedWaterAllocationDimensionValuesCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,2 +1,4 @@
1
1
  export * from "./GetEstimatedCarbonEmissionsCommand";
2
2
  export * from "./GetEstimatedCarbonEmissionsDimensionValuesCommand";
3
+ export * from "./GetEstimatedWaterAllocationCommand";
4
+ export * from "./GetEstimatedWaterAllocationDimensionValuesCommand";
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
22
22
  defaultSigningName: string;
23
23
  };
24
24
  export declare const resolveClientEndpointParameters: <T>(
25
- options: T & ClientInputEndpointParameters
25
+ options: T & ClientInputEndpointParameters,
26
26
  ) => T & ClientResolvedEndpointParameters;
27
27
  export declare const commonParams: {
28
28
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface SustainabilityExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -21,9 +21,16 @@ export declare const TimeGranularity: {
21
21
  readonly YEARLY_CALENDAR: "YEARLY_CALENDAR";
22
22
  readonly YEARLY_FISCAL: "YEARLY_FISCAL";
23
23
  };
24
- export type TimeGranularity =
25
- (typeof TimeGranularity)[keyof typeof TimeGranularity];
24
+ export type TimeGranularity = (typeof TimeGranularity)[keyof typeof TimeGranularity];
26
25
  export declare const EmissionsUnit: {
27
26
  readonly MT_CO2E: "MTCO2e";
28
27
  };
29
28
  export type EmissionsUnit = (typeof EmissionsUnit)[keyof typeof EmissionsUnit];
29
+ export declare const WaterAllocationType: {
30
+ readonly TOTAL_WATER_WITHDRAWALS: "TOTAL_WATER_WITHDRAWALS";
31
+ };
32
+ export type WaterAllocationType = (typeof WaterAllocationType)[keyof typeof WaterAllocationType];
33
+ export declare const WaterAllocationUnit: {
34
+ readonly CUBIC_METERS: "m3";
35
+ };
36
+ export type WaterAllocationUnit = (typeof WaterAllocationUnit)[keyof typeof WaterAllocationUnit];
@@ -4,33 +4,25 @@ export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
6
  Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
8
  }
11
9
  export declare class InternalServerException extends __BaseException {
12
10
  readonly name: "InternalServerException";
13
11
  readonly $fault: "server";
14
12
  $retryable: {};
15
13
  Message: string | undefined;
16
- constructor(
17
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
18
- );
14
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
19
15
  }
20
16
  export declare class ThrottlingException extends __BaseException {
21
17
  readonly name: "ThrottlingException";
22
18
  readonly $fault: "client";
23
19
  $retryable: {};
24
20
  Message: string | undefined;
25
- constructor(
26
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
27
- );
21
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
28
22
  }
29
23
  export declare class ValidationException extends __BaseException {
30
24
  readonly name: "ValidationException";
31
25
  readonly $fault: "client";
32
26
  Message: string | undefined;
33
- constructor(
34
- opts: __ExceptionOptionType<ValidationException, __BaseException>
35
- );
27
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
36
28
  }
@@ -3,6 +3,8 @@ import {
3
3
  EmissionsType,
4
4
  EmissionsUnit,
5
5
  TimeGranularity,
6
+ WaterAllocationType,
7
+ WaterAllocationUnit,
6
8
  } from "./enums";
7
9
  export interface FilterExpression {
8
10
  Dimensions?: Partial<Record<Dimension, string[]>> | undefined;
@@ -52,3 +54,36 @@ export interface GetEstimatedCarbonEmissionsDimensionValuesResponse {
52
54
  Results?: DimensionEntry[] | undefined;
53
55
  NextToken?: string | undefined;
54
56
  }
57
+ export interface GetEstimatedWaterAllocationRequest {
58
+ TimePeriod: TimePeriod | undefined;
59
+ GroupBy?: Dimension[] | undefined;
60
+ FilterBy?: FilterExpression | undefined;
61
+ AllocationTypes?: WaterAllocationType[] | undefined;
62
+ Granularity?: TimeGranularity | undefined;
63
+ MaxResults?: number | undefined;
64
+ NextToken?: string | undefined;
65
+ }
66
+ export interface WaterAllocation {
67
+ Value: number | undefined;
68
+ Unit: WaterAllocationUnit | undefined;
69
+ }
70
+ export interface EstimatedWaterAllocation {
71
+ TimePeriod: TimePeriod | undefined;
72
+ DimensionsValues: Partial<Record<Dimension, string>> | undefined;
73
+ ModelVersion: string | undefined;
74
+ AllocationValues: Partial<Record<WaterAllocationType, WaterAllocation>> | undefined;
75
+ }
76
+ export interface GetEstimatedWaterAllocationResponse {
77
+ Results: EstimatedWaterAllocation[] | undefined;
78
+ NextToken?: string | undefined;
79
+ }
80
+ export interface GetEstimatedWaterAllocationDimensionValuesRequest {
81
+ TimePeriod: TimePeriod | undefined;
82
+ Dimensions: Dimension[] | undefined;
83
+ MaxResults?: number | undefined;
84
+ NextToken?: string | undefined;
85
+ }
86
+ export interface GetEstimatedWaterAllocationDimensionValuesResponse {
87
+ Results: DimensionEntry[] | undefined;
88
+ NextToken?: string | undefined;
89
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetEstimatedWaterAllocationDimensionValuesCommandInput,
4
+ GetEstimatedWaterAllocationDimensionValuesCommandOutput,
5
+ } from "../commands/GetEstimatedWaterAllocationDimensionValuesCommand";
6
+ import { SustainabilityPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetEstimatedWaterAllocationDimensionValues: (
8
+ config: SustainabilityPaginationConfiguration,
9
+ input: GetEstimatedWaterAllocationDimensionValuesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetEstimatedWaterAllocationDimensionValuesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetEstimatedWaterAllocationCommandInput,
4
+ GetEstimatedWaterAllocationCommandOutput,
5
+ } from "../commands/GetEstimatedWaterAllocationCommand";
6
+ import { SustainabilityPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetEstimatedWaterAllocation: (
8
+ config: SustainabilityPaginationConfiguration,
9
+ input: GetEstimatedWaterAllocationCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetEstimatedWaterAllocationCommandOutput>;
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { SustainabilityClient } from "../SustainabilityClient";
3
- export interface SustainabilityPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface SustainabilityPaginationConfiguration extends PaginationConfiguration {
5
4
  client: SustainabilityClient;
6
5
  }
@@ -1,3 +1,5 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./GetEstimatedCarbonEmissionsPaginator";
3
3
  export * from "./GetEstimatedCarbonEmissionsDimensionValuesPaginator";
4
+ export * from "./GetEstimatedWaterAllocationPaginator";
5
+ export * from "./GetEstimatedWaterAllocationDimensionValuesPaginator";