update_subscriber
async
¶
update_subscriber(
subscriber_arn: SubscriberArn,
*,
config_overrides: Optional[AsyncEventBridgeV2ClientConfig] = None,
description: Optional[Description] = None,
state: Optional[SubscriberState] = None,
resume_position: Optional[ResumePosition] = None,
invoke_configuration: Optional[UpdateInvokeConfiguration] = None,
filter_configuration: Optional[FilterConfiguration] = None,
batch_configuration: Optional[BatchConfiguration] = None,
transformer: Optional[Transformer] = None,
retry_policy: Optional[RetryPolicy] = None,
on_failure_configuration: Optional[OnFailureConfiguration] = None,
log_configuration: Optional[LogConfiguration] = None,
) -> UpdateSubscriberResponse
Updates a subscriber. Fields omitted from the request are left unchanged.
Parameters:
-
transformer(Optional[Transformer], default:None) –Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.
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.
-
LimitExceededException–The request would exceed a service quota for the account.
-
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
1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 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 1958 | |