@aws-sdk/client-backup 3.1104.0 → 3.1105.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 (52) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +190 -1
  3. package/dist-es/Backup.js +18 -0
  4. package/dist-es/commands/CreateBackupAccessPointCommand.js +4 -0
  5. package/dist-es/commands/DeleteBackupAccessPointCommand.js +4 -0
  6. package/dist-es/commands/DescribeBackupAccessPointCommand.js +4 -0
  7. package/dist-es/commands/ListBackupAccessPointsByRecoveryPointCommand.js +4 -0
  8. package/dist-es/commands/ListBackupAccessPointsByResourceCommand.js +4 -0
  9. package/dist-es/commands/ListBackupAccessPointsCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +15 -0
  12. package/dist-es/pagination/ListBackupAccessPointsByRecoveryPointPaginator.js +4 -0
  13. package/dist-es/pagination/ListBackupAccessPointsByResourcePaginator.js +4 -0
  14. package/dist-es/pagination/ListBackupAccessPointsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +3 -0
  16. package/dist-es/schemas/schemas_0.js +113 -0
  17. package/dist-types/Backup.d.ts +64 -0
  18. package/dist-types/BackupClient.d.ts +8 -2
  19. package/dist-types/commands/CreateBackupAccessPointCommand.d.ts +112 -0
  20. package/dist-types/commands/DeleteBackupAccessPointCommand.d.ts +89 -0
  21. package/dist-types/commands/DescribeBackupAccessPointCommand.d.ts +103 -0
  22. package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListBackupAccessPointsByRecoveryPointCommand.d.ts +99 -0
  24. package/dist-types/commands/ListBackupAccessPointsByResourceCommand.d.ts +98 -0
  25. package/dist-types/commands/ListBackupAccessPointsCommand.d.ts +96 -0
  26. package/dist-types/commands/ListProtectedResourcesCommand.d.ts +4 -3
  27. package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +1 -1
  28. package/dist-types/commands/index.d.ts +6 -0
  29. package/dist-types/models/enums.d.ts +23 -0
  30. package/dist-types/models/models_0.d.ts +335 -3
  31. package/dist-types/pagination/ListBackupAccessPointsByRecoveryPointPaginator.d.ts +7 -0
  32. package/dist-types/pagination/ListBackupAccessPointsByResourcePaginator.d.ts +7 -0
  33. package/dist-types/pagination/ListBackupAccessPointsPaginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +3 -0
  35. package/dist-types/schemas/schemas_0.d.ts +18 -0
  36. package/dist-types/ts3.4/Backup.d.ts +124 -0
  37. package/dist-types/ts3.4/BackupClient.d.ts +36 -0
  38. package/dist-types/ts3.4/commands/CreateBackupAccessPointCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/DeleteBackupAccessPointCommand.d.ts +38 -0
  40. package/dist-types/ts3.4/commands/DescribeBackupAccessPointCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/ListBackupAccessPointsByRecoveryPointCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/ListBackupAccessPointsByResourceCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/ListBackupAccessPointsCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  45. package/dist-types/ts3.4/models/enums.d.ts +16 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +70 -0
  47. package/dist-types/ts3.4/pagination/ListBackupAccessPointsByRecoveryPointPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/ListBackupAccessPointsByResourcePaginator.d.ts +11 -0
  49. package/dist-types/ts3.4/pagination/ListBackupAccessPointsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  52. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteBackupAccessPointInput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteBackupAccessPointCommand}.
