@aws-sdk/client-sustainability 3.1075.0 → 3.1077.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 +493 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +9 -11
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -122
- package/dist-cjs/endpoint/bdd.js +0 -38
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SustainabilityServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -59
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -46
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -45
- package/dist-cjs/schemas/schemas_0.js +0 -169
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
const _ADE = "AccessDeniedException";
|
|
2
|
-
const _D = "Dimension";
|
|
3
|
-
const _DE = "DimensionEntry";
|
|
4
|
-
const _DEL = "DimensionEntryList";
|
|
5
|
-
const _DLM = "DimensionListMap";
|
|
6
|
-
const _DV = "DimensionsValues";
|
|
7
|
-
const _Di = "Dimensions";
|
|
8
|
-
const _E = "Emissions";
|
|
9
|
-
const _ECE = "EstimatedCarbonEmissions";
|
|
10
|
-
const _ECEL = "EstimatedCarbonEmissionsList";
|
|
11
|
-
const _EM = "EmissionsMap";
|
|
12
|
-
const _ET = "EmissionsTypes";
|
|
13
|
-
const _EV = "EmissionsValues";
|
|
14
|
-
const _En = "End";
|
|
15
|
-
const _FB = "FilterBy";
|
|
16
|
-
const _FE = "FilterExpression";
|
|
17
|
-
const _FYSM = "FiscalYearStartMonth";
|
|
18
|
-
const _G = "Granularity";
|
|
19
|
-
const _GB = "GroupBy";
|
|
20
|
-
const _GC = "GranularityConfiguration";
|
|
21
|
-
const _GECE = "GetEstimatedCarbonEmissions";
|
|
22
|
-
const _GECEDV = "GetEstimatedCarbonEmissionsDimensionValues";
|
|
23
|
-
const _GECEDVR = "GetEstimatedCarbonEmissionsDimensionValuesRequest";
|
|
24
|
-
const _GECEDVRe = "GetEstimatedCarbonEmissionsDimensionValuesResponse";
|
|
25
|
-
const _GECER = "GetEstimatedCarbonEmissionsRequest";
|
|
26
|
-
const _GECERe = "GetEstimatedCarbonEmissionsResponse";
|
|
27
|
-
const _ISE = "InternalServerException";
|
|
28
|
-
const _M = "Message";
|
|
29
|
-
const _MR = "MaxResults";
|
|
30
|
-
const _MV = "ModelVersion";
|
|
31
|
-
const _NT = "NextToken";
|
|
32
|
-
const _R = "Results";
|
|
33
|
-
const _S = "Start";
|
|
34
|
-
const _TE = "ThrottlingException";
|
|
35
|
-
const _TP = "TimePeriod";
|
|
36
|
-
const _U = "Unit";
|
|
37
|
-
const _V = "Value";
|
|
38
|
-
const _VE = "ValidationException";
|
|
39
|
-
const _c = "client";
|
|
40
|
-
const _e = "error";
|
|
41
|
-
const _h = "http";
|
|
42
|
-
const _hE = "httpError";
|
|
43
|
-
const _jN = "jsonName";
|
|
44
|
-
const _m = "message";
|
|
45
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sustainability";
|
|
46
|
-
const _se = "server";
|
|
47
|
-
const n0 = "com.amazonaws.sustainability";
|
|
48
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
49
|
-
const { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
50
|
-
const { SustainabilityServiceException } = require("../models/SustainabilityServiceException");
|
|
51
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
52
|
-
const SustainabilityServiceException$ = [-3, _s, "SustainabilityServiceException", 0, [], []];
|
|
53
|
-
exports.SustainabilityServiceException$ = SustainabilityServiceException$;
|
|
54
|
-
_s_registry.registerError(SustainabilityServiceException$, SustainabilityServiceException);
|
|
55
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
56
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
57
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
58
|
-
[_M],
|
|
59
|
-
[[0, { [_jN]: _m }]], 1
|
|
60
|
-
];
|
|
61
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
62
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
63
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
64
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
65
|
-
[_M],
|
|
66
|
-
[[0, { [_jN]: _m }]], 1
|
|
67
|
-
];
|
|
68
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
69
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
70
|
-
const ThrottlingException$ = [-3, n0, _TE,
|
|
71
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
72
|
-
[_M],
|
|
73
|
-
[[0, { [_jN]: _m }]], 1
|
|
74
|
-
];
|
|
75
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
76
|
-
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
77
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
78
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
79
|
-
[_M],
|
|
80
|
-
[[0, { [_jN]: _m }]], 1
|
|
81
|
-
];
|
|
82
|
-
exports.ValidationException$ = ValidationException$;
|
|
83
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
84
|
-
exports.errorTypeRegistries = [
|
|
85
|
-
_s_registry,
|
|
86
|
-
n0_registry,
|
|
87
|
-
];
|
|
88
|
-
const DimensionEntry$ = [3, n0, _DE,
|
|
89
|
-
0,
|
|
90
|
-
[_D, _V],
|
|
91
|
-
[0, 0], 2
|
|
92
|
-
];
|
|
93
|
-
exports.DimensionEntry$ = DimensionEntry$;
|
|
94
|
-
const Emissions$ = [3, n0, _E,
|
|
95
|
-
0,
|
|
96
|
-
[_V, _U],
|
|
97
|
-
[1, 0], 2
|
|
98
|
-
];
|
|
99
|
-
exports.Emissions$ = Emissions$;
|
|
100
|
-
const EstimatedCarbonEmissions$ = [3, n0, _ECE,
|
|
101
|
-
0,
|
|
102
|
-
[_TP, _DV, _MV, _EV],
|
|
103
|
-
[() => TimePeriod$, 128 | 0, 0, () => EmissionsMap], 4
|
|
104
|
-
];
|
|
105
|
-
exports.EstimatedCarbonEmissions$ = EstimatedCarbonEmissions$;
|
|
106
|
-
const FilterExpression$ = [3, n0, _FE,
|
|
107
|
-
0,
|
|
108
|
-
[_Di],
|
|
109
|
-
[[2, n0, _DLM, 0, 0, 64 | 0]]
|
|
110
|
-
];
|
|
111
|
-
exports.FilterExpression$ = FilterExpression$;
|
|
112
|
-
const GetEstimatedCarbonEmissionsDimensionValuesRequest$ = [3, n0, _GECEDVR,
|
|
113
|
-
0,
|
|
114
|
-
[_TP, _Di, _MR, _NT],
|
|
115
|
-
[() => TimePeriod$, 64 | 0, 1, 0], 2
|
|
116
|
-
];
|
|
117
|
-
exports.GetEstimatedCarbonEmissionsDimensionValuesRequest$ = GetEstimatedCarbonEmissionsDimensionValuesRequest$;
|
|
118
|
-
const GetEstimatedCarbonEmissionsDimensionValuesResponse$ = [3, n0, _GECEDVRe,
|
|
119
|
-
0,
|
|
120
|
-
[_R, _NT],
|
|
121
|
-
[() => DimensionEntryList, 0]
|
|
122
|
-
];
|
|
123
|
-
exports.GetEstimatedCarbonEmissionsDimensionValuesResponse$ = GetEstimatedCarbonEmissionsDimensionValuesResponse$;
|
|
124
|
-
const GetEstimatedCarbonEmissionsRequest$ = [3, n0, _GECER,
|
|
125
|
-
0,
|
|
126
|
-
[_TP, _GB, _FB, _ET, _G, _GC, _MR, _NT],
|
|
127
|
-
[() => TimePeriod$, 64 | 0, () => FilterExpression$, 64 | 0, 0, () => GranularityConfiguration$, 1, 0], 1
|
|
128
|
-
];
|
|
129
|
-
exports.GetEstimatedCarbonEmissionsRequest$ = GetEstimatedCarbonEmissionsRequest$;
|
|
130
|
-
const GetEstimatedCarbonEmissionsResponse$ = [3, n0, _GECERe,
|
|
131
|
-
0,
|
|
132
|
-
[_R, _NT],
|
|
133
|
-
[() => EstimatedCarbonEmissionsList, 0], 1
|
|
134
|
-
];
|
|
135
|
-
exports.GetEstimatedCarbonEmissionsResponse$ = GetEstimatedCarbonEmissionsResponse$;
|
|
136
|
-
const GranularityConfiguration$ = [3, n0, _GC,
|
|
137
|
-
0,
|
|
138
|
-
[_FYSM],
|
|
139
|
-
[1]
|
|
140
|
-
];
|
|
141
|
-
exports.GranularityConfiguration$ = GranularityConfiguration$;
|
|
142
|
-
const TimePeriod$ = [3, n0, _TP,
|
|
143
|
-
0,
|
|
144
|
-
[_S, _En],
|
|
145
|
-
[5, 5], 2
|
|
146
|
-
];
|
|
147
|
-
exports.TimePeriod$ = TimePeriod$;
|
|
148
|
-
var DimensionEntryList = [1, n0, _DEL,
|
|
149
|
-
0, () => DimensionEntry$
|
|
150
|
-
];
|
|
151
|
-
var DimensionList = 64 | 0;
|
|
152
|
-
var DimensionValueList = 64 | 0;
|
|
153
|
-
var EmissionsTypeList = 64 | 0;
|
|
154
|
-
var EstimatedCarbonEmissionsList = [1, n0, _ECEL,
|
|
155
|
-
0, () => EstimatedCarbonEmissions$
|
|
156
|
-
];
|
|
157
|
-
var DimensionListMap = [2, n0, _DLM,
|
|
158
|
-
0, 0, 64 | 0
|
|
159
|
-
];
|
|
160
|
-
var DimensionsMap = 128 | 0;
|
|
161
|
-
var EmissionsMap = [2, n0, _EM,
|
|
162
|
-
0, 0, () => Emissions$
|
|
163
|
-
];
|
|
164
|
-
exports.GetEstimatedCarbonEmissions$ = [9, n0, _GECE,
|
|
165
|
-
{ [_h]: ["POST", "/v1/estimated-carbon-emissions", 200] }, () => GetEstimatedCarbonEmissionsRequest$, () => GetEstimatedCarbonEmissionsResponse$
|
|
166
|
-
];
|
|
167
|
-
exports.GetEstimatedCarbonEmissionsDimensionValues$ = [9, n0, _GECEDV,
|
|
168
|
-
{ [_h]: ["POST", "/v1/estimated-carbon-emissions-dimension-values", 200] }, () => GetEstimatedCarbonEmissionsDimensionValuesRequest$, () => GetEstimatedCarbonEmissionsDimensionValuesResponse$
|
|
169
|
-
];
|