@aws-sdk/client-backup 3.386.0 → 3.388.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.
Files changed (43) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/Backup.js +4 -0
  3. package/dist-cjs/BackupClient.js +2 -2
  4. package/dist-cjs/commands/CreateLogicallyAirGappedBackupVaultCommand.js +47 -0
  5. package/dist-cjs/commands/ListProtectedResourcesByBackupVaultCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +2 -0
  7. package/dist-cjs/models/models_0.js +15 -1
  8. package/dist-cjs/pagination/ListProtectedResourcesByBackupVaultPaginator.js +29 -0
  9. package/dist-cjs/pagination/index.js +1 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +162 -3
  11. package/dist-es/Backup.js +4 -0
  12. package/dist-es/BackupClient.js +2 -2
  13. package/dist-es/commands/CreateLogicallyAirGappedBackupVaultCommand.js +43 -0
  14. package/dist-es/commands/ListProtectedResourcesByBackupVaultCommand.js +42 -0
  15. package/dist-es/commands/index.js +2 -0
  16. package/dist-es/models/models_0.js +13 -0
  17. package/dist-es/pagination/ListProtectedResourcesByBackupVaultPaginator.js +25 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_restJson1.js +155 -0
  20. package/dist-types/Backup.d.ts +14 -0
  21. package/dist-types/BackupClient.d.ts +6 -4
  22. package/dist-types/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +109 -0
  23. package/dist-types/commands/DescribeBackupVaultCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -0
  25. package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +1 -0
  26. package/dist-types/commands/ListBackupVaultsCommand.d.ts +2 -0
  27. package/dist-types/commands/ListProtectedResourcesByBackupVaultCommand.d.ts +94 -0
  28. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -0
  29. package/dist-types/commands/index.d.ts +2 -0
  30. package/dist-types/models/models_0.d.ts +219 -27
  31. package/dist-types/pagination/ListProtectedResourcesByBackupVaultPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  34. package/dist-types/ts3.4/Backup.d.ts +46 -0
  35. package/dist-types/ts3.4/BackupClient.d.ts +16 -1
  36. package/dist-types/ts3.4/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/ListProtectedResourcesByBackupVaultCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +55 -11
  40. package/dist-types/ts3.4/pagination/ListProtectedResourcesByBackupVaultPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  43. package/package.json +28 -28
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_ListProtectedResourcesByBackupVaultCommand, se_ListProtectedResourcesByBackupVaultCommand, } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class ListProtectedResourcesByBackupVaultCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListProtectedResourcesByBackupVaultCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "BackupClient";
25
+ const commandName = "ListProtectedResourcesByBackupVaultCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_ListProtectedResourcesByBackupVaultCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_ListProtectedResourcesByBackupVaultCommand(output, context);
41
+ }
42
+ }
@@ -4,6 +4,7 @@ export * from "./CreateBackupSelectionCommand";
4
4
  export * from "./CreateBackupVaultCommand";
5
5
  export * from "./CreateFrameworkCommand";
6
6
  export * from "./CreateLegalHoldCommand";
7
+ export * from "./CreateLogicallyAirGappedBackupVaultCommand";
7
8
  export * from "./CreateReportPlanCommand";
8
9
  export * from "./DeleteBackupPlanCommand";
9
10
  export * from "./DeleteBackupSelectionCommand";
@@ -46,6 +47,7 @@ export * from "./ListBackupVaultsCommand";
46
47
  export * from "./ListCopyJobsCommand";
47
48
  export * from "./ListFrameworksCommand";
48
49
  export * from "./ListLegalHoldsCommand";
50
+ export * from "./ListProtectedResourcesByBackupVaultCommand";
49
51
  export * from "./ListProtectedResourcesCommand";
50
52
  export * from "./ListRecoveryPointsByBackupVaultCommand";
51
53
  export * from "./ListRecoveryPointsByLegalHoldCommand";
@@ -176,6 +176,11 @@ export const LegalHoldStatus = {
176
176
  CANCELING: "CANCELING",
177
177
  CREATING: "CREATING",
178
178
  };
