@aws-sdk/client-lightsail 3.940.0 → 3.946.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 +184 -623
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/LightsailClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +184 -623
- package/dist-types/Lightsail.d.ts +1 -1
- package/dist-types/LightsailClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AllocateStaticIpCommand.d.ts +3 -3
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +3 -3
- package/dist-types/commands/AttachDiskCommand.d.ts +3 -3
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +3 -3
- package/dist-types/commands/AttachStaticIpCommand.d.ts +3 -3
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +3 -3
- package/dist-types/commands/CopySnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +3 -3
- package/dist-types/commands/CreateBucketCommand.d.ts +3 -3
- package/dist-types/commands/CreateCertificateCommand.d.ts +3 -3
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +3 -3
- package/dist-types/commands/CreateContactMethodCommand.d.ts +3 -3
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +3 -3
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +3 -3
- package/dist-types/commands/CreateDiskCommand.d.ts +3 -3
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateDistributionCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -3
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +3 -3
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +3 -3
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateInstancesCommand.d.ts +3 -3
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +3 -3
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAlarmCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBucketCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCertificateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +3 -3
- package/dist-types/commands/DeleteContainerImageCommand.d.ts +3 -3
- package/dist-types/commands/DeleteContainerServiceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDiskCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -3
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +3 -3
- package/dist-types/commands/DetachDiskCommand.d.ts +3 -3
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/DetachStaticIpCommand.d.ts +3 -3
- package/dist-types/commands/DisableAddOnCommand.d.ts +3 -3
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/EnableAddOnCommand.d.ts +3 -3
- package/dist-types/commands/ExportSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetActiveNamesCommand.d.ts +3 -3
- package/dist-types/commands/GetAlarmsCommand.d.ts +3 -3
- package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/GetBlueprintsCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketsCommand.d.ts +3 -3
- package/dist-types/commands/GetBundlesCommand.d.ts +3 -3
- package/dist-types/commands/GetCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +3 -3
- package/dist-types/commands/GetContactMethodsCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerImagesCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerLogCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +3 -3
- package/dist-types/commands/GetContainerServicesCommand.d.ts +3 -3
- package/dist-types/commands/GetCostEstimateCommand.d.ts +3 -3
- package/dist-types/commands/GetDiskCommand.d.ts +3 -3
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/GetDisksCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetDistributionsCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainCommand.d.ts +3 -3
- package/dist-types/commands/GetDomainsCommand.d.ts +3 -3
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/GetInstanceStateCommand.d.ts +3 -3
- package/dist-types/commands/GetInstancesCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/GetKeyPairsCommand.d.ts +3 -3
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +4 -4
- package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +3 -3
- package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +3 -3
- package/dist-types/commands/GetOperationCommand.d.ts +3 -3
- package/dist-types/commands/GetOperationsCommand.d.ts +3 -3
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/GetRegionsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +3 -3
- package/dist-types/commands/GetSetupHistoryCommand.d.ts +3 -3
- package/dist-types/commands/GetStaticIpCommand.d.ts +3 -3
- package/dist-types/commands/GetStaticIpsCommand.d.ts +3 -3
- package/dist-types/commands/ImportKeyPairCommand.d.ts +3 -3
- package/dist-types/commands/IsVpcPeeredCommand.d.ts +3 -3
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +3 -3
- package/dist-types/commands/PeerVpcCommand.d.ts +3 -3
- package/dist-types/commands/PutAlarmCommand.d.ts +3 -3
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +3 -3
- package/dist-types/commands/RebootInstanceCommand.d.ts +3 -3
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/RegisterContainerImageCommand.d.ts +3 -3
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +3 -3
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +3 -3
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +3 -3
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +3 -3
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +3 -3
- package/dist-types/commands/SetupInstanceHttpsCommand.d.ts +3 -3
- package/dist-types/commands/StartGUISessionCommand.d.ts +3 -3
- package/dist-types/commands/StartInstanceCommand.d.ts +3 -3
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/StopGUISessionCommand.d.ts +3 -3
- package/dist-types/commands/StopInstanceCommand.d.ts +3 -3
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestAlarmCommand.d.ts +3 -3
- package/dist-types/commands/UnpeerVpcCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateBucketCommand.d.ts +3 -3
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDistributionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +3 -3
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/LightsailServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/LightsailClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/LightsailServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/package.json +13 -12
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultLightsailHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|