update_event_bus
async
¶
update_event_bus(
event_bus_arn: EventBusArn,
*,
config_overrides: Optional[AsyncEventBridgeV2ClientConfig] = 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/async_event_bridge_v2.py
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 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 | |