179
+ export const VaultState = {
180
+ AVAILABLE: "AVAILABLE",
181
+ CREATING: "CREATING",
182
+ FAILED: "FAILED",
183
+ };
179
184
  export class InvalidRequestException extends __BaseException {
180
185
  constructor(opts) {
181
186
  super({
@@ -208,6 +213,10 @@ export class DependencyFailureException extends __BaseException {
208
213
  this.Context = opts.Context;
209
214
  }
210
215
  }
216
+ export const VaultType = {
217
+ BACKUP_VAULT: "BACKUP_VAULT",
218
+ LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
219
+ };
211
220
  export const RecoveryPointStatus = {
212
221
  COMPLETED: "COMPLETED",
213
222
  DELETING: "DELETING",
@@ -255,6 +264,10 @@ export const CreateLegalHoldInputFilterSensitiveLog = (obj) => ({
255
264
  ...obj,
256
265
  ...(obj.Tags && { Tags: SENSITIVE_STRING }),
257
266
  });
267
+ export const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog = (obj) => ({
268
+ ...obj,
269
+ ...(obj.BackupVaultTags && { BackupVaultTags: SENSITIVE_STRING }),
270
+ });
258
271
  export const GetBackupPlanOutputFilterSensitiveLog = (obj) => ({
259
272
  ...obj,
260
273
  ...(obj.BackupPlan && { BackupPlan: BackupPlanFilterSensitiveLog(obj.BackupPlan) }),
@@ -0,0 +1,25 @@
1
+ import { BackupClient } from "../BackupClient";
2
+ import { ListProtectedResourcesByBackupVaultCommand, } from "../commands/ListProtectedResourcesByBackupVaultCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListProtectedResourcesByBackupVaultCommand(input), ...args);
5
+ };
6
+ export async function* paginateListProtectedResourcesByBackupVault(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof BackupClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Backup | BackupClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -8,6 +8,7 @@ export * from "./ListBackupVaultsPaginator";
8
8
  export * from "./ListCopyJobsPaginator";
9
9
  export * from "./ListFrameworksPaginator";
10
10
  export * from "./ListLegalHoldsPaginator";
11
+ export * from "./ListProtectedResourcesByBackupVaultPaginator";
11
12
  export * from "./ListProtectedResourcesPaginator";
12
13
  export * from "./ListRecoveryPointsByBackupVaultPaginator";
13
14
  export * from "./ListRecoveryPointsByLegalHoldPaginator";
@@ -139,6 +139,31 @@ export const se_CreateLegalHoldCommand = async (input, context) => {
139
139
  body,
140
140
  });
141
141
  };
142
+ export const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, context) => {
143
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
144
+ const headers = {
145
+ "content-type": "application/json",
146
+ };
147
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
148
+ "/logically-air-gapped-backup-vaults/{BackupVaultName}";
149
+ resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
150
+ let body;
151
+ body = JSON.stringify(take(input, {
152
+ BackupVaultTags: (_) => _json(_),
153
+ CreatorRequestId: [],
154
+ MaxRetentionDays: [],
155
+ MinRetentionDays: [],
156
+ }));
157
+ return new __HttpRequest({
158
+ protocol,
159
+ hostname,
160
+ port,
161
+ method: "PUT",
162
+ headers,
163
+ path: resolvedPath,
164
+ body,
165
+ });
166
+ };
142
167
  export const se_CreateReportPlanCommand = async (input, context) => {
143
168
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
144
169
  const headers = {
@@ -336,6 +361,9 @@ export const se_DescribeBackupVaultCommand = async (input, context) => {
336
361
  const headers = {};
337
362
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults/{BackupVaultName}";
338
363
  resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
364
+ const query = map({
365
+ backupVaultAccountId: [, input.BackupVaultAccountId],
366
+ });
339
367
  let body;
340
368
  return new __HttpRequest({
341
369
  protocol,
@@ -344,6 +372,7 @@ export const se_DescribeBackupVaultCommand = async (input, context) => {
344
372
  method: "GET",
345
373
  headers,
346
374
  path: resolvedPath,
375
+ query,
347
376
  body,
348
377
  });
349
378
  };
@@ -420,6 +449,9 @@ export const se_DescribeRecoveryPointCommand = async (input, context) => {
420
449
  "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}";
421
450
  resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
422
451
  resolvedPath = __resolvedPath(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
452
+ const query = map({
453
+ backupVaultAccountId: [, input.BackupVaultAccountId],
454
+ });
423
455
  let body;
424
456
  return new __HttpRequest({
425
457
  protocol,
@@ -428,6 +460,7 @@ export const se_DescribeRecoveryPointCommand = async (input, context) => {
428
460
  method: "GET",
429
461
  headers,
430
462
  path: resolvedPath,
463
+ query,
431
464
  body,
432
465
  });
433
466
  };
@@ -681,6 +714,9 @@ export const se_GetRecoveryPointRestoreMetadataCommand = async (input, context)
681
714
  "/backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/restore-metadata";
682
715
  resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
683
716
  resolvedPath = __resolvedPath(resolvedPath, input, "RecoveryPointArn", () => input.RecoveryPointArn, "{RecoveryPointArn}", false);
717
+ const query = map({
718
+ backupVaultAccountId: [, input.BackupVaultAccountId],
719
+ });
684
720
  let body;
685
721
  return new __HttpRequest({
686
722
  protocol,
@@ -689,6 +725,7 @@ export const se_GetRecoveryPointRestoreMetadataCommand = async (input, context)
689
725
  method: "GET",
690
726
  headers,
691
727
  path: resolvedPath,
728
+ query,
692
729
  body,
693
730
  });
694
731
  };
@@ -840,6 +877,8 @@ export const se_ListBackupVaultsCommand = async (input, context) => {
840
877
  const headers = {};
841
878
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/backup-vaults";
842
879
  const query = map({
880
+ vaultType: [, input.ByVaultType],
881
+ shared: [() => input.ByShared !== void 0, () => input.ByShared.toString()],
843
882
  nextToken: [, input.NextToken],
844
883
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
845
884
  });
@@ -957,6 +996,29 @@ export const se_ListProtectedResourcesCommand = async (input, context) => {
957
996
  body,
958
997
  });
959
998
  };
999
+ export const se_ListProtectedResourcesByBackupVaultCommand = async (input, context) => {
1000
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1001
+ const headers = {};
1002
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1003
+ "/backup-vaults/{BackupVaultName}/resources";
1004
+ resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
1005
+ const query = map({
1006
+ backupVaultAccountId: [, input.BackupVaultAccountId],
1007
+ nextToken: [, input.NextToken],
1008
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1009
+ });
1010
+ let body;
1011
+ return new __HttpRequest({
1012
+ protocol,
1013
+ hostname,
1014
+ port,
1015
+ method: "GET",
1016
+ headers,
1017
+ path: resolvedPath,
1018
+ query,
1019
+ body,
1020
+ });
1021
+ };
960
1022
  export const se_ListRecoveryPointsByBackupVaultCommand = async (input, context) => {
961
1023
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
962
1024
  const headers = {};
@@ -964,6 +1026,7 @@ export const se_ListRecoveryPointsByBackupVaultCommand = async (input, context)
964
1026
  "/backup-vaults/{BackupVaultName}/recovery-points";
965
1027
  resolvedPath = __resolvedPath(resolvedPath, input, "BackupVaultName", () => input.BackupVaultName, "{BackupVaultName}", false);
966
1028
  const query = map({
1029
+ backupVaultAccountId: [, input.BackupVaultAccountId],
967
1030
  nextToken: [, input.NextToken],
968
1031
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
969
1032
  resourceArn: [, input.ByResourceArn],
@@ -1779,6 +1842,57 @@ const de_CreateLegalHoldCommandError = async (output, context) => {
1779
1842
  });
1780
1843
  }
1781
1844
  };
1845
+ export const de_CreateLogicallyAirGappedBackupVaultCommand = async (output, context) => {
1846
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1847
+ return de_CreateLogicallyAirGappedBackupVaultCommandError(output, context);
1848
+ }
1849
+ const contents = map({
1850
+ $metadata: deserializeMetadata(output),
1851
+ });
1852
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1853
+ const doc = take(data, {
1854
+ BackupVaultArn: __expectString,
1855
+ BackupVaultName: __expectString,
1856
+ CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1857
+ VaultState: __expectString,
1858
+ });
1859
+ Object.assign(contents, doc);
1860
+ return contents;
1861
+ };
1862
+ const de_CreateLogicallyAirGappedBackupVaultCommandError = async (output, context) => {
1863
+ const parsedOutput = {
1864
+ ...output,
1865
+ body: await parseErrorBody(output.body, context),
1866
+ };
1867
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1868
+ switch (errorCode) {
1869
+ case "AlreadyExistsException":
1870
+ case "com.amazonaws.backup#AlreadyExistsException":
1871
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1872
+ case "InvalidParameterValueException":
1873
+ case "com.amazonaws.backup#InvalidParameterValueException":
1874
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1875
+ case "InvalidRequestException":
1876
+ case "com.amazonaws.backup#InvalidRequestException":
1877
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1878
+ case "LimitExceededException":
1879
+ case "com.amazonaws.backup#LimitExceededException":
1880
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1881
+ case "MissingParameterValueException":
1882
+ case "com.amazonaws.backup#MissingParameterValueException":
1883
+ throw await de_MissingParameterValueExceptionRes(parsedOutput, context);
1884
+ case "ServiceUnavailableException":
1885
+ case "com.amazonaws.backup#ServiceUnavailableException":
1886
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1887
+ default:
1888
+ const parsedBody = parsedOutput.body;
1889
+ return throwDefaultError({
1890
+ output,
1891
+ parsedBody,
1892
+ errorCode,
1893
+ });
1894
+ }
1895
+ };
1782
1896
  export const de_CreateReportPlanCommand = async (output, context) => {
1783
1897
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1784
1898
  return de_CreateReportPlanCommandError(output, context);
@@ -2284,6 +2398,7 @@ export const de_DescribeBackupVaultCommand = async (output, context) => {
2284
2398
  MaxRetentionDays: __expectLong,
2285
2399
  MinRetentionDays: __expectLong,
2286
2400
  NumberOfRecoveryPoints: __expectLong,
2401
+ VaultType: __expectString,
2287
2402
  });
2288
2403
  Object.assign(contents, doc);
2289
2404
  return contents;
@@ -3652,6 +3767,46 @@ const de_ListProtectedResourcesCommandError = async (output, context) => {
3652
3767
  });
3653
3768
  }
3654
3769
  };
3770
+ export const de_ListProtectedResourcesByBackupVaultCommand = async (output, context) => {
3771
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3772
+ return de_ListProtectedResourcesByBackupVaultCommandError(output, context);
3773
+ }
3774
+ const contents = map({
3775
+ $metadata: deserializeMetadata(output),
3776
+ });
3777
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3778
+ const doc = take(data, {
3779
+ NextToken: __expectString,
3780
+ Results: (_) => de_ProtectedResourcesList(_, context),
3781
+ });
3782
+ Object.assign(contents, doc);
3783
+ return contents;
3784
+ };
3785
+ const de_ListProtectedResourcesByBackupVaultCommandError = async (output, context) => {
3786
+ const parsedOutput = {
3787
+ ...output,
3788
+ body: await parseErrorBody(output.body, context),
3789
+ };
3790
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3791
+ switch (errorCode) {
3792
+ case "InvalidParameterValueException":
3793
+ case "com.amazonaws.backup#InvalidParameterValueException":
3794
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
3795
+ case "ResourceNotFoundException":
3796
+ case "com.amazonaws.backup#ResourceNotFoundException":
3797
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3798
+ case "ServiceUnavailableException":
3799
+ case "com.amazonaws.backup#ServiceUnavailableException":
3800
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
3801
+ default:
3802
+ const parsedBody = parsedOutput.body;
3803
+ return throwDefaultError({
3804
+ output,
3805
+ parsedBody,
3806
+ errorCode,
3807
+ });
3808
+ }
3809
+ };
3655
3810
  export const de_ListRecoveryPointsByBackupVaultCommand = async (output, context) => {
3656
3811
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3657
3812
  return de_ListRecoveryPointsByBackupVaultCommandError(output, context);
@@ -6,6 +6,7 @@ import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput }
6
6
  import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "./commands/CreateBackupVaultCommand";
7
7
  import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "./commands/CreateFrameworkCommand";
8
8
  import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "./commands/CreateLegalHoldCommand";
9
+ import { CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput } from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
9
10
  import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "./commands/CreateReportPlanCommand";
10
11
  import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "./commands/DeleteBackupPlanCommand";
11
12
  import { DeleteBackupSelectionCommandInput, DeleteBackupSelectionCommandOutput } from "./commands/DeleteBackupSelectionCommand";
@@ -48,6 +49,7 @@ import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "./c
48
49
  import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "./commands/ListCopyJobsCommand";
49
50
  import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "./commands/ListFrameworksCommand";
50
51
  import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "./commands/ListLegalHoldsCommand";
52
+ import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "./commands/ListProtectedResourcesByBackupVaultCommand";
51
53
  import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "./commands/ListProtectedResourcesCommand";
52
54
  import { ListRecoveryPointsByBackupVaultCommandInput, ListRecoveryPointsByBackupVaultCommandOutput } from "./commands/ListRecoveryPointsByBackupVaultCommand";
53
55
  import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHoldCommandOutput } from "./commands/ListRecoveryPointsByLegalHoldCommand";
