create_tiering_configuration
async
¶
create_tiering_configuration(
tiering_configuration: TieringConfigurationInputForCreate,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
tiering_configuration_tags: Optional[Tags] = None,
creator_request_id: Optional[CreatorRequestId] = None,
) -> CreateTieringConfigurationOutput
Creates a tiering configuration.
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.
Each vault can only have one vault-specific tiering configuration, in addition to any global configuration that applies to all vaults.
Parameters:
-
tiering_configuration(TieringConfigurationInputForCreate) –A tiering configuration must contain a unique
TieringConfigurationNamestring you create and must contain aBackupVaultNameandResourceSelection. You may optionally include aCreatorRequestIdstring.The
TieringConfigurationNameis a unique string that is the name of the tiering configuration. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores. -
tiering_configuration_tags(Optional[Tags], default:None) –The tags to assign to the tiering configuration.
-
creator_request_id(Optional[CreatorRequestId], default:None) –This is a unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Raises:
-
AlreadyExistsException–The required resource already exists.
-
ConflictException–Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 | |