update_event_bus
¶
update_event_bus(
event_bus_arn: EventBusArn,
*,
config_overrides: Optional[EventBridgeV2ClientConfig] = None,
description: Optional[Description] = None,
encryption_configuration: Optional[EncryptionConfiguration] = None,
storage_configuration: Optional[StorageConfiguration] = None,
) -> UpdateEventBusResponse
Updates an event bus. The update is asynchronous: the bus moves to UPDATING and returns to ACTIVE when the change is applied. Fields omitted from the request are left unchanged.
Parameters:
-
event_bus_arn(EventBusArn) –The Amazon Resource Name (ARN) that uniquely identifies an event bus.
-
description(Optional[Description], default:None) –Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.
-
encryption_configuration(Optional[EncryptionConfiguration], default:None) –Encryption configuration for an event bus.
-
storage_configuration(Optional[StorageConfiguration], default:None) –Event storage configuration for an event bus.
Raises:
-
AccessDeniedException–The caller does not have the permissions required to perform the operation. This error is also returned when the operation cannot use the AWS KMS key for the event bus.
-
InternalException–The request failed because of an internal service error. Retry the request.
-
InvalidInputException–A request parameter is missing or not valid.
-
ThrottlingException–The request was throttled because it exceeds a request rate limit. Retry the request with backoff.
-
ConcurrentModificationException–Another change to the resource is already in progress. Retry the request.
-
InvalidStateException–The resource is not in a state that allows the operation. For example, an event bus that is still being created cannot accept events.
-
ResourceNotFoundException–The resource does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridgev2/_services/event_bridge_v2.py
1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 | |