create_ip_access_settings
async
¶
create_ip_access_settings(
ip_rules: IpRuleList,
*,
config_overrides: Optional[AsyncWorkSpacesWebClientConfig] = None,
display_name: Optional[DisplayName] = None,
description: Optional[Description] = None,
tags: Optional[TagList] = None,
customer_managed_key: Optional[keyArn] = None,
additional_encryption_context: Optional[EncryptionContextMap] = None,
client_token: Optional[ClientToken] = None,
) -> CreateIpAccessSettingsResponse
Creates an IP access settings resource that can be associated with a web portal.
Parameters:
-
display_name(Optional[DisplayName], default:None) –The display name of the IP access settings.
-
description(Optional[Description], default:None) –The description of the IP access settings.
-
tags(Optional[TagList], default:None) –The tags to add to the IP access settings resource. A tag is a key-value pair.
-
customer_managed_key(Optional[keyArn], default:None) –The custom managed key of the IP access settings.
-
additional_encryption_context(Optional[EncryptionContextMap], default:None) –Additional encryption context of the IP access settings.
-
ip_rules(IpRuleList) –The IP rules of the IP access settings.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–There is a conflict.
-
InternalServerException–There is an internal server error.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–There is a throttling error.
-
ValidationException–There is a validation error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces_web/_services/async_work_spaces_web.py
2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 | |