update_resource_configuration
async
¶
update_resource_configuration(
resource_configuration_identifier: ResourceConfigurationIdentifier,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
resource_configuration_definition: Optional[ResourceConfigurationDefinition] = None,
allow_association_to_shareable_service_network: Optional[Boolean] = None,
port_ranges: Optional[PortRangeList] = None,
) -> UpdateResourceConfigurationResponse
Updates the specified resource configuration.
Parameters:
-
resource_configuration_identifier(ResourceConfigurationIdentifier) –The ID of the resource configuration.
-
resource_configuration_definition(Optional[ResourceConfigurationDefinition], default:None) –Identifies the resource configuration in one of the following ways:
-
Amazon Resource Name (ARN) - Supported resource-types that are provisioned by Amazon Web Services services, such as RDS databases, can be identified by their ARN.
-
Domain name - Any domain name that is publicly resolvable.
-
IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
-
-
allow_association_to_shareable_service_network(Optional[Boolean], default:None) –Indicates whether to add the resource configuration to service networks that are shared with other accounts.
-
port_ranges(Optional[PortRangeList], default:None) –The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ServiceQuotaExceededException–The request would cause a service quota to be exceeded.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_vpc_lattice/_services/async_vpc_lattice.py
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 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 | |