@aws-sdk/client-sustainability 3.1086.0 → 3.1088.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -197,7 +197,7 @@ const commonParams = {
197
197
  Region: { type: "builtInParams", name: "region" },
198
198
  };
199
199
 
200
- var version = "3.1085.0";
200
+ var version = "3.1087.0";
201
201
  var packageInfo = {
202
202
  version: version};
203
203
 
@@ -15,51 +15,43 @@ import { SustainabilityClient } from "./SustainabilityClient";
15
15
  export interface Sustainability {
16
16
  getEstimatedCarbonEmissions(
17
17
  args: GetEstimatedCarbonEmissionsCommandInput,
18
- options?: __HttpHandlerOptions
18
+ options?: __HttpHandlerOptions,
19
19
  ): Promise<GetEstimatedCarbonEmissionsCommandOutput>;
20
20
  getEstimatedCarbonEmissions(
21
21
  args: GetEstimatedCarbonEmissionsCommandInput,
22
- cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void
22
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void,
23
23
  ): void;
24
24
  getEstimatedCarbonEmissions(
25
25
  args: GetEstimatedCarbonEmissionsCommandInput,
26
26
  options: __HttpHandlerOptions,
27
- cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void
27
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsCommandOutput) => void,
28
28
  ): void;
29
29
  getEstimatedCarbonEmissionsDimensionValues(
30
30
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
31
- options?: __HttpHandlerOptions
31
+ options?: __HttpHandlerOptions,
32
32
  ): Promise<GetEstimatedCarbonEmissionsDimensionValuesCommandOutput>;
33
33
  getEstimatedCarbonEmissionsDimensionValues(
34
34
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
35
- cb: (
36
- err: any,
37
- data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
38
- ) => void
35
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput) => void,
39
36
  ): void;
40
37
  getEstimatedCarbonEmissionsDimensionValues(
41
38
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
42
39
  options: __HttpHandlerOptions,
43
- cb: (
44
- err: any,
45
- data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
46
- ) => void
40
+ cb: (err: any, data?: GetEstimatedCarbonEmissionsDimensionValuesCommandOutput) => void,
47
41
  ): void;
48
42
  paginateGetEstimatedCarbonEmissions(
49
43
  args: GetEstimatedCarbonEmissionsCommandInput,
50
44
  paginationConfig?: Pick<
51
45
  PaginationConfiguration,
52
46
  Exclude<keyof PaginationConfiguration, "client">
53
- >
47
+ >,
54
48
  ): Paginator<GetEstimatedCarbonEmissionsCommandOutput>;
55
49
  paginateGetEstimatedCarbonEmissionsDimensionValues(
56
50
  args: GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
57
51
  paginationConfig?: Pick<
58
52
  PaginationConfiguration,
59
53
  Exclude<keyof PaginationConfiguration, "client">
60
- >
54
+ >,
61
55
  ): Paginator<GetEstimatedCarbonEmissionsDimensionValuesCommandOutput>;
62
56
  }
63
- export declare class Sustainability
64
- extends SustainabilityClient
65
- implements Sustainability {}
57
+ 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 {
@@ -57,8 +54,7 @@ export type ServiceInputTypes =
57
54
  export type ServiceOutputTypes =
58
55
  | GetEstimatedCarbonEmissionsCommandOutput
59
56
  | GetEstimatedCarbonEmissionsDimensionValuesCommandOutput;
60
- export interface ClientDefaults
61
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
57
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
62
58
  requestHandler?: __HttpHandlerUserInput;
63
59
  sha256?: __ChecksumConstructor | __HashConstructor;
64
60
  urlParser?: __UrlParser;
@@ -83,9 +79,7 @@ export interface ClientDefaults
83
79
  extensions?: RuntimeExtension[];
84
80
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
85
81
  }
86
- export type SustainabilityClientConfigType = Partial<
87
- __SmithyConfiguration<__HttpHandlerOptions>
88
- > &
82
+ export type SustainabilityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
89
83
  ClientDefaults &
90
84
  UserAgentInputConfig &
91
85
  RetryInputConfig &
@@ -94,8 +88,7 @@ export type SustainabilityClientConfigType = Partial<
94
88
  EndpointInputConfig<EndpointParameters> &
95
89
  HttpAuthSchemeInputConfig &
96
90
  ClientInputEndpointParameters;
97
- export interface SustainabilityClientConfig
98
- extends SustainabilityClientConfigType {}
91
+ export interface SustainabilityClientConfig extends SustainabilityClientConfigType {}
99
92
  export type SustainabilityClientResolvedConfigType =
100
93
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
101
94
  Required<ClientDefaults> &
@@ -107,8 +100,7 @@ export type SustainabilityClientResolvedConfigType =
107
100
  EndpointResolvedConfig<EndpointParameters> &
108
101
  HttpAuthSchemeResolvedConfig &
109
102
  ClientResolvedEndpointParameters;
110
- export interface SustainabilityClientResolvedConfig
111
- extends SustainabilityClientResolvedConfigType {}
103
+ export interface SustainabilityClientResolvedConfig extends SustainabilityClientResolvedConfigType {}
112
104
  export declare class SustainabilityClient extends __Client<
113
105
  __HttpHandlerOptions,
114
106
  ServiceInputTypes,
@@ -116,8 +108,6 @@ export declare class SustainabilityClient extends __Client<
116
108
  SustainabilityClientResolvedConfig
