@aws-sdk/client-greengrassv2 3.46.0 → 3.48.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/CHANGELOG.md +35 -0
- package/dist-cjs/models/models_0.js +3 -51
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -32
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/GreengrassV2Client.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -48
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/GreengrassV2Client.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-greengrassv2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-greengrassv2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-greengrassv2
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
42
|
|
|
8
43
|
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateComponentVersionRequest = exports.LambdaFunctionRecipeSource = exports.LambdaExecutionParameters = exports.LambdaLinuxProcessParams = exports.LambdaIsolationMode = exports.LambdaContainerParams = exports.LambdaVolumeMount = exports.LambdaDeviceMount = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSource = exports.LambdaEventSourceType = exports.CoreDevice = exports.CoreDeviceStatus = exports.ConnectivityInfo = exports.ComponentVisibilityScope = exports.ComponentVersionListItem = exports.ComponentDeploymentSpecification = exports.ComponentRunWith = exports.SystemResourceLimits = exports.ComponentDependencyRequirement = exports.ComponentDependencyType = exports.ComponentConfigurationUpdate = exports.ComponentCandidate = exports.Component = exports.ComponentLatestVersion = exports.ComponentPlatform = exports.CloudComponentStatus = exports.CloudComponentState = exports.
|
|
4
|
-
exports.ListCoreDevicesRequest = exports.ListComponentVersionsResponse = exports.ListComponentVersionsRequest = exports.ListComponentsResponse = exports.ListComponentsRequest = exports.ListClientDevicesAssociatedWithCoreDeviceResponse = exports.ListClientDevicesAssociatedWithCoreDeviceRequest = exports.GetServiceRoleForAccountResponse = exports.GetServiceRoleForAccountRequest = exports.GetDeploymentResponse = exports.GetDeploymentRequest = exports.GetCoreDeviceResponse = exports.GetCoreDeviceRequest = exports.GetConnectivityInfoResponse = exports.GetConnectivityInfoRequest = exports.GetComponentVersionArtifactResponse = exports.GetComponentVersionArtifactRequest = exports.GetComponentResponse = exports.GetComponentRequest = exports.RecipeOutputFormat = exports.EffectiveDeployment = exports.EffectiveDeploymentExecutionStatus = exports.DisassociateServiceRoleFromAccountResponse = exports.DisassociateServiceRoleFromAccountRequest = exports.DescribeComponentResponse = exports.DescribeComponentRequest = exports.DeploymentHistoryFilter = exports.Deployment = exports.DeploymentStatus = exports.DeleteCoreDeviceRequest = exports.DeleteComponentRequest = exports.CreateDeploymentResponse = exports.CreateDeploymentRequest = exports.DeploymentIoTJobConfiguration = exports.IoTJobTimeoutConfig = exports.IoTJobExecutionsRolloutConfig = exports.IoTJobExponentialRolloutRate = exports.IoTJobRateIncreaseCriteria = exports.IoTJobAbortConfig = exports.IoTJobAbortCriteria = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction =
|
|
5
|
-
exports.UpdateConnectivityInfoResponse = exports.UpdateConnectivityInfoRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ResolveComponentCandidatesResponse = exports.ResolvedComponentVersion = exports.ResolveComponentCandidatesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListInstalledComponentsResponse =
|
|
6
|
-
var AccessDeniedException;
|
|
7
|
-
(function (AccessDeniedException) {
|
|
8
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
9
|
-
...obj,
|
|
10
|
-
});
|
|
11
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
3
|
+
exports.DeploymentPolicies = exports.DeploymentFailureHandlingPolicy = exports.DeploymentConfigurationValidationPolicy = exports.DeploymentComponentUpdatePolicy = exports.DeploymentComponentUpdatePolicyAction = exports.CreateComponentVersionResponse = exports.CreateComponentVersionRequest = exports.LambdaFunctionRecipeSource = exports.LambdaExecutionParameters = exports.LambdaLinuxProcessParams = exports.LambdaIsolationMode = exports.LambdaContainerParams = exports.LambdaVolumeMount = exports.LambdaDeviceMount = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSource = exports.LambdaEventSourceType = exports.CoreDevice = exports.CoreDeviceStatus = exports.ConnectivityInfo = exports.ComponentVisibilityScope = exports.ComponentVersionListItem = exports.ComponentDeploymentSpecification = exports.ComponentRunWith = exports.SystemResourceLimits = exports.ComponentDependencyRequirement = exports.ComponentDependencyType = exports.ComponentConfigurationUpdate = exports.ComponentCandidate = exports.Component = exports.ComponentLatestVersion = exports.ComponentPlatform = exports.CloudComponentStatus = exports.CloudComponentState = exports.CancelDeploymentResponse = exports.CancelDeploymentRequest = exports.BatchDisassociateClientDeviceFromCoreDeviceResponse = exports.DisassociateClientDeviceFromCoreDeviceErrorEntry = exports.BatchDisassociateClientDeviceFromCoreDeviceRequest = exports.DisassociateClientDeviceFromCoreDeviceEntry = exports.BatchAssociateClientDeviceWithCoreDeviceResponse = exports.BatchAssociateClientDeviceWithCoreDeviceRequest = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.AssociateServiceRoleToAccountResponse = exports.AssociateServiceRoleToAccountRequest = exports.AssociatedClientDevice = exports.AssociateClientDeviceWithCoreDeviceErrorEntry = exports.AssociateClientDeviceWithCoreDeviceEntry = void 0;
|
|
4
|
+
exports.InstalledComponent = exports.InstalledComponentLifecycleState = exports.ListInstalledComponentsRequest = exports.ListEffectiveDeploymentsResponse = exports.ListEffectiveDeploymentsRequest = exports.ListDeploymentsResponse = exports.ListDeploymentsRequest = exports.ListCoreDevicesResponse = exports.ListCoreDevicesRequest = exports.ListComponentVersionsResponse = exports.ListComponentVersionsRequest = exports.ListComponentsResponse = exports.ListComponentsRequest = exports.ListClientDevicesAssociatedWithCoreDeviceResponse = exports.ListClientDevicesAssociatedWithCoreDeviceRequest = exports.GetServiceRoleForAccountResponse = exports.GetServiceRoleForAccountRequest = exports.GetDeploymentResponse = exports.GetDeploymentRequest = exports.GetCoreDeviceResponse = exports.GetCoreDeviceRequest = exports.GetConnectivityInfoResponse = exports.GetConnectivityInfoRequest = exports.GetComponentVersionArtifactResponse = exports.GetComponentVersionArtifactRequest = exports.GetComponentResponse = exports.GetComponentRequest = exports.RecipeOutputFormat = exports.EffectiveDeployment = exports.EffectiveDeploymentExecutionStatus = exports.DisassociateServiceRoleFromAccountResponse = exports.DisassociateServiceRoleFromAccountRequest = exports.DescribeComponentResponse = exports.DescribeComponentRequest = exports.DeploymentHistoryFilter = exports.Deployment = exports.DeploymentStatus = exports.DeleteCoreDeviceRequest = exports.DeleteComponentRequest = exports.CreateDeploymentResponse = exports.CreateDeploymentRequest = exports.DeploymentIoTJobConfiguration = exports.IoTJobTimeoutConfig = exports.IoTJobExecutionsRolloutConfig = exports.IoTJobExponentialRolloutRate = exports.IoTJobRateIncreaseCriteria = exports.IoTJobAbortConfig = exports.IoTJobAbortCriteria = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction = void 0;
|
|
5
|
+
exports.UpdateConnectivityInfoResponse = exports.UpdateConnectivityInfoRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ResolveComponentCandidatesResponse = exports.ResolvedComponentVersion = exports.ResolveComponentCandidatesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListInstalledComponentsResponse = void 0;
|
|
12
6
|
var AssociateClientDeviceWithCoreDeviceEntry;
|
|
13
7
|
(function (AssociateClientDeviceWithCoreDeviceEntry) {
|
|
14
8
|
AssociateClientDeviceWithCoreDeviceEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -39,12 +33,6 @@ var AssociateServiceRoleToAccountResponse;
|
|
|
39
33
|
...obj,
|
|
40
34
|
});
|
|
41
35
|
})(AssociateServiceRoleToAccountResponse = exports.AssociateServiceRoleToAccountResponse || (exports.AssociateServiceRoleToAccountResponse = {}));
|
|
42
|
-
var InternalServerException;
|
|
43
|
-
(function (InternalServerException) {
|
|
44
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
45
|
-
...obj,
|
|
46
|
-
});
|
|
47
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
48
36
|
var ValidationExceptionField;
|
|
49
37
|
(function (ValidationExceptionField) {
|
|
50
38
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -58,12 +46,6 @@ var ValidationExceptionReason;
|
|
|
58
46
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
59
47
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
60
48
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
61
|
-
var ValidationException;
|
|
62
|
-
(function (ValidationException) {
|
|
63
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
64
|
-
...obj,
|
|
65
|
-
});
|
|
66
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
67
49
|
var BatchAssociateClientDeviceWithCoreDeviceRequest;
|
|
68
50
|
(function (BatchAssociateClientDeviceWithCoreDeviceRequest) {
|
|
69
51
|
BatchAssociateClientDeviceWithCoreDeviceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -76,18 +58,6 @@ var BatchAssociateClientDeviceWithCoreDeviceResponse;
|
|
|
76
58
|
...obj,
|
|
77
59
|
});
|
|
78
60
|
})(BatchAssociateClientDeviceWithCoreDeviceResponse = exports.BatchAssociateClientDeviceWithCoreDeviceResponse || (exports.BatchAssociateClientDeviceWithCoreDeviceResponse = {}));
|
|
79
|
-
var ResourceNotFoundException;
|
|
80
|
-
(function (ResourceNotFoundException) {
|
|
81
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
82
|
-
...obj,
|
|
83
|
-
});
|
|
84
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
85
|
-
var ThrottlingException;
|
|
86
|
-
(function (ThrottlingException) {
|
|
87
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
});
|
|
90
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
91
61
|
var DisassociateClientDeviceFromCoreDeviceEntry;
|
|
92
62
|
(function (DisassociateClientDeviceFromCoreDeviceEntry) {
|
|
93
63
|
DisassociateClientDeviceFromCoreDeviceEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -124,12 +94,6 @@ var CancelDeploymentResponse;
|
|
|
124
94
|
...obj,
|
|
125
95
|
});
|
|
126
96
|
})(CancelDeploymentResponse = exports.CancelDeploymentResponse || (exports.CancelDeploymentResponse = {}));
|
|
127
|
-
var ConflictException;
|
|
128
|
-
(function (ConflictException) {
|
|
129
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
133
97
|
var CloudComponentState;
|
|
134
98
|
(function (CloudComponentState) {
|
|
135
99
|
CloudComponentState["DEPLOYABLE"] = "DEPLOYABLE";
|
|
@@ -305,18 +269,6 @@ var CreateComponentVersionResponse;
|
|
|
305
269
|
...obj,
|
|
306
270
|
});
|
|
307
271
|
})(CreateComponentVersionResponse = exports.CreateComponentVersionResponse || (exports.CreateComponentVersionResponse = {}));
|
|
308
|
-
var RequestAlreadyInProgressException;
|
|
309
|
-
(function (RequestAlreadyInProgressException) {
|
|
310
|
-
RequestAlreadyInProgressException.filterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
});
|
|
313
|
-
})(RequestAlreadyInProgressException = exports.RequestAlreadyInProgressException || (exports.RequestAlreadyInProgressException = {}));
|
|
314
|
-
var ServiceQuotaExceededException;
|
|
315
|
-
(function (ServiceQuotaExceededException) {
|
|
316
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
});
|
|
319
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
320
272
|
var DeploymentComponentUpdatePolicyAction;
|
|
321
273
|
(function (DeploymentComponentUpdatePolicyAction) {
|
|
322
274
|
DeploymentComponentUpdatePolicyAction["NOTIFY_COMPONENTS"] = "NOTIFY_COMPONENTS";
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
2
|
export var AssociateClientDeviceWithCoreDeviceEntry;
|
|
7
3
|
(function (AssociateClientDeviceWithCoreDeviceEntry) {
|
|
8
4
|
AssociateClientDeviceWithCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -23,10 +19,6 @@ export var AssociateServiceRoleToAccountResponse;
|
|
|
23
19
|
(function (AssociateServiceRoleToAccountResponse) {
|
|
24
20
|
AssociateServiceRoleToAccountResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
21
|
})(AssociateServiceRoleToAccountResponse || (AssociateServiceRoleToAccountResponse = {}));
|
|
26
|
-
export var InternalServerException;
|
|
27
|
-
(function (InternalServerException) {
|
|
28
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
30
22
|
export var ValidationExceptionField;
|
|
31
23
|
(function (ValidationExceptionField) {
|
|
32
24
|
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -38,10 +30,6 @@ export var ValidationExceptionReason;
|
|
|
38
30
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
39
31
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
40
32
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
41
|
-
export var ValidationException;
|
|
42
|
-
(function (ValidationException) {
|
|
43
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
44
|
-
})(ValidationException || (ValidationException = {}));
|
|
45
33
|
export var BatchAssociateClientDeviceWithCoreDeviceRequest;
|
|
46
34
|
(function (BatchAssociateClientDeviceWithCoreDeviceRequest) {
|
|
47
35
|
BatchAssociateClientDeviceWithCoreDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -50,14 +38,6 @@ export var BatchAssociateClientDeviceWithCoreDeviceResponse;
|
|
|
50
38
|
(function (BatchAssociateClientDeviceWithCoreDeviceResponse) {
|
|
51
39
|
BatchAssociateClientDeviceWithCoreDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
40
|
})(BatchAssociateClientDeviceWithCoreDeviceResponse || (BatchAssociateClientDeviceWithCoreDeviceResponse = {}));
|
|
53
|
-
export var ResourceNotFoundException;
|
|
54
|
-
(function (ResourceNotFoundException) {
|
|
55
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
57
|
-
export var ThrottlingException;
|
|
58
|
-
(function (ThrottlingException) {
|
|
59
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
61
41
|
export var DisassociateClientDeviceFromCoreDeviceEntry;
|
|
62
42
|
(function (DisassociateClientDeviceFromCoreDeviceEntry) {
|
|
63
43
|
DisassociateClientDeviceFromCoreDeviceEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -82,10 +62,6 @@ export var CancelDeploymentResponse;
|
|
|
82
62
|
(function (CancelDeploymentResponse) {
|
|
83
63
|
CancelDeploymentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
64
|
})(CancelDeploymentResponse || (CancelDeploymentResponse = {}));
|
|
85
|
-
export var ConflictException;
|
|
86
|
-
(function (ConflictException) {
|
|
87
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
-
})(ConflictException || (ConflictException = {}));
|
|
89
65
|
export var CloudComponentState;
|
|
90
66
|
(function (CloudComponentState) {
|
|
91
67
|
CloudComponentState["DEPLOYABLE"] = "DEPLOYABLE";
|
|
@@ -217,14 +193,6 @@ export var CreateComponentVersionResponse;
|
|
|
217
193
|
(function (CreateComponentVersionResponse) {
|
|
218
194
|
CreateComponentVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
195
|
})(CreateComponentVersionResponse || (CreateComponentVersionResponse = {}));
|
|
220
|
-
export var RequestAlreadyInProgressException;
|
|
221
|
-
(function (RequestAlreadyInProgressException) {
|
|
222
|
-
RequestAlreadyInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
-
})(RequestAlreadyInProgressException || (RequestAlreadyInProgressException = {}));
|
|
224
|
-
export var ServiceQuotaExceededException;
|
|
225
|
-
(function (ServiceQuotaExceededException) {
|
|
226
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
228
196
|
export var DeploymentComponentUpdatePolicyAction;
|
|
229
197
|
(function (DeploymentComponentUpdatePolicyAction) {
|
|
230
198
|
DeploymentComponentUpdatePolicyAction["NOTIFY_COMPONENTS"] = "NOTIFY_COMPONENTS";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput } from "./commands/AssociateServiceRoleToAccountCommand";
|
|
10
10
|
import { BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
@@ -136,6 +136,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
136
136
|
* @internal
|
|
137
137
|
*/
|
|
138
138
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
139
|
+
/**
|
|
140
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
141
|
+
*/
|
|
142
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
139
143
|
}
|
|
140
144
|
declare type GreengrassV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
141
145
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
message: string | undefined;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
/**
|
|
17
11
|
* <p>Contains a request to associate a client device with a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchAssociateClientDeviceWithCoreDevice.html">BatchAssociateClientDeviceWithCoreDevice</a> operation consumes a list of these
|
|
18
12
|
* requests.</p>
|
|
@@ -112,12 +106,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
112
106
|
*/
|
|
113
107
|
retryAfterSeconds?: number;
|
|
114
108
|
}
|
|
115
|
-
export declare namespace InternalServerException {
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
120
|
-
}
|
|
121
109
|
/**
|
|
122
110
|
* <p>Contains information about a validation exception field.</p>
|
|
123
111
|
*/
|
|
@@ -160,12 +148,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
160
148
|
*/
|
|
161
149
|
fields?: ValidationExceptionField[];
|
|
162
150
|
}
|
|
163
|
-
export declare namespace ValidationException {
|
|
164
|
-
/**
|
|
165
|
-
* @internal
|
|
166
|
-
*/
|
|
167
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
168
|
-
}
|
|
169
151
|
export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
170
152
|
/**
|
|
171
153
|
* <p>The list of client devices to associate.</p>
|
|
@@ -211,12 +193,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
211
193
|
*/
|
|
212
194
|
resourceType: string | undefined;
|
|
213
195
|
}
|
|
214
|
-
export declare namespace ResourceNotFoundException {
|
|
215
|
-
/**
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
219
|
-
}
|
|
220
196
|
/**
|
|
221
197
|
* <p>Your request exceeded a request rate quota. For example, you might have exceeded the
|
|
222
198
|
* amount of times that you can retrieve device or deployment status per second.</p>
|
|
@@ -238,12 +214,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
238
214
|
*/
|
|
239
215
|
retryAfterSeconds?: number;
|
|
240
216
|
}
|
|
241
|
-
export declare namespace ThrottlingException {
|
|
242
|
-
/**
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
246
|
-
}
|
|
247
217
|
/**
|
|
248
218
|
* <p>Contains a request to disassociate a client device from a core device. The <a href="https://docs.aws.amazon.com/greengrass/v2/APIReference/API_BatchDisassociateClientDeviceWithCoreDevice.html">BatchDisassociateClientDeviceWithCoreDevice</a> operation consumes a list of these
|
|
249
219
|
* requests.</p>
|
|
@@ -355,12 +325,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
355
325
|
*/
|
|
356
326
|
resourceType: string | undefined;
|
|
357
327
|
}
|
|
358
|
-
export declare namespace ConflictException {
|
|
359
|
-
/**
|
|
360
|
-
* @internal
|
|
361
|
-
*/
|
|
362
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
363
|
-
}
|
|
364
328
|
export declare enum CloudComponentState {
|
|
365
329
|
DEPLOYABLE = "DEPLOYABLE",
|
|
366
330
|
DEPRECATED = "DEPRECATED",
|
|
@@ -1137,12 +1101,6 @@ export interface RequestAlreadyInProgressException extends __SmithyException, $M
|
|
|
1137
1101
|
$fault: "client";
|
|
1138
1102
|
message: string | undefined;
|
|
1139
1103
|
}
|
|
1140
|
-
export declare namespace RequestAlreadyInProgressException {
|
|
1141
|
-
/**
|
|
1142
|
-
* @internal
|
|
1143
|
-
*/
|
|
1144
|
-
const filterSensitiveLog: (obj: RequestAlreadyInProgressException) => any;
|
|
1145
|
-
}
|
|
1146
1104
|
/**
|
|
1147
1105
|
* <p>Your request exceeds a service quota. For example, you might have the maximum number of
|
|
1148
1106
|
* components that you can create.</p>
|
|
@@ -1168,12 +1126,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1168
1126
|
*/
|
|
1169
1127
|
serviceCode: string | undefined;
|
|
1170
1128
|
}
|
|
1171
|
-
export declare namespace ServiceQuotaExceededException {
|
|
1172
|
-
/**
|
|
1173
|
-
* @internal
|
|
1174
|
-
*/
|
|
1175
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
1176
|
-
}
|
|
1177
1129
|
export declare enum DeploymentComponentUpdatePolicyAction {
|
|
1178
1130
|
NOTIFY_COMPONENTS = "NOTIFY_COMPONENTS",
|
|
1179
1131
|
SKIP_NOTIFY_COMPONENTS = "SKIP_NOTIFY_COMPONENTS"
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GreengrassV2ClientConfig } from "./GreengrassV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GreengrassV2ClientConfig } from "./GreengrassV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput } from "./commands/AssociateServiceRoleToAccountCommand";
|
|
10
10
|
import { BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
@@ -79,6 +79,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
79
79
|
regionInfoProvider?: RegionInfoProvider;
|
|
80
80
|
|
|
81
81
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
82
|
+
|
|
83
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
82
84
|
}
|
|
83
85
|
declare type GreengrassV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
84
86
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message: string | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
|
|
13
9
|
export interface AssociateClientDeviceWithCoreDeviceEntry {
|
|
14
10
|
|
|
@@ -66,10 +62,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
66
62
|
|
|
67
63
|
retryAfterSeconds?: number;
|
|
68
64
|
}
|
|
69
|
-
export declare namespace InternalServerException {
|
|
70
|
-
|
|
71
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
72
|
-
}
|
|
73
65
|
|
|
74
66
|
export interface ValidationExceptionField {
|
|
75
67
|
|
|
@@ -97,10 +89,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
97
89
|
|
|
98
90
|
fields?: ValidationExceptionField[];
|
|
99
91
|
}
|
|
100
|
-
export declare namespace ValidationException {
|
|
101
|
-
|
|
102
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
103
|
-
}
|
|
104
92
|
export interface BatchAssociateClientDeviceWithCoreDeviceRequest {
|
|
105
93
|
|
|
106
94
|
entries?: AssociateClientDeviceWithCoreDeviceEntry[];
|
|
@@ -129,10 +117,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
129
117
|
|
|
130
118
|
resourceType: string | undefined;
|
|
131
119
|
}
|
|
132
|
-
export declare namespace ResourceNotFoundException {
|
|
133
|
-
|
|
134
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
135
|
-
}
|
|
136
120
|
|
|
137
121
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
138
122
|
name: "ThrottlingException";
|
|
@@ -145,10 +129,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
145
129
|
|
|
146
130
|
retryAfterSeconds?: number;
|
|
147
131
|
}
|
|
148
|
-
export declare namespace ThrottlingException {
|
|
149
|
-
|
|
150
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
151
|
-
}
|
|
152
132
|
|
|
153
133
|
export interface DisassociateClientDeviceFromCoreDeviceEntry {
|
|
154
134
|
|
|
@@ -215,10 +195,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
215
195
|
|
|
216
196
|
resourceType: string | undefined;
|
|
217
197
|
}
|
|
218
|
-
export declare namespace ConflictException {
|
|
219
|
-
|
|
220
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
221
|
-
}
|
|
222
198
|
export declare enum CloudComponentState {
|
|
223
199
|
DEPLOYABLE = "DEPLOYABLE",
|
|
224
200
|
DEPRECATED = "DEPRECATED",
|
|
@@ -584,10 +560,6 @@ export interface RequestAlreadyInProgressException extends __SmithyException, $M
|
|
|
584
560
|
$fault: "client";
|
|
585
561
|
message: string | undefined;
|
|
586
562
|
}
|
|
587
|
-
export declare namespace RequestAlreadyInProgressException {
|
|
588
|
-
|
|
589
|
-
const filterSensitiveLog: (obj: RequestAlreadyInProgressException) => any;
|
|
590
|
-
}
|
|
591
563
|
|
|
592
564
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
593
565
|
name: "ServiceQuotaExceededException";
|
|
@@ -602,10 +574,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
602
574
|
|
|
603
575
|
serviceCode: string | undefined;
|
|
604
576
|
}
|
|
605
|
-
export declare namespace ServiceQuotaExceededException {
|
|
606
|
-
|
|
607
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
608
|
-
}
|
|
609
577
|
export declare enum DeploymentComponentUpdatePolicyAction {
|
|
610
578
|
NOTIFY_COMPONENTS = "NOTIFY_COMPONENTS",
|
|
611
579
|
SKIP_NOTIFY_COMPONENTS = "SKIP_NOTIFY_COMPONENTS"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GreengrassV2ClientConfig } from "./GreengrassV2Client";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GreengrassV2ClientConfig } from "./GreengrassV2Client";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: GreengrassV2ClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-greengrassv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +18,41 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"@types/uuid": "^8.3.0"
|
|
58
58
|
},
|