@aws-sdk/client-sustainability 3.1077.0 → 3.1078.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 +10 -23
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/GetEstimatedCarbonEmissionsCommand.js +2 -14
- package/dist-es/commands/GetEstimatedCarbonEmissionsDimensionValuesCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/GetEstimatedCarbonEmissionsCommand.d.ts +3 -8
- package/dist-types/commands/GetEstimatedCarbonEmissionsDimensionValuesCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetEstimatedCarbonEmissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEstimatedCarbonEmissionsDimensionValuesCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveParams, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -196,7 +197,7 @@ const commonParams = {
|
|
|
196
197
|
Region: { type: "builtInParams", name: "region" },
|
|
197
198
|
};
|
|
198
199
|
|
|
199
|
-
var version = "3.
|
|
200
|
+
var version = "3.1077.0";
|
|
200
201
|
var packageInfo = {
|
|
201
202
|
version: version};
|
|
202
203
|
|
|
@@ -565,28 +566,14 @@ class SustainabilityClient extends Client {
|
|
|
565
566
|
}
|
|
566
567
|
}
|
|
567
568
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
})
|
|
574
|
-
.s("AwsSustainabilityApiService", "GetEstimatedCarbonEmissions", {})
|
|
575
|
-
.n("SustainabilityClient", "GetEstimatedCarbonEmissionsCommand")
|
|
576
|
-
.sc(GetEstimatedCarbonEmissions$)
|
|
577
|
-
.build() {
|
|
569
|
+
const command = makeBuilder(commonParams, "AwsSustainabilityApiService", "SustainabilityClient", getEndpointPlugin);
|
|
570
|
+
const _ep0 = {};
|
|
571
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
572
|
+
|
|
573
|
+
class GetEstimatedCarbonEmissionsCommand extends command(_ep0, _mw0, "GetEstimatedCarbonEmissions", GetEstimatedCarbonEmissions$) {
|
|
578
574
|
}
|
|
579
575
|
|
|
580
|
-
class GetEstimatedCarbonEmissionsDimensionValuesCommand extends
|
|
581
|
-
.classBuilder()
|
|
582
|
-
.ep(commonParams)
|
|
583
|
-
.m(function (Command, cs, config, o) {
|
|
584
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
585
|
-
})
|
|
586
|
-
.s("AwsSustainabilityApiService", "GetEstimatedCarbonEmissionsDimensionValues", {})
|
|
587
|
-
.n("SustainabilityClient", "GetEstimatedCarbonEmissionsDimensionValuesCommand")
|
|
588
|
-
.sc(GetEstimatedCarbonEmissionsDimensionValues$)
|
|
589
|
-
.build() {
|
|
576
|
+
class GetEstimatedCarbonEmissionsDimensionValuesCommand extends command(_ep0, _mw0, "GetEstimatedCarbonEmissionsDimensionValues", GetEstimatedCarbonEmissionsDimensionValues$) {
|
|
590
577
|
}
|
|
591
578
|
|
|
592
579
|
const paginateGetEstimatedCarbonEmissionsDimensionValues = createPaginator(SustainabilityClient, GetEstimatedCarbonEmissionsDimensionValuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "AwsSustainabilityApiService", "SustainabilityClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEstimatedCarbonEmissions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEstimatedCarbonEmissionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AwsSustainabilityApiService", "GetEstimatedCarbonEmissions", {})
|
|
13
|
-
.n("SustainabilityClient", "GetEstimatedCarbonEmissionsCommand")
|
|
14
|
-
.sc(GetEstimatedCarbonEmissions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEstimatedCarbonEmissionsCommand extends command(_ep0, _mw0, "GetEstimatedCarbonEmissions", GetEstimatedCarbonEmissions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEstimatedCarbonEmissionsDimensionValues$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEstimatedCarbonEmissionsDimensionValuesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AwsSustainabilityApiService", "GetEstimatedCarbonEmissionsDimensionValues", {})
|
|
13
|
-
.n("SustainabilityClient", "GetEstimatedCarbonEmissionsDimensionValuesCommand")
|
|
14
|
-
.sc(GetEstimatedCarbonEmissionsDimensionValues$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEstimatedCarbonEmissionsDimensionValuesCommand extends command(_ep0, _mw0, "GetEstimatedCarbonEmissionsDimensionValues", GetEstimatedCarbonEmissionsDimensionValues$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SustainabilityClient";
|
|
2
2
|
export * from "./Sustainability";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SustainabilityClientResolvedConfig } from "./SustainabilityClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetEstimatedCarbonEmissionsRequest, GetEstimatedCarbonEmissionsResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SustainabilityClientResolvedConfig } from "../SustainabilityClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetEstimatedCarbonEmissionsCommandInput extends GetEstimatedCar
|
|
|
22
19
|
export interface GetEstimatedCarbonEmissionsCommandOutput extends GetEstimatedCarbonEmissionsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetEstimatedCarbonEmissionsCommand_base: {
|
|
25
|
-
new (input: GetEstimatedCarbonEmissionsCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsCommandInput, GetEstimatedCarbonEmissionsCommandOutput, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetEstimatedCarbonEmissionsCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsCommandInput, GetEstimatedCarbonEmissionsCommandOutput, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetEstimatedCarbonEmissionsCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsCommandInput, GetEstimatedCarbonEmissionsCommandOutput, import("..").SustainabilityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEstimatedCarbonEmissionsCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsCommandInput, GetEstimatedCarbonEmissionsCommandOutput, import("..").SustainabilityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns estimated carbon emission values based on customer grouping and filtering parameters. We recommend using pagination to ensure that the operation returns quickly and successfully. </p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetEstimatedCarbonEmissionsDimensionValuesRequest, GetEstimatedCarbonEmissionsDimensionValuesResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SustainabilityClientResolvedConfig } from "../SustainabilityClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetEstimatedCarbonEmissionsDimensionValuesCommandInput extends
|
|
|
22
19
|
export interface GetEstimatedCarbonEmissionsDimensionValuesCommandOutput extends GetEstimatedCarbonEmissionsDimensionValuesResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetEstimatedCarbonEmissionsDimensionValuesCommand_base: {
|
|
25
|
-
new (input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsDimensionValuesCommandInput, GetEstimatedCarbonEmissionsDimensionValuesCommandOutput, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsDimensionValuesCommandInput, GetEstimatedCarbonEmissionsDimensionValuesCommandOutput, SustainabilityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsDimensionValuesCommandInput, GetEstimatedCarbonEmissionsDimensionValuesCommandOutput, import("..").SustainabilityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput): import("@smithy/core/client").CommandImpl<GetEstimatedCarbonEmissionsDimensionValuesCommandInput, GetEstimatedCarbonEmissionsDimensionValuesCommandOutput, import("..").SustainabilityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the possible dimension values available for a customer's account. We recommend using pagination to ensure that the operation returns quickly and successfully. </p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { SustainabilityExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./pagination";
|
|
14
15
|
export * from "./models/enums";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ServiceInputTypes,
|
|
4
|
+
ServiceOutputTypes,
|
|
5
|
+
SustainabilityClientResolvedConfig,
|
|
6
|
+
} from "./SustainabilityClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
SustainabilityClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
SustainabilityClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetEstimatedCarbonEmissionsRequest,
|
|
5
4
|
GetEstimatedCarbonEmissionsResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
SustainabilityClientResolvedConfig,
|
|
11
|
-
} from "../SustainabilityClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetEstimatedCarbonEmissionsCommandInput
|
|
15
8
|
extends GetEstimatedCarbonEmissionsRequest {}
|
|
16
9
|
export interface GetEstimatedCarbonEmissionsCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetEstimatedCarbonEmissionsCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetEstimatedCarbonEmissionsCommandInput,
|
|
24
17
|
GetEstimatedCarbonEmissionsCommandOutput,
|
|
25
|
-
SustainabilityClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").SustainabilityClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetEstimatedCarbonEmissionsCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetEstimatedCarbonEmissionsCommandInput,
|
|
33
26
|
GetEstimatedCarbonEmissionsCommandOutput,
|
|
34
|
-
SustainabilityClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").SustainabilityClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetEstimatedCarbonEmissionsCommand extends GetEstimatedCarbonEmissionsCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
GetEstimatedCarbonEmissionsDimensionValuesRequest,
|
|
5
4
|
GetEstimatedCarbonEmissionsDimensionValuesResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
ServiceInputTypes,
|
|
9
|
-
ServiceOutputTypes,
|
|
10
|
-
SustainabilityClientResolvedConfig,
|
|
11
|
-
} from "../SustainabilityClient";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetEstimatedCarbonEmissionsDimensionValuesCommandInput
|
|
15
8
|
extends GetEstimatedCarbonEmissionsDimensionValuesRequest {}
|
|
16
9
|
export interface GetEstimatedCarbonEmissionsDimensionValuesCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const GetEstimatedCarbonEmissionsDimensionValuesCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
|
|
24
17
|
GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
|
|
25
|
-
SustainabilityClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").SustainabilityClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: GetEstimatedCarbonEmissionsDimensionValuesCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
GetEstimatedCarbonEmissionsDimensionValuesCommandInput,
|
|
33
26
|
GetEstimatedCarbonEmissionsDimensionValuesCommandOutput,
|
|
34
|
-
SustainabilityClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").SustainabilityClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class GetEstimatedCarbonEmissionsDimensionValuesCommand extends GetEstimatedCarbonEmissionsDimensionValuesCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SustainabilityExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sustainability",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sustainability Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
25
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
-
"@smithy/core": "^3.
|
|
27
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
28
|
-
"@smithy/node-http-handler": "^4.9.
|
|
29
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.38",
|
|
25
|
+
"@aws-sdk/types": "^3.973.15",
|
|
26
|
+
"@smithy/core": "^3.29.0",
|
|
27
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
28
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
29
|
+
"@smithy/types": "^4.15.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|