11
+ */
12
+ export interface DeleteBackupAccessPointCommandInput extends DeleteBackupAccessPointInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteBackupAccessPointCommand}.
18
+ */
19
+ export interface DeleteBackupAccessPointCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const DeleteBackupAccessPointCommand_base: {
22
+ new (input: DeleteBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteBackupAccessPointCommandInput, DeleteBackupAccessPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DeleteBackupAccessPointCommandInput, DeleteBackupAccessPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a backup access point. This deletes the underlying Amazon S3 access point and, if no other
28
+ * backup access points remain for the recovery point, resumes lifecycle transitions for that recovery point.</p>
29
+ * <p>Always delete backup access points using this operation rather than deleting the underlying Amazon S3
30
+ * access point directly.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, DeleteBackupAccessPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, DeleteBackupAccessPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
37
+ * const config = {}; // type is BackupClientConfig
38
+ * const client = new BackupClient(config);
39
+ * const input = { // DeleteBackupAccessPointInput
40
+ * AccessPointArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteBackupAccessPointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteBackupAccessPointCommandInput - {@link DeleteBackupAccessPointCommandInput}
49
+ * @returns {@link DeleteBackupAccessPointCommandOutput}
50
+ * @see {@link DeleteBackupAccessPointCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteBackupAccessPointCommandOutput} for command's `response` shape.
52
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
53
+ *
54
+ * @throws {@link InvalidParameterValueException} (client fault)
55
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
56
+ * out of range.</p>
57
+ *
58
+ * @throws {@link InvalidRequestException} (client fault)
59
+ * <p>Indicates that something is wrong with the input to the request. For example, a
60
+ * parameter is of the wrong type.</p>
61
+ *
62
+ * @throws {@link MissingParameterValueException} (client fault)
63
+ * <p>Indicates that a required parameter is missing.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>A resource that is required for the action doesn't exist.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The request failed due to a temporary failure of the server.</p>
70
+ *
71
+ * @throws {@link BackupServiceException}
72
+ * <p>Base exception class for all service exceptions from Backup service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteBackupAccessPointCommand extends DeleteBackupAccessPointCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteBackupAccessPointInput;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeleteBackupAccessPointCommandInput;
86
+ output: DeleteBackupAccessPointCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeBackupAccessPointInput, DescribeBackupAccessPointResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeBackupAccessPointCommand}.
11
+ */
12
+ export interface DescribeBackupAccessPointCommandInput extends DescribeBackupAccessPointInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeBackupAccessPointCommand}.
18
+ */
19
+ export interface DescribeBackupAccessPointCommandOutput extends DescribeBackupAccessPointResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeBackupAccessPointCommand_base: {
22
+ new (input: DescribeBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DescribeBackupAccessPointCommandInput, DescribeBackupAccessPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeBackupAccessPointCommandInput): import("@smithy/core/client").CommandImpl<DescribeBackupAccessPointCommandInput, DescribeBackupAccessPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns metadata about a backup access point, including its status and the details of the underlying
28
+ * Amazon S3 access point.</p>
29
+ * <p>After a backup access point reaches the <code>AVAILABLE</code> status, use this operation to retrieve the
30
+ * Amazon S3 access point ARN and alias that you need to read the backup data.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, DescribeBackupAccessPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, DescribeBackupAccessPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
36
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
37
+ * const config = {}; // type is BackupClientConfig
38
+ * const client = new BackupClient(config);
39
+ * const input = { // DescribeBackupAccessPointInput
40
+ * AccessPointArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DescribeBackupAccessPointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DescribeBackupAccessPointResponse
45
+ * // AccessPointArn: "STRING_VALUE", // required
46
+ * // AccessPointMetadata: { // AccessPointMetadataMap
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // BackupVaultArn: "STRING_VALUE",
50
+ * // BackupVaultName: "STRING_VALUE", // required
51
+ * // CreationTime: new Date("TIMESTAMP"), // required
52
+ * // Name: "STRING_VALUE", // required
53
+ * // RecoveryPointArn: "STRING_VALUE", // required
54
+ * // ResourceArn: "STRING_VALUE", // required
55
+ * // ResourceType: "STRING_VALUE", // required
56
+ * // Status: "AVAILABLE" || "CREATING" || "DELETING" || "DISASSOCIATED" || "DISASSOCIATING" || "EXPIRED" || "FAILED", // required
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param DescribeBackupAccessPointCommandInput - {@link DescribeBackupAccessPointCommandInput}
63
+ * @returns {@link DescribeBackupAccessPointCommandOutput}
64
+ * @see {@link DescribeBackupAccessPointCommandInput} for command's `input` shape.
65
+ * @see {@link DescribeBackupAccessPointCommandOutput} for command's `response` shape.
66
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
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 MissingParameterValueException} (client fault)
77
+ * <p>Indicates that a required parameter is missing.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>A resource that is required for the action doesn't exist.</p>
81
+ *
82
+ * @throws {@link ServiceUnavailableException} (server fault)
83
+ * <p>The request failed due to a temporary failure of the server.</p>
84
+ *
85
+ * @throws {@link BackupServiceException}
86
+ * <p>Base exception class for all service exceptions from Backup service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DescribeBackupAccessPointCommand extends DescribeBackupAccessPointCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DescribeBackupAccessPointInput;
96
+ output: DescribeBackupAccessPointResponse;
97
+ };
98
+ sdk: {
99
+ input: DescribeBackupAccessPointCommandInput;
100
+ output: DescribeBackupAccessPointCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -43,7 +43,7 @@ declare const GetBackupVaultNotificationsCommand_base: {
43
43
  * // BackupVaultArn: "STRING_VALUE",
44
44
  * // SNSTopicArn: "STRING_VALUE",
45
45
  * // BackupVaultEvents: [ // BackupVaultEvents
46
- * // "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED" || "EKS_RESTORE_OBJECT_FAILED" || "EKS_RESTORE_OBJECT_SKIPPED" || "EKS_BACKUP_OBJECT_FAILED",
46
+ * // "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED" || "EKS_RESTORE_OBJECT_FAILED" || "EKS_RESTORE_OBJECT_SKIPPED" || "EKS_BACKUP_OBJECT_FAILED" || "ACCESS_POINT_AVAILABLE" || "ACCESS_POINT_CREATION_FAILED" || "ACCESS_POINT_DELETED" || "ACCESS_POINT_DELETION_FAILED" || "ACCESS_POINT_EXPIRED" || "ACCESS_POINT_DISASSOCIATED",
47
47
  * // ],
48
48
  * // };
49
49
  *
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListBackupAccessPointsByRecoveryPointRequest, ListBackupAccessPointsByRecoveryPointResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListBackupAccessPointsByRecoveryPointCommand}.
11
+ */
12
+ export interface ListBackupAccessPointsByRecoveryPointCommandInput extends ListBackupAccessPointsByRecoveryPointRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListBackupAccessPointsByRecoveryPointCommand}.
18
+ */
19
+ export interface ListBackupAccessPointsByRecoveryPointCommandOutput extends ListBackupAccessPointsByRecoveryPointResponse, __MetadataBearer {
20
+ }
21
+ declare const ListBackupAccessPointsByRecoveryPointCommand_base: {
22
+ new (input: ListBackupAccessPointsByRecoveryPointCommandInput): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsByRecoveryPointCommandInput, ListBackupAccessPointsByRecoveryPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListBackupAccessPointsByRecoveryPointCommandInput): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsByRecoveryPointCommandInput, ListBackupAccessPointsByRecoveryPointCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the backup access points associated with the specified recovery point.</p>
28
+ * <p>If you own the recovery point and have shared it with other accounts, the response includes backup access
29
+ * points created by those accounts.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { BackupClient, ListBackupAccessPointsByRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
34
+ * // const { BackupClient, ListBackupAccessPointsByRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
35
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
36
+ * const config = {}; // type is BackupClientConfig
37
+ * const client = new BackupClient(config);
38
+ * const input = { // ListBackupAccessPointsByRecoveryPointRequest
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * RecoveryPointArn: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new ListBackupAccessPointsByRecoveryPointCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListBackupAccessPointsByRecoveryPointResponse
46
+ * // BackupAccessPoints: [ // BackupAccessPoints // required
47
+ * // { // ListAccessPointsMember
48
+ * // AccessPointArn: "STRING_VALUE", // required
49
+ * // AccessPointMetadata: { // AccessPointMetadataMap // required
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // BackupVaultArn: "STRING_VALUE",
53
+ * // BackupVaultName: "STRING_VALUE", // required
54
+ * // CreationTime: new Date("TIMESTAMP"), // required
55
+ * // Name: "STRING_VALUE", // required
56
+ * // RecoveryPointArn: "STRING_VALUE", // required
57
+ * // ResourceArn: "STRING_VALUE", // required
58
+ * // ResourceType: "STRING_VALUE", // required
59
+ * // Status: "AVAILABLE" || "CREATING" || "DELETING" || "DISASSOCIATED" || "DISASSOCIATING" || "EXPIRED" || "FAILED", // required
60
+ * // StatusMessage: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // NextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListBackupAccessPointsByRecoveryPointCommandInput - {@link ListBackupAccessPointsByRecoveryPointCommandInput}
69
+ * @returns {@link ListBackupAccessPointsByRecoveryPointCommandOutput}
70
+ * @see {@link ListBackupAccessPointsByRecoveryPointCommandInput} for command's `input` shape.
71
+ * @see {@link ListBackupAccessPointsByRecoveryPointCommandOutput} for command's `response` shape.
72
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
73
+ *
74
+ * @throws {@link InvalidParameterValueException} (client fault)
75
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
76
+ * out of range.</p>
77
+ *
78
+ * @throws {@link ServiceUnavailableException} (server fault)
79
+ * <p>The request failed due to a temporary failure of the server.</p>
80
+ *
81
+ * @throws {@link BackupServiceException}
82
+ * <p>Base exception class for all service exceptions from Backup service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListBackupAccessPointsByRecoveryPointCommand extends ListBackupAccessPointsByRecoveryPointCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListBackupAccessPointsByRecoveryPointRequest;
92
+ output: ListBackupAccessPointsByRecoveryPointResponse;
93
+ };
94
+ sdk: {
95
+ input: ListBackupAccessPointsByRecoveryPointCommandInput;
96
+ output: ListBackupAccessPointsByRecoveryPointCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,98 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListBackupAccessPointsByResourceRequest, ListBackupAccessPointsByResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListBackupAccessPointsByResourceCommand}.
11
+ */
12
+ export interface ListBackupAccessPointsByResourceCommandInput extends ListBackupAccessPointsByResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListBackupAccessPointsByResourceCommand}.
18
+ */
19
+ export interface ListBackupAccessPointsByResourceCommandOutput extends ListBackupAccessPointsByResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const ListBackupAccessPointsByResourceCommand_base: {
22
+ new (input: ListBackupAccessPointsByResourceCommandInput): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsByResourceCommandInput, ListBackupAccessPointsByResourceCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListBackupAccessPointsByResourceCommandInput): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsByResourceCommandInput, ListBackupAccessPointsByResourceCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the backup access points associated with the specified resource, such as an Amazon S3
28
+ * bucket.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { BackupClient, ListBackupAccessPointsByResourceCommand } from "@aws-sdk/client-backup"; // ES Modules import
33
+ * // const { BackupClient, ListBackupAccessPointsByResourceCommand } = require("@aws-sdk/client-backup"); // CommonJS import
34
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
35
+ * const config = {}; // type is BackupClientConfig
36
+ * const client = new BackupClient(config);
37
+ * const input = { // ListBackupAccessPointsByResourceRequest
38
+ * MaxResults: Number("int"),
39
+ * NextToken: "STRING_VALUE",
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListBackupAccessPointsByResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListBackupAccessPointsByResourceResponse
45
+ * // BackupAccessPoints: [ // BackupAccessPoints // required
46
+ * // { // ListAccessPointsMember
47
+ * // AccessPointArn: "STRING_VALUE", // required
48
+ * // AccessPointMetadata: { // AccessPointMetadataMap // required
49
+ * // "<keys>": "STRING_VALUE",
50
+ * // },
51
+ * // BackupVaultArn: "STRING_VALUE",
52
+ * // BackupVaultName: "STRING_VALUE", // required
53
+ * // CreationTime: new Date("TIMESTAMP"), // required
54
+ * // Name: "STRING_VALUE", // required
55
+ * // RecoveryPointArn: "STRING_VALUE", // required
56
+ * // ResourceArn: "STRING_VALUE", // required
57
+ * // ResourceType: "STRING_VALUE", // required
58
+ * // Status: "AVAILABLE" || "CREATING" || "DELETING" || "DISASSOCIATED" || "DISASSOCIATING" || "EXPIRED" || "FAILED", // required
59
+ * // StatusMessage: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // NextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListBackupAccessPointsByResourceCommandInput - {@link ListBackupAccessPointsByResourceCommandInput}
68
+ * @returns {@link ListBackupAccessPointsByResourceCommandOutput}
69
+ * @see {@link ListBackupAccessPointsByResourceCommandInput} for command's `input` shape.
70
+ * @see {@link ListBackupAccessPointsByResourceCommandOutput} for command's `response` shape.
71
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
72
+ *
73
+ * @throws {@link InvalidParameterValueException} (client fault)
74
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
75
+ * out of range.</p>
76
+ *
77
+ * @throws {@link ServiceUnavailableException} (server fault)
78
+ * <p>The request failed due to a temporary failure of the server.</p>
79
+ *
80
+ * @throws {@link BackupServiceException}
81
+ * <p>Base exception class for all service exceptions from Backup service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class ListBackupAccessPointsByResourceCommand extends ListBackupAccessPointsByResourceCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: ListBackupAccessPointsByResourceRequest;
91
+ output: ListBackupAccessPointsByResourceResponse;
92
+ };
93
+ sdk: {
94
+ input: ListBackupAccessPointsByResourceCommandInput;
95
+ output: ListBackupAccessPointsByResourceCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListBackupAccessPointsRequest, ListBackupAccessPointsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListBackupAccessPointsCommand}.
11
+ */
12
+ export interface ListBackupAccessPointsCommandInput extends ListBackupAccessPointsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListBackupAccessPointsCommand}.
18
+ */
19
+ export interface ListBackupAccessPointsCommandOutput extends ListBackupAccessPointsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListBackupAccessPointsCommand_base: {
22
+ new (input: ListBackupAccessPointsCommandInput): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsCommandInput, ListBackupAccessPointsCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListBackupAccessPointsCommandInput]): import("@smithy/core/client").CommandImpl<ListBackupAccessPointsCommandInput, ListBackupAccessPointsCommandOutput, import("..").BackupClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of the backup access points in your account and Region.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BackupClient, ListBackupAccessPointsCommand } from "@aws-sdk/client-backup"; // ES Modules import
32
+ * // const { BackupClient, ListBackupAccessPointsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
33
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
34
+ * const config = {}; // type is BackupClientConfig
35
+ * const client = new BackupClient(config);
36
+ * const input = { // ListBackupAccessPointsRequest
37
+ * MaxResults: Number("int"),
38
+ * NextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListBackupAccessPointsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListBackupAccessPointsResponse
43
+ * // BackupAccessPoints: [ // BackupAccessPoints // required
44
+ * // { // ListAccessPointsMember
45
+ * // AccessPointArn: "STRING_VALUE", // required
46
+ * // AccessPointMetadata: { // AccessPointMetadataMap // required
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // BackupVaultArn: "STRING_VALUE",
50
+ * // BackupVaultName: "STRING_VALUE", // required
51
+ * // CreationTime: new Date("TIMESTAMP"), // required
52
+ * // Name: "STRING_VALUE", // required
53
+ * // RecoveryPointArn: "STRING_VALUE", // required
54
+ * // ResourceArn: "STRING_VALUE", // required
55
+ * // ResourceType: "STRING_VALUE", // required
56
+ * // Status: "AVAILABLE" || "CREATING" || "DELETING" || "DISASSOCIATED" || "DISASSOCIATING" || "EXPIRED" || "FAILED", // required
57
+ * // StatusMessage: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListBackupAccessPointsCommandInput - {@link ListBackupAccessPointsCommandInput}
66
+ * @returns {@link ListBackupAccessPointsCommandOutput}
67
+ * @see {@link ListBackupAccessPointsCommandInput} for command's `input` shape.
68
+ * @see {@link ListBackupAccessPointsCommandOutput} for command's `response` shape.
69
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
70
+ *
71
+ * @throws {@link InvalidParameterValueException} (client fault)
72
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
73
+ * out of range.</p>
74
+ *
75
+ * @throws {@link ServiceUnavailableException} (server fault)
76
+ * <p>The request failed due to a temporary failure of the server.</p>
77
+ *
78
+ * @throws {@link BackupServiceException}
79
+ * <p>Base exception class for all service exceptions from Backup service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListBackupAccessPointsCommand extends ListBackupAccessPointsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListBackupAccessPointsRequest;
89
+ output: ListBackupAccessPointsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListBackupAccessPointsCommandInput;
93
+ output: ListBackupAccessPointsCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -24,9 +24,10 @@ declare const ListProtectedResourcesCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Returns an array of resources successfully backed up by Backup, including
28
- * the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a
29
- * resource type.</p>
27
+ * <p>Returns an array of resources with recovery points created by Backup
28
+ * (regardless of the recovery point's <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_DescribeRecoveryPoint.html#Backup-DescribeRecoveryPoint-response-Status">status</a>),
29
+ * including the time the resource was saved, an Amazon Resource Name (ARN) of the resource,
30
+ * and a resource type.</p>
30
31
  * @example
31
32
  * Use a bare-bones client and the command you need to make an API call.
32
33
  * ```javascript
@@ -37,7 +37,7 @@ declare const PutBackupVaultNotificationsCommand_base: {
37
37
  * BackupVaultName: "STRING_VALUE", // required
38
38
  * SNSTopicArn: "STRING_VALUE", // required
39
39
  * BackupVaultEvents: [ // BackupVaultEvents // required
40
- * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED" || "EKS_RESTORE_OBJECT_FAILED" || "EKS_RESTORE_OBJECT_SKIPPED" || "EKS_BACKUP_OBJECT_FAILED",
40
+ * "BACKUP_JOB_STARTED" || "BACKUP_JOB_COMPLETED" || "BACKUP_JOB_SUCCESSFUL" || "BACKUP_JOB_FAILED" || "BACKUP_JOB_EXPIRED" || "RESTORE_JOB_STARTED" || "RESTORE_JOB_COMPLETED" || "RESTORE_JOB_SUCCESSFUL" || "RESTORE_JOB_FAILED" || "COPY_JOB_STARTED" || "COPY_JOB_SUCCESSFUL" || "COPY_JOB_FAILED" || "RECOVERY_POINT_MODIFIED" || "BACKUP_PLAN_CREATED" || "BACKUP_PLAN_MODIFIED" || "S3_BACKUP_OBJECT_FAILED" || "S3_RESTORE_OBJECT_FAILED" || "CONTINUOUS_BACKUP_INTERRUPTED" || "RECOVERY_POINT_INDEX_COMPLETED" || "RECOVERY_POINT_INDEX_DELETED" || "RECOVERY_POINT_INDEXING_FAILED" || "EKS_RESTORE_OBJECT_FAILED" || "EKS_RESTORE_OBJECT_SKIPPED" || "EKS_BACKUP_OBJECT_FAILED" || "ACCESS_POINT_AVAILABLE" || "ACCESS_POINT_CREATION_FAILED" || "ACCESS_POINT_DELETED" || "ACCESS_POINT_DELETION_FAILED" || "ACCESS_POINT_EXPIRED" || "ACCESS_POINT_DISASSOCIATED",
41
41
  * ],
42
42
  * };
43
43
  * const command = new PutBackupVaultNotificationsCommand(input);
@@ -1,5 +1,6 @@
1
1
  export * from "./AssociateBackupVaultMpaApprovalTeamCommand";
2
2
  export * from "./CancelLegalHoldCommand";
3
+ export * from "./CreateBackupAccessPointCommand";
3
4
  export * from "./CreateBackupPlanCommand";
4
5
  export * from "./CreateBackupSelectionCommand";
5
6
  export * from "./CreateBackupVaultCommand";
@@ -11,6 +12,7 @@ export * from "./CreateRestoreAccessBackupVaultCommand";
11
12
  export * from "./CreateRestoreTestingPlanCommand";
12
13
  export * from "./CreateRestoreTestingSelectionCommand";
13
14
  export * from "./CreateTieringConfigurationCommand";
15
+ export * from "./DeleteBackupAccessPointCommand";
14
16
  export * from "./DeleteBackupPlanCommand";
15
17
  export * from "./DeleteBackupSelectionCommand";
16
18
  export * from "./DeleteBackupVaultAccessPolicyCommand";
@@ -23,6 +25,7 @@ export * from "./DeleteReportPlanCommand";
23
25
  export * from "./DeleteRestoreTestingPlanCommand";
24
26
  export * from "./DeleteRestoreTestingSelectionCommand";
25
27
  export * from "./DeleteTieringConfigurationCommand";
28
+ export * from "./DescribeBackupAccessPointCommand";
26
29
  export * from "./DescribeBackupJobCommand";
27
30
  export * from "./DescribeBackupVaultCommand";
28
31
  export * from "./DescribeCopyJobCommand";
@@ -55,6 +58,9 @@ export * from "./GetRestoreTestingPlanCommand";
55
58
  export * from "./GetRestoreTestingSelectionCommand";
56
59
  export * from "./GetSupportedResourceTypesCommand";
57
60
  export * from "./GetTieringConfigurationCommand";
61
+ export * from "./ListBackupAccessPointsByRecoveryPointCommand";
62
+ export * from "./ListBackupAccessPointsByResourceCommand";
63
+ export * from "./ListBackupAccessPointsCommand";
58
64
  export * from "./ListBackupJobSummariesCommand";
59
65
  export * from "./ListBackupJobsCommand";
60
66
  export * from "./ListBackupPlanTemplatesCommand";
@@ -1,3 +1,20 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessPointStatus: {
6
+ readonly AVAILABLE: "AVAILABLE";
7
+ readonly CREATING: "CREATING";
8
+ readonly DELETING: "DELETING";
9
+ readonly DISASSOCIATED: "DISASSOCIATED";
10
+ readonly DISASSOCIATING: "DISASSOCIATING";
11
+ readonly EXPIRED: "EXPIRED";
12
+ readonly FAILED: "FAILED";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type AccessPointStatus = (typeof AccessPointStatus)[keyof typeof AccessPointStatus];
1
18
  /**
2
19
  * @public
3
20
  * @enum
@@ -112,6 +129,12 @@ export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
112
129
  * @enum
113
130
  */
114
131
  export declare const BackupVaultEvent: {
132
+ readonly ACCESS_POINT_AVAILABLE: "ACCESS_POINT_AVAILABLE";
133
+ readonly ACCESS_POINT_CREATION_FAILED: "ACCESS_POINT_CREATION_FAILED";
134
+ readonly ACCESS_POINT_DELETED: "ACCESS_POINT_DELETED";
135
+ readonly ACCESS_POINT_DELETION_FAILED: "ACCESS_POINT_DELETION_FAILED";
136
+ readonly ACCESS_POINT_DISASSOCIATED: "ACCESS_POINT_DISASSOCIATED";
137
+ readonly ACCESS_POINT_EXPIRED: "ACCESS_POINT_EXPIRED";
115
138
  readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
116
139
  readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
117
140
  readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";