@aws-sdk/client-backup-gateway 3.332.0 → 3.337.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/protocols/Aws_json1_0.js +1 -1
- package/dist-es/protocols/Aws_json1_0.js +1 -1
- package/dist-types/BackupGatewayClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_json1_0.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/BackupGatewayClient.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
- package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +30 -29
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateHypervisorCommand = exports.de_UpdateGatewaySoftwareNowCommand = exports.de_UpdateGatewayInformationCommand = exports.de_UntagResourceCommand = exports.de_TestHypervisorConfigurationCommand = exports.de_TagResourceCommand = exports.de_StartVirtualMachinesMetadataSyncCommand = exports.de_PutMaintenanceStartTimeCommand = exports.de_PutHypervisorPropertyMappingsCommand = exports.de_PutBandwidthRateLimitScheduleCommand = exports.de_ListVirtualMachinesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListHypervisorsCommand = exports.de_ListGatewaysCommand = exports.de_ImportHypervisorConfigurationCommand = exports.de_GetVirtualMachineCommand = exports.de_GetHypervisorPropertyMappingsCommand = exports.de_GetHypervisorCommand = exports.de_GetGatewayCommand = exports.de_GetBandwidthRateLimitScheduleCommand = exports.de_DisassociateGatewayFromServerCommand = exports.de_DeleteHypervisorCommand = exports.de_DeleteGatewayCommand = exports.de_CreateGatewayCommand = exports.de_AssociateGatewayToServerCommand = exports.se_UpdateHypervisorCommand = exports.se_UpdateGatewaySoftwareNowCommand = exports.se_UpdateGatewayInformationCommand = exports.se_UntagResourceCommand = exports.se_TestHypervisorConfigurationCommand = exports.se_TagResourceCommand = exports.se_StartVirtualMachinesMetadataSyncCommand = exports.se_PutMaintenanceStartTimeCommand = exports.se_PutHypervisorPropertyMappingsCommand = exports.se_PutBandwidthRateLimitScheduleCommand = exports.se_ListVirtualMachinesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListHypervisorsCommand = exports.se_ListGatewaysCommand = exports.se_ImportHypervisorConfigurationCommand = exports.se_GetVirtualMachineCommand = exports.se_GetHypervisorPropertyMappingsCommand = exports.se_GetHypervisorCommand = exports.se_GetGatewayCommand = exports.se_GetBandwidthRateLimitScheduleCommand = exports.se_DisassociateGatewayFromServerCommand = exports.se_DeleteHypervisorCommand = exports.se_DeleteGatewayCommand = exports.se_CreateGatewayCommand = exports.se_AssociateGatewayToServerCommand = void 0;
|
|
4
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const BackupGatewayServiceException_1 = require("../models/BackupGatewayServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const se_AssociateGatewayToServerCommand = async (input, context) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { BackupGatewayServiceException as __BaseException } from "../models/BackupGatewayServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_AssociateGatewayToServerCommand = async (input, context) => {
|
|
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
|
|
|
4
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials,
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
|
+
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
10
11
|
import { AssociateGatewayToServerCommandInput, AssociateGatewayToServerCommandOutput } from "./commands/AssociateGatewayToServerCommand";
|
|
11
12
|
import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
|
|
12
13
|
import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
2
3
|
export interface ClientInputEndpointParameters {
|
|
3
4
|
region?: string | Provider<string>;
|
|
4
5
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@
|
|
2
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { AssociateGatewayToServerCommandInput, AssociateGatewayToServerCommandOutput } from "../commands/AssociateGatewayToServerCommand";
|
|
4
4
|
import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "../commands/CreateGatewayCommand";
|
|
5
5
|
import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "../commands/DeleteGatewayCommand";
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
12
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
18
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
15
|
-
retryMode: string | import("@
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
-
streamCollector: import("@
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
22
|
-
base64Decoder: import("@
|
|
23
|
-
base64Encoder: import("@
|
|
24
|
-
utf8Decoder: import("@
|
|
25
|
-
utf8Encoder: import("@
|
|
22
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
-
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -5,27 +5,27 @@ import { BackupGatewayClientConfig } from "./BackupGatewayClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
streamCollector: import("@
|
|
13
|
-
base64Decoder: import("@
|
|
14
|
-
base64Encoder: import("@
|
|
15
|
-
utf8Decoder: import("@
|
|
16
|
-
utf8Encoder: import("@
|
|
12
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
|
-
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
20
|
-
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean
|
|
19
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
20
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
21
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
22
|
-
credentialDefaultProvider: (input: any) => import("@
|
|
22
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
23
23
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
24
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number
|
|
25
|
-
retryMode: string | import("@
|
|
24
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@aws-sdk/types").Logger;
|
|
27
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@
|
|
28
|
-
endpoint?: string | import("@aws-sdk/types").
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
@@ -4,8 +4,8 @@ import { BackupGatewayClientConfig } from "./BackupGatewayClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
|
-
base64Decoder: import("@
|
|
8
|
-
base64Encoder: import("@
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
UserAgentInputConfig,
|
|
23
23
|
UserAgentResolvedConfig,
|
|
24
24
|
} from "@aws-sdk/middleware-user-agent";
|
|
25
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
25
|
import {
|
|
27
26
|
Client as __Client,
|
|
28
27
|
DefaultsMode as __DefaultsMode,
|
|
@@ -33,17 +32,20 @@ import {
|
|
|
33
32
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
33
|
ChecksumConstructor as __ChecksumConstructor,
|
|
35
34
|
Credentials as __Credentials,
|
|
36
|
-
Decoder as __Decoder,
|
|
37
|
-
Encoder as __Encoder,
|
|
38
35
|
HashConstructor as __HashConstructor,
|
|
39
36
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
40
37
|
Logger as __Logger,
|
|
41
|
-
Provider as __Provider,
|
|
42
38
|
Provider,
|
|
43
|
-
StreamCollector as __StreamCollector,
|
|
44
39
|
UrlParser as __UrlParser,
|
|
45
40
|
UserAgent as __UserAgent,
|
|
46
41
|
} from "@aws-sdk/types";
|
|
42
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
43
|
+
import {
|
|
44
|
+
Decoder as __Decoder,
|
|
45
|
+
Encoder as __Encoder,
|
|
46
|
+
Provider as __Provider,
|
|
47
|
+
StreamCollector as __StreamCollector,
|
|
48
|
+
} from "@smithy/types";
|
|
47
49
|
import {
|
|
48
50
|
AssociateGatewayToServerCommandInput,
|
|
49
51
|
AssociateGatewayToServerCommandOutput,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
EndpointParameters as __EndpointParameters,
|
|
4
3
|
EndpointV2,
|
|
5
|
-
Provider,
|
|
6
4
|
} from "@aws-sdk/types";
|
|
5
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
7
6
|
export interface ClientInputEndpointParameters {
|
|
8
7
|
region?: string | Provider<string>;
|
|
9
8
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpRequest as __HttpRequest,
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
|
-
} from "@
|
|
5
|
-
import { SerdeContext as __SerdeContext } from "@
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
6
|
import {
|
|
7
7
|
AssociateGatewayToServerCommandInput,
|
|
8
8
|
AssociateGatewayToServerCommandOutput,
|
|
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts: number | import("@
|
|
15
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
16
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
18
|
requestHandler:
|
|
18
19
|
| (import("@aws-sdk/types").RequestHandler<
|
|
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
20
21
|
any,
|
|
21
22
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
23
|
> &
|
|
23
|
-
import("@
|
|
24
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
25
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
28
|
-
useDualstackEndpoint: boolean | import("@
|
|
29
|
-
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
31
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
30
33
|
apiVersion: string;
|
|
31
34
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
39
|
disableHostPrefix: boolean;
|
|
37
40
|
serviceId: string;
|
|
38
41
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
46
49
|
) &
|
|
47
50
|
(
|
|
48
51
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
52
|
+
| import("@smithy/types").Provider<string>
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
55
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
56
|
+
| import("@smithy/types").Provider<
|
|
54
57
|
import("@aws-sdk/types").EndpointV2
|
|
55
58
|
>
|
|
56
59
|
))
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@
|
|
11
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
13
|
import("@aws-sdk/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@
|
|
23
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
|
-
retryMode: string | import("@
|
|
25
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
-
streamCollector: import("@
|
|
27
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
-
base64Decoder: import("@
|
|
33
|
-
base64Encoder: import("@
|
|
34
|
-
utf8Decoder: import("@
|
|
35
|
-
utf8Encoder: import("@
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
serviceId: string;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
46
46
|
) &
|
|
47
47
|
(
|
|
48
48
|
| string
|
|
49
|
-
| import("@
|
|
50
|
-
| import("@
|
|
51
|
-
| import("@
|
|
49
|
+
| import("@smithy/types").Provider<string>
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
52
|
| import("@aws-sdk/types").EndpointV2
|
|
53
|
-
| import("@
|
|
53
|
+
| import("@smithy/types").Provider<
|
|
54
54
|
import("@aws-sdk/types").EndpointV2
|
|
55
55
|
>
|
|
56
56
|
))
|
|
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@
|
|
11
|
+
import("@smithy/protocol-http").HttpHandler)
|
|
12
12
|
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
15
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
-
streamCollector: import("@
|
|
17
|
-
base64Decoder: import("@
|
|
18
|
-
base64Encoder: import("@
|
|
19
|
-
utf8Decoder: import("@
|
|
20
|
-
utf8Encoder: import("@
|
|
16
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
|
-
useDualstackEndpoint: boolean | import("@
|
|
24
|
-
|
|
23
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
24
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
25
27
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
28
|
credentialDefaultProvider: (
|
|
27
29
|
input: any
|
|
28
|
-
) => import("@
|
|
30
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
31
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
30
32
|
import("@aws-sdk/types").UserAgent
|
|
31
33
|
>;
|
|
32
|
-
maxAttempts: number | import("@
|
|
33
|
-
|
|
34
|
+
maxAttempts: (number | import("@smithy/types").Provider<number>) &
|
|
35
|
+
(number | import("@aws-sdk/types").Provider<number>);
|
|
36
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
34
37
|
logger: import("@aws-sdk/types").Logger;
|
|
35
38
|
defaultsMode:
|
|
36
39
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
-
| import("@
|
|
40
|
+
| import("@smithy/types").Provider<
|
|
38
41
|
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
42
|
>;
|
|
40
43
|
endpoint?:
|
|
41
44
|
| string
|
|
42
|
-
| import("@aws-sdk/types").Endpoint
|
|
43
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
45
|
| import("@aws-sdk/types").EndpointV2
|
|
45
|
-
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").
|
|
46
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
47
|
+
import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
|
|
48
|
+
| (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
|
|
49
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
50
|
+
import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
|
|
46
51
|
| undefined;
|
|
47
52
|
endpointProvider: (
|
|
48
53
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackupGatewayClientConfig } from "./BackupGatewayClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
3
3
|
apiVersion: string;
|
|
4
|
-
base64Decoder: import("@
|
|
5
|
-
base64Encoder: import("@
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
6
|
disableHostPrefix: boolean;
|
|
7
7
|
endpointProvider: (
|
|
8
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: BackupGatewayClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
-
utf8Decoder: import("@
|
|
17
|
-
utf8Encoder: import("@
|
|
16
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.337.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/
|
|
43
|
-
"@aws-sdk/
|
|
44
|
-
"@aws-sdk/
|
|
45
|
-
"@aws-sdk/url-parser": "3.329.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.337.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.337.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.337.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.337.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.337.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.337.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.337.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.337.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.337.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.337.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.337.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.337.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.337.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.337.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.337.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.337.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.337.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.337.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.337.0",
|
|
43
|
+
"@aws-sdk/types": "3.337.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.337.0",
|
|
46
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.337.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.337.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.337.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.337.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.337.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.337.0",
|
|
55
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
|
+
"@smithy/protocol-http": "^1.0.1",
|
|
56
|
+
"@smithy/types": "^1.0.0",
|
|
56
57
|
"tslib": "^2.5.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|