create_network
¶
create_network(
*,
config_overrides: Optional[MediaLiveClientConfig] = None,
ip_pools: Optional[__listOfIpPoolCreateRequest] = None,
name: Optional[__string] = None,
request_id: Optional[__string] = None,
routes: Optional[__listOfRouteCreateRequest] = None,
tags: Optional[Tags] = None,
) -> CreateNetworkResponse
Create as many Networks as you need. You will associate one or more Clusters with each Network.Each Network provides MediaLive Anywhere with required information about the network in your organization that you are using for video encoding using MediaLive.
Parameters:
-
ip_pools(Optional[__listOfIpPoolCreateRequest], default:None) –An array of IpPoolCreateRequests that identify a collection of IP addresses in your network that you want to reserve for use in MediaLive Anywhere. MediaLiveAnywhere uses these IP addresses for Push inputs (in both Bridge and NATnetworks) and for output destinations (only in Bridge networks). EachIpPoolUpdateRequest specifies one CIDR block.
-
name(Optional[__string], default:None) –Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the type of traffic on the network. Names are case-sensitive.
-
request_id(Optional[__string], default:None) –An ID that you assign to a create request. This ID ensures idempotency when creating resources.
-
routes(Optional[__listOfRouteCreateRequest], default:None) –An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic.
-
tags(Optional[Tags], default:None) –A collection of key-value pairs.
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ConflictException–Placeholder documentation for ConflictException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/media_live.py
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 | |