@aws-sdk/client-backup 3.933.0 → 3.934.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 (37) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +251 -0
  3. package/dist-es/Backup.js +10 -0
  4. package/dist-es/commands/CreateTieringConfigurationCommand.js +16 -0
  5. package/dist-es/commands/DeleteTieringConfigurationCommand.js +16 -0
  6. package/dist-es/commands/GetTieringConfigurationCommand.js +16 -0
  7. package/dist-es/commands/ListTieringConfigurationsCommand.js +16 -0
  8. package/dist-es/commands/UpdateTieringConfigurationCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/pagination/ListTieringConfigurationsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/schemas/schemas_0.js +178 -0
  13. package/dist-types/Backup.d.ts +36 -0
  14. package/dist-types/BackupClient.d.ts +7 -2
  15. package/dist-types/commands/CreateTieringConfigurationCommand.d.ts +115 -0
  16. package/dist-types/commands/DeleteTieringConfigurationCommand.d.ts +85 -0
  17. package/dist-types/commands/GetTieringConfigurationCommand.d.ts +105 -0
  18. package/dist-types/commands/ListTieringConfigurationsCommand.d.ts +91 -0
  19. package/dist-types/commands/UpdateTieringConfigurationCommand.d.ts +134 -0
  20. package/dist-types/commands/index.d.ts +5 -0
  21. package/dist-types/models/models_0.d.ts +333 -0
  22. package/dist-types/pagination/ListTieringConfigurationsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +22 -0
  25. package/dist-types/ts3.4/Backup.d.ts +86 -0
  26. package/dist-types/ts3.4/BackupClient.d.ts +32 -2
  27. package/dist-types/ts3.4/commands/CreateTieringConfigurationCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/DeleteTieringConfigurationCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/GetTieringConfigurationCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/ListTieringConfigurationsCommand.d.ts +51 -0
  31. package/dist-types/ts3.4/commands/UpdateTieringConfigurationCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +68 -0
  34. package/dist-types/ts3.4/pagination/ListTieringConfigurationsPaginator.d.ts +11 -0
  35. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  37. package/package.json +5 -5
