@aws-sdk/client-backup 3.332.0 → 3.336.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/BackupClient.d.ts +3 -2
- package/dist-types/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/models/models_0.d.ts +48 -0
- package/dist-types/protocols/Aws_restJson1.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/BackupClient.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -3
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.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 +5 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_ListRecoveryPointsByBackupVaultCommand = exports.se_ListProtectedResourcesCommand = exports.se_ListLegalHoldsCommand = exports.se_ListFrameworksCommand = exports.se_ListCopyJobsCommand = exports.se_ListBackupVaultsCommand = exports.se_ListBackupSelectionsCommand = exports.se_ListBackupPlanVersionsCommand = exports.se_ListBackupPlanTemplatesCommand = exports.se_ListBackupPlansCommand = exports.se_ListBackupJobsCommand = exports.se_GetSupportedResourceTypesCommand = exports.se_GetRecoveryPointRestoreMetadataCommand = exports.se_GetLegalHoldCommand = exports.se_GetBackupVaultNotificationsCommand = exports.se_GetBackupVaultAccessPolicyCommand = exports.se_GetBackupSelectionCommand = exports.se_GetBackupPlanFromTemplateCommand = exports.se_GetBackupPlanFromJSONCommand = exports.se_GetBackupPlanCommand = exports.se_ExportBackupPlanTemplateCommand = exports.se_DisassociateRecoveryPointFromParentCommand = exports.se_DisassociateRecoveryPointCommand = exports.se_DescribeRestoreJobCommand = exports.se_DescribeReportPlanCommand = exports.se_DescribeReportJobCommand = exports.se_DescribeRegionSettingsCommand = exports.se_DescribeRecoveryPointCommand = exports.se_DescribeProtectedResourceCommand = exports.se_DescribeGlobalSettingsCommand = exports.se_DescribeFrameworkCommand = exports.se_DescribeCopyJobCommand = exports.se_DescribeBackupVaultCommand = exports.se_DescribeBackupJobCommand = exports.se_DeleteReportPlanCommand = exports.se_DeleteRecoveryPointCommand = exports.se_DeleteFrameworkCommand = exports.se_DeleteBackupVaultNotificationsCommand = exports.se_DeleteBackupVaultLockConfigurationCommand = exports.se_DeleteBackupVaultAccessPolicyCommand = exports.se_DeleteBackupVaultCommand = exports.se_DeleteBackupSelectionCommand = exports.se_DeleteBackupPlanCommand = exports.se_CreateReportPlanCommand = exports.se_CreateLegalHoldCommand = exports.se_CreateFrameworkCommand = exports.se_CreateBackupVaultCommand = exports.se_CreateBackupSelectionCommand = exports.se_CreateBackupPlanCommand = exports.se_CancelLegalHoldCommand = void 0;
|
|
4
4
|
exports.de_DisassociateRecoveryPointCommand = exports.de_DescribeRestoreJobCommand = exports.de_DescribeReportPlanCommand = exports.de_DescribeReportJobCommand = exports.de_DescribeRegionSettingsCommand = exports.de_DescribeRecoveryPointCommand = exports.de_DescribeProtectedResourceCommand = exports.de_DescribeGlobalSettingsCommand = exports.de_DescribeFrameworkCommand = exports.de_DescribeCopyJobCommand = exports.de_DescribeBackupVaultCommand = exports.de_DescribeBackupJobCommand = exports.de_DeleteReportPlanCommand = exports.de_DeleteRecoveryPointCommand = exports.de_DeleteFrameworkCommand = exports.de_DeleteBackupVaultNotificationsCommand = exports.de_DeleteBackupVaultLockConfigurationCommand = exports.de_DeleteBackupVaultAccessPolicyCommand = exports.de_DeleteBackupVaultCommand = exports.de_DeleteBackupSelectionCommand = exports.de_DeleteBackupPlanCommand = exports.de_CreateReportPlanCommand = exports.de_CreateLegalHoldCommand = exports.de_CreateFrameworkCommand = exports.de_CreateBackupVaultCommand = exports.de_CreateBackupSelectionCommand = exports.de_CreateBackupPlanCommand = exports.de_CancelLegalHoldCommand = exports.se_UpdateReportPlanCommand = exports.se_UpdateRegionSettingsCommand = exports.se_UpdateRecoveryPointLifecycleCommand = exports.se_UpdateGlobalSettingsCommand = exports.se_UpdateFrameworkCommand = exports.se_UpdateBackupPlanCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopBackupJobCommand = exports.se_StartRestoreJobCommand = exports.se_StartReportJobCommand = exports.se_StartCopyJobCommand = exports.se_StartBackupJobCommand = exports.se_PutBackupVaultNotificationsCommand = exports.se_PutBackupVaultLockConfigurationCommand = exports.se_PutBackupVaultAccessPolicyCommand = exports.se_ListTagsCommand = exports.se_ListRestoreJobsCommand = exports.se_ListReportPlansCommand = exports.se_ListReportJobsCommand = exports.se_ListRecoveryPointsByResourceCommand = exports.se_ListRecoveryPointsByLegalHoldCommand = void 0;
|
|
5
5
|
exports.de_UpdateReportPlanCommand = exports.de_UpdateRegionSettingsCommand = exports.de_UpdateRecoveryPointLifecycleCommand = exports.de_UpdateGlobalSettingsCommand = exports.de_UpdateFrameworkCommand = exports.de_UpdateBackupPlanCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopBackupJobCommand = exports.de_StartRestoreJobCommand = exports.de_StartReportJobCommand = exports.de_StartCopyJobCommand = exports.de_StartBackupJobCommand = exports.de_PutBackupVaultNotificationsCommand = exports.de_PutBackupVaultLockConfigurationCommand = exports.de_PutBackupVaultAccessPolicyCommand = exports.de_ListTagsCommand = exports.de_ListRestoreJobsCommand = exports.de_ListReportPlansCommand = exports.de_ListReportJobsCommand = exports.de_ListRecoveryPointsByResourceCommand = exports.de_ListRecoveryPointsByLegalHoldCommand = exports.de_ListRecoveryPointsByBackupVaultCommand = exports.de_ListProtectedResourcesCommand = exports.de_ListLegalHoldsCommand = exports.de_ListFrameworksCommand = exports.de_ListCopyJobsCommand = exports.de_ListBackupVaultsCommand = exports.de_ListBackupSelectionsCommand = exports.de_ListBackupPlanVersionsCommand = exports.de_ListBackupPlanTemplatesCommand = exports.de_ListBackupPlansCommand = exports.de_ListBackupJobsCommand = exports.de_GetSupportedResourceTypesCommand = exports.de_GetRecoveryPointRestoreMetadataCommand = exports.de_GetLegalHoldCommand = exports.de_GetBackupVaultNotificationsCommand = exports.de_GetBackupVaultAccessPolicyCommand = exports.de_GetBackupSelectionCommand = exports.de_GetBackupPlanFromTemplateCommand = exports.de_GetBackupPlanFromJSONCommand = exports.de_GetBackupPlanCommand = exports.de_ExportBackupPlanTemplateCommand = exports.de_DisassociateRecoveryPointFromParentCommand = void 0;
|
|
6
|
-
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const BackupServiceException_1 = require("../models/BackupServiceException");
|
|
10
10
|
const models_0_1 = require("../models/models_0");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
1
|
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { BackupServiceException as __BaseException } from "../models/BackupServiceException";
|
|
5
5
|
import { AlreadyExistsException, ConflictException, DependencyFailureException, InvalidParameterValueException, InvalidRequestException, InvalidResourceStateException, LimitExceededException, MissingParameterValueException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/models_0";
|
|
@@ -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 { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "./commands/CancelLegalHoldCommand";
|
|
11
12
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
|
|
12
13
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
|
|
@@ -38,6 +38,9 @@ export interface ListRecoveryPointsByLegalHoldCommandOutput extends ListRecovery
|
|
|
38
38
|
* // RecoveryPoints: [ // RecoveryPointsList
|
|
39
39
|
* // { // RecoveryPointMember
|
|
40
40
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
41
|
+
* // ResourceArn: "STRING_VALUE",
|
|
42
|
+
* // ResourceType: "STRING_VALUE",
|
|
43
|
+
* // BackupVaultName: "STRING_VALUE",
|
|
41
44
|
* // },
|
|
42
45
|
* // ],
|
|
43
46
|
* // NextToken: "STRING_VALUE",
|
|
@@ -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>;
|
|
@@ -12,7 +13,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
13
|
defaultSigningName: string;
|
|
13
14
|
};
|
|
14
15
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
16
|
+
Region?: string;
|
|
16
17
|
UseDualStack?: boolean;
|
|
17
18
|
UseFIPS?: boolean;
|
|
18
19
|
Endpoint?: string;
|
|
@@ -318,6 +318,13 @@ export interface BackupRule {
|
|
|
318
318
|
* <p>A value in minutes after a backup is scheduled before a job will be canceled if it
|
|
319
319
|
* doesn't start successfully. This value is optional.
|
|
320
320
|
* If this value is included, it must be at least 60 minutes to avoid errors.</p>
|
|
321
|
+
* <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
|
|
322
|
+
* has successfully begun or until the start window time has run out. If within the start
|
|
323
|
+
* window time Backup receives an error that allows the job to be retried,
|
|
324
|
+
* Backup will automatically retry to begin the job at least every 10 minutes
|
|
325
|
+
* until the backup
|
|
326
|
+
* successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
|
|
327
|
+
* changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
|
|
321
328
|
*/
|
|
322
329
|
StartWindowMinutes?: number;
|
|
323
330
|
/**
|
|
@@ -409,6 +416,13 @@ export interface BackupRuleInput {
|
|
|
409
416
|
* <p>A value in minutes after a backup is scheduled before a job will be canceled if it
|
|
410
417
|
* doesn't start successfully. This value is optional.
|
|
411
418
|
* If this value is included, it must be at least 60 minutes to avoid errors.</p>
|
|
419
|
+
* <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
|
|
420
|
+
* has successfully begun or until the start window time has run out. If within the start
|
|
421
|
+
* window time Backup receives an error that allows the job to be retried,
|
|
422
|
+
* Backup will automatically retry to begin the job at least every 10 minutes
|
|
423
|
+
* until the backup
|
|
424
|
+
* successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
|
|
425
|
+
* changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
|
|
412
426
|
*/
|
|
413
427
|
StartWindowMinutes?: number;
|
|
414
428
|
/**
|
|
@@ -4091,6 +4105,21 @@ export interface RecoveryPointMember {
|
|
|
4091
4105
|
* recovery point.</p>
|
|
4092
4106
|
*/
|
|
4093
4107
|
RecoveryPointArn?: string;
|
|
4108
|
+
/**
|
|
4109
|
+
* <p>This is the Amazon Resource Name (ARN) that uniquely identifies
|
|
4110
|
+
* a saved resource.</p>
|
|
4111
|
+
*/
|
|
4112
|
+
ResourceArn?: string;
|
|
4113
|
+
/**
|
|
4114
|
+
* <p>This is the Amazon Web Services resource type that is saved as
|
|
4115
|
+
* a recovery point.</p>
|
|
4116
|
+
*/
|
|
4117
|
+
ResourceType?: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* <p>This is the name of the backup vault
|
|
4120
|
+
* (the logical container in which backups are stored).</p>
|
|
4121
|
+
*/
|
|
4122
|
+
BackupVaultName?: string;
|
|
4094
4123
|
}
|
|
4095
4124
|
/**
|
|
4096
4125
|
* @public
|
|
@@ -4625,6 +4654,13 @@ export interface StartBackupJobInput {
|
|
|
4625
4654
|
* <p>A value in minutes after a backup is scheduled before a job will be canceled if it
|
|
4626
4655
|
* doesn't start successfully. This value is optional, and the default is 8 hours.
|
|
4627
4656
|
* If this value is included, it must be at least 60 minutes to avoid errors.</p>
|
|
4657
|
+
* <p>During the start window, the backup job status remains in <code>CREATED</code> status until it
|
|
4658
|
+
* has successfully begun or until the start window time has run out. If within the start
|
|
4659
|
+
* window time Backup receives an error that allows the job to be retried,
|
|
4660
|
+
* Backup will automatically retry to begin the job at least every 10 minutes
|
|
4661
|
+
* until the backup
|
|
4662
|
+
* successfully begins (the job status changes to <code>RUNNING</code>) or until the job status
|
|
4663
|
+
* changes to <code>EXPIRED</code> (which is expected to occur when the start window time is over).</p>
|
|
4628
4664
|
*/
|
|
4629
4665
|
StartWindowMinutes?: number;
|
|
4630
4666
|
/**
|
|
@@ -4872,6 +4908,10 @@ export interface StartRestoreJobInput {
|
|
|
4872
4908
|
* </li>
|
|
4873
4909
|
* <li>
|
|
4874
4910
|
* <p>
|
|
4911
|
+
* <code>CloudFormation</code> for CloudFormation</p>
|
|
4912
|
+
* </li>
|
|
4913
|
+
* <li>
|
|
4914
|
+
* <p>
|
|
4875
4915
|
* <code>DynamoDB</code> for Amazon DynamoDB</p>
|
|
4876
4916
|
* </li>
|
|
4877
4917
|
* <li>
|
|
@@ -4900,6 +4940,10 @@ export interface StartRestoreJobInput {
|
|
|
4900
4940
|
* </li>
|
|
4901
4941
|
* <li>
|
|
4902
4942
|
* <p>
|
|
4943
|
+
* <code>Redshift</code> for Amazon Redshift</p>
|
|
4944
|
+
* </li>
|
|
4945
|
+
* <li>
|
|
4946
|
+
* <p>
|
|
4903
4947
|
* <code>Storage Gateway</code> for Storage Gateway</p>
|
|
4904
4948
|
* </li>
|
|
4905
4949
|
* <li>
|
|
@@ -4908,6 +4952,10 @@ export interface StartRestoreJobInput {
|
|
|
4908
4952
|
* </li>
|
|
4909
4953
|
* <li>
|
|
4910
4954
|
* <p>
|
|
4955
|
+
* <code>Timestream</code> for Amazon Timestream</p>
|
|
4956
|
+
* </li>
|
|
4957
|
+
* <li>
|
|
4958
|
+
* <p>
|
|
4911
4959
|
* <code>VirtualMachine</code> for virtual machines</p>
|
|
4912
4960
|
* </li>
|
|
4913
4961
|
* </ul>
|
|
@@ -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 { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "../commands/CancelLegalHoldCommand";
|
|
4
4
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "../commands/CreateBackupPlanCommand";
|
|
5
5
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "../commands/CreateBackupSelectionCommand";
|
|
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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 { BackupClientConfig } from "./BackupClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
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 { BackupClientConfig } from "./BackupClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
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: BackupClientConfig) => {
|
|
|
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
|
CancelLegalHoldCommandInput,
|
|
49
51
|
CancelLegalHoldCommandOutput,
|
|
@@ -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>;
|
|
@@ -26,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
25
|
defaultSigningName: string;
|
|
27
26
|
};
|
|
28
27
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
28
|
+
Region?: string;
|
|
30
29
|
UseDualStack?: boolean;
|
|
31
30
|
UseFIPS?: boolean;
|
|
32
31
|
Endpoint?: string;
|
|
@@ -933,6 +933,9 @@ export interface ListRecoveryPointsByLegalHoldInput {
|
|
|
933
933
|
}
|
|
934
934
|
export interface RecoveryPointMember {
|
|
935
935
|
RecoveryPointArn?: string;
|
|
936
|
+
ResourceArn?: string;
|
|
937
|
+
ResourceType?: string;
|
|
938
|
+
BackupVaultName?: string;
|
|
936
939
|
}
|
|
937
940
|
export interface ListRecoveryPointsByLegalHoldOutput {
|
|
938
941
|
RecoveryPoints?: RecoveryPointMember[];
|
|
@@ -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
|
CancelLegalHoldCommandInput,
|
|
8
8
|
CancelLegalHoldCommandOutput,
|
|
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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: BackupClientConfig) => {
|
|
|
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 { BackupClientConfig } from "./BackupClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: BackupClientConfig) => {
|
|
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: BackupClientConfig) => {
|
|
|
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",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.336.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.335.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.329.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.335.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.329.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.329.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.329.0",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.332.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.329.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.329.0",
|
|
42
|
-
"@aws-sdk/protocol-http": "3.329.0",
|
|
43
42
|
"@aws-sdk/smithy-client": "3.329.0",
|
|
44
43
|
"@aws-sdk/types": "3.329.0",
|
|
45
44
|
"@aws-sdk/url-parser": "3.329.0",
|
|
@@ -53,6 +52,8 @@
|
|
|
53
52
|
"@aws-sdk/util-user-agent-browser": "3.329.0",
|
|
54
53
|
"@aws-sdk/util-user-agent-node": "3.329.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
|
"uuid": "^8.3.2"
|
|
58
59
|
},
|