@aws-sdk/client-backup 3.51.0 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/BackupServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +179 -4
- package/dist-cjs/protocols/Aws_restJson1.js +653 -2416
- package/dist-es/index.js +1 -0
- package/dist-es/models/BackupServiceException.js +12 -0
- package/dist-es/models/models_0.js +166 -1
- package/dist-es/protocols/Aws_restJson1.js +1433 -2691
- package/dist-types/Backup.d.ts +14 -12
- package/dist-types/BackupClient.d.ts +2 -2
- package/dist-types/commands/CreateBackupSelectionCommand.d.ts +1 -2
- package/dist-types/commands/ListTagsCommand.d.ts +4 -5
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +9 -5
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/BackupServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +270 -99
- 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/ts3.4/BackupClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/BackupServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/dist-types/Backup.d.ts
CHANGED
|
@@ -86,8 +86,7 @@ export declare class Backup extends BackupClient {
|
|
|
86
86
|
createBackupPlan(args: CreateBackupPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackupPlanCommandOutput) => void): void;
|
|
87
87
|
/**
|
|
88
88
|
* <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
|
|
89
|
-
* For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
|
|
90
|
-
* programmatically</a>. </p>
|
|
89
|
+
* For examples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json">Assigning resources programmatically</a>. </p>
|
|
91
90
|
*/
|
|
92
91
|
createBackupSelection(args: CreateBackupSelectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackupSelectionCommandOutput>;
|
|
93
92
|
createBackupSelection(args: CreateBackupSelectionCommandInput, cb: (err: any, data?: CreateBackupSelectionCommandOutput) => void): void;
|
|
@@ -433,11 +432,10 @@ export declare class Backup extends BackupClient {
|
|
|
433
432
|
/**
|
|
434
433
|
* <p>Returns a list of key-value pairs assigned to a target recovery point, backup plan, or
|
|
435
434
|
* backup vault.</p>
|
|
436
|
-
* <
|
|
437
|
-
* <
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
* </note>
|
|
435
|
+
* <p>
|
|
436
|
+
* <code>ListTags</code> only works for resource types that support full Backup
|
|
437
|
+
* management of their backups. Those resource types are listed in the "Full Backup management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
|
|
438
|
+
* availability by resource</a> table.</p>
|
|
441
439
|
*/
|
|
442
440
|
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
|
|
443
441
|
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
|
|
@@ -544,11 +542,15 @@ export declare class Backup extends BackupClient {
|
|
|
544
542
|
* it expires. Backup transitions and expires backups automatically according to
|
|
545
543
|
* the lifecycle that you define.</p>
|
|
546
544
|
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
547
|
-
* days. Therefore, the “
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
* <p>Only
|
|
551
|
-
*
|
|
545
|
+
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
546
|
+
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
547
|
+
* after a backup has been transitioned to cold.</p>
|
|
548
|
+
* <p>Only resource types that support full Backup management can transition their
|
|
549
|
+
* backups to cold storage. Those resource types are listed in the "Full Backup
|
|
550
|
+
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
|
|
551
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
552
|
+
* other resource types.</p>
|
|
553
|
+
* <p>This operation does not support continuous backups.</p>
|
|
552
554
|
*/
|
|
553
555
|
updateRecoveryPointLifecycle(args: UpdateRecoveryPointLifecycleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRecoveryPointLifecycleCommandOutput>;
|
|
554
556
|
updateRecoveryPointLifecycle(args: UpdateRecoveryPointLifecycleCommandInput, cb: (err: any, data?: UpdateRecoveryPointLifecycleCommandOutput) => void): void;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
|
|
10
10
|
import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
|
|
11
11
|
import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "./commands/CreateBackupVaultCommand";
|
|
@@ -94,7 +94,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
94
94
|
* A function that can calculate the length of a request body.
|
|
95
95
|
* @internal
|
|
96
96
|
*/
|
|
97
|
-
bodyLengthChecker?:
|
|
97
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
98
98
|
/**
|
|
99
99
|
* A function that converts a stream into an array of bytes.
|
|
100
100
|
* @internal
|
|
@@ -8,8 +8,7 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a JSON document that specifies a set of resources to assign to a backup plan.
|
|
11
|
-
* For examples, see <a href="https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json">Assigning resources
|
|
12
|
-
* programmatically</a>. </p>
|
|
11
|
+
* For examples, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json">Assigning resources programmatically</a>. </p>
|
|
13
12
|
* @example
|
|
14
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
14
|
* ```javascript
|
|
@@ -9,11 +9,10 @@ export interface ListTagsCommandOutput extends ListTagsOutput, __MetadataBearer
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a list of key-value pairs assigned to a target recovery point, backup plan, or
|
|
11
11
|
* backup vault.</p>
|
|
12
|
-
* <
|
|
13
|
-
* <
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* </note>
|
|
12
|
+
* <p>
|
|
13
|
+
* <code>ListTags</code> only works for resource types that support full Backup
|
|
14
|
+
* management of their backups. Those resource types are listed in the "Full Backup management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
|
|
15
|
+
* availability by resource</a> table.</p>
|
|
17
16
|
* @example
|
|
18
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
18
|
* ```javascript
|
|
@@ -12,11 +12,15 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
|
|
|
12
12
|
* it expires. Backup transitions and expires backups automatically according to
|
|
13
13
|
* the lifecycle that you define.</p>
|
|
14
14
|
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
15
|
-
* days. Therefore, the “
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* <p>Only
|
|
19
|
-
*
|
|
15
|
+
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
|
|
16
|
+
* cold after days” setting. The “transition to cold after days” setting cannot be changed
|
|
17
|
+
* after a backup has been transitioned to cold.</p>
|
|
18
|
+
* <p>Only resource types that support full Backup management can transition their
|
|
19
|
+
* backups to cold storage. Those resource types are listed in the "Full Backup
|
|
20
|
+
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
|
|
21
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
22
|
+
* other resource types.</p>
|
|
23
|
+
* <p>This operation does not support continuous backups.</p>
|
|
20
24
|
* @example
|
|
21
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
26
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Backup service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class BackupServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|