@@ -0,0 +1,115 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { CreateTieringConfigurationInput, CreateTieringConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateTieringConfigurationCommand}.
14
+ */
15
+ export interface CreateTieringConfigurationCommandInput extends CreateTieringConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateTieringConfigurationCommand}.
21
+ */
22
+ export interface CreateTieringConfigurationCommandOutput extends CreateTieringConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateTieringConfigurationCommand_base: {
25
+ new (input: CreateTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTieringConfigurationCommandInput, CreateTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTieringConfigurationCommandInput, CreateTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a tiering configuration.</p>
31
+ * <p>A tiering configuration enables automatic movement of backup data to a lower-cost storage tier based on the age of backed-up objects in the backup vault.</p>
32
+ * <p>Each vault can only have one vault-specific tiering configuration, in addition to any global configuration that applies to all vaults.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BackupClient, CreateTieringConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
37
+ * // const { BackupClient, CreateTieringConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
38
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
39
+ * const config = {}; // type is BackupClientConfig
40
+ * const client = new BackupClient(config);
41
+ * const input = { // CreateTieringConfigurationInput
42
+ * TieringConfiguration: { // TieringConfigurationInputForCreate
43
+ * TieringConfigurationName: "STRING_VALUE", // required
44
+ * BackupVaultName: "STRING_VALUE", // required
45
+ * ResourceSelection: [ // ResourceSelections // required
46
+ * { // ResourceSelection
47
+ * Resources: [ // ResourceArns // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * TieringDownSettingsInDays: Number("int"), // required
51
+ * ResourceType: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * },
55
+ * TieringConfigurationTags: { // Tags
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * CreatorRequestId: "STRING_VALUE",
59
+ * };
60
+ * const command = new CreateTieringConfigurationCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // CreateTieringConfigurationOutput
63
+ * // TieringConfigurationArn: "STRING_VALUE",
64
+ * // TieringConfigurationName: "STRING_VALUE",
65
+ * // CreationTime: new Date("TIMESTAMP"),
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param CreateTieringConfigurationCommandInput - {@link CreateTieringConfigurationCommandInput}
71
+ * @returns {@link CreateTieringConfigurationCommandOutput}
72
+ * @see {@link CreateTieringConfigurationCommandInput} for command's `input` shape.
73
+ * @see {@link CreateTieringConfigurationCommandOutput} for command's `response` shape.
74
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
75
+ *
76
+ * @throws {@link AlreadyExistsException} (client fault)
77
+ * <p>The required resource already exists.</p>
78
+ *
79
+ * @throws {@link ConflictException} (client fault)
80
+ * <p>Backup can't perform the action that you requested until it finishes
81
+ * performing a previous action. Try again later.</p>
82
+ *
83
+ * @throws {@link InvalidParameterValueException} (client fault)
84
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
85
+ * out of range.</p>
86
+ *
87
+ * @throws {@link LimitExceededException} (client fault)
88
+ * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
89
+ * in a request.</p>
90
+ *
91
+ * @throws {@link MissingParameterValueException} (client fault)
92
+ * <p>Indicates that a required parameter is missing.</p>
93
+ *
94
+ * @throws {@link ServiceUnavailableException} (server fault)
95
+ * <p>The request failed due to a temporary failure of the server.</p>
96
+ *
97
+ * @throws {@link BackupServiceException}
98
+ * <p>Base exception class for all service exceptions from Backup service.</p>
99
+ *
100
+ *
101
+ * @public
102
+ */
103
+ export declare class CreateTieringConfigurationCommand extends CreateTieringConfigurationCommand_base {
104
+ /** @internal type navigation helper, not in runtime. */
105
+ protected static __types: {
106
+ api: {
107
+ input: CreateTieringConfigurationInput;
108
+ output: CreateTieringConfigurationOutput;
109
+ };
110
+ sdk: {
111
+ input: CreateTieringConfigurationCommandInput;
112
+ output: CreateTieringConfigurationCommandOutput;
113
+ };
114
+ };
115
+ }
@@ -0,0 +1,85 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { DeleteTieringConfigurationInput, DeleteTieringConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteTieringConfigurationCommand}.
14
+ */
15
+ export interface DeleteTieringConfigurationCommandInput extends DeleteTieringConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteTieringConfigurationCommand}.
21
+ */
22
+ export interface DeleteTieringConfigurationCommandOutput extends DeleteTieringConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteTieringConfigurationCommand_base: {
25
+ new (input: DeleteTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTieringConfigurationCommandInput, DeleteTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTieringConfigurationCommandInput, DeleteTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the tiering configuration specified by a tiering configuration name.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, DeleteTieringConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, DeleteTieringConfigurationCommand } = 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 = { // DeleteTieringConfigurationInput
40
+ * TieringConfigurationName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteTieringConfigurationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteTieringConfigurationCommandInput - {@link DeleteTieringConfigurationCommandInput}
49
+ * @returns {@link DeleteTieringConfigurationCommandOutput}
50
+ * @see {@link DeleteTieringConfigurationCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteTieringConfigurationCommandOutput} 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 MissingParameterValueException} (client fault)
59
+ * <p>Indicates that a required parameter is missing.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>A resource that is required for the action doesn't exist.</p>
63
+ *
64
+ * @throws {@link ServiceUnavailableException} (server fault)
65
+ * <p>The request failed due to a temporary failure of the server.</p>
66
+ *
67
+ * @throws {@link BackupServiceException}
68
+ * <p>Base exception class for all service exceptions from Backup service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class DeleteTieringConfigurationCommand extends DeleteTieringConfigurationCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: DeleteTieringConfigurationInput;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: DeleteTieringConfigurationCommandInput;
82
+ output: DeleteTieringConfigurationCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { GetTieringConfigurationInput, GetTieringConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTieringConfigurationCommand}.
14
+ */
15
+ export interface GetTieringConfigurationCommandInput extends GetTieringConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTieringConfigurationCommand}.
21
+ */
22
+ export interface GetTieringConfigurationCommandOutput extends GetTieringConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const GetTieringConfigurationCommand_base: {
25
+ new (input: GetTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTieringConfigurationCommandInput, GetTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetTieringConfigurationCommandInput, GetTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns <code>TieringConfiguration</code> details for the specified
31
+ * <code>TieringConfigurationName</code>. The details are the body of a tiering configuration
32
+ * in JSON format, in addition to configuration metadata.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BackupClient, GetTieringConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
37
+ * // const { BackupClient, GetTieringConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
38
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
39
+ * const config = {}; // type is BackupClientConfig
40
+ * const client = new BackupClient(config);
41
+ * const input = { // GetTieringConfigurationInput
42
+ * TieringConfigurationName: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetTieringConfigurationCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetTieringConfigurationOutput
47
+ * // TieringConfiguration: { // TieringConfiguration
48
+ * // TieringConfigurationName: "STRING_VALUE", // required
49
+ * // TieringConfigurationArn: "STRING_VALUE",
50
+ * // BackupVaultName: "STRING_VALUE", // required
51
+ * // ResourceSelection: [ // ResourceSelections // required
52
+ * // { // ResourceSelection
53
+ * // Resources: [ // ResourceArns // required
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // TieringDownSettingsInDays: Number("int"), // required
57
+ * // ResourceType: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // CreatorRequestId: "STRING_VALUE",
61
+ * // CreationTime: new Date("TIMESTAMP"),
62
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
63
+ * // },
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param GetTieringConfigurationCommandInput - {@link GetTieringConfigurationCommandInput}
69
+ * @returns {@link GetTieringConfigurationCommandOutput}
70
+ * @see {@link GetTieringConfigurationCommandInput} for command's `input` shape.
71
+ * @see {@link GetTieringConfigurationCommandOutput} 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 MissingParameterValueException} (client fault)
79
+ * <p>Indicates that a required parameter is missing.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>A resource that is required for the action doesn't exist.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The request failed due to a temporary failure of the server.</p>
86
+ *
87
+ * @throws {@link BackupServiceException}
88
+ * <p>Base exception class for all service exceptions from Backup service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class GetTieringConfigurationCommand extends GetTieringConfigurationCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetTieringConfigurationInput;
98
+ output: GetTieringConfigurationOutput;
99
+ };
100
+ sdk: {
101
+ input: GetTieringConfigurationCommandInput;
102
+ output: GetTieringConfigurationCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { ListTieringConfigurationsInput, ListTieringConfigurationsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTieringConfigurationsCommand}.
14
+ */
15
+ export interface ListTieringConfigurationsCommandInput extends ListTieringConfigurationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTieringConfigurationsCommand}.
21
+ */
22
+ export interface ListTieringConfigurationsCommandOutput extends ListTieringConfigurationsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListTieringConfigurationsCommand_base: {
25
+ new (input: ListTieringConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListTieringConfigurationsCommandInput, ListTieringConfigurationsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTieringConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTieringConfigurationsCommandInput, ListTieringConfigurationsCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of tiering configurations.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BackupClient, ListTieringConfigurationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
35
+ * // const { BackupClient, ListTieringConfigurationsCommand } = 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 = { // ListTieringConfigurationsInput
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListTieringConfigurationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListTieringConfigurationsOutput
46
+ * // TieringConfigurations: [ // TieringConfigurationsList
47
+ * // { // TieringConfigurationsListMember
48
+ * // TieringConfigurationArn: "STRING_VALUE",
49
+ * // TieringConfigurationName: "STRING_VALUE",
50
+ * // BackupVaultName: "STRING_VALUE",
51
+ * // CreationTime: new Date("TIMESTAMP"),
52
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListTieringConfigurationsCommandInput - {@link ListTieringConfigurationsCommandInput}
61
+ * @returns {@link ListTieringConfigurationsCommandOutput}
62
+ * @see {@link ListTieringConfigurationsCommandInput} for command's `input` shape.
63
+ * @see {@link ListTieringConfigurationsCommandOutput} for command's `response` shape.
64
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
65
+ *
66
+ * @throws {@link InvalidParameterValueException} (client fault)
67
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
68
+ * out of range.</p>
69
+ *
70
+ * @throws {@link ServiceUnavailableException} (server fault)
71
+ * <p>The request failed due to a temporary failure of the server.</p>
72
+ *
73
+ * @throws {@link BackupServiceException}
74
+ * <p>Base exception class for all service exceptions from Backup service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class ListTieringConfigurationsCommand extends ListTieringConfigurationsCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: ListTieringConfigurationsInput;
84
+ output: ListTieringConfigurationsOutput;
85
+ };
86
+ sdk: {
87
+ input: ListTieringConfigurationsCommandInput;
88
+ output: ListTieringConfigurationsCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupClient";
4
+ import { UpdateTieringConfigurationInput, UpdateTieringConfigurationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateTieringConfigurationCommand}.
14
+ */
15
+ export interface UpdateTieringConfigurationCommandInput extends UpdateTieringConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateTieringConfigurationCommand}.
21
+ */
22
+ export interface UpdateTieringConfigurationCommandOutput extends UpdateTieringConfigurationOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateTieringConfigurationCommand_base: {
25
+ new (input: UpdateTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTieringConfigurationCommandInput, UpdateTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateTieringConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTieringConfigurationCommandInput, UpdateTieringConfigurationCommandOutput, BackupClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This request will send changes to your specified tiering
31
+ * configuration. <code>TieringConfigurationName</code>
32
+ * cannot be updated after it is created.</p>
33
+ * <p>
34
+ * <code>ResourceSelection</code> can contain:</p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <code>Resources</code>
39
+ * </p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <code>TieringDownSettingsInDays</code>
44
+ * </p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>ResourceType</code>
49
+ * </p>
50
+ * </li>
51
+ * </ul>
52
+ * @example
53
+ * Use a bare-bones client and the command you need to make an API call.
54
+ * ```javascript
55
+ * import { BackupClient, UpdateTieringConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
56
+ * // const { BackupClient, UpdateTieringConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
57
+ * // import type { BackupClientConfig } from "@aws-sdk/client-backup";
58
+ * const config = {}; // type is BackupClientConfig
59
+ * const client = new BackupClient(config);
60
+ * const input = { // UpdateTieringConfigurationInput
61
+ * TieringConfigurationName: "STRING_VALUE", // required
62
+ * TieringConfiguration: { // TieringConfigurationInputForUpdate
63
+ * ResourceSelection: [ // ResourceSelections // required
64
+ * { // ResourceSelection
65
+ * Resources: [ // ResourceArns // required
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * TieringDownSettingsInDays: Number("int"), // required
69
+ * ResourceType: "STRING_VALUE", // required
70
+ * },
71
+ * ],
72
+ * BackupVaultName: "STRING_VALUE", // required
73
+ * },
74
+ * };
75
+ * const command = new UpdateTieringConfigurationCommand(input);
76
+ * const response = await client.send(command);
77
+ * // { // UpdateTieringConfigurationOutput
78
+ * // TieringConfigurationArn: "STRING_VALUE",
79
+ * // TieringConfigurationName: "STRING_VALUE",
80
+ * // CreationTime: new Date("TIMESTAMP"),
81
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param UpdateTieringConfigurationCommandInput - {@link UpdateTieringConfigurationCommandInput}
87
+ * @returns {@link UpdateTieringConfigurationCommandOutput}
88
+ * @see {@link UpdateTieringConfigurationCommandInput} for command's `input` shape.
89
+ * @see {@link UpdateTieringConfigurationCommandOutput} for command's `response` shape.
90
+ * @see {@link BackupClientResolvedConfig | config} for BackupClient's `config` shape.
91
+ *
92
+ * @throws {@link AlreadyExistsException} (client fault)
93
+ * <p>The required resource already exists.</p>
94
+ *
95
+ * @throws {@link ConflictException} (client fault)
96
+ * <p>Backup can't perform the action that you requested until it finishes
97
+ * performing a previous action. Try again later.</p>
98
+ *
99
+ * @throws {@link InvalidParameterValueException} (client fault)
100
+ * <p>Indicates that something is wrong with a parameter's value. For example, the value is
101
+ * out of range.</p>
102
+ *
103
+ * @throws {@link LimitExceededException} (client fault)
104
+ * <p>A limit in the request has been exceeded; for example, a maximum number of items allowed
105
+ * in a request.</p>
106
+ *
107
+ * @throws {@link MissingParameterValueException} (client fault)
108
+ * <p>Indicates that a required parameter is missing.</p>
109
+ *
110
+ * @throws {@link ResourceNotFoundException} (client fault)
111
+ * <p>A resource that is required for the action doesn't exist.</p>
112
+ *
113
+ * @throws {@link ServiceUnavailableException} (server fault)
114
+ * <p>The request failed due to a temporary failure of the server.</p>
115
+ *
116
+ * @throws {@link BackupServiceException}
117
+ * <p>Base exception class for all service exceptions from Backup service.</p>
118
+ *
119
+ *
120
+ * @public
121
+ */
122
+ export declare class UpdateTieringConfigurationCommand extends UpdateTieringConfigurationCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: UpdateTieringConfigurationInput;
127
+ output: UpdateTieringConfigurationOutput;
128
+ };
129
+ sdk: {
130
+ input: UpdateTieringConfigurationCommandInput;
131
+ output: UpdateTieringConfigurationCommandOutput;
132
+ };
133
+ };
134
+ }
@@ -10,6 +10,7 @@ export * from "./CreateReportPlanCommand";
10
10
  export * from "./CreateRestoreAccessBackupVaultCommand";
11
11
  export * from "./CreateRestoreTestingPlanCommand";
12
12
  export * from "./CreateRestoreTestingSelectionCommand";
13
+ export * from "./CreateTieringConfigurationCommand";
13
14
  export * from "./DeleteBackupPlanCommand";
14
15
  export * from "./DeleteBackupSelectionCommand";
15
16
  export * from "./DeleteBackupVaultAccessPolicyCommand";
@@ -21,6 +22,7 @@ export * from "./DeleteRecoveryPointCommand";
21
22
  export * from "./DeleteReportPlanCommand";
22
23
  export * from "./DeleteRestoreTestingPlanCommand";
23
24
  export * from "./DeleteRestoreTestingSelectionCommand";
25
+ export * from "./DeleteTieringConfigurationCommand";
24
26
  export * from "./DescribeBackupJobCommand";
25
27
  export * from "./DescribeBackupVaultCommand";
26
28
  export * from "./DescribeCopyJobCommand";
@@ -50,6 +52,7 @@ export * from "./GetRestoreTestingInferredMetadataCommand";
50
52
  export * from "./GetRestoreTestingPlanCommand";
51
53
  export * from "./GetRestoreTestingSelectionCommand";
52
54
  export * from "./GetSupportedResourceTypesCommand";
55
+ export * from "./GetTieringConfigurationCommand";
53
56
  export * from "./ListBackupJobSummariesCommand";
54
57
  export * from "./ListBackupJobsCommand";
55
58
  export * from "./ListBackupPlanTemplatesCommand";
@@ -76,6 +79,7 @@ export * from "./ListRestoreJobsCommand";
76
79
  export * from "./ListRestoreTestingPlansCommand";
77
80
  export * from "./ListRestoreTestingSelectionsCommand";
78
81
  export * from "./ListTagsCommand";
82
+ export * from "./ListTieringConfigurationsCommand";
79
83
  export * from "./PutBackupVaultAccessPolicyCommand";
80
84
  export * from "./PutBackupVaultLockConfigurationCommand";
81
85
  export * from "./PutBackupVaultNotificationsCommand";
@@ -97,3 +101,4 @@ export * from "./UpdateRegionSettingsCommand";
97
101
  export * from "./UpdateReportPlanCommand";
98
102
  export * from "./UpdateRestoreTestingPlanCommand";
99
103
  export * from "./UpdateRestoreTestingSelectionCommand";
104
+ export * from "./UpdateTieringConfigurationCommand";