117
109
  > {
118
110
  readonly config: SustainabilityClientResolvedConfig;
119
- constructor(
120
- ...[configuration]: __CheckOptionalClientConfig<SustainabilityClientConfig>
121
- );
111
+ constructor(...[configuration]: __CheckOptionalClientConfig<SustainabilityClientConfig>);
122
112
  destroy(): void;
123
113
  }
@@ -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,
@@ -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,8 +21,7 @@ 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
  };
@@ -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
  }
@@ -1,9 +1,4 @@
1
- import {
2
- Dimension,
3
- EmissionsType,
4
- EmissionsUnit,
5
- TimeGranularity,
6
- } from "./enums";
1
+ import { Dimension, EmissionsType, EmissionsUnit, TimeGranularity } from "./enums";
7
2
  export interface FilterExpression {
8
3
  Dimensions?: Partial<Record<Dimension, string[]>> | undefined;
9
4
  }
@@ -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
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
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: SustainabilityClientConfig) => {
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: SustainabilityClientConfig) => {
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,7 +81,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
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;
@@ -103,7 +90,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
103
90
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
104
91
  | (new (
105
92
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
94
  ) => import("@smithy/types").RequestSigner);
108
95
  sigv4aSigningRegionSet?:
109
96
  | string[]
@@ -10,26 +10,18 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
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
- sigv4aSigningRegionSet:
25
- | string[]
26
- | import("@smithy/types").Provider<string[] | undefined>;
22
+ sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
27
23
  streamCollector: (
28
- stream:
29
- | import("stream").Readable
30
- | import("stream/web").ReadableStream
31
- | ReadableStream
32
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
33
25
  ) => Promise<Uint8Array>;
34
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
35
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
56
48
  logger: import("@smithy/types").Logger;
57
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
58
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
59
- retryStrategy?:
60
- | import("@smithy/types").RetryStrategy
61
- | import("@smithy/types").RetryStrategyV2;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
62
52
  endpoint?:
63
53
  | ((
64
54
  | string
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
80
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
81
71
  context?: {
82
72
  logger?: import("@smithy/types").Logger;
83
- }
73
+ },
84
74
  ) => import("@smithy/types").EndpointV2;
85
75
  tls?: boolean;
86
76
  serviceConfiguredEndpoint?: never;
@@ -92,7 +82,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
92
82
  signer?:
93
83
  | import("@smithy/types").RequestSigner
94
84
  | ((
95
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
96
86
  ) => Promise<import("@smithy/types").RequestSigner>);
97
87
  signingEscapePath?: boolean;
98
88
  systemClockOffset?: number;
@@ -101,6 +91,6 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
101
91
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
102
92
  | (new (
103
93
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
95
  ) => import("@smithy/types").RequestSigner);
106
96
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
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: SustainabilityClientConfig) => {
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: SustainabilityClientConfig) => {
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,7 +85,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
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;
@@ -107,7 +94,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
107
94
  | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
108
95
  | (new (
109
96
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
97
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
98
  ) => import("@smithy/types").RequestSigner);
112
99
  sigv4aSigningRegionSet?:
113
100
  | string[]
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
10
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
11
  context?: {
12
12
  logger?: import("@smithy/types").Logger;
13
- }
13
+ },
14
14
  ) => import("@smithy/types").EndpointV2;
15
15
  extensions: import("./runtimeExtensions").RuntimeExtension[];
16
16
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SustainabilityHttpAuthSchemeProvider;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: SustainabilityClientConfig) => {
30
30
  | typeof SignatureV4MultiRegion
31
31
  | (new (
32
32
  options: import("@smithy/signature-v4").SignatureV4Init &
33
- import("@smithy/signature-v4").SignatureV4CryptoInit
33
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
34
34
  ) => import("@smithy/types").RequestSigner);
35
35
  urlParser: import("@smithy/types").UrlParser;
36
36
  utf8Decoder: import("@smithy/types").Decoder;
@@ -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 SustainabilityServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var InternalServerException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sustainability",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Sustainability Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sustainability",
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-sustainability"
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,19 +45,15 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/signature-v4-multi-region": "^3.996.39",
25
- "@aws-sdk/types": "^3.974.0",
26
- "@smithy/core": "^3.29.2",
27
- "@smithy/fetch-http-handler": "^5.6.4",
28
- "@smithy/node-http-handler": "^4.9.4",
29
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/signature-v4-multi-region": "^3.996.41",
52
+ "@aws-sdk/types": "^3.974.2",
53
+ "@smithy/core": "^3.29.4",
54
+ "@smithy/fetch-http-handler": "^5.6.6",
55
+ "@smithy/node-http-handler": "^4.9.6",
56
+ "@smithy/types": "^4.16.1",
30
57
  "tslib": "^2.6.2"
31
58
  },
32
59
  "devDependencies": {
@@ -39,32 +66,5 @@
39
66
  },
40
67
  "engines": {
41
68
  "node": ">=20.0.0"
42
- },
43
- "typesVersions": {
44
- "<4.5": {
45
- "dist-types/*": [
46
- "dist-types/ts3.4/*"
47
- ]
48
- }
49
- },
50
- "files": [
51
- "dist-*/**"
52
- ],
53
- "author": {
54
- "name": "AWS SDK for JavaScript Team",
55
- "url": "https://aws.amazon.com/sdk-for-javascript/"
56
- },
57
- "license": "Apache-2.0",
58
- "browser": {
59
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
60
- },
61
- "react-native": {
62
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
63
- },
64
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sustainability",
65
- "repository": {
66
- "type": "git",
67
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
68
- "directory": "clients/client-sustainability"
69
69
  }
70
70
  }