update_db_instance
async
¶
update_db_instance(
identifier: DbInstanceIdentifier,
*,
config_overrides: Optional[AsyncTimestreamInfluxDBClientConfig] = None,
log_delivery_configuration: Optional[LogDeliveryConfiguration] = None,
db_parameter_group_identifier: Optional[DbParameterGroupIdentifier] = None,
port: Optional[Port] = None,
db_instance_type: Optional[DbInstanceType] = None,
deployment_type: Optional[DeploymentType] = None,
db_storage_type: Optional[DbStorageType] = None,
allocated_storage: Optional[AllocatedStorage] = None,
maintenance_schedule: Optional[MaintenanceSchedule] = None,
db_backup_configurations: Optional[DbBackupConfigurationInputList] = None,
) -> UpdateDbInstanceOutput
Updates a Timestream for InfluxDB DB instance.
Parameters:
-
identifier(DbInstanceIdentifier) –The id of the DB instance.
-
log_delivery_configuration(Optional[LogDeliveryConfiguration], default:None) –Configuration for sending InfluxDB engine logs to send to specified S3 bucket.
-
db_parameter_group_identifier(Optional[DbParameterGroupIdentifier], default:None) –The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
-
port(Optional[Port], default:None) –The port number on which InfluxDB accepts connections.
If you change the Port value, your database restarts immediately.
Valid Values: 1024-65535
Default: 8086
Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680
-
db_instance_type(Optional[DbInstanceType], default:None) –The Timestream for InfluxDB DB instance type to run InfluxDB on.
-
deployment_type(Optional[DeploymentType], default:None) –Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
-
db_storage_type(Optional[DbStorageType], default:None) –The Timestream for InfluxDB DB storage type that InfluxDB stores data on.
-
allocated_storage(Optional[AllocatedStorage], default:None) –The amount of storage to allocate for your DB storage type (in gibibytes).
-
maintenance_schedule(Optional[MaintenanceSchedule], default:None) –Specifies the maintenance schedule for the DB instance, including the preferred maintenance window and timezone.
-
db_backup_configurations(Optional[DbBackupConfigurationInputList], default:None) –A list of backup configurations to update for the DB instance.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request conflicts with an existing resource in Timestream for InfluxDB.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The requested resource was not found or does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by Timestream for InfluxDB.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_timestream_influxdb/_services/async_timestream_influx_db.py
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 | |