@@ -109,6 +111,12 @@ export interface Backup {
109
111
  createLegalHold(args: CreateLegalHoldCommandInput, options?: __HttpHandlerOptions): Promise<CreateLegalHoldCommandOutput>;
110
112
  createLegalHold(args: CreateLegalHoldCommandInput, cb: (err: any, data?: CreateLegalHoldCommandOutput) => void): void;
111
113
  createLegalHold(args: CreateLegalHoldCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLegalHoldCommandOutput) => void): void;
114
+ /**
115
+ * @see {@link CreateLogicallyAirGappedBackupVaultCommand}
116
+ */
117
+ createLogicallyAirGappedBackupVault(args: CreateLogicallyAirGappedBackupVaultCommandInput, options?: __HttpHandlerOptions): Promise<CreateLogicallyAirGappedBackupVaultCommandOutput>;
118
+ createLogicallyAirGappedBackupVault(args: CreateLogicallyAirGappedBackupVaultCommandInput, cb: (err: any, data?: CreateLogicallyAirGappedBackupVaultCommandOutput) => void): void;
119
+ createLogicallyAirGappedBackupVault(args: CreateLogicallyAirGappedBackupVaultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLogicallyAirGappedBackupVaultCommandOutput) => void): void;
112
120
  /**
113
121
  * @see {@link CreateReportPlanCommand}
114
122
  */
