update_resource_gateway
async
¶
update_resource_gateway(
resource_gateway_identifier: ResourceGatewayIdentifier,
*,
config_overrides: Optional[AsyncVPCLatticeClientConfig] = None,
security_group_ids: Optional[SecurityGroupList] = None,
resource_config_dns_resolution: Optional[ResourceConfigDnsResolution] = None,
) -> UpdateResourceGatewayResponse
Updates the specified resource gateway.
Parameters:
-
resource_gateway_identifier(ResourceGatewayIdentifier) –The ID or ARN of the resource gateway.
-
security_group_ids(Optional[SecurityGroupList], default:None) –The IDs of the security groups associated with the resource gateway.
-
resource_config_dns_resolution(Optional[ResourceConfigDnsResolution], default:None) –Indicates how DNS is resolved for resource configurations associated with this resource gateway.
-
IN_VPC- DNS resolution occurs privately within the resource gateway's VPC. Use this when your resource domain names are hosted in private Route 53 hosted zones or on-premises DNS servers reachable from the VPC. -
PUBLIC- DNS resolution occurs against public DNS resolvers. Use this when your resource domain names are publicly resolvable.
-
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
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
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 | |