Struct rusoto_ec2::CreateVpcEndpointRequest
[−]
[src]
pub struct CreateVpcEndpointRequest { pub client_token: Option<String>, pub dry_run: Option<bool>, pub policy_document: Option<String>, pub route_table_ids: Option<Vec<String>>, pub service_name: String, pub vpc_id: String, }
Contains the parameters for CreateVpcEndpoint.
Fields
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
policy_document: Option<String>
A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
route_table_ids: Option<Vec<String>>
One or more route table IDs.
service_name: String
The AWS service name, in the form com.amazonaws.region.service
. To get a list of available services, use the DescribeVpcEndpointServices request.
vpc_id: String
The ID of the VPC in which the endpoint will be used.
Trait Implementations
impl Default for CreateVpcEndpointRequest
[src]
fn default() -> CreateVpcEndpointRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateVpcEndpointRequest
[src]
impl Clone for CreateVpcEndpointRequest
[src]
fn clone(&self) -> CreateVpcEndpointRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more