@@ -367,6 +375,12 @@ export interface Backup {
367
375
  listProtectedResources(args: ListProtectedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectedResourcesCommandOutput>;
368
376
  listProtectedResources(args: ListProtectedResourcesCommandInput, cb: (err: any, data?: ListProtectedResourcesCommandOutput) => void): void;
369
377
  listProtectedResources(args: ListProtectedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectedResourcesCommandOutput) => void): void;
378
+ /**
379
+ * @see {@link ListProtectedResourcesByBackupVaultCommand}
380
+ */
381
+ listProtectedResourcesByBackupVault(args: ListProtectedResourcesByBackupVaultCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectedResourcesByBackupVaultCommandOutput>;
382
+ listProtectedResourcesByBackupVault(args: ListProtectedResourcesByBackupVaultCommandInput, cb: (err: any, data?: ListProtectedResourcesByBackupVaultCommandOutput) => void): void;
383
+ listProtectedResourcesByBackupVault(args: ListProtectedResourcesByBackupVaultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectedResourcesByBackupVaultCommandOutput) => void): void;
370
384
  /**
371
385
  * @see {@link ListRecoveryPointsByBackupVaultCommand}
372
386
  */
@@ -7,13 +7,14 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
7
7
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { CancelLegalHoldCommandInput, CancelLegalHoldCommandOutput } from "./commands/CancelLegalHoldCommand";
12
12
  import { CreateBackupPlanCommandInput, CreateBackupPlanCommandOutput } from "./commands/CreateBackupPlanCommand";
13
13
  import { CreateBackupSelectionCommandInput, CreateBackupSelectionCommandOutput } from "./commands/CreateBackupSelectionCommand";
14
14
  import { CreateBackupVaultCommandInput, CreateBackupVaultCommandOutput } from "./commands/CreateBackupVaultCommand";
15
15
  import { CreateFrameworkCommandInput, CreateFrameworkCommandOutput } from "./commands/CreateFrameworkCommand";
16
16
  import { CreateLegalHoldCommandInput, CreateLegalHoldCommandOutput } from "./commands/CreateLegalHoldCommand";
17
+ import { CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput } from "./commands/CreateLogicallyAirGappedBackupVaultCommand";
17
18
  import { CreateReportPlanCommandInput, CreateReportPlanCommandOutput } from "./commands/CreateReportPlanCommand";
18
19
  import { DeleteBackupPlanCommandInput, DeleteBackupPlanCommandOutput } from "./commands/DeleteBackupPlanCommand";
19
20
  import { DeleteBackupSelectionCommandInput, DeleteBackupSelectionCommandOutput } from "./commands/DeleteBackupSelectionCommand";
@@ -56,6 +57,7 @@ import { ListBackupVaultsCommandInput, ListBackupVaultsCommandOutput } from "./c
56
57
  import { ListCopyJobsCommandInput, ListCopyJobsCommandOutput } from "./commands/ListCopyJobsCommand";
57
58
  import { ListFrameworksCommandInput, ListFrameworksCommandOutput } from "./commands/ListFrameworksCommand";
58
59
  import { ListLegalHoldsCommandInput, ListLegalHoldsCommandOutput } from "./commands/ListLegalHoldsCommand";
60
+ import { ListProtectedResourcesByBackupVaultCommandInput, ListProtectedResourcesByBackupVaultCommandOutput } from "./commands/ListProtectedResourcesByBackupVaultCommand";
59
61
  import { ListProtectedResourcesCommandInput, ListProtectedResourcesCommandOutput } from "./commands/ListProtectedResourcesCommand";
60
62
  import { ListRecoveryPointsByBackupVaultCommandInput, ListRecoveryPointsByBackupVaultCommandOutput } from "./commands/ListRecoveryPointsByBackupVaultCommand";
61
63
  import { ListRecoveryPointsByLegalHoldCommandInput, ListRecoveryPointsByLegalHoldCommandOutput } from "./commands/ListRecoveryPointsByLegalHoldCommand";
@@ -85,11 +87,11 @@ export { __Client };
85
87
  /**
86
88
  * @public
87
89
  */
88
- export type ServiceInputTypes = CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateReportPlanCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetSupportedResourceTypesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreJobsCommandInput | ListTagsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput;
90
+ export type ServiceInputTypes = CancelLegalHoldCommandInput | CreateBackupPlanCommandInput | CreateBackupSelectionCommandInput | CreateBackupVaultCommandInput | CreateFrameworkCommandInput | CreateLegalHoldCommandInput | CreateLogicallyAirGappedBackupVaultCommandInput | CreateReportPlanCommandInput | DeleteBackupPlanCommandInput | DeleteBackupSelectionCommandInput | DeleteBackupVaultAccessPolicyCommandInput | DeleteBackupVaultCommandInput | DeleteBackupVaultLockConfigurationCommandInput | DeleteBackupVaultNotificationsCommandInput | DeleteFrameworkCommandInput | DeleteRecoveryPointCommandInput | DeleteReportPlanCommandInput | DescribeBackupJobCommandInput | DescribeBackupVaultCommandInput | DescribeCopyJobCommandInput | DescribeFrameworkCommandInput | DescribeGlobalSettingsCommandInput | DescribeProtectedResourceCommandInput | DescribeRecoveryPointCommandInput | DescribeRegionSettingsCommandInput | DescribeReportJobCommandInput | DescribeReportPlanCommandInput | DescribeRestoreJobCommandInput | DisassociateRecoveryPointCommandInput | DisassociateRecoveryPointFromParentCommandInput | ExportBackupPlanTemplateCommandInput | GetBackupPlanCommandInput | GetBackupPlanFromJSONCommandInput | GetBackupPlanFromTemplateCommandInput | GetBackupSelectionCommandInput | GetBackupVaultAccessPolicyCommandInput | GetBackupVaultNotificationsCommandInput | GetLegalHoldCommandInput | GetRecoveryPointRestoreMetadataCommandInput | GetSupportedResourceTypesCommandInput | ListBackupJobsCommandInput | ListBackupPlanTemplatesCommandInput | ListBackupPlanVersionsCommandInput | ListBackupPlansCommandInput | ListBackupSelectionsCommandInput | ListBackupVaultsCommandInput | ListCopyJobsCommandInput | ListFrameworksCommandInput | ListLegalHoldsCommandInput | ListProtectedResourcesByBackupVaultCommandInput | ListProtectedResourcesCommandInput | ListRecoveryPointsByBackupVaultCommandInput | ListRecoveryPointsByLegalHoldCommandInput | ListRecoveryPointsByResourceCommandInput | ListReportJobsCommandInput | ListReportPlansCommandInput | ListRestoreJobsCommandInput | ListTagsCommandInput | PutBackupVaultAccessPolicyCommandInput | PutBackupVaultLockConfigurationCommandInput | PutBackupVaultNotificationsCommandInput | StartBackupJobCommandInput | StartCopyJobCommandInput | StartReportJobCommandInput | StartRestoreJobCommandInput | StopBackupJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBackupPlanCommandInput | UpdateFrameworkCommandInput | UpdateGlobalSettingsCommandInput | UpdateRecoveryPointLifecycleCommandInput | UpdateRegionSettingsCommandInput | UpdateReportPlanCommandInput;
89
91
  /**
90
92
  * @public
91
93
  */
92
- export type ServiceOutputTypes = CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateReportPlanCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetSupportedResourceTypesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreJobsCommandOutput | ListTagsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput;
94
+ export type ServiceOutputTypes = CancelLegalHoldCommandOutput | CreateBackupPlanCommandOutput | CreateBackupSelectionCommandOutput | CreateBackupVaultCommandOutput | CreateFrameworkCommandOutput | CreateLegalHoldCommandOutput | CreateLogicallyAirGappedBackupVaultCommandOutput | CreateReportPlanCommandOutput | DeleteBackupPlanCommandOutput | DeleteBackupSelectionCommandOutput | DeleteBackupVaultAccessPolicyCommandOutput | DeleteBackupVaultCommandOutput | DeleteBackupVaultLockConfigurationCommandOutput | DeleteBackupVaultNotificationsCommandOutput | DeleteFrameworkCommandOutput | DeleteRecoveryPointCommandOutput | DeleteReportPlanCommandOutput | DescribeBackupJobCommandOutput | DescribeBackupVaultCommandOutput | DescribeCopyJobCommandOutput | DescribeFrameworkCommandOutput | DescribeGlobalSettingsCommandOutput | DescribeProtectedResourceCommandOutput | DescribeRecoveryPointCommandOutput | DescribeRegionSettingsCommandOutput | DescribeReportJobCommandOutput | DescribeReportPlanCommandOutput | DescribeRestoreJobCommandOutput | DisassociateRecoveryPointCommandOutput | DisassociateRecoveryPointFromParentCommandOutput | ExportBackupPlanTemplateCommandOutput | GetBackupPlanCommandOutput | GetBackupPlanFromJSONCommandOutput | GetBackupPlanFromTemplateCommandOutput | GetBackupSelectionCommandOutput | GetBackupVaultAccessPolicyCommandOutput | GetBackupVaultNotificationsCommandOutput | GetLegalHoldCommandOutput | GetRecoveryPointRestoreMetadataCommandOutput | GetSupportedResourceTypesCommandOutput | ListBackupJobsCommandOutput | ListBackupPlanTemplatesCommandOutput | ListBackupPlanVersionsCommandOutput | ListBackupPlansCommandOutput | ListBackupSelectionsCommandOutput | ListBackupVaultsCommandOutput | ListCopyJobsCommandOutput | ListFrameworksCommandOutput | ListLegalHoldsCommandOutput | ListProtectedResourcesByBackupVaultCommandOutput | ListProtectedResourcesCommandOutput | ListRecoveryPointsByBackupVaultCommandOutput | ListRecoveryPointsByLegalHoldCommandOutput | ListRecoveryPointsByResourceCommandOutput | ListReportJobsCommandOutput | ListReportPlansCommandOutput | ListRestoreJobsCommandOutput | ListTagsCommandOutput | PutBackupVaultAccessPolicyCommandOutput | PutBackupVaultLockConfigurationCommandOutput | PutBackupVaultNotificationsCommandOutput | StartBackupJobCommandOutput | StartCopyJobCommandOutput | StartReportJobCommandOutput | StartRestoreJobCommandOutput | StopBackupJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBackupPlanCommandOutput | UpdateFrameworkCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateRecoveryPointLifecycleCommandOutput | UpdateRegionSettingsCommandOutput | UpdateReportPlanCommandOutput;
93
95
  /**
94
96
  * @public
95
97
  */
@@ -228,7 +230,7 @@ export declare class BackupClient extends __Client<__HttpHandlerOptions, Service
228
230
  * The resolved configuration of BackupClient class. This is resolved and normalized from the {@link BackupClientConfig | constructor configuration interface}.
229
231
  */
230
232
  readonly config: BackupClientResolvedConfig;
231
- constructor(configuration: BackupClientConfig);
233
+ constructor(...[configuration]: __CheckOptionalClientConfig<BackupClientConfig>);
232
234
  /**
233
235
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
234
236
  * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
@@ -0,0 +1,109 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
5
+ import { CreateLogicallyAirGappedBackupVaultInput, CreateLogicallyAirGappedBackupVaultOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateLogicallyAirGappedBackupVaultCommand}.
14
+ */
15
+ export interface CreateLogicallyAirGappedBackupVaultCommandInput extends CreateLogicallyAirGappedBackupVaultInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateLogicallyAirGappedBackupVaultCommand}.
21
+ */
22
+ export interface CreateLogicallyAirGappedBackupVaultCommandOutput extends CreateLogicallyAirGappedBackupVaultOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>This request creates a logical container where backups are stored.</p>
27
+ * <p>This request includes a name, optionally one or more resource tags, an encryption key,
28
+ * and a request ID.</p>
29
+ * <note>
30
+ * <p>Do not include sensitive data, such as passport numbers, in the name of a backup
31
+ * vault.</p>
32
+ * </note>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BackupClient, CreateLogicallyAirGappedBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
37
+ * // const { BackupClient, CreateLogicallyAirGappedBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
38
+ * const client = new BackupClient(config);
39
+ * const input = { // CreateLogicallyAirGappedBackupVaultInput
40
+ * BackupVaultName: "STRING_VALUE", // required
41
+ * BackupVaultTags: { // Tags
42
+ * "<keys>": "STRING_VALUE",
43
+ * },
44
+ * CreatorRequestId: "STRING_VALUE",
45
+ * MinRetentionDays: Number("long"), // required
46
+ * MaxRetentionDays: Number("long"), // required
47
+ * };
48
+ * const command = new CreateLogicallyAirGappedBackupVaultCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateLogicallyAirGappedBackupVaultOutput
51
+ * // BackupVaultName: "STRING_VALUE",
52
+ * // BackupVaultArn: "STRING_VALUE",
53
+ * // CreationDate: new Date("TIMESTAMP"),
54
+ * // VaultState: "CREATING" || "AVAILABLE" || "FAILED",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param CreateLogicallyAirGappedBackupVaultCommandInput - {@link CreateLogicallyAirGappedBackupVaultCommandInput}
60
+ * @returns {@link CreateLogicallyAirGappedBackupVaultCommandOutput}
61
+ * @see {@link CreateLogicallyAirGappedBackupVaultCommandInput} for command's `input` shape.
62
+ * @see {@link CreateLogicallyAirGappedBackupVaultCommandOutput} for command's `response` shape.
63
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
64
+ *
65
+ * @throws {@link AlreadyExistsException} (client fault)
66
+ * <p>The required resource already exists.</p>
67
+ *
68
+ * @throws {@link InvalidParameterValueException} (client fault)
69
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
70
+ * out of range.</p>
71
+ *
72
+ * @throws {@link InvalidRequestException} (client fault)
73
+ * <p>Indicates that something is wrong with the input to the request. For example, a
74
+ * parameter is of the wrong type.</p>
75
+ *
76
+ * @throws {@link LimitExceededException} (client fault)
77
+ * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
78
+ * in a request.</p>
79
+ *
80
+ * @throws {@link MissingParameterValueException} (client fault)
81
+ * <p>Indicates that a required parameter is missing.</p>
82
+ *
83
+ * @throws {@link ServiceUnavailableException} (server fault)
84
+ * <p>The request failed due to a temporary failure of the server.</p>
85
+ *
86
+ * @throws {@link BackupServiceException}
87
+ * <p>Base exception class for all service exceptions from Backup service.</p>
88
+ *
89
+ */
90
+ export declare class CreateLogicallyAirGappedBackupVaultCommand extends $Command<CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput, BackupClientResolvedConfig> {
91
+ readonly input: CreateLogicallyAirGappedBackupVaultCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: CreateLogicallyAirGappedBackupVaultCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BackupClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLogicallyAirGappedBackupVaultCommandInput, CreateLogicallyAirGappedBackupVaultCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -32,12 +32,14 @@ export interface DescribeBackupVaultCommandOutput extends DescribeBackupVaultOut
32
32
  * const client = new BackupClient(config);
33
33
  * const input = { // DescribeBackupVaultInput
34
34
  * BackupVaultName: "STRING_VALUE", // required
35
+ * BackupVaultAccountId: "STRING_VALUE",
35
36
  * };
36
37
  * const command = new DescribeBackupVaultCommand(input);
37
38
  * const response = await client.send(command);
38
39
  * // { // DescribeBackupVaultOutput
39
40
  * // BackupVaultName: "STRING_VALUE",
40
41
  * // BackupVaultArn: "STRING_VALUE",
42
+ * // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
41
43
  * // EncryptionKeyArn: "STRING_VALUE",
42
44
  * // CreationDate: new Date("TIMESTAMP"),
43
45
  * // CreatorRequestId: "STRING_VALUE",
@@ -34,6 +34,7 @@ export interface DescribeRecoveryPointCommandOutput extends DescribeRecoveryPoin
34
34
  * const input = { // DescribeRecoveryPointInput
35
35
  * BackupVaultName: "STRING_VALUE", // required
36
36
  * RecoveryPointArn: "STRING_VALUE", // required
37
+ * BackupVaultAccountId: "STRING_VALUE",
37
38
  * };
38
39
  * const command = new DescribeRecoveryPointCommand(input);
39
40
  * const response = await client.send(command);
@@ -33,6 +33,7 @@ export interface GetRecoveryPointRestoreMetadataCommandOutput extends GetRecover
33
33
  * const input = { // GetRecoveryPointRestoreMetadataInput
34
34
  * BackupVaultName: "STRING_VALUE", // required
35
35
  * RecoveryPointArn: "STRING_VALUE", // required
36
+ * BackupVaultAccountId: "STRING_VALUE",
36
37
  * };
37
38
  * const command = new GetRecoveryPointRestoreMetadataCommand(input);
38
39
  * const response = await client.send(command);
@@ -32,6 +32,8 @@ export interface ListBackupVaultsCommandOutput extends ListBackupVaultsOutput, _
32
32
  * // const { BackupClient, ListBackupVaultsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
33
33
  * const client = new BackupClient(config);
34
34
  * const input = { // ListBackupVaultsInput
35
+ * ByVaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT",
36
+ * ByShared: true || false,
35
37
  * NextToken: "STRING_VALUE",
36
38
  * MaxResults: Number("int"),
37
39
  * };