pub struct Client { /* private fields */ }
Expand description
Client for Amazon Elastic Compute Cloud
Client for invoking operations on Amazon Elastic Compute Cloud. Each operation on Amazon Elastic Compute Cloud is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_ec2::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Builder
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_ec2::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AcceptAddressTransfer
operation has
a Client::accept_address_transfer
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.accept_address_transfer()
.address("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
§Waiters
This client provides wait_until
methods behind the Waiters
trait.
To use them, simply import the trait, and then call one of the wait_until
methods. This will
return a waiter fluent builder that takes various parameters, which are documented on the builder
type. Once parameters have been provided, the wait
method can be called to initiate waiting.
For example, if there was a wait_until_thing
method, it could look like:
let result = client.wait_until_thing()
.thing_id("someId")
.wait(Duration::from_secs(120))
.await;
Implementations§
Source§impl Client
impl Client
Sourcepub fn accept_address_transfer(&self) -> AcceptAddressTransferFluentBuilder
pub fn accept_address_transfer(&self) -> AcceptAddressTransferFluentBuilder
Constructs a fluent builder for the AcceptAddressTransfer
operation.
- The fluent builder is configurable:
address(impl Into<String>)
/set_address(Option<String>)
:
required: trueThe Elastic IP address you are accepting for transfer.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falsetag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AcceptAddressTransferOutput
with field(s):address_transfer(Option<AddressTransfer>)
:An Elastic IP address transfer.
- On failure, responds with
SdkError<AcceptAddressTransferError>
Source§impl Client
impl Client
Sourcepub fn accept_capacity_reservation_billing_ownership(
&self,
) -> AcceptCapacityReservationBillingOwnershipFluentBuilder
pub fn accept_capacity_reservation_billing_ownership( &self, ) -> AcceptCapacityReservationBillingOwnershipFluentBuilder
Constructs a fluent builder for the AcceptCapacityReservationBillingOwnership
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation for which to accept the request.
- On success, responds with
AcceptCapacityReservationBillingOwnershipOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<AcceptCapacityReservationBillingOwnershipError>
Source§impl Client
impl Client
Sourcepub fn accept_reserved_instances_exchange_quote(
&self,
) -> AcceptReservedInstancesExchangeQuoteFluentBuilder
pub fn accept_reserved_instances_exchange_quote( &self, ) -> AcceptReservedInstancesExchangeQuoteFluentBuilder
Constructs a fluent builder for the AcceptReservedInstancesExchangeQuote
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.reserved_instance_ids(impl Into<String>)
/set_reserved_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
target_configurations(TargetConfigurationRequest)
/set_target_configurations(Option<Vec::<TargetConfigurationRequest>>)
:
required: falseThe configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
- On success, responds with
AcceptReservedInstancesExchangeQuoteOutput
with field(s):exchange_id(Option<String>)
:The ID of the successful exchange.
- On failure, responds with
SdkError<AcceptReservedInstancesExchangeQuoteError>
Source§impl Client
impl Client
Sourcepub fn accept_transit_gateway_multicast_domain_associations(
&self,
) -> AcceptTransitGatewayMulticastDomainAssociationsFluentBuilder
pub fn accept_transit_gateway_multicast_domain_associations( &self, ) -> AcceptTransitGatewayMulticastDomainAssociationsFluentBuilder
Constructs a fluent builder for the AcceptTransitGatewayMulticastDomainAssociations
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: falseThe ID of the transit gateway multicast domain.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the transit gateway attachment.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the subnets to associate with the transit gateway multicast domain.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AcceptTransitGatewayMulticastDomainAssociationsOutput
with field(s):associations(Option<TransitGatewayMulticastDomainAssociations>)
:Information about the multicast domain associations.
- On failure, responds with
SdkError<AcceptTransitGatewayMulticastDomainAssociationsError>
Source§impl Client
impl Client
Sourcepub fn accept_transit_gateway_peering_attachment(
&self,
) -> AcceptTransitGatewayPeeringAttachmentFluentBuilder
pub fn accept_transit_gateway_peering_attachment( &self, ) -> AcceptTransitGatewayPeeringAttachmentFluentBuilder
Constructs a fluent builder for the AcceptTransitGatewayPeeringAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AcceptTransitGatewayPeeringAttachmentOutput
with field(s):transit_gateway_peering_attachment(Option<TransitGatewayPeeringAttachment>)
:The transit gateway peering attachment.
- On failure, responds with
SdkError<AcceptTransitGatewayPeeringAttachmentError>
Source§impl Client
impl Client
Sourcepub fn accept_transit_gateway_vpc_attachment(
&self,
) -> AcceptTransitGatewayVpcAttachmentFluentBuilder
pub fn accept_transit_gateway_vpc_attachment( &self, ) -> AcceptTransitGatewayVpcAttachmentFluentBuilder
Constructs a fluent builder for the AcceptTransitGatewayVpcAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AcceptTransitGatewayVpcAttachmentOutput
with field(s):transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)
:The VPC attachment.
- On failure, responds with
SdkError<AcceptTransitGatewayVpcAttachmentError>
Source§impl Client
impl Client
Sourcepub fn accept_vpc_endpoint_connections(
&self,
) -> AcceptVpcEndpointConnectionsFluentBuilder
pub fn accept_vpc_endpoint_connections( &self, ) -> AcceptVpcEndpointConnectionsFluentBuilder
Constructs a fluent builder for the AcceptVpcEndpointConnections
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the VPC endpoint service.
vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the interface VPC endpoints.
- On success, responds with
AcceptVpcEndpointConnectionsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the interface endpoints that were not accepted, if applicable.
- On failure, responds with
SdkError<AcceptVpcEndpointConnectionsError>
Source§impl Client
impl Client
Sourcepub fn accept_vpc_peering_connection(
&self,
) -> AcceptVpcPeeringConnectionFluentBuilder
pub fn accept_vpc_peering_connection( &self, ) -> AcceptVpcPeeringConnectionFluentBuilder
Constructs a fluent builder for the AcceptVpcPeeringConnection
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: trueThe ID of the VPC peering connection. You must specify this parameter in the request.
- On success, responds with
AcceptVpcPeeringConnectionOutput
with field(s):vpc_peering_connection(Option<VpcPeeringConnection>)
:Information about the VPC peering connection.
- On failure, responds with
SdkError<AcceptVpcPeeringConnectionError>
Source§impl Client
impl Client
Sourcepub fn advertise_byoip_cidr(&self) -> AdvertiseByoipCidrFluentBuilder
pub fn advertise_byoip_cidr(&self) -> AdvertiseByoipCidrFluentBuilder
Constructs a fluent builder for the AdvertiseByoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe address range, in CIDR notation. This must be the exact range that you provisioned. You can’t advertise only a portion of the provisioned range.
asn(impl Into<String>)
/set_asn(Option<String>)
:
required: falseThe public 2-byte or 4-byte ASN that you want to advertise.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseIf you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
-
- On success, responds with
AdvertiseByoipCidrOutput
with field(s):byoip_cidr(Option<ByoipCidr>)
:Information about the address range.
- On failure, responds with
SdkError<AdvertiseByoipCidrError>
Source§impl Client
impl Client
Sourcepub fn allocate_address(&self) -> AllocateAddressFluentBuilder
pub fn allocate_address(&self) -> AllocateAddressFluentBuilder
Constructs a fluent builder for the AllocateAddress
operation.
- The fluent builder is configurable:
domain(DomainType)
/set_domain(Option<DomainType>)
:
required: falseThe network (
vpc
).address(impl Into<String>)
/set_address(Option<String>)
:
required: falseThe Elastic IP address to recover or an IPv4 address from an address pool.
public_ipv4_pool(impl Into<String>)
/set_public_ipv4_pool(Option<String>)
:
required: falseThe ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. To specify a specific address from the address pool, use the
Address
parameter instead.network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseA unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
customer_owned_ipv4_pool(impl Into<String>)
/set_customer_owned_ipv4_pool(Option<String>)
:
required: falseThe ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Elastic IP address.
ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: falseThe ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see Allocate sequential Elastic IP addresses from an IPAM pool in the Amazon VPC IPAM User Guide.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AllocateAddressOutput
with field(s):allocation_id(Option<String>)
:The ID that represents the allocation of the Elastic IP address.
public_ipv4_pool(Option<String>)
:The ID of an address pool.
network_border_group(Option<String>)
:The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
domain(Option<DomainType>)
:The network (
vpc
).customer_owned_ip(Option<String>)
:The customer-owned IP address.
customer_owned_ipv4_pool(Option<String>)
:The ID of the customer-owned address pool.
carrier_ip(Option<String>)
:The carrier IP address. This option is only available for network interfaces that reside in a subnet in a Wavelength Zone.
public_ip(Option<String>)
:The Elastic IP address.
- On failure, responds with
SdkError<AllocateAddressError>
Source§impl Client
impl Client
Sourcepub fn allocate_hosts(&self) -> AllocateHostsFluentBuilder
pub fn allocate_hosts(&self) -> AllocateHostsFluentBuilder
Constructs a fluent builder for the AllocateHosts
operation.
- The fluent builder is configurable:
instance_family(impl Into<String>)
/set_instance_family(Option<String>)
:
required: falseSpecifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.
If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Dedicated Host during creation.
host_recovery(HostRecovery)
/set_host_recovery(Option<HostRecovery>)
:
required: falseIndicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default. For more information, see Host recovery in the Amazon EC2 User Guide.
Default:
off
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host. If you specify OutpostArn, you can optionally specify AssetIds.
If you are allocating the Dedicated Host in a Region, omit this parameter.
host_maintenance(HostMaintenance)
/set_host_maintenance(Option<HostMaintenance>)
:
required: falseIndicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.
asset_ids(impl Into<String>)
/set_asset_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Outpost hardware assets on which to allocate the Dedicated Hosts. Targeting specific hardware assets on an Outpost can help to minimize latency between your workloads. This parameter is supported only if you specify OutpostArn. If you are allocating the Dedicated Hosts in a Region, omit this parameter.
-
If you specify this parameter, you can omit Quantity. In this case, Amazon EC2 allocates a Dedicated Host on each specified hardware asset.
-
If you specify both AssetIds and Quantity, then the value for Quantity must be equal to the number of asset IDs specified.
-
auto_placement(AutoPlacement)
/set_auto_placement(Option<AutoPlacement>)
:
required: falseIndicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. For more information, see Understanding auto-placement and affinity in the Amazon EC2 User Guide.
Default:
off
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
instance_type(impl Into<String>)
/set_instance_type(Option<String>)
:
required: falseSpecifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
quantity(i32)
/set_quantity(Option<i32>)
:
required: falseThe number of Dedicated Hosts to allocate to your account with these parameters. If you are allocating the Dedicated Hosts on an Outpost, and you specify AssetIds, you can omit this parameter. In this case, Amazon EC2 allocates a Dedicated Host on each specified hardware asset. If you specify both AssetIds and Quantity, then the value that you specify for Quantity must be equal to the number of asset IDs specified.
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: trueThe Availability Zone in which to allocate the Dedicated Host.
- On success, responds with
AllocateHostsOutput
with field(s):host_ids(Option<Vec::<String>>)
:The ID of the allocated Dedicated Host. This is used to launch an instance onto a specific host.
- On failure, responds with
SdkError<AllocateHostsError>
Source§impl Client
impl Client
Sourcepub fn allocate_ipam_pool_cidr(&self) -> AllocateIpamPoolCidrFluentBuilder
pub fn allocate_ipam_pool_cidr(&self) -> AllocateIpamPoolCidrFluentBuilder
Constructs a fluent builder for the AllocateIpamPoolCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool from which you would like to allocate a CIDR.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: falseThe CIDR you would like to allocate from the IPAM pool. Note the following:
-
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
-
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
-
netmask_length(i32)
/set_netmask_length(Option<i32>)
:
required: falseThe netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
-
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
-
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the allocation.
preview_next_cidr(bool)
/set_preview_next_cidr(Option<bool>)
:
required: falseA preview of the next available CIDR in a pool.
allowed_cidrs(impl Into<String>)
/set_allowed_cidrs(Option<Vec::<String>>)
:
required: falseInclude a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
disallowed_cidrs(impl Into<String>)
/set_disallowed_cidrs(Option<Vec::<String>>)
:
required: falseExclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
- On success, responds with
AllocateIpamPoolCidrOutput
with field(s):ipam_pool_allocation(Option<IpamPoolAllocation>)
:Information about the allocation created.
- On failure, responds with
SdkError<AllocateIpamPoolCidrError>
Source§impl Client
impl Client
Sourcepub fn apply_security_groups_to_client_vpn_target_network(
&self,
) -> ApplySecurityGroupsToClientVpnTargetNetworkFluentBuilder
pub fn apply_security_groups_to_client_vpn_target_network( &self, ) -> ApplySecurityGroupsToClientVpnTargetNetworkFluentBuilder
Constructs a fluent builder for the ApplySecurityGroupsToClientVpnTargetNetwork
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC in which the associated target network is located.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ApplySecurityGroupsToClientVpnTargetNetworkOutput
with field(s):security_group_ids(Option<Vec::<String>>)
:The IDs of the applied security groups.
- On failure, responds with
SdkError<ApplySecurityGroupsToClientVpnTargetNetworkError>
Source§impl Client
impl Client
Sourcepub fn assign_ipv6_addresses(&self) -> AssignIpv6AddressesFluentBuilder
pub fn assign_ipv6_addresses(&self) -> AssignIpv6AddressesFluentBuilder
Constructs a fluent builder for the AssignIpv6Addresses
operation.
- The fluent builder is configurable:
ipv6_prefix_count(i32)
/set_ipv6_prefix_count(Option<i32>)
:
required: falseThe number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the
Ipv6Prefixes
option.ipv6_prefixes(impl Into<String>)
/set_ipv6_prefixes(Option<Vec::<String>>)
:
required: falseOne or more IPv6 prefixes assigned to the network interface. You can’t use this option if you use the
Ipv6PrefixCount
option.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
ipv6_addresses(impl Into<String>)
/set_ipv6_addresses(Option<Vec::<String>>)
:
required: falseThe IPv6 addresses to be assigned to the network interface. You can’t use this option if you’re specifying a number of IPv6 addresses.
ipv6_address_count(i32)
/set_ipv6_address_count(Option<i32>)
:
required: falseThe number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can’t use this option if specifying specific IPv6 addresses.
- On success, responds with
AssignIpv6AddressesOutput
with field(s):assigned_ipv6_addresses(Option<Vec::<String>>)
:The new IPv6 addresses assigned to the network interface. Existing IPv6 addresses that were assigned to the network interface before the request are not included.
assigned_ipv6_prefixes(Option<Vec::<String>>)
:The IPv6 prefixes that are assigned to the network interface.
network_interface_id(Option<String>)
:The ID of the network interface.
- On failure, responds with
SdkError<AssignIpv6AddressesError>
Source§impl Client
impl Client
Sourcepub fn assign_private_ip_addresses(
&self,
) -> AssignPrivateIpAddressesFluentBuilder
pub fn assign_private_ip_addresses( &self, ) -> AssignPrivateIpAddressesFluentBuilder
Constructs a fluent builder for the AssignPrivateIpAddresses
operation.
- The fluent builder is configurable:
ipv4_prefixes(impl Into<String>)
/set_ipv4_prefixes(Option<Vec::<String>>)
:
required: falseOne or more IPv4 prefixes assigned to the network interface. You can’t use this option if you use the
Ipv4PrefixCount
option.ipv4_prefix_count(i32)
/set_ipv4_prefix_count(Option<i32>)
:
required: falseThe number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You can’t use this option if you use the
Ipv4 Prefixes
option.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
private_ip_addresses(impl Into<String>)
/set_private_ip_addresses(Option<Vec::<String>>)
:
required: falseThe IP addresses to be assigned as a secondary private IP address to the network interface. You can’t specify this parameter when also specifying a number of secondary IP addresses.
If you don’t specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
secondary_private_ip_address_count(i32)
/set_secondary_private_ip_address_count(Option<i32>)
:
required: falseThe number of secondary IP addresses to assign to the network interface. You can’t specify this parameter when also specifying private IP addresses.
allow_reassignment(bool)
/set_allow_reassignment(Option<bool>)
:
required: falseIndicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.
- On success, responds with
AssignPrivateIpAddressesOutput
with field(s):network_interface_id(Option<String>)
:The ID of the network interface.
assigned_private_ip_addresses(Option<Vec::<AssignedPrivateIpAddress>>)
:The private IP addresses assigned to the network interface.
assigned_ipv4_prefixes(Option<Vec::<Ipv4PrefixSpecification>>)
:The IPv4 prefixes that are assigned to the network interface.
- On failure, responds with
SdkError<AssignPrivateIpAddressesError>
Source§impl Client
impl Client
Sourcepub fn assign_private_nat_gateway_address(
&self,
) -> AssignPrivateNatGatewayAddressFluentBuilder
pub fn assign_private_nat_gateway_address( &self, ) -> AssignPrivateNatGatewayAddressFluentBuilder
Constructs a fluent builder for the AssignPrivateNatGatewayAddress
operation.
- The fluent builder is configurable:
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: trueThe ID of the NAT gateway.
private_ip_addresses(impl Into<String>)
/set_private_ip_addresses(Option<Vec::<String>>)
:
required: falseThe private IPv4 addresses you want to assign to the private NAT gateway.
private_ip_address_count(i32)
/set_private_ip_address_count(Option<i32>)
:
required: falseThe number of private IP addresses to assign to the NAT gateway. You can’t specify this parameter when also specifying private IP addresses.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssignPrivateNatGatewayAddressOutput
with field(s):nat_gateway_id(Option<String>)
:The ID of the NAT gateway.
nat_gateway_addresses(Option<Vec::<NatGatewayAddress>>)
:NAT gateway IP addresses.
- On failure, responds with
SdkError<AssignPrivateNatGatewayAddressError>
Source§impl Client
impl Client
Sourcepub fn associate_address(&self) -> AssociateAddressFluentBuilder
pub fn associate_address(&self) -> AssociateAddressFluentBuilder
Constructs a fluent builder for the AssociateAddress
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: falseThe allocation ID. This is required.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: falseDeprecated.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
You can specify either the instance ID or the network interface ID, but not both.
private_ip_address(impl Into<String>)
/set_private_ip_address(Option<String>)
:
required: falseThe primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
allow_reassociation(bool)
/set_allow_reassociation(Option<bool>)
:
required: falseReassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.
- On success, responds with
AssociateAddressOutput
with field(s):association_id(Option<String>)
:The ID that represents the association of the Elastic IP address with an instance.
- On failure, responds with
SdkError<AssociateAddressError>
Source§impl Client
impl Client
Sourcepub fn associate_capacity_reservation_billing_owner(
&self,
) -> AssociateCapacityReservationBillingOwnerFluentBuilder
pub fn associate_capacity_reservation_billing_owner( &self, ) -> AssociateCapacityReservationBillingOwnerFluentBuilder
Constructs a fluent builder for the AssociateCapacityReservationBillingOwner
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation.
unused_reservation_billing_owner_id(impl Into<String>)
/set_unused_reservation_billing_owner_id(Option<String>)
:
required: trueThe ID of the consumer account to which to assign billing.
- On success, responds with
AssociateCapacityReservationBillingOwnerOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<AssociateCapacityReservationBillingOwnerError>
Source§impl Client
impl Client
Sourcepub fn associate_client_vpn_target_network(
&self,
) -> AssociateClientVpnTargetNetworkFluentBuilder
pub fn associate_client_vpn_target_network( &self, ) -> AssociateClientVpnTargetNetworkFluentBuilder
Constructs a fluent builder for the AssociateClientVpnTargetNetwork
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet to associate with the Client VPN endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateClientVpnTargetNetworkOutput
with field(s):association_id(Option<String>)
:The unique ID of the target network association.
status(Option<AssociationStatus>)
:The current state of the target network association.
- On failure, responds with
SdkError<AssociateClientVpnTargetNetworkError>
Source§impl Client
impl Client
Sourcepub fn associate_dhcp_options(&self) -> AssociateDhcpOptionsFluentBuilder
pub fn associate_dhcp_options(&self) -> AssociateDhcpOptionsFluentBuilder
Constructs a fluent builder for the AssociateDhcpOptions
operation.
- The fluent builder is configurable:
dhcp_options_id(impl Into<String>)
/set_dhcp_options_id(Option<String>)
:
required: trueThe ID of the DHCP options set, or
default
to associate no DHCP options with the VPC.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateDhcpOptionsOutput
- On failure, responds with
SdkError<AssociateDhcpOptionsError>
Source§impl Client
impl Client
Sourcepub fn associate_enclave_certificate_iam_role(
&self,
) -> AssociateEnclaveCertificateIamRoleFluentBuilder
pub fn associate_enclave_certificate_iam_role( &self, ) -> AssociateEnclaveCertificateIamRoleFluentBuilder
Constructs a fluent builder for the AssociateEnclaveCertificateIamRole
operation.
- The fluent builder is configurable:
certificate_arn(impl Into<String>)
/set_certificate_arn(Option<String>)
:
required: trueThe ARN of the ACM certificate with which to associate the IAM role.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueThe ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateEnclaveCertificateIamRoleOutput
with field(s):certificate_s3_bucket_name(Option<String>)
:The name of the Amazon S3 bucket to which the certificate was uploaded.
certificate_s3_object_key(Option<String>)
:The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored. The object key is formatted as follows:
role_arn
/certificate_arn
.encryption_kms_key_id(Option<String>)
:The ID of the KMS key used to encrypt the private key of the certificate.
- On failure, responds with
SdkError<AssociateEnclaveCertificateIamRoleError>
Source§impl Client
impl Client
Sourcepub fn associate_iam_instance_profile(
&self,
) -> AssociateIamInstanceProfileFluentBuilder
pub fn associate_iam_instance_profile( &self, ) -> AssociateIamInstanceProfileFluentBuilder
Constructs a fluent builder for the AssociateIamInstanceProfile
operation.
- The fluent builder is configurable:
iam_instance_profile(IamInstanceProfileSpecification)
/set_iam_instance_profile(Option<IamInstanceProfileSpecification>)
:
required: trueThe IAM instance profile.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
- On success, responds with
AssociateIamInstanceProfileOutput
with field(s):iam_instance_profile_association(Option<IamInstanceProfileAssociation>)
:Information about the IAM instance profile association.
- On failure, responds with
SdkError<AssociateIamInstanceProfileError>
Source§impl Client
impl Client
Sourcepub fn associate_instance_event_window(
&self,
) -> AssociateInstanceEventWindowFluentBuilder
pub fn associate_instance_event_window( &self, ) -> AssociateInstanceEventWindowFluentBuilder
Constructs a fluent builder for the AssociateInstanceEventWindow
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_event_window_id(impl Into<String>)
/set_instance_event_window_id(Option<String>)
:
required: trueThe ID of the event window.
association_target(InstanceEventWindowAssociationRequest)
/set_association_target(Option<InstanceEventWindowAssociationRequest>)
:
required: trueOne or more targets associated with the specified event window.
- On success, responds with
AssociateInstanceEventWindowOutput
with field(s):instance_event_window(Option<InstanceEventWindow>)
:Information about the event window.
- On failure, responds with
SdkError<AssociateInstanceEventWindowError>
Source§impl Client
impl Client
Sourcepub fn associate_ipam_byoasn(&self) -> AssociateIpamByoasnFluentBuilder
pub fn associate_ipam_byoasn(&self) -> AssociateIpamByoasnFluentBuilder
Constructs a fluent builder for the AssociateIpamByoasn
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.asn(impl Into<String>)
/set_asn(Option<String>)
:
required: trueA public 2-byte or 4-byte ASN.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe BYOIP CIDR you want to associate with an ASN.
- On success, responds with
AssociateIpamByoasnOutput
with field(s):asn_association(Option<AsnAssociation>)
:The ASN and BYOIP CIDR association.
- On failure, responds with
SdkError<AssociateIpamByoasnError>
Source§impl Client
impl Client
Sourcepub fn associate_ipam_resource_discovery(
&self,
) -> AssociateIpamResourceDiscoveryFluentBuilder
pub fn associate_ipam_resource_discovery( &self, ) -> AssociateIpamResourceDiscoveryFluentBuilder
Constructs a fluent builder for the AssociateIpamResourceDiscovery
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueAn IPAM ID.
ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueA resource discovery ID.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseTag specifications.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA client token.
- On success, responds with
AssociateIpamResourceDiscoveryOutput
with field(s):ipam_resource_discovery_association(Option<IpamResourceDiscoveryAssociation>)
:A resource discovery association. An associated resource discovery is a resource discovery that has been associated with an IPAM.
- On failure, responds with
SdkError<AssociateIpamResourceDiscoveryError>
Source§impl Client
impl Client
Sourcepub fn associate_nat_gateway_address(
&self,
) -> AssociateNatGatewayAddressFluentBuilder
pub fn associate_nat_gateway_address( &self, ) -> AssociateNatGatewayAddressFluentBuilder
Constructs a fluent builder for the AssociateNatGatewayAddress
operation.
- The fluent builder is configurable:
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: trueThe ID of the NAT gateway.
allocation_ids(impl Into<String>)
/set_allocation_ids(Option<Vec::<String>>)
:
required: trueThe allocation IDs of EIPs that you want to associate with your NAT gateway.
private_ip_addresses(impl Into<String>)
/set_private_ip_addresses(Option<Vec::<String>>)
:
required: falseThe private IPv4 addresses that you want to assign to the NAT gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateNatGatewayAddressOutput
with field(s):nat_gateway_id(Option<String>)
:The ID of the NAT gateway.
nat_gateway_addresses(Option<Vec::<NatGatewayAddress>>)
:The IP addresses.
- On failure, responds with
SdkError<AssociateNatGatewayAddressError>
Source§impl Client
impl Client
Sourcepub fn associate_route_server(&self) -> AssociateRouteServerFluentBuilder
pub fn associate_route_server(&self) -> AssociateRouteServerFluentBuilder
Constructs a fluent builder for the AssociateRouteServer
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe unique identifier for the route server to be associated.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC to associate with the route server.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
AssociateRouteServerOutput
with field(s):route_server_association(Option<RouteServerAssociation>)
:Information about the association between the route server and the VPC.
- On failure, responds with
SdkError<AssociateRouteServerError>
Source§impl Client
impl Client
Sourcepub fn associate_route_table(&self) -> AssociateRouteTableFluentBuilder
pub fn associate_route_table(&self) -> AssociateRouteTableFluentBuilder
Constructs a fluent builder for the AssociateRouteTable
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: falseThe ID of the internet gateway or virtual private gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: falseThe ID of the subnet.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
- On success, responds with
AssociateRouteTableOutput
with field(s):association_id(Option<String>)
:The route table association ID. This ID is required for disassociating the route table.
association_state(Option<RouteTableAssociationState>)
:The state of the association.
- On failure, responds with
SdkError<AssociateRouteTableError>
Source§impl Client
impl Client
Sourcepub fn associate_security_group_vpc(
&self,
) -> AssociateSecurityGroupVpcFluentBuilder
pub fn associate_security_group_vpc( &self, ) -> AssociateSecurityGroupVpcFluentBuilder
Constructs a fluent builder for the AssociateSecurityGroupVpc
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: trueA security group ID.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueA VPC ID.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateSecurityGroupVpcOutput
with field(s):state(Option<SecurityGroupVpcAssociationState>)
:The state of the association.
- On failure, responds with
SdkError<AssociateSecurityGroupVpcError>
Source§impl Client
impl Client
Sourcepub fn associate_subnet_cidr_block(
&self,
) -> AssociateSubnetCidrBlockFluentBuilder
pub fn associate_subnet_cidr_block( &self, ) -> AssociateSubnetCidrBlockFluentBuilder
Constructs a fluent builder for the AssociateSubnetCidrBlock
operation.
- The fluent builder is configurable:
ipv6_ipam_pool_id(impl Into<String>)
/set_ipv6_ipam_pool_id(Option<String>)
:
required: falseAn IPv6 IPAM pool ID.
ipv6_netmask_length(i32)
/set_ipv6_netmask_length(Option<i32>)
:
required: falseAn IPv6 netmask length.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of your subnet.
ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 CIDR block for your subnet.
- On success, responds with
AssociateSubnetCidrBlockOutput
with field(s):ipv6_cidr_block_association(Option<SubnetIpv6CidrBlockAssociation>)
:Information about the IPv6 association.
subnet_id(Option<String>)
:The ID of the subnet.
- On failure, responds with
SdkError<AssociateSubnetCidrBlockError>
Source§impl Client
impl Client
Sourcepub fn associate_transit_gateway_multicast_domain(
&self,
) -> AssociateTransitGatewayMulticastDomainFluentBuilder
pub fn associate_transit_gateway_multicast_domain( &self, ) -> AssociateTransitGatewayMulticastDomainFluentBuilder
Constructs a fluent builder for the AssociateTransitGatewayMulticastDomain
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway attachment to associate with the transit gateway multicast domain.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the subnets to associate with the transit gateway multicast domain.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateTransitGatewayMulticastDomainOutput
with field(s):associations(Option<TransitGatewayMulticastDomainAssociations>)
:Information about the transit gateway multicast domain associations.
- On failure, responds with
SdkError<AssociateTransitGatewayMulticastDomainError>
Source§impl Client
impl Client
Sourcepub fn associate_transit_gateway_policy_table(
&self,
) -> AssociateTransitGatewayPolicyTableFluentBuilder
pub fn associate_transit_gateway_policy_table( &self, ) -> AssociateTransitGatewayPolicyTableFluentBuilder
Constructs a fluent builder for the AssociateTransitGatewayPolicyTable
operation.
- The fluent builder is configurable:
transit_gateway_policy_table_id(impl Into<String>)
/set_transit_gateway_policy_table_id(Option<String>)
:
required: trueThe ID of the transit gateway policy table to associate with the transit gateway attachment.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway attachment to associate with the policy table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateTransitGatewayPolicyTableOutput
with field(s):association(Option<TransitGatewayPolicyTableAssociation>)
:Describes the association of a transit gateway and a transit gateway policy table.
- On failure, responds with
SdkError<AssociateTransitGatewayPolicyTableError>
Source§impl Client
impl Client
Sourcepub fn associate_transit_gateway_route_table(
&self,
) -> AssociateTransitGatewayRouteTableFluentBuilder
pub fn associate_transit_gateway_route_table( &self, ) -> AssociateTransitGatewayRouteTableFluentBuilder
Constructs a fluent builder for the AssociateTransitGatewayRouteTable
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateTransitGatewayRouteTableOutput
with field(s):association(Option<TransitGatewayAssociation>)
:The ID of the association.
- On failure, responds with
SdkError<AssociateTransitGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn associate_trunk_interface(&self) -> AssociateTrunkInterfaceFluentBuilder
pub fn associate_trunk_interface(&self) -> AssociateTrunkInterfaceFluentBuilder
Constructs a fluent builder for the AssociateTrunkInterface
operation.
- The fluent builder is configurable:
branch_interface_id(impl Into<String>)
/set_branch_interface_id(Option<String>)
:
required: trueThe ID of the branch network interface.
trunk_interface_id(impl Into<String>)
/set_trunk_interface_id(Option<String>)
:
required: trueThe ID of the trunk network interface.
vlan_id(i32)
/set_vlan_id(Option<i32>)
:
required: falseThe ID of the VLAN. This applies to the VLAN protocol.
gre_key(i32)
/set_gre_key(Option<i32>)
:
required: falseThe application key. This applies to the GRE protocol.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AssociateTrunkInterfaceOutput
with field(s):interface_association(Option<TrunkInterfaceAssociation>)
:Information about the association between the trunk network interface and branch network interface.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- On failure, responds with
SdkError<AssociateTrunkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn associate_vpc_cidr_block(&self) -> AssociateVpcCidrBlockFluentBuilder
pub fn associate_vpc_cidr_block(&self) -> AssociateVpcCidrBlockFluentBuilder
Constructs a fluent builder for the AssociateVpcCidrBlock
operation.
- The fluent builder is configurable:
cidr_block(impl Into<String>)
/set_cidr_block(Option<String>)
:
required: falseAn IPv4 CIDR block to associate with the VPC.
ipv6_cidr_block_network_border_group(impl Into<String>)
/set_ipv6_cidr_block_network_border_group(Option<String>)
:
required: falseThe name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.
You must set
AmazonProvidedIpv6CidrBlock
totrue
to use this parameter.You can have one IPv6 CIDR block association per network border group.
ipv6_pool(impl Into<String>)
/set_ipv6_pool(Option<String>)
:
required: falseThe ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseAn IPv6 CIDR block from the IPv6 address pool. You must also specify
Ipv6Pool
in the request.To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
ipv4_ipam_pool_id(impl Into<String>)
/set_ipv4_ipam_pool_id(Option<String>)
:
required: falseAssociate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv4_netmask_length(i32)
/set_ipv4_netmask_length(Option<i32>)
:
required: falseThe netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv6_ipam_pool_id(impl Into<String>)
/set_ipv6_ipam_pool_id(Option<String>)
:
required: falseAssociates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv6_netmask_length(i32)
/set_ipv6_netmask_length(Option<i32>)
:
required: falseThe netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
amazon_provided_ipv6_cidr_block(bool)
/set_amazon_provided_ipv6_cidr_block(Option<bool>)
:
required: falseRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses or the size of the CIDR block.
- On success, responds with
AssociateVpcCidrBlockOutput
with field(s):ipv6_cidr_block_association(Option<VpcIpv6CidrBlockAssociation>)
:Information about the IPv6 CIDR block association.
cidr_block_association(Option<VpcCidrBlockAssociation>)
:Information about the IPv4 CIDR block association.
vpc_id(Option<String>)
:The ID of the VPC.
- On failure, responds with
SdkError<AssociateVpcCidrBlockError>
Source§impl Client
impl Client
Sourcepub fn attach_classic_link_vpc(&self) -> AttachClassicLinkVpcFluentBuilder
pub fn attach_classic_link_vpc(&self) -> AttachClassicLinkVpcFluentBuilder
Constructs a fluent builder for the AttachClassicLinkVpc
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the EC2-Classic instance.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the ClassicLink-enabled VPC.
groups(impl Into<String>)
/set_groups(Option<Vec::<String>>)
:
required: trueThe IDs of the security groups. You cannot specify security groups from a different VPC.
- On success, responds with
AttachClassicLinkVpcOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<AttachClassicLinkVpcError>
Source§impl Client
impl Client
Sourcepub fn attach_internet_gateway(&self) -> AttachInternetGatewayFluentBuilder
pub fn attach_internet_gateway(&self) -> AttachInternetGatewayFluentBuilder
Constructs a fluent builder for the AttachInternetGateway
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.internet_gateway_id(impl Into<String>)
/set_internet_gateway_id(Option<String>)
:
required: trueThe ID of the internet gateway.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
AttachInternetGatewayOutput
- On failure, responds with
SdkError<AttachInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn attach_network_interface(&self) -> AttachNetworkInterfaceFluentBuilder
pub fn attach_network_interface(&self) -> AttachNetworkInterfaceFluentBuilder
Constructs a fluent builder for the AttachNetworkInterface
operation.
- The fluent builder is configurable:
network_card_index(i32)
/set_network_card_index(Option<i32>)
:
required: falseThe index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
ena_srd_specification(EnaSrdSpecification)
/set_ena_srd_specification(Option<EnaSrdSpecification>)
:
required: falseConfigures ENA Express for the network interface that this action attaches to the instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
device_index(i32)
/set_device_index(Option<i32>)
:
required: trueThe index of the device for the network interface attachment.
- On success, responds with
AttachNetworkInterfaceOutput
with field(s):attachment_id(Option<String>)
:The ID of the network interface attachment.
network_card_index(Option<i32>)
:The index of the network card.
- On failure, responds with
SdkError<AttachNetworkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn attach_verified_access_trust_provider(
&self,
) -> AttachVerifiedAccessTrustProviderFluentBuilder
pub fn attach_verified_access_trust_provider( &self, ) -> AttachVerifiedAccessTrustProviderFluentBuilder
Constructs a fluent builder for the AttachVerifiedAccessTrustProvider
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
verified_access_trust_provider_id(impl Into<String>)
/set_verified_access_trust_provider_id(Option<String>)
:
required: trueThe ID of the Verified Access trust provider.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AttachVerifiedAccessTrustProviderOutput
with field(s):verified_access_trust_provider(Option<VerifiedAccessTrustProvider>)
:Details about the Verified Access trust provider.
verified_access_instance(Option<VerifiedAccessInstance>)
:Details about the Verified Access instance.
- On failure, responds with
SdkError<AttachVerifiedAccessTrustProviderError>
Source§impl Client
impl Client
Sourcepub fn attach_volume(&self) -> AttachVolumeFluentBuilder
pub fn attach_volume(&self) -> AttachVolumeFluentBuilder
Constructs a fluent builder for the AttachVolume
operation.
- The fluent builder is configurable:
device(impl Into<String>)
/set_device(Option<String>)
:
required: trueThe device name (for example,
/dev/sdh
orxvdh
).instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the EBS volume. The volume and instance must be within the same Availability Zone.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AttachVolumeOutput
with field(s):delete_on_termination(Option<bool>)
:Indicates whether the EBS volume is deleted on instance termination.
associated_resource(Option<String>)
:The ARN of the Amazon ECS or Fargate task to which the volume is attached.
instance_owning_service(Option<String>)
:The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.
This parameter is returned only for volumes that are attached to Fargate tasks.
volume_id(Option<String>)
:The ID of the volume.
instance_id(Option<String>)
:The ID of the instance.
If the volume is attached to a Fargate task, this parameter returns
null
.device(Option<String>)
:The device name.
If the volume is attached to a Fargate task, this parameter returns
null
.state(Option<VolumeAttachmentState>)
:The attachment state of the volume.
attach_time(Option<DateTime>)
:The time stamp when the attachment initiated.
- On failure, responds with
SdkError<AttachVolumeError>
Source§impl Client
impl Client
Sourcepub fn attach_vpn_gateway(&self) -> AttachVpnGatewayFluentBuilder
pub fn attach_vpn_gateway(&self) -> AttachVpnGatewayFluentBuilder
Constructs a fluent builder for the AttachVpnGateway
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
vpn_gateway_id(impl Into<String>)
/set_vpn_gateway_id(Option<String>)
:
required: trueThe ID of the virtual private gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AttachVpnGatewayOutput
with field(s):vpc_attachment(Option<VpcAttachment>)
:Information about the attachment.
- On failure, responds with
SdkError<AttachVpnGatewayError>
Source§impl Client
impl Client
Constructs a fluent builder for the AuthorizeClientVpnIngress
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
target_network_cidr(impl Into<String>)
/set_target_network_cidr(Option<String>)
:
required: trueThe IPv4 address range, in CIDR notation, of the network for which access is being authorized.
access_group_id(impl Into<String>)
/set_access_group_id(Option<String>)
:
required: falseThe ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if
AuthorizeAllGroups
isfalse
or not specified.authorize_all_groups(bool)
/set_authorize_all_groups(Option<bool>)
:
required: falseIndicates whether to grant access to all clients. Specify
true
to grant all clients who successfully establish a VPN connection access to the network. Must be set totrue
ifAccessGroupId
is not specified.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the authorization rule.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AuthorizeClientVpnIngressOutput
with field(s):status(Option<ClientVpnAuthorizationRuleStatus>)
:The current state of the authorization rule.
- On failure, responds with
SdkError<AuthorizeClientVpnIngressError>
Source§impl Client
impl Client
Constructs a fluent builder for the AuthorizeSecurityGroupEgress
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags applied to the security group rule.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: trueThe ID of the security group.
source_security_group_name(impl Into<String>)
/set_source_security_group_name(Option<String>)
:
required: falseNot supported. Use IP permissions instead.
source_security_group_owner_id(impl Into<String>)
/set_source_security_group_owner_id(Option<String>)
:
required: falseNot supported. Use IP permissions instead.
ip_protocol(impl Into<String>)
/set_ip_protocol(Option<String>)
:
required: falseNot supported. Use IP permissions instead.
from_port(i32)
/set_from_port(Option<i32>)
:
required: falseNot supported. Use IP permissions instead.
to_port(i32)
/set_to_port(Option<i32>)
:
required: falseNot supported. Use IP permissions instead.
cidr_ip(impl Into<String>)
/set_cidr_ip(Option<String>)
:
required: falseNot supported. Use IP permissions instead.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe permissions for the security group rules.
- On success, responds with
AuthorizeSecurityGroupEgressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.security_group_rules(Option<Vec::<SecurityGroupRule>>)
:Information about the outbound (egress) security group rules that were added.
- On failure, responds with
SdkError<AuthorizeSecurityGroupEgressError>
Source§impl Client
impl Client
Constructs a fluent builder for the AuthorizeSecurityGroupIngress
operation.
- The fluent builder is configurable:
cidr_ip(impl Into<String>)
/set_cidr_ip(Option<String>)
:
required: falseThe IPv4 address range, in CIDR format.
Amazon Web Services canonicalizes IPv4 and IPv6 CIDRs. For example, if you specify 100.68.0.18/18 for the CIDR block, Amazon Web Services canonicalizes the CIDR block to 100.68.0.0/18. Any subsequent DescribeSecurityGroups and DescribeSecurityGroupRules calls will return the canonicalized form of the CIDR block. Additionally, if you attempt to add another rule with the non-canonical form of the CIDR (such as 100.68.0.18/18) and there is already a rule for the canonicalized form of the CIDR block (such as 100.68.0.0/18), the API throws an duplicate rule error.
To specify an IPv6 address range, use IP permissions instead.
To specify multiple rules and descriptions for the rules, use IP permissions instead.
from_port(i32)
/set_from_port(Option<i32>)
:
required: falseIf the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
To specify multiple rules and descriptions for the rules, use IP permissions instead.
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe ID of the security group.
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: false[Default VPC] The name of the security group. For security groups for a default VPC you can specify either the ID or the name of the security group. For security groups for a nondefault VPC, you must specify the ID of the security group.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe permissions for the security group rules.
ip_protocol(impl Into<String>)
/set_ip_protocol(Option<String>)
:
required: falseThe IP protocol name (
tcp
,udp
,icmp
) or number (see Protocol Numbers). To specify all protocols, use-1
.To specify
icmpv6
, use IP permissions instead.If you specify a protocol other than one of the supported values, traffic is allowed on all ports, regardless of any ports that you specify.
To specify multiple rules and descriptions for the rules, use IP permissions instead.
source_security_group_name(impl Into<String>)
/set_source_security_group_name(Option<String>)
:
required: false[Default VPC] The name of the source security group.
The rule grants full ICMP, UDP, and TCP access. To create a rule with a specific protocol and port range, specify a set of IP permissions instead.
source_security_group_owner_id(impl Into<String>)
/set_source_security_group_owner_id(Option<String>)
:
required: falseThe Amazon Web Services account ID for the source security group, if the source security group is in a different account.
The rule grants full ICMP, UDP, and TCP access. To create a rule with a specific protocol and port range, use IP permissions instead.
to_port(i32)
/set_to_port(Option<i32>)
:
required: falseIf the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes).
To specify multiple rules and descriptions for the rules, use IP permissions instead.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags applied to the security group rule.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
AuthorizeSecurityGroupIngressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.security_group_rules(Option<Vec::<SecurityGroupRule>>)
:Information about the inbound (ingress) security group rules that were added.
- On failure, responds with
SdkError<AuthorizeSecurityGroupIngressError>
Source§impl Client
impl Client
Sourcepub fn bundle_instance(&self) -> BundleInstanceFluentBuilder
pub fn bundle_instance(&self) -> BundleInstanceFluentBuilder
Constructs a fluent builder for the BundleInstance
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance to bundle.
Default: None
storage(Storage)
/set_storage(Option<Storage>)
:
required: trueThe bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
BundleInstanceOutput
with field(s):bundle_task(Option<BundleTask>)
:Information about the bundle task.
- On failure, responds with
SdkError<BundleInstanceError>
Source§impl Client
impl Client
Sourcepub fn cancel_bundle_task(&self) -> CancelBundleTaskFluentBuilder
pub fn cancel_bundle_task(&self) -> CancelBundleTaskFluentBuilder
Constructs a fluent builder for the CancelBundleTask
operation.
- The fluent builder is configurable:
bundle_id(impl Into<String>)
/set_bundle_id(Option<String>)
:
required: trueThe ID of the bundle task.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CancelBundleTaskOutput
with field(s):bundle_task(Option<BundleTask>)
:Information about the bundle task.
- On failure, responds with
SdkError<CancelBundleTaskError>
Source§impl Client
impl Client
Sourcepub fn cancel_capacity_reservation(
&self,
) -> CancelCapacityReservationFluentBuilder
pub fn cancel_capacity_reservation( &self, ) -> CancelCapacityReservationFluentBuilder
Constructs a fluent builder for the CancelCapacityReservation
operation.
- The fluent builder is configurable:
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation to be cancelled.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CancelCapacityReservationOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<CancelCapacityReservationError>
Source§impl Client
impl Client
Sourcepub fn cancel_capacity_reservation_fleets(
&self,
) -> CancelCapacityReservationFleetsFluentBuilder
pub fn cancel_capacity_reservation_fleets( &self, ) -> CancelCapacityReservationFleetsFluentBuilder
Constructs a fluent builder for the CancelCapacityReservationFleets
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_reservation_fleet_ids(impl Into<String>)
/set_capacity_reservation_fleet_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Capacity Reservation Fleets to cancel.
- On success, responds with
CancelCapacityReservationFleetsOutput
with field(s):successful_fleet_cancellations(Option<Vec::<CapacityReservationFleetCancellationState>>)
:Information about the Capacity Reservation Fleets that were successfully cancelled.
failed_fleet_cancellations(Option<Vec::<FailedCapacityReservationFleetCancellationResult>>)
:Information about the Capacity Reservation Fleets that could not be cancelled.
- On failure, responds with
SdkError<CancelCapacityReservationFleetsError>
Source§impl Client
impl Client
Sourcepub fn cancel_conversion_task(&self) -> CancelConversionTaskFluentBuilder
pub fn cancel_conversion_task(&self) -> CancelConversionTaskFluentBuilder
Constructs a fluent builder for the CancelConversionTask
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.conversion_task_id(impl Into<String>)
/set_conversion_task_id(Option<String>)
:
required: trueThe ID of the conversion task.
reason_message(impl Into<String>)
/set_reason_message(Option<String>)
:
required: falseThe reason for canceling the conversion task.
- On success, responds with
CancelConversionTaskOutput
- On failure, responds with
SdkError<CancelConversionTaskError>
Source§impl Client
impl Client
Sourcepub fn cancel_declarative_policies_report(
&self,
) -> CancelDeclarativePoliciesReportFluentBuilder
pub fn cancel_declarative_policies_report( &self, ) -> CancelDeclarativePoliciesReportFluentBuilder
Constructs a fluent builder for the CancelDeclarativePoliciesReport
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.report_id(impl Into<String>)
/set_report_id(Option<String>)
:
required: trueThe ID of the report.
- On success, responds with
CancelDeclarativePoliciesReportOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.
- On failure, responds with
SdkError<CancelDeclarativePoliciesReportError>
Source§impl Client
impl Client
Sourcepub fn cancel_export_task(&self) -> CancelExportTaskFluentBuilder
pub fn cancel_export_task(&self) -> CancelExportTaskFluentBuilder
Constructs a fluent builder for the CancelExportTask
operation.
- The fluent builder is configurable:
export_task_id(impl Into<String>)
/set_export_task_id(Option<String>)
:
required: trueThe ID of the export task. This is the ID returned by the
CreateInstanceExportTask
andExportImage
operations.
- On success, responds with
CancelExportTaskOutput
- On failure, responds with
SdkError<CancelExportTaskError>
Source§impl Client
impl Client
Sourcepub fn cancel_image_launch_permission(
&self,
) -> CancelImageLaunchPermissionFluentBuilder
pub fn cancel_image_launch_permission( &self, ) -> CancelImageLaunchPermissionFluentBuilder
Constructs a fluent builder for the CancelImageLaunchPermission
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI that was shared with your Amazon Web Services account.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CancelImageLaunchPermissionOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<CancelImageLaunchPermissionError>
Source§impl Client
impl Client
Sourcepub fn cancel_import_task(&self) -> CancelImportTaskFluentBuilder
pub fn cancel_import_task(&self) -> CancelImportTaskFluentBuilder
Constructs a fluent builder for the CancelImportTask
operation.
- The fluent builder is configurable:
cancel_reason(impl Into<String>)
/set_cancel_reason(Option<String>)
:
required: falseThe reason for canceling the task.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.import_task_id(impl Into<String>)
/set_import_task_id(Option<String>)
:
required: falseThe ID of the import image or import snapshot task to be canceled.
- On success, responds with
CancelImportTaskOutput
with field(s):import_task_id(Option<String>)
:The ID of the task being canceled.
previous_state(Option<String>)
:The current state of the task being canceled.
state(Option<String>)
:The current state of the task being canceled.
- On failure, responds with
SdkError<CancelImportTaskError>
Source§impl Client
impl Client
Sourcepub fn cancel_reserved_instances_listing(
&self,
) -> CancelReservedInstancesListingFluentBuilder
pub fn cancel_reserved_instances_listing( &self, ) -> CancelReservedInstancesListingFluentBuilder
Constructs a fluent builder for the CancelReservedInstancesListing
operation.
- The fluent builder is configurable:
reserved_instances_listing_id(impl Into<String>)
/set_reserved_instances_listing_id(Option<String>)
:
required: trueThe ID of the Reserved Instance listing.
- On success, responds with
CancelReservedInstancesListingOutput
with field(s):reserved_instances_listings(Option<Vec::<ReservedInstancesListing>>)
:The Reserved Instance listing.
- On failure, responds with
SdkError<CancelReservedInstancesListingError>
Source§impl Client
impl Client
Sourcepub fn cancel_spot_fleet_requests(&self) -> CancelSpotFleetRequestsFluentBuilder
pub fn cancel_spot_fleet_requests(&self) -> CancelSpotFleetRequestsFluentBuilder
Constructs a fluent builder for the CancelSpotFleetRequests
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_fleet_request_ids(impl Into<String>)
/set_spot_fleet_request_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Spot Fleet requests.
Constraint: You can specify up to 100 IDs in a single request.
terminate_instances(bool)
/set_terminate_instances(Option<bool>)
:
required: trueIndicates whether to terminate the associated instances when the Spot Fleet request is canceled. The default is to terminate the instances.
To let the instances continue to run after the Spot Fleet request is canceled, specify
no-terminate-instances
.
- On success, responds with
CancelSpotFleetRequestsOutput
with field(s):successful_fleet_requests(Option<Vec::<CancelSpotFleetRequestsSuccessItem>>)
:Information about the Spot Fleet requests that are successfully canceled.
unsuccessful_fleet_requests(Option<Vec::<CancelSpotFleetRequestsErrorItem>>)
:Information about the Spot Fleet requests that are not successfully canceled.
- On failure, responds with
SdkError<CancelSpotFleetRequestsError>
Source§impl Client
impl Client
Sourcepub fn cancel_spot_instance_requests(
&self,
) -> CancelSpotInstanceRequestsFluentBuilder
pub fn cancel_spot_instance_requests( &self, ) -> CancelSpotInstanceRequestsFluentBuilder
Constructs a fluent builder for the CancelSpotInstanceRequests
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_instance_request_ids(impl Into<String>)
/set_spot_instance_request_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Spot Instance requests.
- On success, responds with
CancelSpotInstanceRequestsOutput
with field(s):cancelled_spot_instance_requests(Option<Vec::<CancelledSpotInstanceRequest>>)
:The Spot Instance requests.
- On failure, responds with
SdkError<CancelSpotInstanceRequestsError>
Source§impl Client
impl Client
Sourcepub fn confirm_product_instance(&self) -> ConfirmProductInstanceFluentBuilder
pub fn confirm_product_instance(&self) -> ConfirmProductInstanceFluentBuilder
Constructs a fluent builder for the ConfirmProductInstance
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
product_code(impl Into<String>)
/set_product_code(Option<String>)
:
required: trueThe product code. This must be a product code that you own.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
ConfirmProductInstanceOutput
with field(s):r#return(Option<bool>)
:The return value of the request. Returns
true
if the specified product code is owned by the requester and associated with the specified instance.owner_id(Option<String>)
:The Amazon Web Services account ID of the instance owner. This is only present if the product code is attached to the instance.
- On failure, responds with
SdkError<ConfirmProductInstanceError>
Source§impl Client
impl Client
Sourcepub fn copy_fpga_image(&self) -> CopyFpgaImageFluentBuilder
pub fn copy_fpga_image(&self) -> CopyFpgaImageFluentBuilder
Constructs a fluent builder for the CopyFpgaImage
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.source_fpga_image_id(impl Into<String>)
/set_source_fpga_image_id(Option<String>)
:
required: trueThe ID of the source AFI.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description for the new AFI.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name for the new AFI. The default is the name of the source AFI.
source_region(impl Into<String>)
/set_source_region(Option<String>)
:
required: trueThe Region that contains the source AFI.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- On success, responds with
CopyFpgaImageOutput
with field(s):fpga_image_id(Option<String>)
:The ID of the new AFI.
- On failure, responds with
SdkError<CopyFpgaImageError>
Source§impl Client
impl Client
Sourcepub fn copy_image(&self) -> CopyImageFluentBuilder
pub fn copy_image(&self) -> CopyImageFluentBuilder
Constructs a fluent builder for the CopyImage
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the new AMI in the destination Region.
encrypted(bool)
/set_encrypted(Option<bool>)
:
required: falseSpecifies whether the destination snapshots of the copied image should be encrypted. You can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted copy of an encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a non-default Key Management Service (KMS) KMS key using
KmsKeyId
. For more information, see Use encryption with EBS-backed AMIs in the Amazon EC2 User Guide.kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseThe identifier of the symmetric Key Management Service (KMS) KMS key to use when creating encrypted volumes. If this parameter is not specified, your Amazon Web Services managed KMS key for Amazon EBS is used. If you specify a KMS key, you must also set the encrypted state to
true
.You can specify a KMS key using any of the following:
-
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
-
Key alias. For example, alias/ExampleAlias.
-
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
-
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an identifier that is not valid, the action can appear to complete, but eventually fails.
The specified KMS key must exist in the destination Region.
Amazon EBS does not support asymmetric KMS keys.
-
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueThe name of the new AMI in the destination Region.
source_image_id(impl Into<String>)
/set_source_image_id(Option<String>)
:
required: trueThe ID of the AMI to copy.
source_region(impl Into<String>)
/set_source_region(Option<String>)
:
required: trueThe name of the Region that contains the AMI to copy.
destination_outpost_arn(impl Into<String>)
/set_destination_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost to which to copy the AMI. Only specify this parameter when copying an AMI from an Amazon Web Services Region to an Outpost. The AMI must be in the Region of the destination Outpost. You cannot copy an AMI from an Outpost to a Region, from one Outpost to another, or within the same Outpost.
For more information, see Copy AMIs from an Amazon Web Services Region to an Outpost in the Amazon EBS User Guide.
copy_image_tags(bool)
/set_copy_image_tags(Option<bool>)
:
required: falseIndicates whether to include your user-defined AMI tags when copying the AMI.
The following tags will not be copied:
-
System tags (prefixed with
aws:
) -
For public and shared AMIs, user-defined tags that are attached by other Amazon Web Services accounts
Default: Your user-defined AMI tags are not copied.
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new AMI and new snapshots. You can tag the AMI, the snapshots, or both.
-
To tag the new AMI, the value for
ResourceType
must beimage
. -
To tag the new snapshots, the value for
ResourceType
must besnapshot
. The same tag is applied to all the new snapshots.
If you specify other values for
ResourceType
, the request fails.To tag an AMI or snapshot after it has been created, see CreateTags.
-
snapshot_copy_completion_duration_minutes(i64)
/set_snapshot_copy_completion_duration_minutes(Option<i64>)
:
required: falseSpecify a completion duration, in 15 minute increments, to initiate a time-based AMI copy. The specified completion duration applies to each of the snapshots associated with the AMI. Each snapshot associated with the AMI will be completed within the specified completion duration, regardless of their size.
If you do not specify a value, the AMI copy operation is completed on a best-effort basis.
For more information, see Time-based copies.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CopyImageOutput
with field(s):image_id(Option<String>)
:The ID of the new AMI.
- On failure, responds with
SdkError<CopyImageError>
Source§impl Client
impl Client
Sourcepub fn copy_snapshot(&self) -> CopySnapshotFluentBuilder
pub fn copy_snapshot(&self) -> CopySnapshotFluentBuilder
Constructs a fluent builder for the CopySnapshot
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the EBS snapshot.
destination_outpost_arn(impl Into<String>)
/set_destination_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost to which to copy the snapshot. Only specify this parameter when copying a snapshot from an Amazon Web Services Region to an Outpost. The snapshot must be in the Region for the destination Outpost. You cannot copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.
For more information, see Copy snapshots from an Amazon Web Services Region to an Outpost in the Amazon EBS User Guide.
destination_region(impl Into<String>)
/set_destination_region(Option<String>)
:
required: falseThe destination Region to use in the
PresignedUrl
parameter of a snapshot copy operation. This parameter is only valid for specifying the destination Region in aPresignedUrl
parameter, where it is required.The snapshot copy is sent to the regional endpoint that you sent the HTTP request to (for example,
ec2.us-east-1.amazonaws.com
). With the CLI, this is specified using the–region
parameter or the default Region in your Amazon Web Services configuration file.encrypted(bool)
/set_encrypted(Option<bool>)
:
required: falseTo encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Otherwise, omit this parameter. Encrypted snapshots are encrypted, even if you omit this parameter and encryption by default is not enabled. You cannot set this parameter to false. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseThe identifier of the KMS key to use for Amazon EBS encryption. If this parameter is not specified, your KMS key for Amazon EBS is used. If
KmsKeyId
is specified, the encrypted state must betrue
.You can specify the KMS key using any of the following:
-
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
-
Key alias. For example, alias/ExampleAlias.
-
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
-
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails.
-
presigned_url(impl Into<String>)
/set_presigned_url(Option<String>)
:
required: falseWhen you copy an encrypted source snapshot using the Amazon EC2 Query API, you must supply a pre-signed URL. This parameter is optional for unencrypted snapshots. For more information, see Query requests.
The
PresignedUrl
should use the snapshot source endpoint, theCopySnapshot
action, and include theSourceRegion
,SourceSnapshotId
, andDestinationRegion
parameters. ThePresignedUrl
must be signed using Amazon Web Services Signature Version 4. Because EBS snapshots are stored in Amazon S3, the signing algorithm for this parameter uses the same logic that is described in Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference. An invalid or improperly signedPresignedUrl
will cause the copy operation to fail asynchronously, and the snapshot will move to anerror
state.source_region(impl Into<String>)
/set_source_region(Option<String>)
:
required: trueThe ID of the Region that contains the snapshot to be copied.
source_snapshot_id(impl Into<String>)
/set_source_snapshot_id(Option<String>)
:
required: trueThe ID of the EBS snapshot to copy.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new snapshot.
completion_duration_minutes(i32)
/set_completion_duration_minutes(Option<i32>)
:
required: falseSpecify a completion duration, in 15 minute increments, to initiate a time-based snapshot copy. Time-based snapshot copy operations complete within the specified duration. For more information, see Time-based copies.
If you do not specify a value, the snapshot copy operation is completed on a best-effort basis.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CopySnapshotOutput
with field(s):tags(Option<Vec::<Tag>>)
:Any tags applied to the new snapshot.
snapshot_id(Option<String>)
:The ID of the new snapshot.
- On failure, responds with
SdkError<CopySnapshotError>
Source§impl Client
impl Client
Sourcepub fn create_capacity_reservation(
&self,
) -> CreateCapacityReservationFluentBuilder
pub fn create_capacity_reservation( &self, ) -> CreateCapacityReservationFluentBuilder
Constructs a fluent builder for the CreateCapacityReservation
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
instance_type(impl Into<String>)
/set_instance_type(Option<String>)
:
required: trueThe instance type for which to reserve capacity.
You can request future-dated Capacity Reservations for instance types in the C, M, R, I, and T instance families only.
For more information, see Instance types in the Amazon EC2 User Guide.
instance_platform(CapacityReservationInstancePlatform)
/set_instance_platform(Option<CapacityReservationInstancePlatform>)
:
required: trueThe type of operating system for which to reserve capacity.
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: falseThe Availability Zone in which to create the Capacity Reservation.
availability_zone_id(impl Into<String>)
/set_availability_zone_id(Option<String>)
:
required: falseThe ID of the Availability Zone in which to create the Capacity Reservation.
tenancy(CapacityReservationTenancy)
/set_tenancy(Option<CapacityReservationTenancy>)
:
required: falseIndicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:
-
default
- The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
-
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: trueThe number of instances for which to reserve capacity.
You can request future-dated Capacity Reservations for an instance count with a minimum of 100 vCPUs. For example, if you request a future-dated Capacity Reservation for
m5.xlarge
instances, you must request at least 25 instances (25 * m5.xlarge = 100 vCPUs).Valid range: 1 - 1000
ebs_optimized(bool)
/set_ebs_optimized(Option<bool>)
:
required: falseIndicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS- optimized instance.
ephemeral_storage(bool)
/set_ephemeral_storage(Option<bool>)
:
required: falseDeprecated.
end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: falseThe date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation’s state changes to
expired
when it reaches its end date and time.You must provide an
EndDate
value ifEndDateType
islimited
. OmitEndDate
ifEndDateType
isunlimited
.If the
EndDateType
islimited
, the Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.If you are requesting a future-dated Capacity Reservation, you can’t specify an end date and time that is within the commitment duration.
end_date_type(EndDateType)
/set_end_date_type(Option<EndDateType>)
:
required: falseIndicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:
-
unlimited
- The Capacity Reservation remains active until you explicitly cancel it. Do not provide anEndDate
if theEndDateType
isunlimited
. -
limited
- The Capacity Reservation expires automatically at a specified date and time. You must provide anEndDate
value if theEndDateType
value islimited
.
-
instance_match_criteria(InstanceMatchCriteria)
/set_instance_match_criteria(Option<InstanceMatchCriteria>)
:
required: falseIndicates the type of instance launches that the Capacity Reservation accepts. The options include:
-
open
- The Capacity Reservation automatically matches all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes run in the Capacity Reservation automatically without specifying any additional parameters. -
targeted
- The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
If you are requesting a future-dated Capacity Reservation, you must specify
targeted
.Default:
open
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Capacity Reservation during launch.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseNot supported for future-dated Capacity Reservations.
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
placement_group_arn(impl Into<String>)
/set_placement_group_arn(Option<String>)
:
required: falseNot supported for future-dated Capacity Reservations.
The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation. For more information, see Capacity Reservations for cluster placement groups in the Amazon EC2 User Guide.
start_date(DateTime)
/set_start_date(Option<DateTime>)
:
required: falseRequired for future-dated Capacity Reservations only. To create a Capacity Reservation for immediate use, omit this parameter.
The date and time at which the future-dated Capacity Reservation should become available for use, in the ISO8601 format in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).You can request a future-dated Capacity Reservation between 5 and 120 days in advance.
commitment_duration(i64)
/set_commitment_duration(Option<i64>)
:
required: falseRequired for future-dated Capacity Reservations only. To create a Capacity Reservation for immediate use, omit this parameter.
Specify a commitment duration, in seconds, for the future-dated Capacity Reservation.
The commitment duration is a minimum duration for which you commit to having the future-dated Capacity Reservation in the
active
state in your account after it has been delivered.For more information, see Commitment duration.
delivery_preference(CapacityReservationDeliveryPreference)
/set_delivery_preference(Option<CapacityReservationDeliveryPreference>)
:
required: falseRequired for future-dated Capacity Reservations only. To create a Capacity Reservation for immediate use, omit this parameter.
Indicates that the requested capacity will be delivered in addition to any running instances or reserved capacity that you have in your account at the requested date and time.
The only supported value is
incremental
.
- On success, responds with
CreateCapacityReservationOutput
with field(s):capacity_reservation(Option<CapacityReservation>)
:Information about the Capacity Reservation.
- On failure, responds with
SdkError<CreateCapacityReservationError>
Source§impl Client
impl Client
Sourcepub fn create_capacity_reservation_by_splitting(
&self,
) -> CreateCapacityReservationBySplittingFluentBuilder
pub fn create_capacity_reservation_by_splitting( &self, ) -> CreateCapacityReservationBySplittingFluentBuilder
Constructs a fluent builder for the CreateCapacityReservationBySplitting
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
source_capacity_reservation_id(impl Into<String>)
/set_source_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation from which you want to split the capacity.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: trueThe number of instances to split from the source Capacity Reservation.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new Capacity Reservation.
- On success, responds with
CreateCapacityReservationBySplittingOutput
with field(s):source_capacity_reservation(Option<CapacityReservation>)
:Information about the source Capacity Reservation.
destination_capacity_reservation(Option<CapacityReservation>)
:Information about the destination Capacity Reservation.
instance_count(Option<i32>)
:The number of instances in the new Capacity Reservation. The number of instances in the source Capacity Reservation was reduced by this amount.
- On failure, responds with
SdkError<CreateCapacityReservationBySplittingError>
Source§impl Client
impl Client
Sourcepub fn create_capacity_reservation_fleet(
&self,
) -> CreateCapacityReservationFleetFluentBuilder
pub fn create_capacity_reservation_fleet( &self, ) -> CreateCapacityReservationFleetFluentBuilder
Constructs a fluent builder for the CreateCapacityReservationFleet
operation.
- The fluent builder is configurable:
allocation_strategy(impl Into<String>)
/set_allocation_strategy(Option<String>)
:
required: falseThe strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the
prioritized
allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.Valid values:
prioritized
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
instance_type_specifications(ReservationFleetInstanceSpecification)
/set_instance_type_specifications(Option<Vec::<ReservationFleetInstanceSpecification>>)
:
required: trueInformation about the instance types for which to reserve the capacity.
tenancy(FleetCapacityReservationTenancy)
/set_tenancy(Option<FleetCapacityReservationTenancy>)
:
required: falseIndicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:
-
default
- The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
-
total_target_capacity(i32)
/set_total_target_capacity(Option<i32>)
:
required: trueThe total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: falseThe date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to
expired
and all of the Capacity Reservations in the Fleet expire.The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify
5/31/2019
,13:30:55
, the Capacity Reservation Fleet is guaranteed to expire between13:30:55
and14:30:55
on5/31/2019
.instance_match_criteria(FleetInstanceMatchCriteria)
/set_instance_match_criteria(Option<FleetInstanceMatchCriteria>)
:
required: falseIndicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.
Currently, Capacity Reservation Fleets support
open
instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateCapacityReservationFleetOutput
with field(s):capacity_reservation_fleet_id(Option<String>)
:The ID of the Capacity Reservation Fleet.
state(Option<CapacityReservationFleetState>)
:The status of the Capacity Reservation Fleet.
total_target_capacity(Option<i32>)
:The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
total_fulfilled_capacity(Option<f64>)
:The requested capacity units that have been successfully reserved.
instance_match_criteria(Option<FleetInstanceMatchCriteria>)
:The instance matching criteria for the Capacity Reservation Fleet.
allocation_strategy(Option<String>)
:The allocation strategy used by the Capacity Reservation Fleet.
create_time(Option<DateTime>)
:The date and time at which the Capacity Reservation Fleet was created.
end_date(Option<DateTime>)
:The date and time at which the Capacity Reservation Fleet expires.
tenancy(Option<FleetCapacityReservationTenancy>)
:Indicates the tenancy of Capacity Reservation Fleet.
fleet_capacity_reservations(Option<Vec::<FleetCapacityReservation>>)
:Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
tags(Option<Vec::<Tag>>)
:The tags assigned to the Capacity Reservation Fleet.
- On failure, responds with
SdkError<CreateCapacityReservationFleetError>
Source§impl Client
impl Client
Sourcepub fn create_carrier_gateway(&self) -> CreateCarrierGatewayFluentBuilder
pub fn create_carrier_gateway(&self) -> CreateCarrierGatewayFluentBuilder
Constructs a fluent builder for the CreateCarrierGateway
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC to associate with the carrier gateway.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to associate with the carrier gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
CreateCarrierGatewayOutput
with field(s):carrier_gateway(Option<CarrierGateway>)
:Information about the carrier gateway.
- On failure, responds with
SdkError<CreateCarrierGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_client_vpn_endpoint(&self) -> CreateClientVpnEndpointFluentBuilder
pub fn create_client_vpn_endpoint(&self) -> CreateClientVpnEndpointFluentBuilder
Constructs a fluent builder for the CreateClientVpnEndpoint
operation.
- The fluent builder is configurable:
client_cidr_block(impl Into<String>)
/set_client_cidr_block(Option<String>)
:
required: trueThe IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. Client CIDR range must have a size of at least /22 and must not be greater than /12.
server_certificate_arn(impl Into<String>)
/set_server_certificate_arn(Option<String>)
:
required: trueThe ARN of the server certificate. For more information, see the Certificate Manager User Guide.
authentication_options(ClientVpnAuthenticationRequest)
/set_authentication_options(Option<Vec::<ClientVpnAuthenticationRequest>>)
:
required: trueInformation about the authentication method to be used to authenticate clients.
connection_log_options(ConnectionLogOptions)
/set_connection_log_options(Option<ConnectionLogOptions>)
:
required: trueInformation about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
-
dns_servers(impl Into<String>)
/set_dns_servers(Option<Vec::<String>>)
:
required: falseInformation about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.
transport_protocol(TransportProtocol)
/set_transport_protocol(Option<TransportProtocol>)
:
required: falseThe transport protocol to be used by the VPN session.
Default value:
udp
vpn_port(i32)
/set_vpn_port(Option<i32>)
:
required: falseThe port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values:
443
|1194
Default Value:
443
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the Client VPN endpoint.
split_tunnel(bool)
/set_split_tunnel(Option<bool>)
:
required: falseIndicates whether split-tunnel is enabled on the Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Client VPN endpoint during creation.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.
self_service_portal(SelfServicePortal)
/set_self_service_portal(Option<SelfServicePortal>)
:
required: falseSpecify whether to enable the self-service portal for the Client VPN endpoint.
Default Value:
enabled
client_connect_options(ClientConnectOptions)
/set_client_connect_options(Option<ClientConnectOptions>)
:
required: falseThe options for managing connection authorization for new client connections.
session_timeout_hours(i32)
/set_session_timeout_hours(Option<i32>)
:
required: falseThe maximum VPN session duration time in hours.
Valid values:
8 | 10 | 12 | 24
Default value:
24
client_login_banner_options(ClientLoginBannerOptions)
/set_client_login_banner_options(Option<ClientLoginBannerOptions>)
:
required: falseOptions for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
client_route_enforcement_options(ClientRouteEnforcementOptions)
/set_client_route_enforcement_options(Option<ClientRouteEnforcementOptions>)
:
required: falseClient route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
disconnect_on_session_timeout(bool)
/set_disconnect_on_session_timeout(Option<bool>)
:
required: falseIndicates whether the client VPN session is disconnected after the maximum timeout specified in
SessionTimeoutHours
is reached. Iftrue
, users are prompted to reconnect client VPN. Iffalse
, client VPN attempts to reconnect automatically. The default value isfalse
.
- On success, responds with
CreateClientVpnEndpointOutput
with field(s):client_vpn_endpoint_id(Option<String>)
:The ID of the Client VPN endpoint.
status(Option<ClientVpnEndpointStatus>)
:The current state of the Client VPN endpoint.
dns_name(Option<String>)
:The DNS name to be used by clients when establishing their VPN session.
- On failure, responds with
SdkError<CreateClientVpnEndpointError>
Source§impl Client
impl Client
Sourcepub fn create_client_vpn_route(&self) -> CreateClientVpnRouteFluentBuilder
pub fn create_client_vpn_route(&self) -> CreateClientVpnRouteFluentBuilder
Constructs a fluent builder for the CreateClientVpnRoute
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint to which to add the route.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe IPv4 address range, in CIDR notation, of the route destination. For example:
-
To add a route for Internet access, enter
0.0.0.0/0
-
To add a route for a peered VPC, enter the peered VPC’s IPv4 CIDR range
-
To add a route for an on-premises network, enter the Amazon Web Services Site-to-Site VPN connection’s IPv4 CIDR range
-
To add a route for the local network, enter the client CIDR range
-
target_vpc_subnet_id(impl Into<String>)
/set_target_vpc_subnet_id(Option<String>)
:
required: trueThe ID of the subnet through which you want to route traffic. The specified subnet must be an existing target network of the Client VPN endpoint.
Alternatively, if you’re adding a route for the local network, specify
local
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the route.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateClientVpnRouteOutput
with field(s):status(Option<ClientVpnRouteStatus>)
:The current state of the route.
- On failure, responds with
SdkError<CreateClientVpnRouteError>
Source§impl Client
impl Client
Sourcepub fn create_coip_cidr(&self) -> CreateCoipCidrFluentBuilder
pub fn create_coip_cidr(&self) -> CreateCoipCidrFluentBuilder
Constructs a fluent builder for the CreateCoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueA customer-owned IP address range to create.
coip_pool_id(impl Into<String>)
/set_coip_pool_id(Option<String>)
:
required: trueThe ID of the address pool.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateCoipCidrOutput
with field(s):coip_cidr(Option<CoipCidr>)
:Information about a range of customer-owned IP addresses.
- On failure, responds with
SdkError<CreateCoipCidrError>
Source§impl Client
impl Client
Sourcepub fn create_coip_pool(&self) -> CreateCoipPoolFluentBuilder
pub fn create_coip_pool(&self) -> CreateCoipPoolFluentBuilder
Constructs a fluent builder for the CreateCoipPool
operation.
- The fluent builder is configurable:
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the CoIP address pool.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateCoipPoolOutput
with field(s):coip_pool(Option<CoipPool>)
:Information about the CoIP address pool.
- On failure, responds with
SdkError<CreateCoipPoolError>
Source§impl Client
impl Client
Sourcepub fn create_customer_gateway(&self) -> CreateCustomerGatewayFluentBuilder
pub fn create_customer_gateway(&self) -> CreateCustomerGatewayFluentBuilder
Constructs a fluent builder for the CreateCustomerGateway
operation.
- The fluent builder is configurable:
bgp_asn(i32)
/set_bgp_asn(Option<i32>)
:
required: falseFor customer gateway devices that support BGP, specify the device’s ASN. You must specify either
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Default: 65000
Valid values:
1
to2,147,483,647
public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: falseThis member has been deprecated. The Internet-routable IP address for the customer gateway’s outside interface. The address must be static.
certificate_arn(impl Into<String>)
/set_certificate_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) for the customer gateway certificate.
r#type(GatewayType)
/set_type(Option<GatewayType>)
:
required: trueThe type of VPN connection that this customer gateway supports (
ipsec.1
).tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the customer gateway.
device_name(impl Into<String>)
/set_device_name(Option<String>)
:
required: falseA name for the customer gateway device.
Length Constraints: Up to 255 characters.
ip_address(impl Into<String>)
/set_ip_address(Option<String>)
:
required: falseIPv4 address for the customer gateway device’s outside interface. The address must be static. If
OutsideIpAddressType
in your VPN connection options is set toPrivateIpv4
, you can use an RFC6598 or RFC1918 private IPv4 address. IfOutsideIpAddressType
is set toPublicIpv4
, you can use a public IPv4 address.bgp_asn_extended(i64)
/set_bgp_asn_extended(Option<i64>)
:
required: falseFor customer gateway devices that support BGP, specify the device’s ASN. You must specify either
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Valid values:
2,147,483,648
to4,294,967,295
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateCustomerGatewayOutput
with field(s):customer_gateway(Option<CustomerGateway>)
:Information about the customer gateway.
- On failure, responds with
SdkError<CreateCustomerGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_default_subnet(&self) -> CreateDefaultSubnetFluentBuilder
pub fn create_default_subnet(&self) -> CreateDefaultSubnetFluentBuilder
Constructs a fluent builder for the CreateDefaultSubnet
operation.
- The fluent builder is configurable:
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: trueThe Availability Zone in which to create the default subnet.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.ipv6_native(bool)
/set_ipv6_native(Option<bool>)
:
required: falseIndicates whether to create an IPv6 only subnet. If you already have a default subnet for this Availability Zone, you must delete it before you can create an IPv6 only subnet.
- On success, responds with
CreateDefaultSubnetOutput
with field(s):subnet(Option<Subnet>)
:Information about the subnet.
- On failure, responds with
SdkError<CreateDefaultSubnetError>
Source§impl Client
impl Client
Sourcepub fn create_default_vpc(&self) -> CreateDefaultVpcFluentBuilder
pub fn create_default_vpc(&self) -> CreateDefaultVpcFluentBuilder
Constructs a fluent builder for the CreateDefaultVpc
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateDefaultVpcOutput
with field(s):vpc(Option<Vpc>)
:Information about the VPC.
- On failure, responds with
SdkError<CreateDefaultVpcError>
Source§impl Client
impl Client
Sourcepub fn create_dhcp_options(&self) -> CreateDhcpOptionsFluentBuilder
pub fn create_dhcp_options(&self) -> CreateDhcpOptionsFluentBuilder
Constructs a fluent builder for the CreateDhcpOptions
operation.
- The fluent builder is configurable:
dhcp_configurations(NewDhcpConfiguration)
/set_dhcp_configurations(Option<Vec::<NewDhcpConfiguration>>)
:
required: trueA DHCP configuration option.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the DHCP option.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateDhcpOptionsOutput
with field(s):dhcp_options(Option<DhcpOptions>)
:A set of DHCP options.
- On failure, responds with
SdkError<CreateDhcpOptionsError>
Source§impl Client
impl Client
Sourcepub fn create_egress_only_internet_gateway(
&self,
) -> CreateEgressOnlyInternetGatewayFluentBuilder
pub fn create_egress_only_internet_gateway( &self, ) -> CreateEgressOnlyInternetGatewayFluentBuilder
Constructs a fluent builder for the CreateEgressOnlyInternetGateway
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC for which to create the egress-only internet gateway.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the egress-only internet gateway.
- On success, responds with
CreateEgressOnlyInternetGatewayOutput
with field(s):client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
egress_only_internet_gateway(Option<EgressOnlyInternetGateway>)
:Information about the egress-only internet gateway.
- On failure, responds with
SdkError<CreateEgressOnlyInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_fleet(&self) -> CreateFleetFluentBuilder
pub fn create_fleet(&self) -> CreateFleetFluentBuilder
Constructs a fluent builder for the CreateFleet
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring idempotency.
spot_options(SpotOptionsRequest)
/set_spot_options(Option<SpotOptionsRequest>)
:
required: falseDescribes the configuration of Spot Instances in an EC2 Fleet.
on_demand_options(OnDemandOptionsRequest)
/set_on_demand_options(Option<OnDemandOptionsRequest>)
:
required: falseDescribes the configuration of On-Demand Instances in an EC2 Fleet.
excess_capacity_termination_policy(FleetExcessCapacityTerminationPolicy)
/set_excess_capacity_termination_policy(Option<FleetExcessCapacityTerminationPolicy>)
:
required: falseIndicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.launch_template_configs(FleetLaunchTemplateConfigRequest)
/set_launch_template_configs(Option<Vec::<FleetLaunchTemplateConfigRequest>>)
:
required: trueThe configuration for the EC2 Fleet.
target_capacity_specification(TargetCapacitySpecificationRequest)
/set_target_capacity_specification(Option<TargetCapacitySpecificationRequest>)
:
required: trueThe number of units to request.
terminate_instances_with_expiration(bool)
/set_terminate_instances_with_expiration(Option<bool>)
:
required: falseIndicates whether running instances should be terminated when the EC2 Fleet expires.
r#type(FleetType)
/set_type(Option<FleetType>)
:
required: falseThe fleet type. The default value is
maintain
.-
maintain
- The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances. -
request
- The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted. -
instant
- The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.
For more information, see EC2 Fleet request types in the Amazon EC2 User Guide.
-
valid_from(DateTime)
/set_valid_from(Option<DateTime>)
:
required: falseThe start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.
valid_until(DateTime)
/set_valid_until(Option<DateTime>)
:
required: falseThe end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.
replace_unhealthy_instances(bool)
/set_replace_unhealthy_instances(Option<bool>)
:
required: falseIndicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type
maintain
. For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources.
If the fleet type is
instant
, specify a resource type offleet
to tag the fleet orinstance
to tag the instances at launch.If the fleet type is
maintain
orrequest
, specify a resource type offleet
to tag the fleet. You cannot specify a resource type ofinstance
. To tag instances at launch, specify the tags in a launch template.context(impl Into<String>)
/set_context(Option<String>)
:
required: falseReserved.
- On success, responds with
CreateFleetOutput
with field(s):fleet_id(Option<String>)
:The ID of the EC2 Fleet.
errors(Option<Vec::<CreateFleetError>>)
:Information about the instances that could not be launched by the fleet. Supported only for fleets of type
instant
.instances(Option<Vec::<CreateFleetInstance>>)
:Information about the instances that were launched by the fleet. Supported only for fleets of type
instant
.
- On failure, responds with
SdkError<CreateFleetError>
Source§impl Client
impl Client
Sourcepub fn create_flow_logs(&self) -> CreateFlowLogsFluentBuilder
pub fn create_flow_logs(&self) -> CreateFlowLogsFluentBuilder
Constructs a fluent builder for the CreateFlowLogs
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
deliver_logs_permission_arn(impl Into<String>)
/set_deliver_logs_permission_arn(Option<String>)
:
required: falseThe ARN of the IAM role that allows Amazon EC2 to publish flow logs to the log destination.
This parameter is required if the destination type is
cloud-watch-logs
, or if the destination type iskinesis-data-firehose
and the delivery stream and the resources to monitor are in different accounts.deliver_cross_account_role(impl Into<String>)
/set_deliver_cross_account_role(Option<String>)
:
required: falseThe ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
log_group_name(impl Into<String>)
/set_log_group_name(Option<String>)
:
required: falseThe name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.
This parameter is valid only if the destination type is
cloud-watch-logs
.resource_ids(impl Into<String>)
/set_resource_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the resources to monitor. For example, if the resource type is
VPC
, specify the IDs of the VPCs.Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the other resource types.
resource_type(FlowLogsResourceType)
/set_resource_type(Option<FlowLogsResourceType>)
:
required: trueThe type of resource to monitor.
traffic_type(TrafficType)
/set_traffic_type(Option<TrafficType>)
:
required: falseThe type of traffic to monitor (accepted traffic, rejected traffic, or all traffic). This parameter is not supported for transit gateway resource types. It is required for the other resource types.
log_destination_type(LogDestinationType)
/set_log_destination_type(Option<LogDestinationType>)
:
required: falseThe type of destination for the flow log data.
Default:
cloud-watch-logs
log_destination(impl Into<String>)
/set_log_destination(Option<String>)
:
required: falseThe destination for the flow log data. The meaning of this parameter depends on the destination type.
-
If the destination type is
cloud-watch-logs
, specify the ARN of a CloudWatch Logs log group. For example:arn:aws:logs:region:account_id:log-group:my_group
Alternatively, use the
LogGroupName
parameter. -
If the destination type is
s3
, specify the ARN of an S3 bucket. For example:arn:aws:s3:::my_bucket/my_subfolder/
The subfolder is optional. Note that you can’t use
AWSLogs
as a subfolder name. -
If the destination type is
kinesis-data-firehose
, specify the ARN of a Kinesis Data Firehose delivery stream. For example:arn:aws:firehose:region:account_id:deliverystream:my_stream
-
log_format(impl Into<String>)
/set_log_format(Option<String>)
:
required: falseThe fields to include in the flow log record. List the fields in the order in which they should appear. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must include at least one field. For more information about the available fields, see Flow log records in the Amazon VPC User Guide or Transit Gateway Flow Log records in the Amazon Web Services Transit Gateway Guide.
Specify the fields using the
${field-id}
format, separated by spaces.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the flow logs.
max_aggregation_interval(i32)
/set_max_aggregation_interval(Option<i32>)
:
required: falseThe maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter must be 60 seconds for transit gateway resource types.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds or less, regardless of the value that you specify.
Default: 600
destination_options(DestinationOptionsRequest)
/set_destination_options(Option<DestinationOptionsRequest>)
:
required: falseThe destination options.
- On success, responds with
CreateFlowLogsOutput
with field(s):client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
flow_log_ids(Option<Vec::<String>>)
:The IDs of the flow logs.
unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the flow logs that could not be created successfully.
- On failure, responds with
SdkError<CreateFlowLogsError>
Source§impl Client
impl Client
Sourcepub fn create_fpga_image(&self) -> CreateFpgaImageFluentBuilder
pub fn create_fpga_image(&self) -> CreateFpgaImageFluentBuilder
Constructs a fluent builder for the CreateFpgaImage
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.input_storage_location(StorageLocation)
/set_input_storage_location(Option<StorageLocation>)
:
required: trueThe location of the encrypted design checkpoint in Amazon S3. The input must be a tarball.
logs_storage_location(StorageLocation)
/set_logs_storage_location(Option<StorageLocation>)
:
required: falseThe location in Amazon S3 for the output logs.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the AFI.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the AFI.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the FPGA image during creation.
- On success, responds with
CreateFpgaImageOutput
with field(s):fpga_image_id(Option<String>)
:The FPGA image identifier (AFI ID).
fpga_image_global_id(Option<String>)
:The global FPGA image identifier (AGFI ID).
- On failure, responds with
SdkError<CreateFpgaImageError>
Source§impl Client
impl Client
Sourcepub fn create_image(&self) -> CreateImageFluentBuilder
pub fn create_image(&self) -> CreateImageFluentBuilder
Constructs a fluent builder for the CreateImage
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the AMI and snapshots on creation. You can tag the AMI, the snapshots, or both.
-
To tag the AMI, the value for
ResourceType
must beimage
. -
To tag the snapshots that are created of the root volume and of other Amazon EBS volumes that are attached to the instance, the value for
ResourceType
must besnapshot
. The same tag is applied to all of the snapshots that are created.
If you specify other values for
ResourceType
, the request fails.To tag an AMI or snapshot after it has been created, see CreateTags.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for the new image.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes (’), at-signs (@), or underscores(_)
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the new image.
no_reboot(bool)
/set_no_reboot(Option<bool>)
:
required: falseIndicates whether or not the instance should be automatically rebooted before creating the image. Specify one of the following values:
-
true
- The instance is not rebooted before creating the image. This creates crash-consistent snapshots that include only the data that has been written to the volumes at the time the snapshots are created. Buffered data and data in memory that has not yet been written to the volumes is not included in the snapshots. -
false
- The instance is rebooted before creating the image. This ensures that all buffered data and data in memory is written to the volumes before the snapshots are created.
Default:
false
-
block_device_mappings(BlockDeviceMapping)
/set_block_device_mappings(Option<Vec::<BlockDeviceMapping>>)
:
required: falseThe block device mappings.
When using the CreateImage action:
-
You can’t change the volume size using the VolumeSize parameter. If you want a different volume size, you must first change the volume size of the source instance.
-
You can’t modify the encryption status of existing volumes or snapshots. To create an AMI with volumes or snapshots that have a different encryption status (for example, where the source volume and snapshots are unencrypted, and you want to create an AMI with encrypted volumes or snapshots), use the
CopyImage
action. -
The only option that can be changed for existing mappings or snapshots is
DeleteOnTermination
.
-
- On success, responds with
CreateImageOutput
with field(s):image_id(Option<String>)
:The ID of the new AMI.
- On failure, responds with
SdkError<CreateImageError>
Source§impl Client
impl Client
Sourcepub fn create_instance_connect_endpoint(
&self,
) -> CreateInstanceConnectEndpointFluentBuilder
pub fn create_instance_connect_endpoint( &self, ) -> CreateInstanceConnectEndpointFluentBuilder
Constructs a fluent builder for the CreateInstanceConnectEndpoint
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet in which to create the EC2 Instance Connect Endpoint.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: falseOne or more security groups to associate with the endpoint. If you don’t specify a security group, the default security group for your VPC will be associated with the endpoint.
preserve_client_ip(bool)
/set_preserve_client_ip(Option<bool>)
:
required: falseIndicates whether the client IP address is preserved as the source. The following are the possible values.
-
true
- Use the client IP address as the source. -
false
- Use the network interface IP address as the source.
Default:
false
-
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the EC2 Instance Connect Endpoint during creation.
- On success, responds with
CreateInstanceConnectEndpointOutput
with field(s):instance_connect_endpoint(Option<Ec2InstanceConnectEndpoint>)
:Information about the EC2 Instance Connect Endpoint.
client_token(Option<String>)
:Unique, case-sensitive idempotency token provided by the client in the the request.
- On failure, responds with
SdkError<CreateInstanceConnectEndpointError>
Source§impl Client
impl Client
Sourcepub fn create_instance_event_window(
&self,
) -> CreateInstanceEventWindowFluentBuilder
pub fn create_instance_event_window( &self, ) -> CreateInstanceEventWindowFluentBuilder
Constructs a fluent builder for the CreateInstanceEventWindow
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the event window.
time_ranges(InstanceEventWindowTimeRangeRequest)
/set_time_ranges(Option<Vec::<InstanceEventWindowTimeRangeRequest>>)
:
required: falseThe time range for the event window. If you specify a time range, you can’t specify a cron expression.
cron_expression(impl Into<String>)
/set_cron_expression(Option<String>)
:
required: falseThe cron expression for the event window, for example,
* 0-4,20-23 * * 1,5
. If you specify a cron expression, you can’t specify a time range.Constraints:
-
Only hour and day of the week values are supported.
-
For day of the week values, you can specify either integers
0
through6
, or alternative single valuesSUN
throughSAT
. -
The minute, month, and year must be specified by
*
. -
The hour value must be one or a multiple range, for example,
0-4
or0-4,20-23
. -
Each hour range must be >= 2 hours, for example,
0-2
or20-23
. -
The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.
For more information about cron expressions, see cron on the Wikipedia website.
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the event window.
- On success, responds with
CreateInstanceEventWindowOutput
with field(s):instance_event_window(Option<InstanceEventWindow>)
:Information about the event window.
- On failure, responds with
SdkError<CreateInstanceEventWindowError>
Source§impl Client
impl Client
Sourcepub fn create_instance_export_task(
&self,
) -> CreateInstanceExportTaskFluentBuilder
pub fn create_instance_export_task( &self, ) -> CreateInstanceExportTaskFluentBuilder
Constructs a fluent builder for the CreateInstanceExportTask
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the export instance task during creation.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the conversion task or the resource being exported. The maximum length is 255 characters.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
target_environment(ExportEnvironment)
/set_target_environment(Option<ExportEnvironment>)
:
required: trueThe target virtualization environment.
export_to_s3_task(ExportToS3TaskSpecification)
/set_export_to_s3_task(Option<ExportToS3TaskSpecification>)
:
required: trueThe format and location for an export instance task.
- On success, responds with
CreateInstanceExportTaskOutput
with field(s):export_task(Option<ExportTask>)
:Information about the export instance task.
- On failure, responds with
SdkError<CreateInstanceExportTaskError>
Source§impl Client
impl Client
Sourcepub fn create_internet_gateway(&self) -> CreateInternetGatewayFluentBuilder
pub fn create_internet_gateway(&self) -> CreateInternetGatewayFluentBuilder
Constructs a fluent builder for the CreateInternetGateway
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the internet gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateInternetGatewayOutput
with field(s):internet_gateway(Option<InternetGateway>)
:Information about the internet gateway.
- On failure, responds with
SdkError<CreateInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_ipam(&self) -> CreateIpamFluentBuilder
pub fn create_ipam(&self) -> CreateIpamFluentBuilder
Constructs a fluent builder for the CreateIpam
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the IPAM.
operating_regions(AddIpamOperatingRegion)
/set_operating_regions(Option<Vec::<AddIpamOperatingRegion>>)
:
required: falseThe operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
tier(IpamTier)
/set_tier(Option<IpamTier>)
:
required: falseIPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.
enable_private_gua(bool)
/set_enable_private_gua(Option<bool>)
:
required: falseEnable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
- On success, responds with
CreateIpamOutput
with field(s):ipam(Option<Ipam>)
:Information about the IPAM created.
- On failure, responds with
SdkError<CreateIpamError>
Source§impl Client
impl Client
Sourcepub fn create_ipam_external_resource_verification_token(
&self,
) -> CreateIpamExternalResourceVerificationTokenFluentBuilder
pub fn create_ipam_external_resource_verification_token( &self, ) -> CreateIpamExternalResourceVerificationTokenFluentBuilder
Constructs a fluent builder for the CreateIpamExternalResourceVerificationToken
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueThe ID of the IPAM that will create the token.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseToken tags.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- On success, responds with
CreateIpamExternalResourceVerificationTokenOutput
with field(s):ipam_external_resource_verification_token(Option<IpamExternalResourceVerificationToken>)
:The verification token.
- On failure, responds with
SdkError<CreateIpamExternalResourceVerificationTokenError>
Source§impl Client
impl Client
Sourcepub fn create_ipam_pool(&self) -> CreateIpamPoolFluentBuilder
pub fn create_ipam_pool(&self) -> CreateIpamPoolFluentBuilder
Constructs a fluent builder for the CreateIpamPool
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_scope_id(impl Into<String>)
/set_ipam_scope_id(Option<String>)
:
required: trueThe ID of the scope in which you would like to create the IPAM pool.
locale(impl Into<String>)
/set_locale(Option<String>)
:
required: falseThe locale for the pool should be one of the following:
-
An Amazon Web Services Region where you want this IPAM pool to be available for allocations.
-
The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations (supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.
Possible values: Any Amazon Web Services Region or supported Amazon Web Services Local Zone. Default is
none
and means any locale.-
source_ipam_pool_id(impl Into<String>)
/set_source_ipam_pool_id(Option<String>)
:
required: falseThe ID of the source IPAM pool. Use this option to create a pool within an existing pool. Note that the CIDR you provision for the pool within the source pool must be available in the source pool’s CIDR range.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the IPAM pool.
address_family(AddressFamily)
/set_address_family(Option<AddressFamily>)
:
required: trueThe IP protocol assigned to this IPAM pool. You must choose either IPv4 or IPv6 protocol for a pool.
auto_import(bool)
/set_auto_import(Option<bool>)
:
required: falseIf selected, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool’s allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
publicly_advertisable(bool)
/set_publicly_advertisable(Option<bool>)
:
required: falseDetermines if the pool is publicly advertisable. The request can only contain
PubliclyAdvertisable
ifAddressFamily
isipv6
andPublicIpSource
isbyoip
.allocation_min_netmask_length(i32)
/set_allocation_min_netmask_length(Option<i32>)
:
required: falseThe minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
allocation_max_netmask_length(i32)
/set_allocation_max_netmask_length(Option<i32>)
:
required: falseThe maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
allocation_default_netmask_length(i32)
/set_allocation_default_netmask_length(Option<i32>)
:
required: falseThe default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
allocation_resource_tags(RequestIpamResourceTag)
/set_allocation_resource_tags(Option<Vec::<RequestIpamResourceTag>>)
:
required: falseTags that are required for resources that use CIDRs from this IPAM pool. Resources that do not have these tags will not be allowed to allocate space from the pool. If the resources have their tags changed after they have allocated space or if the allocation tagging requirements are changed on the pool, the resource may be marked as noncompliant.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
aws_service(IpamPoolAwsService)
/set_aws_service(Option<IpamPoolAwsService>)
:
required: falseLimits which service in Amazon Web Services that the pool can be used in. “ec2”, for example, allows users to use space for Elastic IP addresses and VPCs.
public_ip_source(IpamPoolPublicIpSource)
/set_public_ip_source(Option<IpamPoolPublicIpSource>)
:
required: falseThe IP address source for pools in the public scope. Only used for provisioning IP address CIDRs to pools in the public scope. Default is
byoip
. For more information, see Create IPv6 pools in the Amazon VPC IPAM User Guide. By default, you can add only one Amazon-provided IPv6 CIDR block to a top-level IPv6 pool if PublicIpSource isamazon
. For information on increasing the default limit, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.source_resource(IpamPoolSourceResourceRequest)
/set_source_resource(Option<IpamPoolSourceResourceRequest>)
:
required: falseThe resource used to provision CIDRs to a resource planning pool.
- On success, responds with
CreateIpamPoolOutput
with field(s):ipam_pool(Option<IpamPool>)
:Information about the IPAM pool created.
- On failure, responds with
SdkError<CreateIpamPoolError>
Source§impl Client
impl Client
Sourcepub fn create_ipam_resource_discovery(
&self,
) -> CreateIpamResourceDiscoveryFluentBuilder
pub fn create_ipam_resource_discovery( &self, ) -> CreateIpamResourceDiscoveryFluentBuilder
Constructs a fluent builder for the CreateIpamResourceDiscovery
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the IPAM resource discovery.
operating_regions(AddIpamOperatingRegion)
/set_operating_regions(Option<Vec::<AddIpamOperatingRegion>>)
:
required: falseOperating Regions for the IPAM resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseTag specifications for the IPAM resource discovery.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA client token for the IPAM resource discovery.
- On success, responds with
CreateIpamResourceDiscoveryOutput
with field(s):ipam_resource_discovery(Option<IpamResourceDiscovery>)
:An IPAM resource discovery.
- On failure, responds with
SdkError<CreateIpamResourceDiscoveryError>
Source§impl Client
impl Client
Sourcepub fn create_ipam_scope(&self) -> CreateIpamScopeFluentBuilder
pub fn create_ipam_scope(&self) -> CreateIpamScopeFluentBuilder
Constructs a fluent builder for the CreateIpamScope
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueThe ID of the IPAM for which you’re creating this scope.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the scope you’re creating.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- On success, responds with
CreateIpamScopeOutput
with field(s):ipam_scope(Option<IpamScope>)
:Information about the created scope.
- On failure, responds with
SdkError<CreateIpamScopeError>
Source§impl Client
impl Client
Sourcepub fn create_key_pair(&self) -> CreateKeyPairFluentBuilder
pub fn create_key_pair(&self) -> CreateKeyPairFluentBuilder
Constructs a fluent builder for the CreateKeyPair
operation.
- The fluent builder is configurable:
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: trueA unique name for the key pair.
Constraints: Up to 255 ASCII characters
key_type(KeyType)
/set_key_type(Option<KeyType>)
:
required: falseThe type of key pair. Note that ED25519 keys are not supported for Windows instances.
Default:
rsa
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new key pair.
key_format(KeyFormat)
/set_key_format(Option<KeyFormat>)
:
required: falseThe format of the key pair.
Default:
pem
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateKeyPairOutput
with field(s):key_pair_id(Option<String>)
:The ID of the key pair.
tags(Option<Vec::<Tag>>)
:Any tags applied to the key pair.
key_name(Option<String>)
:The name of the key pair.
key_fingerprint(Option<String>)
:-
For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
-
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
-
key_material(Option<String>)
:An unencrypted PEM encoded RSA or ED25519 private key.
- On failure, responds with
SdkError<CreateKeyPairError>
Source§impl Client
impl Client
Sourcepub fn create_launch_template(&self) -> CreateLaunchTemplateFluentBuilder
pub fn create_launch_template(&self) -> CreateLaunchTemplateFluentBuilder
Constructs a fluent builder for the CreateLaunchTemplate
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn’t specified, a randomly generated token is used in the request to ensure idempotency.
For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: trueA name for the launch template.
version_description(impl Into<String>)
/set_version_description(Option<String>)
:
required: falseA description for the first version of the launch template.
launch_template_data(RequestLaunchTemplateData)
/set_launch_template_data(Option<RequestLaunchTemplateData>)
:
required: trueThe information for the launch template.
operator(OperatorRequest)
/set_operator(Option<OperatorRequest>)
:
required: falseReserved for internal use.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the launch template on creation. To tag the launch template, the resource type must be
launch-template
.To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications
parameter in the launch template data structure.
- On success, responds with
CreateLaunchTemplateOutput
with field(s):launch_template(Option<LaunchTemplate>)
:Information about the launch template.
warning(Option<ValidationWarning>)
:If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that’s found.
- On failure, responds with
SdkError<CreateLaunchTemplateError>
Source§impl Client
impl Client
Sourcepub fn create_launch_template_version(
&self,
) -> CreateLaunchTemplateVersionFluentBuilder
pub fn create_launch_template_version( &self, ) -> CreateLaunchTemplateVersionFluentBuilder
Constructs a fluent builder for the CreateLaunchTemplateVersion
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn’t specified, a randomly generated token is used in the request to ensure idempotency.
For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
launch_template_id(impl Into<String>)
/set_launch_template_id(Option<String>)
:
required: falseThe ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: falseThe name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
source_version(impl Into<String>)
/set_source_version(Option<String>)
:
required: falseThe version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.
If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.
version_description(impl Into<String>)
/set_version_description(Option<String>)
:
required: falseA description for the version of the launch template.
launch_template_data(RequestLaunchTemplateData)
/set_launch_template_data(Option<RequestLaunchTemplateData>)
:
required: trueThe information for the launch template.
resolve_alias(bool)
/set_resolve_alias(Option<bool>)
:
required: falseIf
true
, and if a Systems Manager parameter is specified forImageId
, the AMI ID is displayed in the response forimageID
. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.Default:
false
- On success, responds with
CreateLaunchTemplateVersionOutput
with field(s):launch_template_version(Option<LaunchTemplateVersion>)
:Information about the launch template version.
warning(Option<ValidationWarning>)
:If the new version of the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that’s found.
- On failure, responds with
SdkError<CreateLaunchTemplateVersionError>
Source§impl Client
impl Client
Sourcepub fn create_local_gateway_route(&self) -> CreateLocalGatewayRouteFluentBuilder
pub fn create_local_gateway_route(&self) -> CreateLocalGatewayRouteFluentBuilder
Constructs a fluent builder for the CreateLocalGatewayRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe CIDR range used for destination matches. Routing decisions are based on the most specific match.
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
local_gateway_virtual_interface_group_id(impl Into<String>)
/set_local_gateway_virtual_interface_group_id(Option<String>)
:
required: falseThe ID of the virtual interface group.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe ID of the network interface.
destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseThe ID of the prefix list. Use a prefix list in place of
DestinationCidrBlock
. You cannot useDestinationPrefixListId
andDestinationCidrBlock
in the same request.
- On success, responds with
CreateLocalGatewayRouteOutput
with field(s):route(Option<LocalGatewayRoute>)
:Information about the route.
- On failure, responds with
SdkError<CreateLocalGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn create_local_gateway_route_table(
&self,
) -> CreateLocalGatewayRouteTableFluentBuilder
pub fn create_local_gateway_route_table( &self, ) -> CreateLocalGatewayRouteTableFluentBuilder
Constructs a fluent builder for the CreateLocalGatewayRouteTable
operation.
- The fluent builder is configurable:
local_gateway_id(impl Into<String>)
/set_local_gateway_id(Option<String>)
:
required: trueThe ID of the local gateway.
mode(LocalGatewayRouteTableMode)
/set_mode(Option<LocalGatewayRouteTableMode>)
:
required: falseThe mode of the local gateway route table.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags assigned to the local gateway route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateLocalGatewayRouteTableOutput
with field(s):local_gateway_route_table(Option<LocalGatewayRouteTable>)
:Information about the local gateway route table.
- On failure, responds with
SdkError<CreateLocalGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn create_local_gateway_route_table_virtual_interface_group_association(
&self,
) -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder
pub fn create_local_gateway_route_table_virtual_interface_group_association( &self, ) -> CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder
Constructs a fluent builder for the CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
operation.
- The fluent builder is configurable:
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
local_gateway_virtual_interface_group_id(impl Into<String>)
/set_local_gateway_virtual_interface_group_id(Option<String>)
:
required: trueThe ID of the local gateway route table virtual interface group association.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags assigned to the local gateway route table virtual interface group association.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput
with field(s):local_gateway_route_table_virtual_interface_group_association(Option<LocalGatewayRouteTableVirtualInterfaceGroupAssociation>)
:Information about the local gateway route table virtual interface group association.
- On failure, responds with
SdkError<CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationError>
Source§impl Client
impl Client
Sourcepub fn create_local_gateway_route_table_vpc_association(
&self,
) -> CreateLocalGatewayRouteTableVpcAssociationFluentBuilder
pub fn create_local_gateway_route_table_vpc_association( &self, ) -> CreateLocalGatewayRouteTableVpcAssociationFluentBuilder
Constructs a fluent builder for the CreateLocalGatewayRouteTableVpcAssociation
operation.
- The fluent builder is configurable:
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the local gateway route table VPC association.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateLocalGatewayRouteTableVpcAssociationOutput
with field(s):local_gateway_route_table_vpc_association(Option<LocalGatewayRouteTableVpcAssociation>)
:Information about the association.
- On failure, responds with
SdkError<CreateLocalGatewayRouteTableVpcAssociationError>
Source§impl Client
impl Client
Sourcepub fn create_managed_prefix_list(&self) -> CreateManagedPrefixListFluentBuilder
pub fn create_managed_prefix_list(&self) -> CreateManagedPrefixListFluentBuilder
Constructs a fluent builder for the CreateManagedPrefixList
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_name(impl Into<String>)
/set_prefix_list_name(Option<String>)
:
required: trueA name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws
.entries(AddPrefixListEntry)
/set_entries(Option<Vec::<AddPrefixListEntry>>)
:
required: falseOne or more entries for the prefix list.
max_entries(i32)
/set_max_entries(Option<i32>)
:
required: trueThe maximum number of entries for the prefix list.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the prefix list during creation.
address_family(impl Into<String>)
/set_address_family(Option<String>)
:
required: trueThe IP address type.
Valid Values:
IPv4
|IPv6
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraints: Up to 255 UTF-8 characters in length.
- On success, responds with
CreateManagedPrefixListOutput
with field(s):prefix_list(Option<ManagedPrefixList>)
:Information about the prefix list.
- On failure, responds with
SdkError<CreateManagedPrefixListError>
Source§impl Client
impl Client
Sourcepub fn create_nat_gateway(&self) -> CreateNatGatewayFluentBuilder
pub fn create_nat_gateway(&self) -> CreateNatGatewayFluentBuilder
Constructs a fluent builder for the CreateNatGateway
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: false[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 64 ASCII characters.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet in which to create the NAT gateway.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the NAT gateway.
connectivity_type(ConnectivityType)
/set_connectivity_type(Option<ConnectivityType>)
:
required: falseIndicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
private_ip_address(impl Into<String>)
/set_private_ip_address(Option<String>)
:
required: falseThe private IPv4 address to assign to the NAT gateway. If you don’t provide an address, a private IPv4 address will be automatically assigned.
secondary_allocation_ids(impl Into<String>)
/set_secondary_allocation_ids(Option<Vec::<String>>)
:
required: falseSecondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.
secondary_private_ip_addresses(impl Into<String>)
/set_secondary_private_ip_addresses(Option<Vec::<String>>)
:
required: falseSecondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.
secondary_private_ip_address_count(i32)
/set_secondary_private_ip_address_count(Option<i32>)
:
required: false[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.
- On success, responds with
CreateNatGatewayOutput
with field(s):client_token(Option<String>)
:Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
nat_gateway(Option<NatGateway>)
:Information about the NAT gateway.
- On failure, responds with
SdkError<CreateNatGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_network_acl(&self) -> CreateNetworkAclFluentBuilder
pub fn create_network_acl(&self) -> CreateNetworkAclFluentBuilder
Constructs a fluent builder for the CreateNetworkAcl
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the network ACL.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
CreateNetworkAclOutput
with field(s):network_acl(Option<NetworkAcl>)
:Information about the network ACL.
client_token(Option<String>)
:Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- On failure, responds with
SdkError<CreateNetworkAclError>
Source§impl Client
impl Client
Sourcepub fn create_network_acl_entry(&self) -> CreateNetworkAclEntryFluentBuilder
pub fn create_network_acl_entry(&self) -> CreateNetworkAclEntryFluentBuilder
Constructs a fluent builder for the CreateNetworkAclEntry
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_acl_id(impl Into<String>)
/set_network_acl_id(Option<String>)
:
required: trueThe ID of the network ACL.
rule_number(i32)
/set_rule_number(Option<i32>)
:
required: trueThe rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.
protocol(impl Into<String>)
/set_protocol(Option<String>)
:
required: trueThe protocol number. A value of “-1” means all protocols. If you specify “-1” or a protocol number other than “6” (TCP), “17” (UDP), or “1” (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol “58” (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol “58” (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.
rule_action(RuleAction)
/set_rule_action(Option<RuleAction>)
:
required: trueIndicates whether to allow or deny the traffic that matches the rule.
egress(bool)
/set_egress(Option<bool>)
:
required: trueIndicates whether this is an egress rule (rule is applied to traffic leaving the subnet).
cidr_block(impl Into<String>)
/set_cidr_block(Option<String>)
:
required: falseThe IPv4 network range to allow or deny, in CIDR notation (for example
172.16.0.0/24
). We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18
, we modify it to100.68.0.0/18
.ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 network range to allow or deny, in CIDR notation (for example
2001:db8:1234:1a00::/64
).icmp_type_code(IcmpTypeCode)
/set_icmp_type_code(Option<IcmpTypeCode>)
:
required: falseICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.
port_range(PortRange)
/set_port_range(Option<PortRange>)
:
required: falseTCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).
- On success, responds with
CreateNetworkAclEntryOutput
- On failure, responds with
SdkError<CreateNetworkAclEntryError>
Source§impl Client
impl Client
Sourcepub fn create_network_insights_access_scope(
&self,
) -> CreateNetworkInsightsAccessScopeFluentBuilder
pub fn create_network_insights_access_scope( &self, ) -> CreateNetworkInsightsAccessScopeFluentBuilder
Constructs a fluent builder for the CreateNetworkInsightsAccessScope
operation.
- The fluent builder is configurable:
match_paths(AccessScopePathRequest)
/set_match_paths(Option<Vec::<AccessScopePathRequest>>)
:
required: falseThe paths to match.
exclude_paths(AccessScopePathRequest)
/set_exclude_paths(Option<Vec::<AccessScopePathRequest>>)
:
required: falseThe paths to exclude.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateNetworkInsightsAccessScopeOutput
with field(s):network_insights_access_scope(Option<NetworkInsightsAccessScope>)
:The Network Access Scope.
network_insights_access_scope_content(Option<NetworkInsightsAccessScopeContent>)
:The Network Access Scope content.
- On failure, responds with
SdkError<CreateNetworkInsightsAccessScopeError>
Source§impl Client
impl Client
Sourcepub fn create_network_insights_path(
&self,
) -> CreateNetworkInsightsPathFluentBuilder
pub fn create_network_insights_path( &self, ) -> CreateNetworkInsightsPathFluentBuilder
Constructs a fluent builder for the CreateNetworkInsightsPath
operation.
- The fluent builder is configurable:
source_ip(impl Into<String>)
/set_source_ip(Option<String>)
:
required: falseThe IP address of the source.
destination_ip(impl Into<String>)
/set_destination_ip(Option<String>)
:
required: falseThe IP address of the destination.
source(impl Into<String>)
/set_source(Option<String>)
:
required: trueThe ID or ARN of the source. If the resource is in another account, you must specify an ARN.
destination(impl Into<String>)
/set_destination(Option<String>)
:
required: falseThe ID or ARN of the destination. If the resource is in another account, you must specify an ARN.
protocol(Protocol)
/set_protocol(Option<Protocol>)
:
required: trueThe protocol.
destination_port(i32)
/set_destination_port(Option<i32>)
:
required: falseThe destination port.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to add to the path.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
filter_at_source(PathRequestFilter)
/set_filter_at_source(Option<PathRequestFilter>)
:
required: falseScopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can’t specify the parameters for the source IP address or the destination port.
filter_at_destination(PathRequestFilter)
/set_filter_at_destination(Option<PathRequestFilter>)
:
required: falseScopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can’t specify the parameter for the destination IP address.
- On success, responds with
CreateNetworkInsightsPathOutput
with field(s):network_insights_path(Option<NetworkInsightsPath>)
:Information about the path.
- On failure, responds with
SdkError<CreateNetworkInsightsPathError>
Source§impl Client
impl Client
Sourcepub fn create_network_interface(&self) -> CreateNetworkInterfaceFluentBuilder
pub fn create_network_interface(&self) -> CreateNetworkInterfaceFluentBuilder
Constructs a fluent builder for the CreateNetworkInterface
operation.
- The fluent builder is configurable:
ipv4_prefixes(Ipv4PrefixSpecificationRequest)
/set_ipv4_prefixes(Option<Vec::<Ipv4PrefixSpecificationRequest>>)
:
required: falseThe IPv4 prefixes assigned to the network interface.
You can’t specify IPv4 prefixes if you’ve specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
ipv4_prefix_count(i32)
/set_ipv4_prefix_count(Option<i32>)
:
required: falseThe number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.
You can’t specify a count of IPv4 prefixes if you’ve specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
ipv6_prefixes(Ipv6PrefixSpecificationRequest)
/set_ipv6_prefixes(Option<Vec::<Ipv6PrefixSpecificationRequest>>)
:
required: falseThe IPv6 prefixes assigned to the network interface.
You can’t specify IPv6 prefixes if you’ve specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
ipv6_prefix_count(i32)
/set_ipv6_prefix_count(Option<i32>)
:
required: falseThe number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.
You can’t specify a count of IPv6 prefixes if you’ve specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
interface_type(NetworkInterfaceCreationType)
/set_interface_type(Option<NetworkInterfaceCreationType>)
:
required: falseThe type of network interface. The default is
interface
.If you specify
efa-only
, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses.The only supported values are
interface
,efa
,efa-only
, andtrunk
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new network interface.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
enable_primary_ipv6(bool)
/set_enable_primary_ipv6(Option<bool>)
:
required: falseIf you’re creating a network interface in a dual-stack or IPv6-only subnet, you have the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
connection_tracking_specification(ConnectionTrackingSpecificationRequest)
/set_connection_tracking_specification(Option<ConnectionTrackingSpecificationRequest>)
:
required: falseA connection tracking specification for the network interface.
operator(OperatorRequest)
/set_operator(Option<OperatorRequest>)
:
required: falseReserved for internal use.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet to associate with the network interface.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the network interface.
private_ip_address(impl Into<String>)
/set_private_ip_address(Option<String>)
:
required: falseThe primary private IPv4 address of the network interface. If you don’t specify an IPv4 address, Amazon EC2 selects one for you from the subnet’s IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in
privateIpAddresses
as primary (only one IP address can be designated as primary).groups(impl Into<String>)
/set_groups(Option<Vec::<String>>)
:
required: falseThe IDs of the security groups.
private_ip_addresses(PrivateIpAddressSpecification)
/set_private_ip_addresses(Option<Vec::<PrivateIpAddressSpecification>>)
:
required: falseThe private IPv4 addresses.
You can’t specify private IPv4 addresses if you’ve specified one of the following: a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
secondary_private_ip_address_count(i32)
/set_secondary_private_ip_address_count(Option<i32>)
:
required: falseThe number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet’s IPv4 CIDR range. You can’t specify this option and specify more than one private IP address using
privateIpAddresses
.You can’t specify a count of private IPv4 addresses if you’ve specified one of the following: specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
ipv6_addresses(InstanceIpv6Address)
/set_ipv6_addresses(Option<Vec::<InstanceIpv6Address>>)
:
required: falseThe IPv6 addresses from the IPv6 CIDR block range of your subnet.
You can’t specify IPv6 addresses using this parameter if you’ve specified one of the following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
ipv6_address_count(i32)
/set_ipv6_address_count(Option<i32>)
:
required: falseThe number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range.
You can’t specify a count of IPv6 addresses using this parameter if you’ve specified one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
If your subnet has the
AssignIpv6AddressOnCreation
attribute set, you can override that setting by specifying 0 as the IPv6 address count.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateNetworkInterfaceOutput
with field(s):network_interface(Option<NetworkInterface>)
:Information about the network interface.
client_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<CreateNetworkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn create_network_interface_permission(
&self,
) -> CreateNetworkInterfacePermissionFluentBuilder
pub fn create_network_interface_permission( &self, ) -> CreateNetworkInterfacePermissionFluentBuilder
Constructs a fluent builder for the CreateNetworkInterfacePermission
operation.
- The fluent builder is configurable:
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
aws_account_id(impl Into<String>)
/set_aws_account_id(Option<String>)
:
required: falseThe Amazon Web Services account ID.
aws_service(impl Into<String>)
/set_aws_service(Option<String>)
:
required: falseThe Amazon Web Services service. Currently not supported.
permission(InterfacePermissionType)
/set_permission(Option<InterfacePermissionType>)
:
required: trueThe type of permission to grant.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateNetworkInterfacePermissionOutput
with field(s):interface_permission(Option<NetworkInterfacePermission>)
:Information about the permission for the network interface.
- On failure, responds with
SdkError<CreateNetworkInterfacePermissionError>
Source§impl Client
impl Client
Sourcepub fn create_placement_group(&self) -> CreatePlacementGroupFluentBuilder
pub fn create_placement_group(&self) -> CreatePlacementGroupFluentBuilder
Constructs a fluent builder for the CreatePlacementGroup
operation.
- The fluent builder is configurable:
partition_count(i32)
/set_partition_count(Option<i32>)
:
required: falseThe number of partitions. Valid only when Strategy is set to
partition
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the new placement group.
spread_level(SpreadLevel)
/set_spread_level(Option<SpreadLevel>)
:
required: falseDetermines how placement groups spread instances.
-
Host – You can use
host
only with Outpost placement groups. -
Rack – No usage restrictions.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: falseA name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
strategy(PlacementStrategy)
/set_strategy(Option<PlacementStrategy>)
:
required: falseThe placement strategy.
- On success, responds with
CreatePlacementGroupOutput
with field(s):placement_group(Option<PlacementGroup>)
:Information about the placement group.
- On failure, responds with
SdkError<CreatePlacementGroupError>
Source§impl Client
impl Client
Sourcepub fn create_public_ipv4_pool(&self) -> CreatePublicIpv4PoolFluentBuilder
pub fn create_public_ipv4_pool(&self) -> CreatePublicIpv4PoolFluentBuilder
Constructs a fluent builder for the CreatePublicIpv4Pool
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key
Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseThe Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
- On success, responds with
CreatePublicIpv4PoolOutput
with field(s):pool_id(Option<String>)
:The ID of the public IPv4 pool.
- On failure, responds with
SdkError<CreatePublicIpv4PoolError>
Source§impl Client
impl Client
Sourcepub fn create_replace_root_volume_task(
&self,
) -> CreateReplaceRootVolumeTaskFluentBuilder
pub fn create_replace_root_volume_task( &self, ) -> CreateReplaceRootVolumeTaskFluentBuilder
Constructs a fluent builder for the CreateReplaceRootVolumeTask
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance for which to replace the root volume.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: falseThe ID of the snapshot from which to restore the replacement root volume. The specified snapshot must be a snapshot that you previously created from the original root volume.
If you want to restore the replacement root volume to the initial launch state, or if you want to restore the replacement root volume from an AMI, omit this parameter.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the root volume replacement task.
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: falseThe ID of the AMI to use to restore the root volume. The specified AMI must have the same product code, billing information, architecture type, and virtualization type as that of the instance.
If you want to restore the replacement volume from a specific snapshot, or if you want to restore it to its launch state, omit this parameter.
delete_replaced_root_volume(bool)
/set_delete_replaced_root_volume(Option<bool>)
:
required: falseIndicates whether to automatically delete the original root volume after the root volume replacement task completes. To delete the original root volume, specify
true
. If you choose to keep the original root volume after the replacement task completes, you must manually delete it when you no longer need it.
- On success, responds with
CreateReplaceRootVolumeTaskOutput
with field(s):replace_root_volume_task(Option<ReplaceRootVolumeTask>)
:Information about the root volume replacement task.
- On failure, responds with
SdkError<CreateReplaceRootVolumeTaskError>
Source§impl Client
impl Client
Sourcepub fn create_reserved_instances_listing(
&self,
) -> CreateReservedInstancesListingFluentBuilder
pub fn create_reserved_instances_listing( &self, ) -> CreateReservedInstancesListingFluentBuilder
Constructs a fluent builder for the CreateReservedInstancesListing
operation.
- The fluent builder is configurable:
reserved_instances_id(impl Into<String>)
/set_reserved_instances_id(Option<String>)
:
required: trueThe ID of the active Standard Reserved Instance.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: trueThe number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
price_schedules(PriceScheduleSpecification)
/set_price_schedules(Option<Vec::<PriceScheduleSpecification>>)
:
required: trueA list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueUnique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
- On success, responds with
CreateReservedInstancesListingOutput
with field(s):reserved_instances_listings(Option<Vec::<ReservedInstancesListing>>)
:Information about the Standard Reserved Instance listing.
- On failure, responds with
SdkError<CreateReservedInstancesListingError>
Source§impl Client
impl Client
Sourcepub fn create_restore_image_task(&self) -> CreateRestoreImageTaskFluentBuilder
pub fn create_restore_image_task(&self) -> CreateRestoreImageTaskFluentBuilder
Constructs a fluent builder for the CreateRestoreImageTask
operation.
- The fluent builder is configurable:
bucket(impl Into<String>)
/set_bucket(Option<String>)
:
required: trueThe name of the Amazon S3 bucket that contains the stored AMI object.
object_key(impl Into<String>)
/set_object_key(Option<String>)
:
required: trueThe name of the stored AMI object in the bucket.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.
-
To tag the AMI, the value for
ResourceType
must beimage
. -
To tag the snapshots, the value for
ResourceType
must besnapshot
. The same tag is applied to all of the snapshots that are created.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateRestoreImageTaskOutput
with field(s):image_id(Option<String>)
:The AMI ID.
- On failure, responds with
SdkError<CreateRestoreImageTaskError>
Source§impl Client
impl Client
Sourcepub fn create_route(&self) -> CreateRouteFluentBuilder
pub fn create_route(&self) -> CreateRouteFluentBuilder
Constructs a fluent builder for the CreateRoute
operation.
- The fluent builder is configurable:
destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseThe ID of a prefix list used for the destination match.
vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: falseThe ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: falseThe ID of a transit gateway.
local_gateway_id(impl Into<String>)
/set_local_gateway_id(Option<String>)
:
required: falseThe ID of the local gateway.
carrier_gateway_id(impl Into<String>)
/set_carrier_gateway_id(Option<String>)
:
required: falseThe ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
core_network_arn(impl Into<String>)
/set_core_network_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the core network.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table for the route.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to100.68.0.0/18
.gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: falseThe ID of an internet gateway or virtual private gateway attached to your VPC.
destination_ipv6_cidr_block(impl Into<String>)
/set_destination_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
egress_only_internet_gateway_id(impl Into<String>)
/set_egress_only_internet_gateway_id(Option<String>)
:
required: false[IPv6 traffic only] The ID of an egress-only internet gateway.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe ID of a network interface.
vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: falseThe ID of a VPC peering connection.
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: false[IPv4 traffic only] The ID of a NAT gateway.
- On success, responds with
CreateRouteOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<CreateRouteError>
Source§impl Client
impl Client
Sourcepub fn create_route_server(&self) -> CreateRouteServerFluentBuilder
pub fn create_route_server(&self) -> CreateRouteServerFluentBuilder
Constructs a fluent builder for the CreateRouteServer
operation.
- The fluent builder is configurable:
amazon_side_asn(i64)
/set_amazon_side_asn(Option<i64>)
:
required: trueThe private Autonomous System Number (ASN) for the Amazon side of the BGP session. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier to ensure idempotency of the request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.persist_routes(RouteServerPersistRoutesAction)
/set_persist_routes(Option<RouteServerPersistRoutesAction>)
:
required: falseIndicates whether routes should be persisted after all BGP sessions are terminated.
persist_routes_duration(i64)
/set_persist_routes_duration(Option<i64>)
:
required: falseThe number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if PersistRoutes is
enabled
.If you set the duration to 1 minute, then when your network appliance re-establishes BGP with route server, it has 1 minute to relearn it’s adjacent network and advertise those routes to route server before route server resumes normal functionality. In most cases, 1 minute is probably sufficient. If, however, you have concerns that your BGP network may not be capable of fully re-establishing and re-learning everything in 1 minute, you can increase the duration up to 5 minutes.
sns_notifications_enabled(bool)
/set_sns_notifications_enabled(Option<bool>)
:
required: falseIndicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by Amazon Web Services.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the route server during creation.
- On success, responds with
CreateRouteServerOutput
with field(s):route_server(Option<RouteServer>)
:Information about the created route server.
- On failure, responds with
SdkError<CreateRouteServerError>
Source§impl Client
impl Client
Sourcepub fn create_route_server_endpoint(
&self,
) -> CreateRouteServerEndpointFluentBuilder
pub fn create_route_server_endpoint( &self, ) -> CreateRouteServerEndpointFluentBuilder
Constructs a fluent builder for the CreateRouteServerEndpoint
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to create an endpoint.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet in which to create the route server endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier to ensure idempotency of the request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the route server endpoint during creation.
- On success, responds with
CreateRouteServerEndpointOutput
with field(s):route_server_endpoint(Option<RouteServerEndpoint>)
:Information about the created route server endpoint.
- On failure, responds with
SdkError<CreateRouteServerEndpointError>
Source§impl Client
impl Client
Sourcepub fn create_route_server_peer(&self) -> CreateRouteServerPeerFluentBuilder
pub fn create_route_server_peer(&self) -> CreateRouteServerPeerFluentBuilder
Constructs a fluent builder for the CreateRouteServerPeer
operation.
- The fluent builder is configurable:
route_server_endpoint_id(impl Into<String>)
/set_route_server_endpoint_id(Option<String>)
:
required: trueThe ID of the route server endpoint for which to create a peer.
peer_address(impl Into<String>)
/set_peer_address(Option<String>)
:
required: trueThe IPv4 address of the peer device.
bgp_options(RouteServerBgpOptionsRequest)
/set_bgp_options(Option<RouteServerBgpOptionsRequest>)
:
required: trueThe BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the route server peer during creation.
- On success, responds with
CreateRouteServerPeerOutput
with field(s):route_server_peer(Option<RouteServerPeer>)
:Information about the created route server peer.
- On failure, responds with
SdkError<CreateRouteServerPeerError>
Source§impl Client
impl Client
Sourcepub fn create_route_table(&self) -> CreateRouteTableFluentBuilder
pub fn create_route_table(&self) -> CreateRouteTableFluentBuilder
Constructs a fluent builder for the CreateRouteTable
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the route table.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
CreateRouteTableOutput
with field(s):route_table(Option<RouteTable>)
:Information about the route table.
client_token(Option<String>)
:Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- On failure, responds with
SdkError<CreateRouteTableError>
Source§impl Client
impl Client
Sourcepub fn create_security_group(&self) -> CreateSecurityGroupFluentBuilder
pub fn create_security_group(&self) -> CreateSecurityGroupFluentBuilder
Constructs a fluent builder for the CreateSecurityGroup
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: trueA description for the security group.
Constraints: Up to 255 characters in length
Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: trueThe name of the security group. Names are case-insensitive and must be unique within the VPC.
Constraints: Up to 255 characters in length. Can’t start with
sg-
.Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC. Required for a nondefault VPC.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the security group.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateSecurityGroupOutput
with field(s):group_id(Option<String>)
:The ID of the security group.
tags(Option<Vec::<Tag>>)
:The tags assigned to the security group.
security_group_arn(Option<String>)
:The security group ARN.
- On failure, responds with
SdkError<CreateSecurityGroupError>
Source§impl Client
impl Client
Sourcepub fn create_snapshot(&self) -> CreateSnapshotFluentBuilder
pub fn create_snapshot(&self) -> CreateSnapshotFluentBuilder
Constructs a fluent builder for the CreateSnapshot
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the snapshot.
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseOnly supported for volumes on Outposts. If the source volume is not on an Outpost, omit this parameter.
-
To create the snapshot on the same Outpost as the source volume, specify the ARN of that Outpost. The snapshot must be created on the same Outpost as the volume.
-
To create the snapshot in the parent Region of the Outpost, omit this parameter.
For more information, see Create local snapshots from volumes on an Outpost in the Amazon EBS User Guide.
-
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the Amazon EBS volume.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the snapshot during creation.
location(SnapshotLocationEnum)
/set_location(Option<SnapshotLocationEnum>)
:
required: falseOnly supported for volumes in Local Zones. If the source volume is not in a Local Zone, omit this parameter.
-
To create a local snapshot in the same Local Zone as the source volume, specify
local
. -
To create a regional snapshot in the parent Region of the Local Zone, specify
regional
or omit this parameter.
Default value:
regional
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateSnapshotOutput
with field(s):owner_alias(Option<String>)
:The Amazon Web Services owner alias, from an Amazon-maintained list (
amazon
). This is not the user-configured Amazon Web Services account alias set using the IAM console.outpost_arn(Option<String>)
:The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
tags(Option<Vec::<Tag>>)
:Any tags assigned to the snapshot.
storage_tier(Option<StorageTier>)
:The storage tier in which the snapshot is stored.
standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use.archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.restore_expiry_time(Option<DateTime>)
:Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
sse_type(Option<SseType>)
:Reserved for future use.
availability_zone(Option<String>)
:The Availability Zone or Local Zone of the snapshot. For example,
us-west-1a
(Availability Zone) orus-west-2-lax-1a
(Local Zone).transfer_type(Option<TransferType>)
:Only for snapshot copies.
Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.
-
standard
- The snapshot copy was created with a standard snapshot copy operation. -
time-based
- The snapshot copy was created with a time-based snapshot copy operation.
-
completion_duration_minutes(Option<i32>)
:Only for snapshot copies created with time-based snapshot copy operations.
The completion duration requested for the time-based snapshot copy operation.
completion_time(Option<DateTime>)
:The time stamp when the snapshot was completed.
full_snapshot_size_in_bytes(Option<i64>)
:The full size of the snapshot, in bytes.
This is not the incremental size of the snapshot. This is the full snapshot size and represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
snapshot_id(Option<String>)
:The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
volume_id(Option<String>)
:The ID of the volume that was used to create the snapshot. Snapshots created by the
CopySnapshot
action have an arbitrary volume ID that should not be used for any purpose.state(Option<SnapshotState>)
:The snapshot state.
state_message(Option<String>)
:Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper KMS permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by
DescribeSnapshots
.start_time(Option<DateTime>)
:The time stamp when the snapshot was initiated.
progress(Option<String>)
:The progress of the snapshot, as a percentage.
owner_id(Option<String>)
:The ID of the Amazon Web Services account that owns the EBS snapshot.
description(Option<String>)
:The description for the snapshot.
volume_size(Option<i32>)
:The size of the volume, in GiB.
encrypted(Option<bool>)
:Indicates whether the snapshot is encrypted.
kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the parent volume.
data_encryption_key_id(Option<String>)
:The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by
DescribeSnapshots
.
- On failure, responds with
SdkError<CreateSnapshotError>
Source§impl Client
impl Client
Sourcepub fn create_snapshots(&self) -> CreateSnapshotsFluentBuilder
pub fn create_snapshots(&self) -> CreateSnapshotsFluentBuilder
Constructs a fluent builder for the CreateSnapshots
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description propagated to every snapshot specified by the instance.
instance_specification(InstanceSpecification)
/set_instance_specification(Option<InstanceSpecification>)
:
required: trueThe instance to specify which volumes should be included in the snapshots.
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseOnly supported for instances on Outposts. If the source instance is not on an Outpost, omit this parameter.
-
To create the snapshots on the same Outpost as the source instance, specify the ARN of that Outpost. The snapshots must be created on the same Outpost as the instance.
-
To create the snapshots in the parent Region of the Outpost, omit this parameter.
For more information, see Create local snapshots from volumes on an Outpost in the Amazon EBS User Guide.
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseTags to apply to every snapshot specified by the instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.copy_tags_from_source(CopyTagsFromSource)
/set_copy_tags_from_source(Option<CopyTagsFromSource>)
:
required: falseCopies the tags from the specified volume to corresponding snapshot.
location(SnapshotLocationEnum)
/set_location(Option<SnapshotLocationEnum>)
:
required: falseOnly supported for instances in Local Zones. If the source instance is not in a Local Zone, omit this parameter.
-
To create local snapshots in the same Local Zone as the source instance, specify
local
. -
To create a regional snapshots in the parent Region of the Local Zone, specify
regional
or omit this parameter.
Default value:
regional
-
- On success, responds with
CreateSnapshotsOutput
with field(s):snapshots(Option<Vec::<SnapshotInfo>>)
:List of snapshots.
- On failure, responds with
SdkError<CreateSnapshotsError>
Source§impl Client
impl Client
Sourcepub fn create_spot_datafeed_subscription(
&self,
) -> CreateSpotDatafeedSubscriptionFluentBuilder
pub fn create_spot_datafeed_subscription( &self, ) -> CreateSpotDatafeedSubscriptionFluentBuilder
Constructs a fluent builder for the CreateSpotDatafeedSubscription
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.bucket(impl Into<String>)
/set_bucket(Option<String>)
:
required: trueThe name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Bucket naming rules in the Amazon S3 User Guide.
prefix(impl Into<String>)
/set_prefix(Option<String>)
:
required: falseThe prefix for the data feed file names.
- On success, responds with
CreateSpotDatafeedSubscriptionOutput
with field(s):spot_datafeed_subscription(Option<SpotDatafeedSubscription>)
:The Spot Instance data feed subscription.
- On failure, responds with
SdkError<CreateSpotDatafeedSubscriptionError>
Source§impl Client
impl Client
Sourcepub fn create_store_image_task(&self) -> CreateStoreImageTaskFluentBuilder
pub fn create_store_image_task(&self) -> CreateStoreImageTaskFluentBuilder
Constructs a fluent builder for the CreateStoreImageTask
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
bucket(impl Into<String>)
/set_bucket(Option<String>)
:
required: trueThe name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.
s3_object_tags(S3ObjectTag)
/set_s3_object_tags(Option<Vec::<S3ObjectTag>>)
:
required: falseThe tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateStoreImageTaskOutput
with field(s):object_key(Option<String>)
:The name of the stored AMI object in the S3 bucket.
- On failure, responds with
SdkError<CreateStoreImageTaskError>
Source§impl Client
impl Client
Sourcepub fn create_subnet(&self) -> CreateSubnetFluentBuilder
pub fn create_subnet(&self) -> CreateSubnetFluentBuilder
Constructs a fluent builder for the CreateSubnet
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the subnet.
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: falseThe Availability Zone or Local Zone for the subnet.
Default: Amazon Web Services selects one for you. If you create more than one subnet in your VPC, we do not necessarily select a different zone for each subnet.
To create a subnet in a Local Zone, set this value to the Local Zone ID, for example
us-west-2-lax-1a
. For information about the Regions that support Local Zones, see Available Local Zones.To create a subnet in an Outpost, set this value to the Availability Zone for the Outpost and specify the Outpost ARN.
availability_zone_id(impl Into<String>)
/set_availability_zone_id(Option<String>)
:
required: falseThe AZ ID or the Local Zone ID of the subnet.
cidr_block(impl Into<String>)
/set_cidr_block(Option<String>)
:
required: falseThe IPv4 network range for the subnet, in CIDR notation. For example,
10.0.0.0/24
. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18
, we modify it to100.68.0.0/18
.This parameter is not supported for an IPv6 only subnet.
ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 network range for the subnet, in CIDR notation. This parameter is required for an IPv6 only subnet.
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
ipv6_native(bool)
/set_ipv6_native(Option<bool>)
:
required: falseIndicates whether to create an IPv6 only subnet.
ipv4_ipam_pool_id(impl Into<String>)
/set_ipv4_ipam_pool_id(Option<String>)
:
required: falseAn IPv4 IPAM pool ID for the subnet.
ipv4_netmask_length(i32)
/set_ipv4_netmask_length(Option<i32>)
:
required: falseAn IPv4 netmask length for the subnet.
ipv6_ipam_pool_id(impl Into<String>)
/set_ipv6_ipam_pool_id(Option<String>)
:
required: falseAn IPv6 IPAM pool ID for the subnet.
ipv6_netmask_length(i32)
/set_ipv6_netmask_length(Option<i32>)
:
required: falseAn IPv6 netmask length for the subnet.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateSubnetOutput
with field(s):subnet(Option<Subnet>)
:Information about the subnet.
- On failure, responds with
SdkError<CreateSubnetError>
Source§impl Client
impl Client
Sourcepub fn create_subnet_cidr_reservation(
&self,
) -> CreateSubnetCidrReservationFluentBuilder
pub fn create_subnet_cidr_reservation( &self, ) -> CreateSubnetCidrReservationFluentBuilder
Constructs a fluent builder for the CreateSubnetCidrReservation
operation.
- The fluent builder is configurable:
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe IPv4 or IPV6 CIDR range to reserve.
reservation_type(SubnetCidrReservationType)
/set_reservation_type(Option<SubnetCidrReservationType>)
:
required: trueThe type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.
-
prefix
- Amazon Web Services assigns the reserved IP addresses to network interfaces. -
explicit
- You assign the reserved IP addresses to network interfaces.
-
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description to assign to the subnet CIDR reservation.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the subnet CIDR reservation.
- On success, responds with
CreateSubnetCidrReservationOutput
with field(s):subnet_cidr_reservation(Option<SubnetCidrReservation>)
:Information about the created subnet CIDR reservation.
- On failure, responds with
SdkError<CreateSubnetCidrReservationError>
Source§impl Client
impl Client
Constructs a fluent builder for the CreateTags
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.resources(impl Into<String>)
/set_resources(Option<Vec::<String>>)
:
required: trueThe IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: trueThe tags. The
value
parameter is required, but if you don’t want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.
- On success, responds with
CreateTagsOutput
- On failure, responds with
SdkError<CreateTagsError>
Source§impl Client
impl Client
Sourcepub fn create_traffic_mirror_filter(
&self,
) -> CreateTrafficMirrorFilterFluentBuilder
pub fn create_traffic_mirror_filter( &self, ) -> CreateTrafficMirrorFilterFluentBuilder
Constructs a fluent builder for the CreateTrafficMirrorFilter
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the Traffic Mirror filter.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to a Traffic Mirror filter.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
CreateTrafficMirrorFilterOutput
with field(s):traffic_mirror_filter(Option<TrafficMirrorFilter>)
:Information about the Traffic Mirror filter.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On failure, responds with
SdkError<CreateTrafficMirrorFilterError>
Source§impl Client
impl Client
Sourcepub fn create_traffic_mirror_filter_rule(
&self,
) -> CreateTrafficMirrorFilterRuleFluentBuilder
pub fn create_traffic_mirror_filter_rule( &self, ) -> CreateTrafficMirrorFilterRuleFluentBuilder
Constructs a fluent builder for the CreateTrafficMirrorFilterRule
operation.
- The fluent builder is configurable:
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: trueThe ID of the filter that this rule is associated with.
traffic_direction(TrafficDirection)
/set_traffic_direction(Option<TrafficDirection>)
:
required: trueThe type of traffic.
rule_number(i32)
/set_rule_number(Option<i32>)
:
required: trueThe number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
rule_action(TrafficMirrorRuleAction)
/set_rule_action(Option<TrafficMirrorRuleAction>)
:
required: trueThe action to take on the filtered traffic.
destination_port_range(TrafficMirrorPortRangeRequest)
/set_destination_port_range(Option<TrafficMirrorPortRangeRequest>)
:
required: falseThe destination port range.
source_port_range(TrafficMirrorPortRangeRequest)
/set_source_port_range(Option<TrafficMirrorPortRangeRequest>)
:
required: falseThe source port range.
protocol(i32)
/set_protocol(Option<i32>)
:
required: falseThe protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe destination CIDR block to assign to the Traffic Mirror rule.
source_cidr_block(impl Into<String>)
/set_source_cidr_block(Option<String>)
:
required: trueThe source CIDR block to assign to the Traffic Mirror rule.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the Traffic Mirror rule.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseTraffic Mirroring tags specifications.
- On success, responds with
CreateTrafficMirrorFilterRuleOutput
with field(s):traffic_mirror_filter_rule(Option<TrafficMirrorFilterRule>)
:The Traffic Mirror rule.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On failure, responds with
SdkError<CreateTrafficMirrorFilterRuleError>
Source§impl Client
impl Client
Sourcepub fn create_traffic_mirror_session(
&self,
) -> CreateTrafficMirrorSessionFluentBuilder
pub fn create_traffic_mirror_session( &self, ) -> CreateTrafficMirrorSessionFluentBuilder
Constructs a fluent builder for the CreateTrafficMirrorSession
operation.
- The fluent builder is configurable:
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the source network interface.
traffic_mirror_target_id(impl Into<String>)
/set_traffic_mirror_target_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror target.
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror filter.
packet_length(i32)
/set_packet_length(Option<i32>)
:
required: falseThe number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do not specify this parameter when you want to mirror the entire packet. To mirror a subset of the packet, set this to the length (in bytes) that you want to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target.
If you do not want to mirror the entire packet, use the
PacketLength
parameter to specify the number of bytes in each packet to mirror.For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default
PacketLength
will be set to 8500. Valid values are 1-8500. Setting aPacketLength
greater than 8500 will result in an error response.session_number(i32)
/set_session_number(Option<i32>)
:
required: trueThe session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
Valid values are 1-32766.
virtual_network_id(i32)
/set_virtual_network_id(Option<i32>)
:
required: falseThe VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see RFC 7348. If you do not specify a
VirtualNetworkId
, an account-wide unique ID is chosen at random.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the Traffic Mirror session.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to a Traffic Mirror session.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
CreateTrafficMirrorSessionOutput
with field(s):traffic_mirror_session(Option<TrafficMirrorSession>)
:Information about the Traffic Mirror session.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On failure, responds with
SdkError<CreateTrafficMirrorSessionError>
Source§impl Client
impl Client
Sourcepub fn create_traffic_mirror_target(
&self,
) -> CreateTrafficMirrorTargetFluentBuilder
pub fn create_traffic_mirror_target( &self, ) -> CreateTrafficMirrorTargetFluentBuilder
Constructs a fluent builder for the CreateTrafficMirrorTarget
operation.
- The fluent builder is configurable:
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe network interface ID that is associated with the target.
network_load_balancer_arn(impl Into<String>)
/set_network_load_balancer_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the Traffic Mirror target.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Traffic Mirror target.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
gateway_load_balancer_endpoint_id(impl Into<String>)
/set_gateway_load_balancer_endpoint_id(Option<String>)
:
required: falseThe ID of the Gateway Load Balancer endpoint.
- On success, responds with
CreateTrafficMirrorTargetOutput
with field(s):traffic_mirror_target(Option<TrafficMirrorTarget>)
:Information about the Traffic Mirror target.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On failure, responds with
SdkError<CreateTrafficMirrorTargetError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway(&self) -> CreateTransitGatewayFluentBuilder
pub fn create_transit_gateway(&self) -> CreateTransitGatewayFluentBuilder
Constructs a fluent builder for the CreateTransitGateway
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the transit gateway.
options(TransitGatewayRequestOptions)
/set_options(Option<TransitGatewayRequestOptions>)
:
required: falseThe transit gateway options.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the transit gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayOutput
with field(s):transit_gateway(Option<TransitGateway>)
:Information about the transit gateway.
- On failure, responds with
SdkError<CreateTransitGatewayError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_connect(
&self,
) -> CreateTransitGatewayConnectFluentBuilder
pub fn create_transit_gateway_connect( &self, ) -> CreateTransitGatewayConnectFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayConnect
operation.
- The fluent builder is configurable:
transport_transit_gateway_attachment_id(impl Into<String>)
/set_transport_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
options(CreateTransitGatewayConnectRequestOptions)
/set_options(Option<CreateTransitGatewayConnectRequestOptions>)
:
required: trueThe Connect attachment options.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Connect attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayConnectOutput
with field(s):transit_gateway_connect(Option<TransitGatewayConnect>)
:Information about the Connect attachment.
- On failure, responds with
SdkError<CreateTransitGatewayConnectError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_connect_peer(
&self,
) -> CreateTransitGatewayConnectPeerFluentBuilder
pub fn create_transit_gateway_connect_peer( &self, ) -> CreateTransitGatewayConnectPeerFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayConnectPeer
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the Connect attachment.
transit_gateway_address(impl Into<String>)
/set_transit_gateway_address(Option<String>)
:
required: falseThe peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
peer_address(impl Into<String>)
/set_peer_address(Option<String>)
:
required: trueThe peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
bgp_options(TransitGatewayConnectRequestBgpOptions)
/set_bgp_options(Option<TransitGatewayConnectRequestBgpOptions>)
:
required: falseThe BGP options for the Connect peer.
inside_cidr_blocks(impl Into<String>)
/set_inside_cidr_blocks(Option<Vec::<String>>)
:
required: trueThe range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the
169.254.0.0/16
range. The first address from the range must be configured on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from thefd00::/8
range.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Connect peer.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayConnectPeerOutput
with field(s):transit_gateway_connect_peer(Option<TransitGatewayConnectPeer>)
:Information about the Connect peer.
- On failure, responds with
SdkError<CreateTransitGatewayConnectPeerError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_multicast_domain(
&self,
) -> CreateTransitGatewayMulticastDomainFluentBuilder
pub fn create_transit_gateway_multicast_domain( &self, ) -> CreateTransitGatewayMulticastDomainFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayMulticastDomain
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
options(CreateTransitGatewayMulticastDomainRequestOptions)
/set_options(Option<CreateTransitGatewayMulticastDomainRequestOptions>)
:
required: falseThe options for the transit gateway multicast domain.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags for the transit gateway multicast domain.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayMulticastDomainOutput
with field(s):transit_gateway_multicast_domain(Option<TransitGatewayMulticastDomain>)
:Information about the transit gateway multicast domain.
- On failure, responds with
SdkError<CreateTransitGatewayMulticastDomainError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_peering_attachment(
&self,
) -> CreateTransitGatewayPeeringAttachmentFluentBuilder
pub fn create_transit_gateway_peering_attachment( &self, ) -> CreateTransitGatewayPeeringAttachmentFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayPeeringAttachment
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
peer_transit_gateway_id(impl Into<String>)
/set_peer_transit_gateway_id(Option<String>)
:
required: trueThe ID of the peer transit gateway with which to create the peering attachment.
peer_account_id(impl Into<String>)
/set_peer_account_id(Option<String>)
:
required: trueThe ID of the Amazon Web Services account that owns the peer transit gateway.
peer_region(impl Into<String>)
/set_peer_region(Option<String>)
:
required: trueThe Region where the peer transit gateway is located.
options(CreateTransitGatewayPeeringAttachmentRequestOptions)
/set_options(Option<CreateTransitGatewayPeeringAttachmentRequestOptions>)
:
required: falseRequests a transit gateway peering attachment.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the transit gateway peering attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayPeeringAttachmentOutput
with field(s):transit_gateway_peering_attachment(Option<TransitGatewayPeeringAttachment>)
:The transit gateway peering attachment.
- On failure, responds with
SdkError<CreateTransitGatewayPeeringAttachmentError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_policy_table(
&self,
) -> CreateTransitGatewayPolicyTableFluentBuilder
pub fn create_transit_gateway_policy_table( &self, ) -> CreateTransitGatewayPolicyTableFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayPolicyTable
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway used for the policy table.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags specification for the transit gateway policy table created during the request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayPolicyTableOutput
with field(s):transit_gateway_policy_table(Option<TransitGatewayPolicyTable>)
:Describes the created transit gateway policy table.
- On failure, responds with
SdkError<CreateTransitGatewayPolicyTableError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_prefix_list_reference(
&self,
) -> CreateTransitGatewayPrefixListReferenceFluentBuilder
pub fn create_transit_gateway_prefix_list_reference( &self, ) -> CreateTransitGatewayPrefixListReferenceFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayPrefixListReference
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list that is used for destination matches.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment to which traffic is routed.
blackhole(bool)
/set_blackhole(Option<bool>)
:
required: falseIndicates whether to drop traffic that matches this route.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayPrefixListReferenceOutput
with field(s):transit_gateway_prefix_list_reference(Option<TransitGatewayPrefixListReference>)
:Information about the prefix list reference.
- On failure, responds with
SdkError<CreateTransitGatewayPrefixListReferenceError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_route(
&self,
) -> CreateTransitGatewayRouteFluentBuilder
pub fn create_transit_gateway_route( &self, ) -> CreateTransitGatewayRouteFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe CIDR range used for destination matches. Routing decisions are based on the most specific match.
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment.
blackhole(bool)
/set_blackhole(Option<bool>)
:
required: falseIndicates whether to drop traffic that matches this route.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayRouteOutput
with field(s):route(Option<TransitGatewayRoute>)
:Information about the route.
- On failure, responds with
SdkError<CreateTransitGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_route_table(
&self,
) -> CreateTransitGatewayRouteTableFluentBuilder
pub fn create_transit_gateway_route_table( &self, ) -> CreateTransitGatewayRouteTableFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayRouteTable
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the transit gateway route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayRouteTableOutput
with field(s):transit_gateway_route_table(Option<TransitGatewayRouteTable>)
:Information about the transit gateway route table.
- On failure, responds with
SdkError<CreateTransitGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_route_table_announcement(
&self,
) -> CreateTransitGatewayRouteTableAnnouncementFluentBuilder
pub fn create_transit_gateway_route_table_announcement( &self, ) -> CreateTransitGatewayRouteTableAnnouncementFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayRouteTableAnnouncement
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
peering_attachment_id(impl Into<String>)
/set_peering_attachment_id(Option<String>)
:
required: trueThe ID of the peering attachment.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags specifications applied to the transit gateway route table announcement.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayRouteTableAnnouncementOutput
with field(s):transit_gateway_route_table_announcement(Option<TransitGatewayRouteTableAnnouncement>)
:Provides details about the transit gateway route table announcement.
- On failure, responds with
SdkError<CreateTransitGatewayRouteTableAnnouncementError>
Source§impl Client
impl Client
Sourcepub fn create_transit_gateway_vpc_attachment(
&self,
) -> CreateTransitGatewayVpcAttachmentFluentBuilder
pub fn create_transit_gateway_vpc_attachment( &self, ) -> CreateTransitGatewayVpcAttachmentFluentBuilder
Constructs a fluent builder for the CreateTransitGatewayVpcAttachment
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: trueThe IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
options(CreateTransitGatewayVpcAttachmentRequestOptions)
/set_options(Option<CreateTransitGatewayVpcAttachmentRequestOptions>)
:
required: falseThe VPC attachment options.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the VPC attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateTransitGatewayVpcAttachmentOutput
with field(s):transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)
:Information about the VPC attachment.
- On failure, responds with
SdkError<CreateTransitGatewayVpcAttachmentError>
Source§impl Client
impl Client
Sourcepub fn create_verified_access_endpoint(
&self,
) -> CreateVerifiedAccessEndpointFluentBuilder
pub fn create_verified_access_endpoint( &self, ) -> CreateVerifiedAccessEndpointFluentBuilder
Constructs a fluent builder for the CreateVerifiedAccessEndpoint
operation.
- The fluent builder is configurable:
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: trueThe ID of the Verified Access group to associate the endpoint with.
endpoint_type(VerifiedAccessEndpointType)
/set_endpoint_type(Option<VerifiedAccessEndpointType>)
:
required: trueThe type of Verified Access endpoint to create.
attachment_type(VerifiedAccessEndpointAttachmentType)
/set_attachment_type(Option<VerifiedAccessEndpointAttachmentType>)
:
required: trueThe type of attachment.
domain_certificate_arn(impl Into<String>)
/set_domain_certificate_arn(Option<String>)
:
required: falseThe ARN of the public TLS/SSL certificate in Amazon Web Services Certificate Manager to associate with the endpoint. The CN in the certificate must match the DNS name your end users will use to reach your application.
application_domain(impl Into<String>)
/set_application_domain(Option<String>)
:
required: falseThe DNS name for users to reach your application.
endpoint_domain_prefix(impl Into<String>)
/set_endpoint_domain_prefix(Option<String>)
:
required: falseA custom identifier that is prepended to the DNS name that is generated for the endpoint.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security groups to associate with the Verified Access endpoint. Required if
AttachmentType
is set tovpc
.load_balancer_options(CreateVerifiedAccessEndpointLoadBalancerOptions)
/set_load_balancer_options(Option<CreateVerifiedAccessEndpointLoadBalancerOptions>)
:
required: falseThe load balancer details. This parameter is required if the endpoint type is
load-balancer
.network_interface_options(CreateVerifiedAccessEndpointEniOptions)
/set_network_interface_options(Option<CreateVerifiedAccessEndpointEniOptions>)
:
required: falseThe network interface details. This parameter is required if the endpoint type is
network-interface
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access endpoint.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: falseThe Verified Access policy document.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Verified Access endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
rds_options(CreateVerifiedAccessEndpointRdsOptions)
/set_rds_options(Option<CreateVerifiedAccessEndpointRdsOptions>)
:
required: falseThe RDS details. This parameter is required if the endpoint type is
rds
.cidr_options(CreateVerifiedAccessEndpointCidrOptions)
/set_cidr_options(Option<CreateVerifiedAccessEndpointCidrOptions>)
:
required: falseThe CIDR options. This parameter is required if the endpoint type is
cidr
.
- On success, responds with
CreateVerifiedAccessEndpointOutput
with field(s):verified_access_endpoint(Option<VerifiedAccessEndpoint>)
:Details about the Verified Access endpoint.
- On failure, responds with
SdkError<CreateVerifiedAccessEndpointError>
Source§impl Client
impl Client
Sourcepub fn create_verified_access_group(
&self,
) -> CreateVerifiedAccessGroupFluentBuilder
pub fn create_verified_access_group( &self, ) -> CreateVerifiedAccessGroupFluentBuilder
Constructs a fluent builder for the CreateVerifiedAccessGroup
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access group.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: falseThe Verified Access policy document.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Verified Access group.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
- On success, responds with
CreateVerifiedAccessGroupOutput
with field(s):verified_access_group(Option<VerifiedAccessGroup>)
:Details about the Verified Access group.
- On failure, responds with
SdkError<CreateVerifiedAccessGroupError>
Source§impl Client
impl Client
Sourcepub fn create_verified_access_instance(
&self,
) -> CreateVerifiedAccessInstanceFluentBuilder
pub fn create_verified_access_instance( &self, ) -> CreateVerifiedAccessInstanceFluentBuilder
Constructs a fluent builder for the CreateVerifiedAccessInstance
operation.
- The fluent builder is configurable:
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access instance.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Verified Access instance.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fips_enabled(bool)
/set_fips_enabled(Option<bool>)
:
required: falseEnable or disable support for Federal Information Processing Standards (FIPS) on the instance.
cidr_endpoints_custom_sub_domain(impl Into<String>)
/set_cidr_endpoints_custom_sub_domain(Option<String>)
:
required: falseThe custom subdomain.
- On success, responds with
CreateVerifiedAccessInstanceOutput
with field(s):verified_access_instance(Option<VerifiedAccessInstance>)
:Details about the Verified Access instance.
- On failure, responds with
SdkError<CreateVerifiedAccessInstanceError>
Source§impl Client
impl Client
Sourcepub fn create_verified_access_trust_provider(
&self,
) -> CreateVerifiedAccessTrustProviderFluentBuilder
pub fn create_verified_access_trust_provider( &self, ) -> CreateVerifiedAccessTrustProviderFluentBuilder
Constructs a fluent builder for the CreateVerifiedAccessTrustProvider
operation.
- The fluent builder is configurable:
trust_provider_type(TrustProviderType)
/set_trust_provider_type(Option<TrustProviderType>)
:
required: trueThe type of trust provider.
user_trust_provider_type(UserTrustProviderType)
/set_user_trust_provider_type(Option<UserTrustProviderType>)
:
required: falseThe type of user-based trust provider. This parameter is required when the provider type is
user
.device_trust_provider_type(DeviceTrustProviderType)
/set_device_trust_provider_type(Option<DeviceTrustProviderType>)
:
required: falseThe type of device-based trust provider. This parameter is required when the provider type is
device
.oidc_options(CreateVerifiedAccessTrustProviderOidcOptions)
/set_oidc_options(Option<CreateVerifiedAccessTrustProviderOidcOptions>)
:
required: falseThe options for a OpenID Connect-compatible user-identity trust provider. This parameter is required when the provider type is
user
.device_options(CreateVerifiedAccessTrustProviderDeviceOptions)
/set_device_options(Option<CreateVerifiedAccessTrustProviderDeviceOptions>)
:
required: falseThe options for a device-based trust provider. This parameter is required when the provider type is
device
.policy_reference_name(impl Into<String>)
/set_policy_reference_name(Option<String>)
:
required: trueThe identifier to be used when working with policy rules.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access trust provider.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the Verified Access trust provider.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
native_application_oidc_options(CreateVerifiedAccessNativeApplicationOidcOptions)
/set_native_application_oidc_options(Option<CreateVerifiedAccessNativeApplicationOidcOptions>)
:
required: falseThe OpenID Connect (OIDC) options.
- On success, responds with
CreateVerifiedAccessTrustProviderOutput
with field(s):verified_access_trust_provider(Option<VerifiedAccessTrustProvider>)
:Details about the Verified Access trust provider.
- On failure, responds with
SdkError<CreateVerifiedAccessTrustProviderError>
Source§impl Client
impl Client
Sourcepub fn create_volume(&self) -> CreateVolumeFluentBuilder
pub fn create_volume(&self) -> CreateVolumeFluentBuilder
Constructs a fluent builder for the CreateVolume
operation.
- The fluent builder is configurable:
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: trueThe ID of the Availability Zone in which to create the volume. For example,
us-east-1a
.encrypted(bool)
/set_encrypted(Option<bool>)
:
required: falseIndicates whether the volume should be encrypted. The effect of setting the encryption state to
true
depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Encryption by default in the Amazon EBS User Guide.Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types.
iops(i32)
/set_iops(Option<i32>)
:
required: falseThe number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.The following are the supported values for each volume type:
-
gp3
: 3,000 - 16,000 IOPS -
io1
: 100 - 64,000 IOPS -
io2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS.This parameter is required for
io1
andio2
volumes. The default forgp3
volumes is 3,000 IOPS. This parameter is not supported forgp2
,st1
,sc1
, orstandard
volumes.-
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseThe identifier of the KMS key to use for Amazon EBS encryption. If this parameter is not specified, your KMS key for Amazon EBS is used. If
KmsKeyId
is specified, the encrypted state must betrue
.You can specify the KMS key using any of the following:
-
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
-
Key alias. For example, alias/ExampleAlias.
-
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
-
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails.
-
outpost_arn(impl Into<String>)
/set_outpost_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the Outpost on which to create the volume.
If you intend to use a volume with an instance running on an outpost, then you must create the volume on the same outpost as the instance. You can’t use a volume created in an Amazon Web Services Region with an instance on an Amazon Web Services outpost, or the other way around.
size(i32)
/set_size(Option<i32>)
:
required: falseThe size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
The following are the supported volumes sizes for each volume type:
-
gp2
andgp3
: 1 - 16,384 GiB -
io1
: 4 - 16,384 GiB -
io2
: 4 - 65,536 GiB -
st1
andsc1
: 125 - 16,384 GiB -
standard
: 1 - 1024 GiB
-
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: falseThe snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
volume_type(VolumeType)
/set_volume_type(Option<VolumeType>)
:
required: falseThe volume type. This parameter can be one of the following values:
-
General Purpose SSD:
gp2
|gp3
-
Provisioned IOPS SSD:
io1
|io2
-
Throughput Optimized HDD:
st1
-
Cold HDD:
sc1
-
Magnetic:
standard
Throughput Optimized HDD (
st1
) and Cold HDD (sc1
) volumes can’t be used as boot volumes.For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
Default:
gp2
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the volume during creation.
multi_attach_enabled(bool)
/set_multi_attach_enabled(Option<bool>)
:
required: falseIndicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 Instances built on the Nitro System in the same Availability Zone. This parameter is supported with
io1
andio2
volumes only. For more information, see Amazon EBS Multi-Attach in the Amazon EBS User Guide.throughput(i32)
/set_throughput(Option<i32>)
:
required: falseThe throughput to provision for a volume, with a maximum of 1,000 MiB/s.
This parameter is valid only for
gp3
volumes.Valid Range: Minimum value of 125. Maximum value of 1000.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
operator(OperatorRequest)
/set_operator(Option<OperatorRequest>)
:
required: falseReserved for internal use.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateVolumeOutput
with field(s):outpost_arn(Option<String>)
:The Amazon Resource Name (ARN) of the Outpost.
iops(Option<i32>)
:The number of I/O operations per second (IOPS). For
gp3
,io1
, andio2
volumes, this represents the number of IOPS that are provisioned for the volume. Forgp2
volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.tags(Option<Vec::<Tag>>)
:Any tags assigned to the volume.
volume_type(Option<VolumeType>)
:The volume type.
fast_restored(Option<bool>)
:This parameter is not returned by CreateVolume.
Indicates whether the volume was created using fast snapshot restore.
multi_attach_enabled(Option<bool>)
:Indicates whether Amazon EBS Multi-Attach is enabled.
throughput(Option<i32>)
:The throughput that the volume supports, in MiB/s.
sse_type(Option<SseType>)
:This parameter is not returned by CreateVolume.
Reserved for future use.
operator(Option<OperatorResponse>)
:The service provider that manages the volume.
volume_id(Option<String>)
:The ID of the volume.
size(Option<i32>)
:The size of the volume, in GiBs.
snapshot_id(Option<String>)
:The snapshot from which the volume was created, if applicable.
availability_zone(Option<String>)
:The Availability Zone for the volume.
state(Option<VolumeState>)
:The volume state.
create_time(Option<DateTime>)
:The time stamp when volume creation was initiated.
attachments(Option<Vec::<VolumeAttachment>>)
:This parameter is not returned by CreateVolume.
Information about the volume attachments.
encrypted(Option<bool>)
:Indicates whether the volume is encrypted.
kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the volume.
- On failure, responds with
SdkError<CreateVolumeError>
Source§impl Client
impl Client
Sourcepub fn create_vpc(&self) -> CreateVpcFluentBuilder
pub fn create_vpc(&self) -> CreateVpcFluentBuilder
Constructs a fluent builder for the CreateVpc
operation.
- The fluent builder is configurable:
cidr_block(impl Into<String>)
/set_cidr_block(Option<String>)
:
required: falseThe IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16
. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18
, we modify it to100.68.0.0/18
.ipv6_pool(impl Into<String>)
/set_ipv6_pool(Option<String>)
:
required: falseThe ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 CIDR block from the IPv6 address pool. You must also specify
Ipv6Pool
in the request.To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
ipv4_ipam_pool_id(impl Into<String>)
/set_ipv4_ipam_pool_id(Option<String>)
:
required: falseThe ID of an IPv4 IPAM pool you want to use for allocating this VPC’s CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv4_netmask_length(i32)
/set_ipv4_netmask_length(Option<i32>)
:
required: falseThe netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv6_ipam_pool_id(impl Into<String>)
/set_ipv6_ipam_pool_id(Option<String>)
:
required: falseThe ID of an IPv6 IPAM pool which will be used to allocate this VPC an IPv6 CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your Amazon Web Services Organization. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv6_netmask_length(i32)
/set_ipv6_netmask_length(Option<i32>)
:
required: falseThe netmask length of the IPv6 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
ipv6_cidr_block_network_border_group(impl Into<String>)
/set_ipv6_cidr_block_network_border_group(Option<String>)
:
required: falseThe name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the address to this location.
You must set
AmazonProvidedIpv6CidrBlock
totrue
to use this parameter.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_tenancy(Tenancy)
/set_instance_tenancy(Option<Tenancy>)
:
required: falseThe tenancy options for instances launched into the VPC. For
default
, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. Fordedicated
, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy ofdedicated
orhost
into a dedicated tenancy VPC.Important: The
host
value cannot be used with this parameter. Use thedefault
ordedicated
values only.Default:
default
amazon_provided_ipv6_cidr_block(bool)
/set_amazon_provided_ipv6_cidr_block(Option<bool>)
:
required: falseRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block.
- On success, responds with
CreateVpcOutput
with field(s):vpc(Option<Vpc>)
:Information about the VPC.
- On failure, responds with
SdkError<CreateVpcError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_block_public_access_exclusion(
&self,
) -> CreateVpcBlockPublicAccessExclusionFluentBuilder
pub fn create_vpc_block_public_access_exclusion( &self, ) -> CreateVpcBlockPublicAccessExclusionFluentBuilder
Constructs a fluent builder for the CreateVpcBlockPublicAccessExclusion
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: falseA subnet ID.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseA VPC ID.
internet_gateway_exclusion_mode(InternetGatewayExclusionMode)
/set_internet_gateway_exclusion_mode(Option<InternetGatewayExclusionMode>)
:
required: trueThe exclusion mode for internet gateway traffic.
-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falsetag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
- On success, responds with
CreateVpcBlockPublicAccessExclusionOutput
with field(s):vpc_block_public_access_exclusion(Option<VpcBlockPublicAccessExclusion>)
:Details about an exclusion.
- On failure, responds with
SdkError<CreateVpcBlockPublicAccessExclusionError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_endpoint(&self) -> CreateVpcEndpointFluentBuilder
pub fn create_vpc_endpoint(&self) -> CreateVpcEndpointFluentBuilder
Constructs a fluent builder for the CreateVpcEndpoint
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_endpoint_type(VpcEndpointType)
/set_vpc_endpoint_type(Option<VpcEndpointType>)
:
required: falseThe type of endpoint.
Default: Gateway
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
service_name(impl Into<String>)
/set_service_name(Option<String>)
:
required: falseThe name of the endpoint service.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: false(Interface and gateway endpoints) 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(impl Into<String>)
/set_route_table_ids(Option<Vec::<String>>)
:
required: false(Gateway endpoint) The route table IDs.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: false(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: false(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC.
ip_address_type(IpAddressType)
/set_ip_address_type(Option<IpAddressType>)
:
required: falseThe IP address type for the endpoint.
dns_options(DnsOptionsSpecification)
/set_dns_options(Option<DnsOptionsSpecification>)
:
required: falseThe DNS options for the endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
private_dns_enabled(bool)
/set_private_dns_enabled(Option<bool>)
:
required: false(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example,
kinesis.us-east-1.amazonaws.com
), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.To use a private hosted zone, you must set the following VPC attributes to
true
:enableDnsHostnames
andenableDnsSupport
. UseModifyVpcAttribute
to set the VPC attributes.Default:
true
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to associate with the endpoint.
subnet_configurations(SubnetConfiguration)
/set_subnet_configurations(Option<Vec::<SubnetConfiguration>>)
:
required: falseThe subnet configurations for the endpoint.
service_network_arn(impl Into<String>)
/set_service_network_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of a service network that will be associated with the VPC endpoint of type service-network.
resource_configuration_arn(impl Into<String>)
/set_resource_configuration_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of a resource configuration that will be associated with the VPC endpoint of type resource.
service_region(impl Into<String>)
/set_service_region(Option<String>)
:
required: falseThe Region where the service is hosted. The default is the current Region.
- On success, responds with
CreateVpcEndpointOutput
with field(s):vpc_endpoint(Option<VpcEndpoint>)
:Information about the endpoint.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On failure, responds with
SdkError<CreateVpcEndpointError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_endpoint_connection_notification(
&self,
) -> CreateVpcEndpointConnectionNotificationFluentBuilder
pub fn create_vpc_endpoint_connection_notification( &self, ) -> CreateVpcEndpointConnectionNotificationFluentBuilder
Constructs a fluent builder for the CreateVpcEndpointConnectionNotification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: falseThe ID of the endpoint service.
vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: falseThe ID of the endpoint.
connection_notification_arn(impl Into<String>)
/set_connection_notification_arn(Option<String>)
:
required: trueThe ARN of the SNS topic for the notifications.
connection_events(impl Into<String>)
/set_connection_events(Option<Vec::<String>>)
:
required: trueThe endpoint events for which to receive notifications. Valid values are
Accept
,Connect
,Delete
, andReject
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
CreateVpcEndpointConnectionNotificationOutput
with field(s):connection_notification(Option<ConnectionNotification>)
:Information about the notification.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On failure, responds with
SdkError<CreateVpcEndpointConnectionNotificationError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_endpoint_service_configuration(
&self,
) -> CreateVpcEndpointServiceConfigurationFluentBuilder
pub fn create_vpc_endpoint_service_configuration( &self, ) -> CreateVpcEndpointServiceConfigurationFluentBuilder
Constructs a fluent builder for the CreateVpcEndpointServiceConfiguration
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.acceptance_required(bool)
/set_acceptance_required(Option<bool>)
:
required: falseIndicates whether requests from service consumers to create an endpoint to your service must be accepted manually.
private_dns_name(impl Into<String>)
/set_private_dns_name(Option<String>)
:
required: false(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.
network_load_balancer_arns(impl Into<String>)
/set_network_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of the Network Load Balancers.
gateway_load_balancer_arns(impl Into<String>)
/set_gateway_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of the Gateway Load Balancers.
supported_ip_address_types(impl Into<String>)
/set_supported_ip_address_types(Option<Vec::<String>>)
:
required: falseThe supported IP address types. The possible values are
ipv4
andipv6
.supported_regions(impl Into<String>)
/set_supported_regions(Option<Vec::<String>>)
:
required: falseThe Regions from which service consumers can access the service.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to associate with the service.
- On success, responds with
CreateVpcEndpointServiceConfigurationOutput
with field(s):service_configuration(Option<ServiceConfiguration>)
:Information about the service configuration.
client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- On failure, responds with
SdkError<CreateVpcEndpointServiceConfigurationError>
Source§impl Client
impl Client
Sourcepub fn create_vpc_peering_connection(
&self,
) -> CreateVpcPeeringConnectionFluentBuilder
pub fn create_vpc_peering_connection( &self, ) -> CreateVpcPeeringConnectionFluentBuilder
Constructs a fluent builder for the CreateVpcPeeringConnection
operation.
- The fluent builder is configurable:
peer_region(impl Into<String>)
/set_peer_region(Option<String>)
:
required: falseThe Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
Default: The Region in which you make the request.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to assign to the peering connection.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the requester VPC. You must specify this parameter in the request.
peer_vpc_id(impl Into<String>)
/set_peer_vpc_id(Option<String>)
:
required: falseThe ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
peer_owner_id(impl Into<String>)
/set_peer_owner_id(Option<String>)
:
required: falseThe Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
- On success, responds with
CreateVpcPeeringConnectionOutput
with field(s):vpc_peering_connection(Option<VpcPeeringConnection>)
:Information about the VPC peering connection.
- On failure, responds with
SdkError<CreateVpcPeeringConnectionError>
Source§impl Client
impl Client
Sourcepub fn create_vpn_connection(&self) -> CreateVpnConnectionFluentBuilder
pub fn create_vpn_connection(&self) -> CreateVpnConnectionFluentBuilder
Constructs a fluent builder for the CreateVpnConnection
operation.
- The fluent builder is configurable:
customer_gateway_id(impl Into<String>)
/set_customer_gateway_id(Option<String>)
:
required: trueThe ID of the customer gateway.
r#type(impl Into<String>)
/set_type(Option<String>)
:
required: trueThe type of VPN connection (
ipsec.1
).vpn_gateway_id(impl Into<String>)
/set_vpn_gateway_id(Option<String>)
:
required: falseThe ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: falseThe ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the VPN connection.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.options(VpnConnectionOptionsSpecification)
/set_options(Option<VpnConnectionOptionsSpecification>)
:
required: falseThe options for the VPN connection.
- On success, responds with
CreateVpnConnectionOutput
with field(s):vpn_connection(Option<VpnConnection>)
:Information about the VPN connection.
- On failure, responds with
SdkError<CreateVpnConnectionError>
Source§impl Client
impl Client
Sourcepub fn create_vpn_connection_route(
&self,
) -> CreateVpnConnectionRouteFluentBuilder
pub fn create_vpn_connection_route( &self, ) -> CreateVpnConnectionRouteFluentBuilder
Constructs a fluent builder for the CreateVpnConnectionRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe CIDR block associated with the local subnet of the customer network.
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the VPN connection.
- On success, responds with
CreateVpnConnectionRouteOutput
- On failure, responds with
SdkError<CreateVpnConnectionRouteError>
Source§impl Client
impl Client
Sourcepub fn create_vpn_gateway(&self) -> CreateVpnGatewayFluentBuilder
pub fn create_vpn_gateway(&self) -> CreateVpnGatewayFluentBuilder
Constructs a fluent builder for the CreateVpnGateway
operation.
- The fluent builder is configurable:
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: falseThe Availability Zone for the virtual private gateway.
r#type(GatewayType)
/set_type(Option<GatewayType>)
:
required: trueThe type of VPN connection this virtual private gateway supports.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the virtual private gateway.
amazon_side_asn(i64)
/set_amazon_side_asn(Option<i64>)
:
required: falseA private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you’re using a 16-bit ASN, it must be in the 64512 to 65534 range. If you’re using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
CreateVpnGatewayOutput
with field(s):vpn_gateway(Option<VpnGateway>)
:Information about the virtual private gateway.
- On failure, responds with
SdkError<CreateVpnGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_carrier_gateway(&self) -> DeleteCarrierGatewayFluentBuilder
pub fn delete_carrier_gateway(&self) -> DeleteCarrierGatewayFluentBuilder
Constructs a fluent builder for the DeleteCarrierGateway
operation.
- The fluent builder is configurable:
carrier_gateway_id(impl Into<String>)
/set_carrier_gateway_id(Option<String>)
:
required: trueThe ID of the carrier gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteCarrierGatewayOutput
with field(s):carrier_gateway(Option<CarrierGateway>)
:Information about the carrier gateway.
- On failure, responds with
SdkError<DeleteCarrierGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_client_vpn_endpoint(&self) -> DeleteClientVpnEndpointFluentBuilder
pub fn delete_client_vpn_endpoint(&self) -> DeleteClientVpnEndpointFluentBuilder
Constructs a fluent builder for the DeleteClientVpnEndpoint
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN to be deleted.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteClientVpnEndpointOutput
with field(s):status(Option<ClientVpnEndpointStatus>)
:The current state of the Client VPN endpoint.
- On failure, responds with
SdkError<DeleteClientVpnEndpointError>
Source§impl Client
impl Client
Sourcepub fn delete_client_vpn_route(&self) -> DeleteClientVpnRouteFluentBuilder
pub fn delete_client_vpn_route(&self) -> DeleteClientVpnRouteFluentBuilder
Constructs a fluent builder for the DeleteClientVpnRoute
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint from which the route is to be deleted.
target_vpc_subnet_id(impl Into<String>)
/set_target_vpc_subnet_id(Option<String>)
:
required: falseThe ID of the target subnet used by the route.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe IPv4 address range, in CIDR notation, of the route to be deleted.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteClientVpnRouteOutput
with field(s):status(Option<ClientVpnRouteStatus>)
:The current state of the route.
- On failure, responds with
SdkError<DeleteClientVpnRouteError>
Source§impl Client
impl Client
Sourcepub fn delete_coip_cidr(&self) -> DeleteCoipCidrFluentBuilder
pub fn delete_coip_cidr(&self) -> DeleteCoipCidrFluentBuilder
Constructs a fluent builder for the DeleteCoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueA customer-owned IP address range that you want to delete.
coip_pool_id(impl Into<String>)
/set_coip_pool_id(Option<String>)
:
required: trueThe ID of the customer-owned address pool.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteCoipCidrOutput
with field(s):coip_cidr(Option<CoipCidr>)
:Information about a range of customer-owned IP addresses.
- On failure, responds with
SdkError<DeleteCoipCidrError>
Source§impl Client
impl Client
Sourcepub fn delete_coip_pool(&self) -> DeleteCoipPoolFluentBuilder
pub fn delete_coip_pool(&self) -> DeleteCoipPoolFluentBuilder
Constructs a fluent builder for the DeleteCoipPool
operation.
- The fluent builder is configurable:
coip_pool_id(impl Into<String>)
/set_coip_pool_id(Option<String>)
:
required: trueThe ID of the CoIP pool that you want to delete.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteCoipPoolOutput
with field(s):coip_pool(Option<CoipPool>)
:Information about the CoIP address pool.
- On failure, responds with
SdkError<DeleteCoipPoolError>
Source§impl Client
impl Client
Sourcepub fn delete_customer_gateway(&self) -> DeleteCustomerGatewayFluentBuilder
pub fn delete_customer_gateway(&self) -> DeleteCustomerGatewayFluentBuilder
Constructs a fluent builder for the DeleteCustomerGateway
operation.
- The fluent builder is configurable:
customer_gateway_id(impl Into<String>)
/set_customer_gateway_id(Option<String>)
:
required: trueThe ID of the customer gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteCustomerGatewayOutput
- On failure, responds with
SdkError<DeleteCustomerGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_dhcp_options(&self) -> DeleteDhcpOptionsFluentBuilder
pub fn delete_dhcp_options(&self) -> DeleteDhcpOptionsFluentBuilder
Constructs a fluent builder for the DeleteDhcpOptions
operation.
- The fluent builder is configurable:
dhcp_options_id(impl Into<String>)
/set_dhcp_options_id(Option<String>)
:
required: trueThe ID of the DHCP options set.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteDhcpOptionsOutput
- On failure, responds with
SdkError<DeleteDhcpOptionsError>
Source§impl Client
impl Client
Sourcepub fn delete_egress_only_internet_gateway(
&self,
) -> DeleteEgressOnlyInternetGatewayFluentBuilder
pub fn delete_egress_only_internet_gateway( &self, ) -> DeleteEgressOnlyInternetGatewayFluentBuilder
Constructs a fluent builder for the DeleteEgressOnlyInternetGateway
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.egress_only_internet_gateway_id(impl Into<String>)
/set_egress_only_internet_gateway_id(Option<String>)
:
required: trueThe ID of the egress-only internet gateway.
- On success, responds with
DeleteEgressOnlyInternetGatewayOutput
with field(s):return_code(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DeleteEgressOnlyInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_fleets(&self) -> DeleteFleetsFluentBuilder
pub fn delete_fleets(&self) -> DeleteFleetsFluentBuilder
Constructs a fluent builder for the DeleteFleets
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fleet_ids(impl Into<String>)
/set_fleet_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the EC2 Fleets.
Constraints: In a single request, you can specify up to 25
instant
fleet IDs and up to 100maintain
orrequest
fleet IDs.terminate_instances(bool)
/set_terminate_instances(Option<bool>)
:
required: trueIndicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to terminate the instances.
To let the instances continue to run after the EC2 Fleet is deleted, specify
no-terminate-instances
. Supported only for fleets of typemaintain
andrequest
.For
instant
fleets, you cannot specifyNoTerminateInstances
. A deletedinstant
fleet with running instances is not supported.
- On success, responds with
DeleteFleetsOutput
with field(s):successful_fleet_deletions(Option<Vec::<DeleteFleetSuccessItem>>)
:Information about the EC2 Fleets that are successfully deleted.
unsuccessful_fleet_deletions(Option<Vec::<DeleteFleetErrorItem>>)
:Information about the EC2 Fleets that are not successfully deleted.
- On failure, responds with
SdkError<DeleteFleetsError>
Source§impl Client
impl Client
Sourcepub fn delete_flow_logs(&self) -> DeleteFlowLogsFluentBuilder
pub fn delete_flow_logs(&self) -> DeleteFlowLogsFluentBuilder
Constructs a fluent builder for the DeleteFlowLogs
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.flow_log_ids(impl Into<String>)
/set_flow_log_ids(Option<Vec::<String>>)
:
required: trueOne or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
- On success, responds with
DeleteFlowLogsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the flow logs that could not be deleted successfully.
- On failure, responds with
SdkError<DeleteFlowLogsError>
Source§impl Client
impl Client
Sourcepub fn delete_fpga_image(&self) -> DeleteFpgaImageFluentBuilder
pub fn delete_fpga_image(&self) -> DeleteFpgaImageFluentBuilder
Constructs a fluent builder for the DeleteFpgaImage
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fpga_image_id(impl Into<String>)
/set_fpga_image_id(Option<String>)
:
required: trueThe ID of the AFI.
- On success, responds with
DeleteFpgaImageOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.
- On failure, responds with
SdkError<DeleteFpgaImageError>
Source§impl Client
impl Client
Sourcepub fn delete_instance_connect_endpoint(
&self,
) -> DeleteInstanceConnectEndpointFluentBuilder
pub fn delete_instance_connect_endpoint( &self, ) -> DeleteInstanceConnectEndpointFluentBuilder
Constructs a fluent builder for the DeleteInstanceConnectEndpoint
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_connect_endpoint_id(impl Into<String>)
/set_instance_connect_endpoint_id(Option<String>)
:
required: trueThe ID of the EC2 Instance Connect Endpoint to delete.
- On success, responds with
DeleteInstanceConnectEndpointOutput
with field(s):instance_connect_endpoint(Option<Ec2InstanceConnectEndpoint>)
:Information about the EC2 Instance Connect Endpoint.
- On failure, responds with
SdkError<DeleteInstanceConnectEndpointError>
Source§impl Client
impl Client
Sourcepub fn delete_instance_event_window(
&self,
) -> DeleteInstanceEventWindowFluentBuilder
pub fn delete_instance_event_window( &self, ) -> DeleteInstanceEventWindowFluentBuilder
Constructs a fluent builder for the DeleteInstanceEventWindow
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.force_delete(bool)
/set_force_delete(Option<bool>)
:
required: falseSpecify
true
to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.instance_event_window_id(impl Into<String>)
/set_instance_event_window_id(Option<String>)
:
required: trueThe ID of the event window.
- On success, responds with
DeleteInstanceEventWindowOutput
with field(s):instance_event_window_state(Option<InstanceEventWindowStateChange>)
:The state of the event window.
- On failure, responds with
SdkError<DeleteInstanceEventWindowError>
Source§impl Client
impl Client
Sourcepub fn delete_internet_gateway(&self) -> DeleteInternetGatewayFluentBuilder
pub fn delete_internet_gateway(&self) -> DeleteInternetGatewayFluentBuilder
Constructs a fluent builder for the DeleteInternetGateway
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.internet_gateway_id(impl Into<String>)
/set_internet_gateway_id(Option<String>)
:
required: trueThe ID of the internet gateway.
- On success, responds with
DeleteInternetGatewayOutput
- On failure, responds with
SdkError<DeleteInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_ipam(&self) -> DeleteIpamFluentBuilder
pub fn delete_ipam(&self) -> DeleteIpamFluentBuilder
Constructs a fluent builder for the DeleteIpam
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueThe ID of the IPAM to delete.
cascade(bool)
/set_cascade(Option<bool>)
:
required: falseEnables you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:
-
Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.
No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.
-
Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.
-
Deletes all IPAM pools in private scopes.
-
Deletes all non-default private scopes in the IPAM.
-
Deletes the default public and private scopes and the IPAM.
-
- On success, responds with
DeleteIpamOutput
with field(s):ipam(Option<Ipam>)
:Information about the results of the deletion.
- On failure, responds with
SdkError<DeleteIpamError>
Source§impl Client
impl Client
Sourcepub fn delete_ipam_external_resource_verification_token(
&self,
) -> DeleteIpamExternalResourceVerificationTokenFluentBuilder
pub fn delete_ipam_external_resource_verification_token( &self, ) -> DeleteIpamExternalResourceVerificationTokenFluentBuilder
Constructs a fluent builder for the DeleteIpamExternalResourceVerificationToken
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_external_resource_verification_token_id(impl Into<String>)
/set_ipam_external_resource_verification_token_id(Option<String>)
:
required: trueThe token ID.
- On success, responds with
DeleteIpamExternalResourceVerificationTokenOutput
with field(s):ipam_external_resource_verification_token(Option<IpamExternalResourceVerificationToken>)
:The verification token.
- On failure, responds with
SdkError<DeleteIpamExternalResourceVerificationTokenError>
Source§impl Client
impl Client
Sourcepub fn delete_ipam_pool(&self) -> DeleteIpamPoolFluentBuilder
pub fn delete_ipam_pool(&self) -> DeleteIpamPoolFluentBuilder
Constructs a fluent builder for the DeleteIpamPool
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the pool to delete.
cascade(bool)
/set_cascade(Option<bool>)
:
required: falseEnables you to quickly delete an IPAM pool and all resources within that pool, including provisioned CIDRs, allocations, and other pools.
You can only use this option to delete pools in the private scope or pools in the public scope with a source resource. A source resource is a resource used to provision CIDRs to a resource planning pool.
- On success, responds with
DeleteIpamPoolOutput
with field(s):ipam_pool(Option<IpamPool>)
:Information about the results of the deletion.
- On failure, responds with
SdkError<DeleteIpamPoolError>
Source§impl Client
impl Client
Sourcepub fn delete_ipam_resource_discovery(
&self,
) -> DeleteIpamResourceDiscoveryFluentBuilder
pub fn delete_ipam_resource_discovery( &self, ) -> DeleteIpamResourceDiscoveryFluentBuilder
Constructs a fluent builder for the DeleteIpamResourceDiscovery
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueThe IPAM resource discovery ID.
- On success, responds with
DeleteIpamResourceDiscoveryOutput
with field(s):ipam_resource_discovery(Option<IpamResourceDiscovery>)
:The IPAM resource discovery.
- On failure, responds with
SdkError<DeleteIpamResourceDiscoveryError>
Source§impl Client
impl Client
Sourcepub fn delete_ipam_scope(&self) -> DeleteIpamScopeFluentBuilder
pub fn delete_ipam_scope(&self) -> DeleteIpamScopeFluentBuilder
Constructs a fluent builder for the DeleteIpamScope
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_scope_id(impl Into<String>)
/set_ipam_scope_id(Option<String>)
:
required: trueThe ID of the scope to delete.
- On success, responds with
DeleteIpamScopeOutput
with field(s):ipam_scope(Option<IpamScope>)
:Information about the results of the deletion.
- On failure, responds with
SdkError<DeleteIpamScopeError>
Source§impl Client
impl Client
Sourcepub fn delete_key_pair(&self) -> DeleteKeyPairFluentBuilder
pub fn delete_key_pair(&self) -> DeleteKeyPairFluentBuilder
Constructs a fluent builder for the DeleteKeyPair
operation.
- The fluent builder is configurable:
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: falseThe name of the key pair.
key_pair_id(impl Into<String>)
/set_key_pair_id(Option<String>)
:
required: falseThe ID of the key pair.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteKeyPairOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.key_pair_id(Option<String>)
:The ID of the key pair.
- On failure, responds with
SdkError<DeleteKeyPairError>
Source§impl Client
impl Client
Sourcepub fn delete_launch_template(&self) -> DeleteLaunchTemplateFluentBuilder
pub fn delete_launch_template(&self) -> DeleteLaunchTemplateFluentBuilder
Constructs a fluent builder for the DeleteLaunchTemplate
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.launch_template_id(impl Into<String>)
/set_launch_template_id(Option<String>)
:
required: falseThe ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: falseThe name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
- On success, responds with
DeleteLaunchTemplateOutput
with field(s):launch_template(Option<LaunchTemplate>)
:Information about the launch template.
- On failure, responds with
SdkError<DeleteLaunchTemplateError>
Source§impl Client
impl Client
Sourcepub fn delete_launch_template_versions(
&self,
) -> DeleteLaunchTemplateVersionsFluentBuilder
pub fn delete_launch_template_versions( &self, ) -> DeleteLaunchTemplateVersionsFluentBuilder
Constructs a fluent builder for the DeleteLaunchTemplateVersions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.launch_template_id(impl Into<String>)
/set_launch_template_id(Option<String>)
:
required: falseThe ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: falseThe name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
versions(impl Into<String>)
/set_versions(Option<Vec::<String>>)
:
required: trueThe version numbers of one or more launch template versions to delete. You can specify up to 200 launch template version numbers.
- On success, responds with
DeleteLaunchTemplateVersionsOutput
with field(s):successfully_deleted_launch_template_versions(Option<Vec::<DeleteLaunchTemplateVersionsResponseSuccessItem>>)
:Information about the launch template versions that were successfully deleted.
unsuccessfully_deleted_launch_template_versions(Option<Vec::<DeleteLaunchTemplateVersionsResponseErrorItem>>)
:Information about the launch template versions that could not be deleted.
- On failure, responds with
SdkError<DeleteLaunchTemplateVersionsError>
Source§impl Client
impl Client
Sourcepub fn delete_local_gateway_route(&self) -> DeleteLocalGatewayRouteFluentBuilder
pub fn delete_local_gateway_route(&self) -> DeleteLocalGatewayRouteFluentBuilder
Constructs a fluent builder for the DeleteLocalGatewayRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe CIDR range for the route. This must match the CIDR for the route exactly.
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseUse a prefix list in place of
DestinationCidrBlock
. You cannot useDestinationPrefixListId
andDestinationCidrBlock
in the same request.
- On success, responds with
DeleteLocalGatewayRouteOutput
with field(s):route(Option<LocalGatewayRoute>)
:Information about the route.
- On failure, responds with
SdkError<DeleteLocalGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn delete_local_gateway_route_table(
&self,
) -> DeleteLocalGatewayRouteTableFluentBuilder
pub fn delete_local_gateway_route_table( &self, ) -> DeleteLocalGatewayRouteTableFluentBuilder
Constructs a fluent builder for the DeleteLocalGatewayRouteTable
operation.
- The fluent builder is configurable:
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteLocalGatewayRouteTableOutput
with field(s):local_gateway_route_table(Option<LocalGatewayRouteTable>)
:Information about the local gateway route table.
- On failure, responds with
SdkError<DeleteLocalGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn delete_local_gateway_route_table_virtual_interface_group_association(
&self,
) -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder
pub fn delete_local_gateway_route_table_virtual_interface_group_association( &self, ) -> DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationFluentBuilder
Constructs a fluent builder for the DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
operation.
- The fluent builder is configurable:
local_gateway_route_table_virtual_interface_group_association_id(impl Into<String>)
/set_local_gateway_route_table_virtual_interface_group_association_id(Option<String>)
:
required: trueThe ID of the local gateway route table virtual interface group association.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput
with field(s):local_gateway_route_table_virtual_interface_group_association(Option<LocalGatewayRouteTableVirtualInterfaceGroupAssociation>)
:Information about the association.
- On failure, responds with
SdkError<DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationError>
Source§impl Client
impl Client
Sourcepub fn delete_local_gateway_route_table_vpc_association(
&self,
) -> DeleteLocalGatewayRouteTableVpcAssociationFluentBuilder
pub fn delete_local_gateway_route_table_vpc_association( &self, ) -> DeleteLocalGatewayRouteTableVpcAssociationFluentBuilder
Constructs a fluent builder for the DeleteLocalGatewayRouteTableVpcAssociation
operation.
- The fluent builder is configurable:
local_gateway_route_table_vpc_association_id(impl Into<String>)
/set_local_gateway_route_table_vpc_association_id(Option<String>)
:
required: trueThe ID of the association.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteLocalGatewayRouteTableVpcAssociationOutput
with field(s):local_gateway_route_table_vpc_association(Option<LocalGatewayRouteTableVpcAssociation>)
:Information about the association.
- On failure, responds with
SdkError<DeleteLocalGatewayRouteTableVpcAssociationError>
Source§impl Client
impl Client
Sourcepub fn delete_managed_prefix_list(&self) -> DeleteManagedPrefixListFluentBuilder
pub fn delete_managed_prefix_list(&self) -> DeleteManagedPrefixListFluentBuilder
Constructs a fluent builder for the DeleteManagedPrefixList
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
- On success, responds with
DeleteManagedPrefixListOutput
with field(s):prefix_list(Option<ManagedPrefixList>)
:Information about the prefix list.
- On failure, responds with
SdkError<DeleteManagedPrefixListError>
Source§impl Client
impl Client
Sourcepub fn delete_nat_gateway(&self) -> DeleteNatGatewayFluentBuilder
pub fn delete_nat_gateway(&self) -> DeleteNatGatewayFluentBuilder
Constructs a fluent builder for the DeleteNatGateway
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: trueThe ID of the NAT gateway.
- On success, responds with
DeleteNatGatewayOutput
with field(s):nat_gateway_id(Option<String>)
:The ID of the NAT gateway.
- On failure, responds with
SdkError<DeleteNatGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_network_acl(&self) -> DeleteNetworkAclFluentBuilder
pub fn delete_network_acl(&self) -> DeleteNetworkAclFluentBuilder
Constructs a fluent builder for the DeleteNetworkAcl
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_acl_id(impl Into<String>)
/set_network_acl_id(Option<String>)
:
required: trueThe ID of the network ACL.
- On success, responds with
DeleteNetworkAclOutput
- On failure, responds with
SdkError<DeleteNetworkAclError>
Source§impl Client
impl Client
Sourcepub fn delete_network_acl_entry(&self) -> DeleteNetworkAclEntryFluentBuilder
pub fn delete_network_acl_entry(&self) -> DeleteNetworkAclEntryFluentBuilder
Constructs a fluent builder for the DeleteNetworkAclEntry
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_acl_id(impl Into<String>)
/set_network_acl_id(Option<String>)
:
required: trueThe ID of the network ACL.
rule_number(i32)
/set_rule_number(Option<i32>)
:
required: trueThe rule number of the entry to delete.
egress(bool)
/set_egress(Option<bool>)
:
required: trueIndicates whether the rule is an egress rule.
- On success, responds with
DeleteNetworkAclEntryOutput
- On failure, responds with
SdkError<DeleteNetworkAclEntryError>
Source§impl Client
impl Client
Sourcepub fn delete_network_insights_access_scope(
&self,
) -> DeleteNetworkInsightsAccessScopeFluentBuilder
pub fn delete_network_insights_access_scope( &self, ) -> DeleteNetworkInsightsAccessScopeFluentBuilder
Constructs a fluent builder for the DeleteNetworkInsightsAccessScope
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_insights_access_scope_id(impl Into<String>)
/set_network_insights_access_scope_id(Option<String>)
:
required: trueThe ID of the Network Access Scope.
- On success, responds with
DeleteNetworkInsightsAccessScopeOutput
with field(s):network_insights_access_scope_id(Option<String>)
:The ID of the Network Access Scope.
- On failure, responds with
SdkError<DeleteNetworkInsightsAccessScopeError>
Source§impl Client
impl Client
Sourcepub fn delete_network_insights_access_scope_analysis(
&self,
) -> DeleteNetworkInsightsAccessScopeAnalysisFluentBuilder
pub fn delete_network_insights_access_scope_analysis( &self, ) -> DeleteNetworkInsightsAccessScopeAnalysisFluentBuilder
Constructs a fluent builder for the DeleteNetworkInsightsAccessScopeAnalysis
operation.
- The fluent builder is configurable:
network_insights_access_scope_analysis_id(impl Into<String>)
/set_network_insights_access_scope_analysis_id(Option<String>)
:
required: trueThe ID of the Network Access Scope analysis.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteNetworkInsightsAccessScopeAnalysisOutput
with field(s):network_insights_access_scope_analysis_id(Option<String>)
:The ID of the Network Access Scope analysis.
- On failure, responds with
SdkError<DeleteNetworkInsightsAccessScopeAnalysisError>
Source§impl Client
impl Client
Sourcepub fn delete_network_insights_analysis(
&self,
) -> DeleteNetworkInsightsAnalysisFluentBuilder
pub fn delete_network_insights_analysis( &self, ) -> DeleteNetworkInsightsAnalysisFluentBuilder
Constructs a fluent builder for the DeleteNetworkInsightsAnalysis
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_insights_analysis_id(impl Into<String>)
/set_network_insights_analysis_id(Option<String>)
:
required: trueThe ID of the network insights analysis.
- On success, responds with
DeleteNetworkInsightsAnalysisOutput
with field(s):network_insights_analysis_id(Option<String>)
:The ID of the network insights analysis.
- On failure, responds with
SdkError<DeleteNetworkInsightsAnalysisError>
Source§impl Client
impl Client
Sourcepub fn delete_network_insights_path(
&self,
) -> DeleteNetworkInsightsPathFluentBuilder
pub fn delete_network_insights_path( &self, ) -> DeleteNetworkInsightsPathFluentBuilder
Constructs a fluent builder for the DeleteNetworkInsightsPath
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_insights_path_id(impl Into<String>)
/set_network_insights_path_id(Option<String>)
:
required: trueThe ID of the path.
- On success, responds with
DeleteNetworkInsightsPathOutput
with field(s):network_insights_path_id(Option<String>)
:The ID of the path.
- On failure, responds with
SdkError<DeleteNetworkInsightsPathError>
Source§impl Client
impl Client
Sourcepub fn delete_network_interface(&self) -> DeleteNetworkInterfaceFluentBuilder
pub fn delete_network_interface(&self) -> DeleteNetworkInterfaceFluentBuilder
Constructs a fluent builder for the DeleteNetworkInterface
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
- On success, responds with
DeleteNetworkInterfaceOutput
- On failure, responds with
SdkError<DeleteNetworkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn delete_network_interface_permission(
&self,
) -> DeleteNetworkInterfacePermissionFluentBuilder
pub fn delete_network_interface_permission( &self, ) -> DeleteNetworkInterfacePermissionFluentBuilder
Constructs a fluent builder for the DeleteNetworkInterfacePermission
operation.
- The fluent builder is configurable:
network_interface_permission_id(impl Into<String>)
/set_network_interface_permission_id(Option<String>)
:
required: trueThe ID of the network interface permission.
force(bool)
/set_force(Option<bool>)
:
required: falseSpecify
true
to remove the permission even if the network interface is attached to an instance.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteNetworkInterfacePermissionOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds, otherwise returns an error.
- On failure, responds with
SdkError<DeleteNetworkInterfacePermissionError>
Source§impl Client
impl Client
Sourcepub fn delete_placement_group(&self) -> DeletePlacementGroupFluentBuilder
pub fn delete_placement_group(&self) -> DeletePlacementGroupFluentBuilder
Constructs a fluent builder for the DeletePlacementGroup
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: trueThe name of the placement group.
- On success, responds with
DeletePlacementGroupOutput
- On failure, responds with
SdkError<DeletePlacementGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_public_ipv4_pool(&self) -> DeletePublicIpv4PoolFluentBuilder
pub fn delete_public_ipv4_pool(&self) -> DeletePublicIpv4PoolFluentBuilder
Constructs a fluent builder for the DeletePublicIpv4Pool
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.pool_id(impl Into<String>)
/set_pool_id(Option<String>)
:
required: trueThe ID of the public IPv4 pool you want to delete.
network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseThe Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
- On success, responds with
DeletePublicIpv4PoolOutput
with field(s):return_value(Option<bool>)
:Information about the result of deleting the public IPv4 pool.
- On failure, responds with
SdkError<DeletePublicIpv4PoolError>
Source§impl Client
impl Client
Sourcepub fn delete_queued_reserved_instances(
&self,
) -> DeleteQueuedReservedInstancesFluentBuilder
pub fn delete_queued_reserved_instances( &self, ) -> DeleteQueuedReservedInstancesFluentBuilder
Constructs a fluent builder for the DeleteQueuedReservedInstances
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.reserved_instances_ids(impl Into<String>)
/set_reserved_instances_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Reserved Instances.
- On success, responds with
DeleteQueuedReservedInstancesOutput
with field(s):successful_queued_purchase_deletions(Option<Vec::<SuccessfulQueuedPurchaseDeletion>>)
:Information about the queued purchases that were successfully deleted.
failed_queued_purchase_deletions(Option<Vec::<FailedQueuedPurchaseDeletion>>)
:Information about the queued purchases that could not be deleted.
- On failure, responds with
SdkError<DeleteQueuedReservedInstancesError>
Source§impl Client
impl Client
Sourcepub fn delete_route(&self) -> DeleteRouteFluentBuilder
pub fn delete_route(&self) -> DeleteRouteFluentBuilder
Constructs a fluent builder for the DeleteRoute
operation.
- The fluent builder is configurable:
destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseThe ID of the prefix list for the route.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
destination_ipv6_cidr_block(impl Into<String>)
/set_destination_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
- On success, responds with
DeleteRouteOutput
- On failure, responds with
SdkError<DeleteRouteError>
Source§impl Client
impl Client
Sourcepub fn delete_route_server(&self) -> DeleteRouteServerFluentBuilder
pub fn delete_route_server(&self) -> DeleteRouteServerFluentBuilder
Constructs a fluent builder for the DeleteRouteServer
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server to delete.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DeleteRouteServerOutput
with field(s):route_server(Option<RouteServer>)
:Information about the deleted route server.
- On failure, responds with
SdkError<DeleteRouteServerError>
Source§impl Client
impl Client
Sourcepub fn delete_route_server_endpoint(
&self,
) -> DeleteRouteServerEndpointFluentBuilder
pub fn delete_route_server_endpoint( &self, ) -> DeleteRouteServerEndpointFluentBuilder
Constructs a fluent builder for the DeleteRouteServerEndpoint
operation.
- The fluent builder is configurable:
route_server_endpoint_id(impl Into<String>)
/set_route_server_endpoint_id(Option<String>)
:
required: trueThe ID of the route server endpoint to delete.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DeleteRouteServerEndpointOutput
with field(s):route_server_endpoint(Option<RouteServerEndpoint>)
:Information about the deleted route server endpoint.
- On failure, responds with
SdkError<DeleteRouteServerEndpointError>
Source§impl Client
impl Client
Sourcepub fn delete_route_server_peer(&self) -> DeleteRouteServerPeerFluentBuilder
pub fn delete_route_server_peer(&self) -> DeleteRouteServerPeerFluentBuilder
Constructs a fluent builder for the DeleteRouteServerPeer
operation.
- The fluent builder is configurable:
route_server_peer_id(impl Into<String>)
/set_route_server_peer_id(Option<String>)
:
required: trueThe ID of the route server peer to delete.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DeleteRouteServerPeerOutput
with field(s):route_server_peer(Option<RouteServerPeer>)
:Information about the deleted route server peer.
- On failure, responds with
SdkError<DeleteRouteServerPeerError>
Source§impl Client
impl Client
Sourcepub fn delete_route_table(&self) -> DeleteRouteTableFluentBuilder
pub fn delete_route_table(&self) -> DeleteRouteTableFluentBuilder
Constructs a fluent builder for the DeleteRouteTable
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
- On success, responds with
DeleteRouteTableOutput
- On failure, responds with
SdkError<DeleteRouteTableError>
Source§impl Client
impl Client
Sourcepub fn delete_security_group(&self) -> DeleteSecurityGroupFluentBuilder
pub fn delete_security_group(&self) -> DeleteSecurityGroupFluentBuilder
Constructs a fluent builder for the DeleteSecurityGroup
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe ID of the security group.
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: false[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteSecurityGroupOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.group_id(Option<String>)
:The ID of the deleted security group.
- On failure, responds with
SdkError<DeleteSecurityGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_snapshot(&self) -> DeleteSnapshotFluentBuilder
pub fn delete_snapshot(&self) -> DeleteSnapshotFluentBuilder
Constructs a fluent builder for the DeleteSnapshot
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the EBS snapshot.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteSnapshotOutput
- On failure, responds with
SdkError<DeleteSnapshotError>
Source§impl Client
impl Client
Sourcepub fn delete_spot_datafeed_subscription(
&self,
) -> DeleteSpotDatafeedSubscriptionFluentBuilder
pub fn delete_spot_datafeed_subscription( &self, ) -> DeleteSpotDatafeedSubscriptionFluentBuilder
Constructs a fluent builder for the DeleteSpotDatafeedSubscription
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteSpotDatafeedSubscriptionOutput
- On failure, responds with
SdkError<DeleteSpotDatafeedSubscriptionError>
Source§impl Client
impl Client
Sourcepub fn delete_subnet(&self) -> DeleteSubnetFluentBuilder
pub fn delete_subnet(&self) -> DeleteSubnetFluentBuilder
Constructs a fluent builder for the DeleteSubnet
operation.
- The fluent builder is configurable:
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteSubnetOutput
- On failure, responds with
SdkError<DeleteSubnetError>
Source§impl Client
impl Client
Sourcepub fn delete_subnet_cidr_reservation(
&self,
) -> DeleteSubnetCidrReservationFluentBuilder
pub fn delete_subnet_cidr_reservation( &self, ) -> DeleteSubnetCidrReservationFluentBuilder
Constructs a fluent builder for the DeleteSubnetCidrReservation
operation.
- The fluent builder is configurable:
subnet_cidr_reservation_id(impl Into<String>)
/set_subnet_cidr_reservation_id(Option<String>)
:
required: trueThe ID of the subnet CIDR reservation.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteSubnetCidrReservationOutput
with field(s):deleted_subnet_cidr_reservation(Option<SubnetCidrReservation>)
:Information about the deleted subnet CIDR reservation.
- On failure, responds with
SdkError<DeleteSubnetCidrReservationError>
Source§impl Client
impl Client
Constructs a fluent builder for the DeleteTags
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.resources(impl Into<String>)
/set_resources(Option<Vec::<String>>)
:
required: trueThe IDs of the resources, separated by spaces.
Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseThe tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.
If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the
aws:
prefix).Constraints: Up to 1000 tags.
- On success, responds with
DeleteTagsOutput
- On failure, responds with
SdkError<DeleteTagsError>
Source§impl Client
impl Client
Sourcepub fn delete_traffic_mirror_filter(
&self,
) -> DeleteTrafficMirrorFilterFluentBuilder
pub fn delete_traffic_mirror_filter( &self, ) -> DeleteTrafficMirrorFilterFluentBuilder
Constructs a fluent builder for the DeleteTrafficMirrorFilter
operation.
- The fluent builder is configurable:
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror filter.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTrafficMirrorFilterOutput
with field(s):traffic_mirror_filter_id(Option<String>)
:The ID of the Traffic Mirror filter.
- On failure, responds with
SdkError<DeleteTrafficMirrorFilterError>
Source§impl Client
impl Client
Sourcepub fn delete_traffic_mirror_filter_rule(
&self,
) -> DeleteTrafficMirrorFilterRuleFluentBuilder
pub fn delete_traffic_mirror_filter_rule( &self, ) -> DeleteTrafficMirrorFilterRuleFluentBuilder
Constructs a fluent builder for the DeleteTrafficMirrorFilterRule
operation.
- The fluent builder is configurable:
traffic_mirror_filter_rule_id(impl Into<String>)
/set_traffic_mirror_filter_rule_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror rule.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTrafficMirrorFilterRuleOutput
with field(s):traffic_mirror_filter_rule_id(Option<String>)
:The ID of the deleted Traffic Mirror rule.
- On failure, responds with
SdkError<DeleteTrafficMirrorFilterRuleError>
Source§impl Client
impl Client
Sourcepub fn delete_traffic_mirror_session(
&self,
) -> DeleteTrafficMirrorSessionFluentBuilder
pub fn delete_traffic_mirror_session( &self, ) -> DeleteTrafficMirrorSessionFluentBuilder
Constructs a fluent builder for the DeleteTrafficMirrorSession
operation.
- The fluent builder is configurable:
traffic_mirror_session_id(impl Into<String>)
/set_traffic_mirror_session_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror session.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTrafficMirrorSessionOutput
with field(s):traffic_mirror_session_id(Option<String>)
:The ID of the deleted Traffic Mirror session.
- On failure, responds with
SdkError<DeleteTrafficMirrorSessionError>
Source§impl Client
impl Client
Sourcepub fn delete_traffic_mirror_target(
&self,
) -> DeleteTrafficMirrorTargetFluentBuilder
pub fn delete_traffic_mirror_target( &self, ) -> DeleteTrafficMirrorTargetFluentBuilder
Constructs a fluent builder for the DeleteTrafficMirrorTarget
operation.
- The fluent builder is configurable:
traffic_mirror_target_id(impl Into<String>)
/set_traffic_mirror_target_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror target.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTrafficMirrorTargetOutput
with field(s):traffic_mirror_target_id(Option<String>)
:The ID of the deleted Traffic Mirror target.
- On failure, responds with
SdkError<DeleteTrafficMirrorTargetError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway(&self) -> DeleteTransitGatewayFluentBuilder
pub fn delete_transit_gateway(&self) -> DeleteTransitGatewayFluentBuilder
Constructs a fluent builder for the DeleteTransitGateway
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayOutput
with field(s):transit_gateway(Option<TransitGateway>)
:Information about the deleted transit gateway.
- On failure, responds with
SdkError<DeleteTransitGatewayError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_connect(
&self,
) -> DeleteTransitGatewayConnectFluentBuilder
pub fn delete_transit_gateway_connect( &self, ) -> DeleteTransitGatewayConnectFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayConnect
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the Connect attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayConnectOutput
with field(s):transit_gateway_connect(Option<TransitGatewayConnect>)
:Information about the deleted Connect attachment.
- On failure, responds with
SdkError<DeleteTransitGatewayConnectError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_connect_peer(
&self,
) -> DeleteTransitGatewayConnectPeerFluentBuilder
pub fn delete_transit_gateway_connect_peer( &self, ) -> DeleteTransitGatewayConnectPeerFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayConnectPeer
operation.
- The fluent builder is configurable:
transit_gateway_connect_peer_id(impl Into<String>)
/set_transit_gateway_connect_peer_id(Option<String>)
:
required: trueThe ID of the Connect peer.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayConnectPeerOutput
with field(s):transit_gateway_connect_peer(Option<TransitGatewayConnectPeer>)
:Information about the deleted Connect peer.
- On failure, responds with
SdkError<DeleteTransitGatewayConnectPeerError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_multicast_domain(
&self,
) -> DeleteTransitGatewayMulticastDomainFluentBuilder
pub fn delete_transit_gateway_multicast_domain( &self, ) -> DeleteTransitGatewayMulticastDomainFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayMulticastDomain
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayMulticastDomainOutput
with field(s):transit_gateway_multicast_domain(Option<TransitGatewayMulticastDomain>)
:Information about the deleted transit gateway multicast domain.
- On failure, responds with
SdkError<DeleteTransitGatewayMulticastDomainError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_peering_attachment(
&self,
) -> DeleteTransitGatewayPeeringAttachmentFluentBuilder
pub fn delete_transit_gateway_peering_attachment( &self, ) -> DeleteTransitGatewayPeeringAttachmentFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayPeeringAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway peering attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayPeeringAttachmentOutput
with field(s):transit_gateway_peering_attachment(Option<TransitGatewayPeeringAttachment>)
:The transit gateway peering attachment.
- On failure, responds with
SdkError<DeleteTransitGatewayPeeringAttachmentError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_policy_table(
&self,
) -> DeleteTransitGatewayPolicyTableFluentBuilder
pub fn delete_transit_gateway_policy_table( &self, ) -> DeleteTransitGatewayPolicyTableFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayPolicyTable
operation.
- The fluent builder is configurable:
transit_gateway_policy_table_id(impl Into<String>)
/set_transit_gateway_policy_table_id(Option<String>)
:
required: trueThe transit gateway policy table to delete.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayPolicyTableOutput
with field(s):transit_gateway_policy_table(Option<TransitGatewayPolicyTable>)
:Provides details about the deleted transit gateway policy table.
- On failure, responds with
SdkError<DeleteTransitGatewayPolicyTableError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_prefix_list_reference(
&self,
) -> DeleteTransitGatewayPrefixListReferenceFluentBuilder
pub fn delete_transit_gateway_prefix_list_reference( &self, ) -> DeleteTransitGatewayPrefixListReferenceFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayPrefixListReference
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayPrefixListReferenceOutput
with field(s):transit_gateway_prefix_list_reference(Option<TransitGatewayPrefixListReference>)
:Information about the deleted prefix list reference.
- On failure, responds with
SdkError<DeleteTransitGatewayPrefixListReferenceError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_route(
&self,
) -> DeleteTransitGatewayRouteFluentBuilder
pub fn delete_transit_gateway_route( &self, ) -> DeleteTransitGatewayRouteFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayRoute
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe CIDR range for the route. This must match the CIDR for the route exactly.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayRouteOutput
with field(s):route(Option<TransitGatewayRoute>)
:Information about the route.
- On failure, responds with
SdkError<DeleteTransitGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_route_table(
&self,
) -> DeleteTransitGatewayRouteTableFluentBuilder
pub fn delete_transit_gateway_route_table( &self, ) -> DeleteTransitGatewayRouteTableFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayRouteTable
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayRouteTableOutput
with field(s):transit_gateway_route_table(Option<TransitGatewayRouteTable>)
:Information about the deleted transit gateway route table.
- On failure, responds with
SdkError<DeleteTransitGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_route_table_announcement(
&self,
) -> DeleteTransitGatewayRouteTableAnnouncementFluentBuilder
pub fn delete_transit_gateway_route_table_announcement( &self, ) -> DeleteTransitGatewayRouteTableAnnouncementFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayRouteTableAnnouncement
operation.
- The fluent builder is configurable:
transit_gateway_route_table_announcement_id(impl Into<String>)
/set_transit_gateway_route_table_announcement_id(Option<String>)
:
required: trueThe transit gateway route table ID that’s being deleted.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayRouteTableAnnouncementOutput
with field(s):transit_gateway_route_table_announcement(Option<TransitGatewayRouteTableAnnouncement>)
:Provides details about a deleted transit gateway route table.
- On failure, responds with
SdkError<DeleteTransitGatewayRouteTableAnnouncementError>
Source§impl Client
impl Client
Sourcepub fn delete_transit_gateway_vpc_attachment(
&self,
) -> DeleteTransitGatewayVpcAttachmentFluentBuilder
pub fn delete_transit_gateway_vpc_attachment( &self, ) -> DeleteTransitGatewayVpcAttachmentFluentBuilder
Constructs a fluent builder for the DeleteTransitGatewayVpcAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteTransitGatewayVpcAttachmentOutput
with field(s):transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)
:Information about the deleted VPC attachment.
- On failure, responds with
SdkError<DeleteTransitGatewayVpcAttachmentError>
Source§impl Client
impl Client
Sourcepub fn delete_verified_access_endpoint(
&self,
) -> DeleteVerifiedAccessEndpointFluentBuilder
pub fn delete_verified_access_endpoint( &self, ) -> DeleteVerifiedAccessEndpointFluentBuilder
Constructs a fluent builder for the DeleteVerifiedAccessEndpoint
operation.
- The fluent builder is configurable:
verified_access_endpoint_id(impl Into<String>)
/set_verified_access_endpoint_id(Option<String>)
:
required: trueThe ID of the Verified Access endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVerifiedAccessEndpointOutput
with field(s):verified_access_endpoint(Option<VerifiedAccessEndpoint>)
:Details about the Verified Access endpoint.
- On failure, responds with
SdkError<DeleteVerifiedAccessEndpointError>
Source§impl Client
impl Client
Sourcepub fn delete_verified_access_group(
&self,
) -> DeleteVerifiedAccessGroupFluentBuilder
pub fn delete_verified_access_group( &self, ) -> DeleteVerifiedAccessGroupFluentBuilder
Constructs a fluent builder for the DeleteVerifiedAccessGroup
operation.
- The fluent builder is configurable:
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: trueThe ID of the Verified Access group.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVerifiedAccessGroupOutput
with field(s):verified_access_group(Option<VerifiedAccessGroup>)
:Details about the Verified Access group.
- On failure, responds with
SdkError<DeleteVerifiedAccessGroupError>
Source§impl Client
impl Client
Sourcepub fn delete_verified_access_instance(
&self,
) -> DeleteVerifiedAccessInstanceFluentBuilder
pub fn delete_verified_access_instance( &self, ) -> DeleteVerifiedAccessInstanceFluentBuilder
Constructs a fluent builder for the DeleteVerifiedAccessInstance
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
- On success, responds with
DeleteVerifiedAccessInstanceOutput
with field(s):verified_access_instance(Option<VerifiedAccessInstance>)
:Details about the Verified Access instance.
- On failure, responds with
SdkError<DeleteVerifiedAccessInstanceError>
Source§impl Client
impl Client
Sourcepub fn delete_verified_access_trust_provider(
&self,
) -> DeleteVerifiedAccessTrustProviderFluentBuilder
pub fn delete_verified_access_trust_provider( &self, ) -> DeleteVerifiedAccessTrustProviderFluentBuilder
Constructs a fluent builder for the DeleteVerifiedAccessTrustProvider
operation.
- The fluent builder is configurable:
verified_access_trust_provider_id(impl Into<String>)
/set_verified_access_trust_provider_id(Option<String>)
:
required: trueThe ID of the Verified Access trust provider.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
- On success, responds with
DeleteVerifiedAccessTrustProviderOutput
with field(s):verified_access_trust_provider(Option<VerifiedAccessTrustProvider>)
:Details about the Verified Access trust provider.
- On failure, responds with
SdkError<DeleteVerifiedAccessTrustProviderError>
Source§impl Client
impl Client
Sourcepub fn delete_volume(&self) -> DeleteVolumeFluentBuilder
pub fn delete_volume(&self) -> DeleteVolumeFluentBuilder
Constructs a fluent builder for the DeleteVolume
operation.
- The fluent builder is configurable:
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVolumeOutput
- On failure, responds with
SdkError<DeleteVolumeError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc(&self) -> DeleteVpcFluentBuilder
pub fn delete_vpc(&self) -> DeleteVpcFluentBuilder
Constructs a fluent builder for the DeleteVpc
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVpcOutput
- On failure, responds with
SdkError<DeleteVpcError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_block_public_access_exclusion(
&self,
) -> DeleteVpcBlockPublicAccessExclusionFluentBuilder
pub fn delete_vpc_block_public_access_exclusion( &self, ) -> DeleteVpcBlockPublicAccessExclusionFluentBuilder
Constructs a fluent builder for the DeleteVpcBlockPublicAccessExclusion
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.exclusion_id(impl Into<String>)
/set_exclusion_id(Option<String>)
:
required: trueThe ID of the exclusion.
- On success, responds with
DeleteVpcBlockPublicAccessExclusionOutput
with field(s):vpc_block_public_access_exclusion(Option<VpcBlockPublicAccessExclusion>)
:Details about an exclusion.
- On failure, responds with
SdkError<DeleteVpcBlockPublicAccessExclusionError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_endpoint_connection_notifications(
&self,
) -> DeleteVpcEndpointConnectionNotificationsFluentBuilder
pub fn delete_vpc_endpoint_connection_notifications( &self, ) -> DeleteVpcEndpointConnectionNotificationsFluentBuilder
Constructs a fluent builder for the DeleteVpcEndpointConnectionNotifications
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.connection_notification_ids(impl Into<String>)
/set_connection_notification_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the notifications.
- On success, responds with
DeleteVpcEndpointConnectionNotificationsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the notifications that could not be deleted successfully.
- On failure, responds with
SdkError<DeleteVpcEndpointConnectionNotificationsError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_endpoint_service_configurations(
&self,
) -> DeleteVpcEndpointServiceConfigurationsFluentBuilder
pub fn delete_vpc_endpoint_service_configurations( &self, ) -> DeleteVpcEndpointServiceConfigurationsFluentBuilder
Constructs a fluent builder for the DeleteVpcEndpointServiceConfigurations
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_ids(impl Into<String>)
/set_service_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the services.
- On success, responds with
DeleteVpcEndpointServiceConfigurationsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the service configurations that were not deleted, if applicable.
- On failure, responds with
SdkError<DeleteVpcEndpointServiceConfigurationsError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_endpoints(&self) -> DeleteVpcEndpointsFluentBuilder
pub fn delete_vpc_endpoints(&self) -> DeleteVpcEndpointsFluentBuilder
Constructs a fluent builder for the DeleteVpcEndpoints
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the VPC endpoints.
- On success, responds with
DeleteVpcEndpointsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the VPC endpoints that were not successfully deleted.
- On failure, responds with
SdkError<DeleteVpcEndpointsError>
Source§impl Client
impl Client
Sourcepub fn delete_vpc_peering_connection(
&self,
) -> DeleteVpcPeeringConnectionFluentBuilder
pub fn delete_vpc_peering_connection( &self, ) -> DeleteVpcPeeringConnectionFluentBuilder
Constructs a fluent builder for the DeleteVpcPeeringConnection
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: trueThe ID of the VPC peering connection.
- On success, responds with
DeleteVpcPeeringConnectionOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DeleteVpcPeeringConnectionError>
Source§impl Client
impl Client
Sourcepub fn delete_vpn_connection(&self) -> DeleteVpnConnectionFluentBuilder
pub fn delete_vpn_connection(&self) -> DeleteVpnConnectionFluentBuilder
Constructs a fluent builder for the DeleteVpnConnection
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the VPN connection.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVpnConnectionOutput
- On failure, responds with
SdkError<DeleteVpnConnectionError>
Source§impl Client
impl Client
Sourcepub fn delete_vpn_connection_route(
&self,
) -> DeleteVpnConnectionRouteFluentBuilder
pub fn delete_vpn_connection_route( &self, ) -> DeleteVpnConnectionRouteFluentBuilder
Constructs a fluent builder for the DeleteVpnConnectionRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe CIDR block associated with the local subnet of the customer network.
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the VPN connection.
- On success, responds with
DeleteVpnConnectionRouteOutput
- On failure, responds with
SdkError<DeleteVpnConnectionRouteError>
Source§impl Client
impl Client
Sourcepub fn delete_vpn_gateway(&self) -> DeleteVpnGatewayFluentBuilder
pub fn delete_vpn_gateway(&self) -> DeleteVpnGatewayFluentBuilder
Constructs a fluent builder for the DeleteVpnGateway
operation.
- The fluent builder is configurable:
vpn_gateway_id(impl Into<String>)
/set_vpn_gateway_id(Option<String>)
:
required: trueThe ID of the virtual private gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeleteVpnGatewayOutput
- On failure, responds with
SdkError<DeleteVpnGatewayError>
Source§impl Client
impl Client
Sourcepub fn deprovision_byoip_cidr(&self) -> DeprovisionByoipCidrFluentBuilder
pub fn deprovision_byoip_cidr(&self) -> DeprovisionByoipCidrFluentBuilder
Constructs a fluent builder for the DeprovisionByoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeprovisionByoipCidrOutput
with field(s):byoip_cidr(Option<ByoipCidr>)
:Information about the address range.
- On failure, responds with
SdkError<DeprovisionByoipCidrError>
Source§impl Client
impl Client
Sourcepub fn deprovision_ipam_byoasn(&self) -> DeprovisionIpamByoasnFluentBuilder
pub fn deprovision_ipam_byoasn(&self) -> DeprovisionIpamByoasnFluentBuilder
Constructs a fluent builder for the DeprovisionIpamByoasn
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueThe IPAM ID.
asn(impl Into<String>)
/set_asn(Option<String>)
:
required: trueAn ASN.
- On success, responds with
DeprovisionIpamByoasnOutput
with field(s):byoasn(Option<Byoasn>)
:An ASN and BYOIP CIDR association.
- On failure, responds with
SdkError<DeprovisionIpamByoasnError>
Source§impl Client
impl Client
Sourcepub fn deprovision_ipam_pool_cidr(&self) -> DeprovisionIpamPoolCidrFluentBuilder
pub fn deprovision_ipam_pool_cidr(&self) -> DeprovisionIpamPoolCidrFluentBuilder
Constructs a fluent builder for the DeprovisionIpamPoolCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the pool that has the CIDR you want to deprovision.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: falseThe CIDR which you want to deprovision from the pool.
- On success, responds with
DeprovisionIpamPoolCidrOutput
with field(s):ipam_pool_cidr(Option<IpamPoolCidr>)
:The deprovisioned pool CIDR.
- On failure, responds with
SdkError<DeprovisionIpamPoolCidrError>
Source§impl Client
impl Client
Sourcepub fn deprovision_public_ipv4_pool_cidr(
&self,
) -> DeprovisionPublicIpv4PoolCidrFluentBuilder
pub fn deprovision_public_ipv4_pool_cidr( &self, ) -> DeprovisionPublicIpv4PoolCidrFluentBuilder
Constructs a fluent builder for the DeprovisionPublicIpv4PoolCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.pool_id(impl Into<String>)
/set_pool_id(Option<String>)
:
required: trueThe ID of the pool that you want to deprovision the CIDR from.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of
/32
. You must rerun this command for each IP address in the CIDR range. If your CIDR is a/24
, you will have to run this command to deprovision each of the 256 IP addresses in the/24
CIDR.
- On success, responds with
DeprovisionPublicIpv4PoolCidrOutput
with field(s):pool_id(Option<String>)
:The ID of the pool that you deprovisioned the CIDR from.
deprovisioned_addresses(Option<Vec::<String>>)
:The deprovisioned CIDRs.
- On failure, responds with
SdkError<DeprovisionPublicIpv4PoolCidrError>
Source§impl Client
impl Client
Sourcepub fn deregister_image(&self) -> DeregisterImageFluentBuilder
pub fn deregister_image(&self) -> DeregisterImageFluentBuilder
Constructs a fluent builder for the DeregisterImage
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeregisterImageOutput
- On failure, responds with
SdkError<DeregisterImageError>
Source§impl Client
impl Client
Sourcepub fn deregister_instance_event_notification_attributes(
&self,
) -> DeregisterInstanceEventNotificationAttributesFluentBuilder
pub fn deregister_instance_event_notification_attributes( &self, ) -> DeregisterInstanceEventNotificationAttributesFluentBuilder
Constructs a fluent builder for the DeregisterInstanceEventNotificationAttributes
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_tag_attribute(DeregisterInstanceTagAttributeRequest)
/set_instance_tag_attribute(Option<DeregisterInstanceTagAttributeRequest>)
:
required: trueInformation about the tag keys to deregister.
- On success, responds with
DeregisterInstanceEventNotificationAttributesOutput
with field(s):instance_tag_attribute(Option<InstanceTagNotificationAttribute>)
:The resulting set of tag keys.
- On failure, responds with
SdkError<DeregisterInstanceEventNotificationAttributesError>
Source§impl Client
impl Client
Sourcepub fn deregister_transit_gateway_multicast_group_members(
&self,
) -> DeregisterTransitGatewayMulticastGroupMembersFluentBuilder
pub fn deregister_transit_gateway_multicast_group_members( &self, ) -> DeregisterTransitGatewayMulticastGroupMembersFluentBuilder
Constructs a fluent builder for the DeregisterTransitGatewayMulticastGroupMembers
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: falseThe ID of the transit gateway multicast domain.
group_ip_address(impl Into<String>)
/set_group_ip_address(Option<String>)
:
required: falseThe IP address assigned to the transit gateway multicast group.
network_interface_ids(impl Into<String>)
/set_network_interface_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the group members’ network interfaces.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeregisterTransitGatewayMulticastGroupMembersOutput
with field(s):deregistered_multicast_group_members(Option<TransitGatewayMulticastDeregisteredGroupMembers>)
:Information about the deregistered members.
- On failure, responds with
SdkError<DeregisterTransitGatewayMulticastGroupMembersError>
Source§impl Client
impl Client
Sourcepub fn deregister_transit_gateway_multicast_group_sources(
&self,
) -> DeregisterTransitGatewayMulticastGroupSourcesFluentBuilder
pub fn deregister_transit_gateway_multicast_group_sources( &self, ) -> DeregisterTransitGatewayMulticastGroupSourcesFluentBuilder
Constructs a fluent builder for the DeregisterTransitGatewayMulticastGroupSources
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: falseThe ID of the transit gateway multicast domain.
group_ip_address(impl Into<String>)
/set_group_ip_address(Option<String>)
:
required: falseThe IP address assigned to the transit gateway multicast group.
network_interface_ids(impl Into<String>)
/set_network_interface_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the group sources’ network interfaces.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DeregisterTransitGatewayMulticastGroupSourcesOutput
with field(s):deregistered_multicast_group_sources(Option<TransitGatewayMulticastDeregisteredGroupSources>)
:Information about the deregistered group sources.
- On failure, responds with
SdkError<DeregisterTransitGatewayMulticastGroupSourcesError>
Source§impl Client
impl Client
Sourcepub fn describe_account_attributes(
&self,
) -> DescribeAccountAttributesFluentBuilder
pub fn describe_account_attributes( &self, ) -> DescribeAccountAttributesFluentBuilder
Constructs a fluent builder for the DescribeAccountAttributes
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.attribute_names(AccountAttributeName)
/set_attribute_names(Option<Vec::<AccountAttributeName>>)
:
required: falseThe account attribute names.
- On success, responds with
DescribeAccountAttributesOutput
with field(s):account_attributes(Option<Vec::<AccountAttribute>>)
:Information about the account attributes.
- On failure, responds with
SdkError<DescribeAccountAttributesError>
Source§impl Client
impl Client
Sourcepub fn describe_address_transfers(
&self,
) -> DescribeAddressTransfersFluentBuilder
pub fn describe_address_transfers( &self, ) -> DescribeAddressTransfersFluentBuilder
Constructs a fluent builder for the DescribeAddressTransfers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
allocation_ids(impl Into<String>)
/set_allocation_ids(Option<Vec::<String>>)
:
required: falseThe allocation IDs of Elastic IP addresses.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of address transfers to return in one page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeAddressTransfersOutput
with field(s):address_transfers(Option<Vec::<AddressTransfer>>)
:The Elastic IP address transfer.
next_token(Option<String>)
:Specify the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<DescribeAddressTransfersError>
Source§impl Client
impl Client
Sourcepub fn describe_addresses(&self) -> DescribeAddressesFluentBuilder
pub fn describe_addresses(&self) -> DescribeAddressesFluentBuilder
Constructs a fluent builder for the DescribeAddresses
operation.
- The fluent builder is configurable:
public_ips(impl Into<String>)
/set_public_ips(Option<Vec::<String>>)
:
required: falseOne or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
allocation-id
- The allocation ID for the address. -
association-id
- The association ID for the address. -
instance-id
- The ID of the instance the address is associated with, if any. -
network-border-group
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from where Amazon Web Services advertises IP addresses. -
network-interface-id
- The ID of the network interface that the address is associated with, if any. -
network-interface-owner-id
- The Amazon Web Services account ID of the owner. -
private-ip-address
- The private IP address associated with the Elastic IP address. -
public-ip
- The Elastic IP address, or the carrier IP address. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
allocation_ids(impl Into<String>)
/set_allocation_ids(Option<Vec::<String>>)
:
required: falseInformation about the allocation IDs.
- On success, responds with
DescribeAddressesOutput
with field(s):addresses(Option<Vec::<Address>>)
:Information about the Elastic IP addresses.
- On failure, responds with
SdkError<DescribeAddressesError>
Source§impl Client
impl Client
Sourcepub fn describe_addresses_attribute(
&self,
) -> DescribeAddressesAttributeFluentBuilder
pub fn describe_addresses_attribute( &self, ) -> DescribeAddressesAttributeFluentBuilder
Constructs a fluent builder for the DescribeAddressesAttribute
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
allocation_ids(impl Into<String>)
/set_allocation_ids(Option<Vec::<String>>)
:
required: false[EC2-VPC] The allocation IDs.
attribute(AddressAttributeName)
/set_attribute(Option<AddressAttributeName>)
:
required: falseThe attribute of the IP address.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeAddressesAttributeOutput
with field(s):addresses(Option<Vec::<AddressAttribute>>)
:Information about the IP addresses.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeAddressesAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_aggregate_id_format(
&self,
) -> DescribeAggregateIdFormatFluentBuilder
pub fn describe_aggregate_id_format( &self, ) -> DescribeAggregateIdFormatFluentBuilder
Constructs a fluent builder for the DescribeAggregateIdFormat
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeAggregateIdFormatOutput
with field(s):use_long_ids_aggregated(Option<bool>)
:Indicates whether all resource types in the Region are configured to use longer IDs. This value is only
true
if all users are configured to use longer IDs for all resources types in the Region.statuses(Option<Vec::<IdFormat>>)
:Information about each resource’s ID format.
- On failure, responds with
SdkError<DescribeAggregateIdFormatError>
Source§impl Client
impl Client
Sourcepub fn describe_availability_zones(
&self,
) -> DescribeAvailabilityZonesFluentBuilder
pub fn describe_availability_zones( &self, ) -> DescribeAvailabilityZonesFluentBuilder
Constructs a fluent builder for the DescribeAvailabilityZones
operation.
- The fluent builder is configurable:
zone_names(impl Into<String>)
/set_zone_names(Option<Vec::<String>>)
:
required: falseThe names of the Availability Zones, Local Zones, and Wavelength Zones.
zone_ids(impl Into<String>)
/set_zone_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Availability Zones, Local Zones, and Wavelength Zones.
all_availability_zones(bool)
/set_all_availability_zones(Option<bool>)
:
required: falseInclude all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.
If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
group-long-name
- The long name of the zone group for the Availability Zone (for example,US West (Oregon) 1
), the Local Zone (for example, for Zone groupus-west-2-lax-1
, it isUS West (Los Angeles)
, or the Wavelength Zone (for example, for Zone groupus-east-1-wl1
, it isUS East (Verizon)
. -
group-name
- The name of the zone group for the Availability Zone (for example,us-east-1-zg-1
), the Local Zone (for example,us-west-2-lax-1
), or the Wavelength Zone (for example,us-east-1-wl1
). -
message
- The Zone message. -
opt-in-status
- The opt-in status (opted-in
|not-opted-in
|opt-in-not-required
). -
parent-zone-id
- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
parent-zone-name
- The ID of the zone that handles some of the Local Zone and Wavelength Zone control plane operations, such as API calls. -
region-name
- The name of the Region for the Zone (for example,us-east-1
). -
state
- The state of the Availability Zone, the Local Zone, or the Wavelength Zone (available
|unavailable
|constrained
). -
zone-id
- The ID of the Availability Zone (for example,use1-az1
), the Local Zone (for example,usw2-lax1-az1
), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1
). -
zone-name
- The name of the Availability Zone (for example,us-east-1a
), the Local Zone (for example,us-west-2-lax-1a
), or the Wavelength Zone (for example,us-east-1-wl1-bos-wlz-1
). -
zone-type
- The type of zone (availability-zone
|local-zone
|wavelength-zone
).
-
- On success, responds with
DescribeAvailabilityZonesOutput
with field(s):availability_zones(Option<Vec::<AvailabilityZone>>)
:Information about the Availability Zones, Local Zones, and Wavelength Zones.
- On failure, responds with
SdkError<DescribeAvailabilityZonesError>
Source§impl Client
impl Client
Sourcepub fn describe_aws_network_performance_metric_subscriptions(
&self,
) -> DescribeAwsNetworkPerformanceMetricSubscriptionsFluentBuilder
pub fn describe_aws_network_performance_metric_subscriptions( &self, ) -> DescribeAwsNetworkPerformanceMetricSubscriptionsFluentBuilder
Constructs a fluent builder for the DescribeAwsNetworkPerformanceMetricSubscriptions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeAwsNetworkPerformanceMetricSubscriptionsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.subscriptions(Option<Vec::<Subscription>>)
:Describes the current Infrastructure Performance subscriptions.
- On failure, responds with
SdkError<DescribeAwsNetworkPerformanceMetricSubscriptionsError>
Source§impl Client
impl Client
Sourcepub fn describe_bundle_tasks(&self) -> DescribeBundleTasksFluentBuilder
pub fn describe_bundle_tasks(&self) -> DescribeBundleTasksFluentBuilder
Constructs a fluent builder for the DescribeBundleTasks
operation.
- The fluent builder is configurable:
bundle_ids(impl Into<String>)
/set_bundle_ids(Option<Vec::<String>>)
:
required: falseThe bundle task IDs.
Default: Describes all your bundle tasks.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
bundle-id
- The ID of the bundle task. -
error-code
- If the task failed, the error code returned. -
error-message
- If the task failed, the error message returned. -
instance-id
- The ID of the instance. -
progress
- The level of task completion, as a percentage (for example, 20%). -
s3-bucket
- The Amazon S3 bucket to store the AMI. -
s3-prefix
- The beginning of the AMI name. -
start-time
- The time the task started (for example, 2013-09-15T17:15:20.000Z). -
state
- The state of the task (pending
|waiting-for-shutdown
|bundling
|storing
|cancelling
|complete
|failed
). -
update-time
- The time of the most recent update for the task.
-
- On success, responds with
DescribeBundleTasksOutput
with field(s):bundle_tasks(Option<Vec::<BundleTask>>)
:Information about the bundle tasks.
- On failure, responds with
SdkError<DescribeBundleTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_byoip_cidrs(&self) -> DescribeByoipCidrsFluentBuilder
pub fn describe_byoip_cidrs(&self) -> DescribeByoipCidrsFluentBuilder
Constructs a fluent builder for the DescribeByoipCidrs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: trueThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeByoipCidrsOutput
with field(s):byoip_cidrs(Option<Vec::<ByoipCidr>>)
:Information about your address ranges.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeByoipCidrsError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_block_extension_history(
&self,
) -> DescribeCapacityBlockExtensionHistoryFluentBuilder
pub fn describe_capacity_block_extension_history( &self, ) -> DescribeCapacityBlockExtensionHistoryFluentBuilder
Constructs a fluent builder for the DescribeCapacityBlockExtensionHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
capacity_reservation_ids(impl Into<String>)
/set_capacity_reservation_ids(Option<Vec::<String>>)
:
required: falseThe IDs of Capacity Block reservations that you want to display the history for.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters
-
availability-zone
- The Availability Zone of the extension. -
availability-zone-id
- The Availability Zone ID of the extension. -
capacity-block-extension-offering-id
- The ID of the extension offering. -
capacity-block-extension-status
- The status of the extension (payment-pending
|payment-failed
|payment-succeeded
). -
capacity-reservation-id
- The reservation ID of the extension. -
instance-type
- The instance type of the extension.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCapacityBlockExtensionHistoryOutput
with field(s):capacity_block_extensions(Option<Vec::<CapacityBlockExtension>>)
:Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you’re currently using.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCapacityBlockExtensionHistoryError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_block_extension_offerings(
&self,
) -> DescribeCapacityBlockExtensionOfferingsFluentBuilder
pub fn describe_capacity_block_extension_offerings( &self, ) -> DescribeCapacityBlockExtensionOfferingsFluentBuilder
Constructs a fluent builder for the DescribeCapacityBlockExtensionOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_block_extension_duration_hours(i32)
/set_capacity_block_extension_duration_hours(Option<i32>)
:
required: trueThe duration of the Capacity Block extension offering in hours.
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity reservation to be extended.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeCapacityBlockExtensionOfferingsOutput
with field(s):capacity_block_extension_offerings(Option<Vec::<CapacityBlockExtensionOffering>>)
:The recommended Capacity Block extension offerings for the dates specified.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCapacityBlockExtensionOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_block_offerings(
&self,
) -> DescribeCapacityBlockOfferingsFluentBuilder
pub fn describe_capacity_block_offerings( &self, ) -> DescribeCapacityBlockOfferingsFluentBuilder
Constructs a fluent builder for the DescribeCapacityBlockOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_type(impl Into<String>)
/set_instance_type(Option<String>)
:
required: falseThe type of instance for which the Capacity Block offering reserves capacity.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe number of instances for which to reserve capacity.
start_date_range(DateTime)
/set_start_date_range(Option<DateTime>)
:
required: falseThe earliest start date for the Capacity Block offering.
end_date_range(DateTime)
/set_end_date_range(Option<DateTime>)
:
required: falseThe latest end date for the Capacity Block offering.
capacity_duration_hours(i32)
/set_capacity_duration_hours(Option<i32>)
:
required: trueThe number of hours for which to reserve Capacity Block.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeCapacityBlockOfferingsOutput
with field(s):capacity_block_offerings(Option<Vec::<CapacityBlockOffering>>)
:The recommended Capacity Block offering for the dates specified.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCapacityBlockOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_reservation_billing_requests(
&self,
) -> DescribeCapacityReservationBillingRequestsFluentBuilder
pub fn describe_capacity_reservation_billing_requests( &self, ) -> DescribeCapacityReservationBillingRequestsFluentBuilder
Constructs a fluent builder for the DescribeCapacityReservationBillingRequests
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
capacity_reservation_ids(impl Into<String>)
/set_capacity_reservation_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Capacity Reservation.
role(CallerRole)
/set_role(Option<CallerRole>)
:
required: trueSpecify one of the following:
-
odcr-owner
- If you are the Capacity Reservation owner, specify this value to view requests that you have initiated. Not supported with therequested-by
filter. -
unused-reservation-billing-owner
- If you are the consumer account, specify this value to view requests that have been sent to you. Not supported with theunused-reservation-billing-owner
filter.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
status
- The state of the request (pending
|accepted
|rejected
|cancelled
|revoked
|expired
). -
requested-by
- The account ID of the Capacity Reservation owner that initiated the request. Not supported if you specifyrequested-by
for Role. -
unused-reservation-billing-owner
- The ID of the consumer account to which the request was sent. Not supported if you specifyunused-reservation-billing-owner
for Role.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCapacityReservationBillingRequestsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.capacity_reservation_billing_requests(Option<Vec::<CapacityReservationBillingRequest>>)
:Information about the request.
- On failure, responds with
SdkError<DescribeCapacityReservationBillingRequestsError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_reservation_fleets(
&self,
) -> DescribeCapacityReservationFleetsFluentBuilder
pub fn describe_capacity_reservation_fleets( &self, ) -> DescribeCapacityReservationFleetsFluentBuilder
Constructs a fluent builder for the DescribeCapacityReservationFleets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
capacity_reservation_fleet_ids(impl Into<String>)
/set_capacity_reservation_fleet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Capacity Reservation Fleets to describe.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
state
- The state of the Fleet (submitted
|modifying
|active
|partially_fulfilled
|expiring
|expired
|cancelling
|cancelled
|failed
). -
instance-match-criteria
- The instance matching criteria for the Fleet. Onlyopen
is supported. -
tenancy
- The tenancy of the Fleet (default
|dedicated
). -
allocation-strategy
- The allocation strategy used by the Fleet. Onlyprioritized
is supported.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCapacityReservationFleetsOutput
with field(s):capacity_reservation_fleets(Option<Vec::<CapacityReservationFleet>>)
:Information about the Capacity Reservation Fleets.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCapacityReservationFleetsError>
Source§impl Client
impl Client
Sourcepub fn describe_capacity_reservations(
&self,
) -> DescribeCapacityReservationsFluentBuilder
pub fn describe_capacity_reservations( &self, ) -> DescribeCapacityReservationsFluentBuilder
Constructs a fluent builder for the DescribeCapacityReservations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
capacity_reservation_ids(impl Into<String>)
/set_capacity_reservation_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Capacity Reservation.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
instance-type
- The type of instance for which the Capacity Reservation reserves capacity. -
owner-id
- The ID of the Amazon Web Services account that owns the Capacity Reservation. -
instance-platform
- The type of operating system for which the Capacity Reservation reserves capacity. -
availability-zone
- The Availability Zone of the Capacity Reservation. -
tenancy
- Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:-
default
- The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts. -
dedicated
- The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
-
-
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created. -
state
- The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:-
active
- The Capacity Reservation is active and the capacity is available for your use. -
expired
- The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use. -
cancelled
- The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use. -
pending
- The Capacity Reservation request was successful but the capacity provisioning is still pending. -
failed
- The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.
-
-
start-date
- The date and time at which the Capacity Reservation was started. -
end-date
- The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation’s state changes to expired when it reaches its end date and time. -
end-date-type
- Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:-
unlimited
- The Capacity Reservation remains active until you explicitly cancel it. -
limited
- The Capacity Reservation expires automatically at a specified date and time.
-
-
instance-match-criteria
- Indicates the type of instance launches that the Capacity Reservation accepts. The options include:-
open
- The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters. -
targeted
- The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.
-
-
placement-group-arn
- The ARN of the cluster placement group in which the Capacity Reservation was created.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCapacityReservationsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.capacity_reservations(Option<Vec::<CapacityReservation>>)
:Information about the Capacity Reservations.
- On failure, responds with
SdkError<DescribeCapacityReservationsError>
Source§impl Client
impl Client
Sourcepub fn describe_carrier_gateways(&self) -> DescribeCarrierGatewaysFluentBuilder
pub fn describe_carrier_gateways(&self) -> DescribeCarrierGatewaysFluentBuilder
Constructs a fluent builder for the DescribeCarrierGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
carrier_gateway_ids(impl Into<String>)
/set_carrier_gateway_ids(Option<Vec::<String>>)
:
required: falseOne or more carrier gateway IDs.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
carrier-gateway-id
- The ID of the carrier gateway. -
state
- The state of the carrier gateway (pending
|failed
|available
|deleting
|deleted
). -
owner-id
- The Amazon Web Services account ID of the owner of the carrier gateway. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC associated with the carrier gateway.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCarrierGatewaysOutput
with field(s):carrier_gateways(Option<Vec::<CarrierGateway>>)
:Information about the carrier gateway.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCarrierGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_classic_link_instances(
&self,
) -> DescribeClassicLinkInstancesFluentBuilder
pub fn describe_classic_link_instances( &self, ) -> DescribeClassicLinkInstancesFluentBuilder
Constructs a fluent builder for the DescribeClassicLinkInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs. Must be instances linked to a VPC through ClassicLink.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
group-id
- The ID of a VPC security group that’s associated with the instance. -
instance-id
- The ID of the instance. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC to which the instance is linked.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
Constraint: If the value is greater than 1000, we return only 1000 items.
- On success, responds with
DescribeClassicLinkInstancesOutput
with field(s):instances(Option<Vec::<ClassicLinkInstance>>)
:Information about one or more linked EC2-Classic instances.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeClassicLinkInstancesError>
Source§impl Client
impl Client
Constructs a fluent builder for the DescribeClientVpnAuthorizationRules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
description
- The description of the authorization rule. -
destination-cidr
- The CIDR of the network to which the authorization rule applies. -
group-id
- The ID of the Active Directory group to which the authorization rule grants access.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
- On success, responds with
DescribeClientVpnAuthorizationRulesOutput
with field(s):authorization_rules(Option<Vec::<AuthorizationRule>>)
:Information about the authorization rules.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeClientVpnAuthorizationRulesError>
Source§impl Client
impl Client
Sourcepub fn describe_client_vpn_connections(
&self,
) -> DescribeClientVpnConnectionsFluentBuilder
pub fn describe_client_vpn_connections( &self, ) -> DescribeClientVpnConnectionsFluentBuilder
Constructs a fluent builder for the DescribeClientVpnConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
connection-id
- The ID of the connection. -
username
- For Active Directory client authentication, the user name of the client who established the client connection.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeClientVpnConnectionsOutput
with field(s):connections(Option<Vec::<ClientVpnConnection>>)
:Information about the active and terminated client connections.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeClientVpnConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_client_vpn_endpoints(
&self,
) -> DescribeClientVpnEndpointsFluentBuilder
pub fn describe_client_vpn_endpoints( &self, ) -> DescribeClientVpnEndpointsFluentBuilder
Constructs a fluent builder for the DescribeClientVpnEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
client_vpn_endpoint_ids(impl Into<String>)
/set_client_vpn_endpoint_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Client VPN endpoint.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
endpoint-id
- The ID of the Client VPN endpoint. -
transport-protocol
- The transport protocol (tcp
|udp
).
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeClientVpnEndpointsOutput
with field(s):client_vpn_endpoints(Option<Vec::<ClientVpnEndpoint>>)
:Information about the Client VPN endpoints.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeClientVpnEndpointsError>
Source§impl Client
impl Client
Sourcepub fn describe_client_vpn_routes(&self) -> DescribeClientVpnRoutesFluentBuilder
pub fn describe_client_vpn_routes(&self) -> DescribeClientVpnRoutesFluentBuilder
Constructs a fluent builder for the DescribeClientVpnRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
destination-cidr
- The CIDR of the route destination. -
origin
- How the route was associated with the Client VPN endpoint (associate
|add-route
). -
target-subnet
- The ID of the subnet through which traffic is routed.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeClientVpnRoutesOutput
with field(s):routes(Option<Vec::<ClientVpnRoute>>)
:Information about the Client VPN endpoint routes.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeClientVpnRoutesError>
Source§impl Client
impl Client
Sourcepub fn describe_client_vpn_target_networks(
&self,
) -> DescribeClientVpnTargetNetworksFluentBuilder
pub fn describe_client_vpn_target_networks( &self, ) -> DescribeClientVpnTargetNetworksFluentBuilder
Constructs a fluent builder for the DescribeClientVpnTargetNetworks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
association_ids(impl Into<String>)
/set_association_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the target network associations.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
association-id
- The ID of the association. -
target-network-id
- The ID of the subnet specified as the target network. -
vpc-id
- The ID of the VPC in which the target network is located.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeClientVpnTargetNetworksOutput
with field(s):client_vpn_target_networks(Option<Vec::<TargetNetwork>>)
:Information about the associated target networks.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeClientVpnTargetNetworksError>
Source§impl Client
impl Client
Sourcepub fn describe_coip_pools(&self) -> DescribeCoipPoolsFluentBuilder
pub fn describe_coip_pools(&self) -> DescribeCoipPoolsFluentBuilder
Constructs a fluent builder for the DescribeCoipPools
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
pool_ids(impl Into<String>)
/set_pool_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the address pools.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
coip-pool.local-gateway-route-table-id
- The ID of the local gateway route table. -
coip-pool.pool-id
- The ID of the address pool.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCoipPoolsOutput
with field(s):coip_pools(Option<Vec::<CoipPool>>)
:Information about the address pools.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeCoipPoolsError>
Source§impl Client
impl Client
Sourcepub fn describe_conversion_tasks(&self) -> DescribeConversionTasksFluentBuilder
pub fn describe_conversion_tasks(&self) -> DescribeConversionTasksFluentBuilder
Constructs a fluent builder for the DescribeConversionTasks
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.conversion_task_ids(impl Into<String>)
/set_conversion_task_ids(Option<Vec::<String>>)
:
required: falseThe conversion task IDs.
- On success, responds with
DescribeConversionTasksOutput
with field(s):conversion_tasks(Option<Vec::<ConversionTask>>)
:Information about the conversion tasks.
- On failure, responds with
SdkError<DescribeConversionTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_customer_gateways(
&self,
) -> DescribeCustomerGatewaysFluentBuilder
pub fn describe_customer_gateways( &self, ) -> DescribeCustomerGatewaysFluentBuilder
Constructs a fluent builder for the DescribeCustomerGateways
operation.
- The fluent builder is configurable:
customer_gateway_ids(impl Into<String>)
/set_customer_gateway_ids(Option<Vec::<String>>)
:
required: falseOne or more customer gateway IDs.
Default: Describes all your customer gateways.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
bgp-asn
- The customer gateway’s Border Gateway Protocol (BGP) Autonomous System Number (ASN). -
customer-gateway-id
- The ID of the customer gateway. -
ip-address
- The IP address of the customer gateway device’s external interface. -
state
- The state of the customer gateway (pending
|available
|deleting
|deleted
). -
type
- The type of customer gateway. Currently, the only supported type isipsec.1
. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeCustomerGatewaysOutput
with field(s):customer_gateways(Option<Vec::<CustomerGateway>>)
:Information about one or more customer gateways.
- On failure, responds with
SdkError<DescribeCustomerGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_declarative_policies_reports(
&self,
) -> DescribeDeclarativePoliciesReportsFluentBuilder
pub fn describe_declarative_policies_reports( &self, ) -> DescribeDeclarativePoliciesReportsFluentBuilder
Constructs a fluent builder for the DescribeDeclarativePoliciesReports
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
report_ids(impl Into<String>)
/set_report_ids(Option<Vec::<String>>)
:
required: falseOne or more report IDs.
- On success, responds with
DescribeDeclarativePoliciesReportsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.reports(Option<Vec::<DeclarativePoliciesReport>>)
:The report metadata.
- On failure, responds with
SdkError<DescribeDeclarativePoliciesReportsError>
Source§impl Client
impl Client
Sourcepub fn describe_dhcp_options(&self) -> DescribeDhcpOptionsFluentBuilder
pub fn describe_dhcp_options(&self) -> DescribeDhcpOptionsFluentBuilder
Constructs a fluent builder for the DescribeDhcpOptions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dhcp_options_ids(impl Into<String>)
/set_dhcp_options_ids(Option<Vec::<String>>)
:
required: falseThe IDs of DHCP option sets.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
dhcp-options-id
- The ID of a DHCP options set. -
key
- The key for one of the options (for example,domain-name
). -
value
- The value for one of the options. -
owner-id
- The ID of the Amazon Web Services account that owns the DHCP options set. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeDhcpOptionsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.dhcp_options(Option<Vec::<DhcpOptions>>)
:Information about the DHCP options sets.
- On failure, responds with
SdkError<DescribeDhcpOptionsError>
Source§impl Client
impl Client
Sourcepub fn describe_egress_only_internet_gateways(
&self,
) -> DescribeEgressOnlyInternetGatewaysFluentBuilder
pub fn describe_egress_only_internet_gateways( &self, ) -> DescribeEgressOnlyInternetGatewaysFluentBuilder
Constructs a fluent builder for the DescribeEgressOnlyInternetGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.egress_only_internet_gateway_ids(impl Into<String>)
/set_egress_only_internet_gateway_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the egress-only internet gateways.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeEgressOnlyInternetGatewaysOutput
with field(s):egress_only_internet_gateways(Option<Vec::<EgressOnlyInternetGateway>>)
:Information about the egress-only internet gateways.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeEgressOnlyInternetGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_elastic_gpus(&self) -> DescribeElasticGpusFluentBuilder
pub fn describe_elastic_gpus(&self) -> DescribeElasticGpusFluentBuilder
Constructs a fluent builder for the DescribeElasticGpus
operation.
- The fluent builder is configurable:
elastic_gpu_ids(impl Into<String>)
/set_elastic_gpu_ids(Option<Vec::<String>>)
:
required: falseThe Elastic Graphics accelerator IDs.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone in which the Elastic Graphics accelerator resides. -
elastic-gpu-health
- The status of the Elastic Graphics accelerator (OK
|IMPAIRED
). -
elastic-gpu-state
- The state of the Elastic Graphics accelerator (ATTACHED
). -
elastic-gpu-type
- The type of Elastic Graphics accelerator; for example,eg1.medium
. -
instance-id
- The ID of the instance to which the Elastic Graphics accelerator is associated.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextToken
value. This value can be between 5 and 1000.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
- On success, responds with
DescribeElasticGpusOutput
with field(s):elastic_gpu_set(Option<Vec::<ElasticGpus>>)
:Information about the Elastic Graphics accelerators.
max_results(Option<i32>)
:The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeElasticGpusError>
Source§impl Client
impl Client
Sourcepub fn describe_export_image_tasks(
&self,
) -> DescribeExportImageTasksFluentBuilder
pub fn describe_export_image_tasks( &self, ) -> DescribeExportImageTasksFluentBuilder
Constructs a fluent builder for the DescribeExportImageTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilter tasks using the
task-state
filter and one of the following values:active
,completed
,deleting
, ordeleted
.export_image_task_ids(impl Into<String>)
/set_export_image_task_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the export image tasks.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA token that indicates the next page of results.
- On success, responds with
DescribeExportImageTasksOutput
with field(s):export_image_tasks(Option<Vec::<ExportImageTask>>)
:Information about the export image tasks.
next_token(Option<String>)
:The token to use to get the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeExportImageTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_export_tasks(&self) -> DescribeExportTasksFluentBuilder
pub fn describe_export_tasks(&self) -> DescribeExportTasksFluentBuilder
Constructs a fluent builder for the DescribeExportTasks
operation.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falsethe filters for the export tasks.
export_task_ids(impl Into<String>)
/set_export_task_ids(Option<Vec::<String>>)
:
required: falseThe export task IDs.
- On success, responds with
DescribeExportTasksOutput
with field(s):export_tasks(Option<Vec::<ExportTask>>)
:Information about the export tasks.
- On failure, responds with
SdkError<DescribeExportTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_fast_launch_images(
&self,
) -> DescribeFastLaunchImagesFluentBuilder
pub fn describe_fast_launch_images( &self, ) -> DescribeFastLaunchImagesFluentBuilder
Constructs a fluent builder for the DescribeFastLaunchImages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
image_ids(impl Into<String>)
/set_image_ids(Option<Vec::<String>>)
:
required: falseSpecify one or more Windows AMI image IDs for the request.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseUse the following filters to streamline results.
-
resource-type
- The resource type for pre-provisioning. -
owner-id
- The owner ID for the pre-provisioning resource. -
state
- The current state of fast launching for the Windows AMI.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeFastLaunchImagesOutput
with field(s):fast_launch_images(Option<Vec::<DescribeFastLaunchImagesSuccessItem>>)
:A collection of details about the fast-launch enabled Windows images that meet the requested criteria.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeFastLaunchImagesError>
Source§impl Client
impl Client
Sourcepub fn describe_fast_snapshot_restores(
&self,
) -> DescribeFastSnapshotRestoresFluentBuilder
pub fn describe_fast_snapshot_restores( &self, ) -> DescribeFastSnapshotRestoresFluentBuilder
Constructs a fluent builder for the DescribeFastSnapshotRestores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters. The possible values are:
-
availability-zone
: The Availability Zone of the snapshot. -
owner-id
: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot. -
snapshot-id
: The ID of the snapshot. -
state
: The state of fast snapshot restores for the snapshot (enabling
|optimizing
|enabled
|disabling
|disabled
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeFastSnapshotRestoresOutput
with field(s):fast_snapshot_restores(Option<Vec::<DescribeFastSnapshotRestoreSuccessItem>>)
:Information about the state of fast snapshot restores.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeFastSnapshotRestoresError>
Source§impl Client
impl Client
Sourcepub fn describe_fleet_history(&self) -> DescribeFleetHistoryFluentBuilder
pub fn describe_fleet_history(&self) -> DescribeFleetHistoryFluentBuilder
Constructs a fluent builder for the DescribeFleetHistory
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.event_type(FleetEventType)
/set_event_type(Option<FleetEventType>)
:
required: falseThe type of events to describe. By default, all events are described.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the EC2 Fleet.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: trueThe start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- On success, responds with
DescribeFleetHistoryOutput
with field(s):history_records(Option<Vec::<HistoryRecordEntry>>)
:Information about the events in the history of the EC2 Fleet.
last_evaluated_time(Option<DateTime>)
:The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If
nextToken
indicates that there are more items, this value is not present.next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.fleet_id(Option<String>)
:The ID of the EC Fleet.
start_time(Option<DateTime>)
:The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- On failure, responds with
SdkError<DescribeFleetHistoryError>
Source§impl Client
impl Client
Sourcepub fn describe_fleet_instances(&self) -> DescribeFleetInstancesFluentBuilder
pub fn describe_fleet_instances(&self) -> DescribeFleetInstancesFluentBuilder
Constructs a fluent builder for the DescribeFleetInstances
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the EC2 Fleet.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
instance-type
- The instance type.
-
- On success, responds with
DescribeFleetInstancesOutput
with field(s):active_instances(Option<Vec::<ActiveInstance>>)
:The running instances. This list is refreshed periodically and might be out of date.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.fleet_id(Option<String>)
:The ID of the EC2 Fleet.
- On failure, responds with
SdkError<DescribeFleetInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_fleets(&self) -> DescribeFleetsFluentBuilder
pub fn describe_fleets(&self) -> DescribeFleetsFluentBuilder
Constructs a fluent builder for the DescribeFleets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
fleet_ids(impl Into<String>)
/set_fleet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the EC2 Fleets.
If a fleet is of type
instant
, you must specify the fleet ID, otherwise it does not appear in the response.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
activity-status
- The progress of the EC2 Fleet (error
|pending-fulfillment
|pending-termination
|fulfilled
). -
excess-capacity-termination-policy
- Indicates whether to terminate running instances if the target capacity is decreased below the current EC2 Fleet size (true
|false
). -
fleet-state
- The state of the EC2 Fleet (submitted
|active
|deleted
|failed
|deleted-running
|deleted-terminating
|modifying
). -
replace-unhealthy-instances
- Indicates whether EC2 Fleet should replace unhealthy instances (true
|false
). -
type
- The type of request (instant
|request
|maintain
).
-
- On success, responds with
DescribeFleetsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.fleets(Option<Vec::<FleetData>>)
:Information about the EC2 Fleets.
- On failure, responds with
SdkError<DescribeFleetsError>
Source§impl Client
impl Client
Sourcepub fn describe_flow_logs(&self) -> DescribeFlowLogsFluentBuilder
pub fn describe_flow_logs(&self) -> DescribeFlowLogsFluentBuilder
Constructs a fluent builder for the DescribeFlowLogs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filter(Filter)
/set_filter(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
deliver-log-status
- The status of the logs delivery (SUCCESS
|FAILED
). -
log-destination-type
- The type of destination for the flow log data (cloud-watch-logs
|s3
|kinesis-data-firehose
). -
flow-log-id
- The ID of the flow log. -
log-group-name
- The name of the log group. -
resource-id
- The ID of the VPC, subnet, or network interface. -
traffic-type
- The type of traffic (ACCEPT
|REJECT
|ALL
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
flow_log_ids(impl Into<String>)
/set_flow_log_ids(Option<Vec::<String>>)
:
required: falseOne or more flow log IDs.
Constraint: Maximum of 1000 flow log IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of items. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeFlowLogsOutput
with field(s):flow_logs(Option<Vec::<FlowLog>>)
:Information about the flow logs.
next_token(Option<String>)
:The token to request the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeFlowLogsError>
Source§impl Client
impl Client
Sourcepub fn describe_fpga_image_attribute(
&self,
) -> DescribeFpgaImageAttributeFluentBuilder
pub fn describe_fpga_image_attribute( &self, ) -> DescribeFpgaImageAttributeFluentBuilder
Constructs a fluent builder for the DescribeFpgaImageAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fpga_image_id(impl Into<String>)
/set_fpga_image_id(Option<String>)
:
required: trueThe ID of the AFI.
attribute(FpgaImageAttributeName)
/set_attribute(Option<FpgaImageAttributeName>)
:
required: trueThe AFI attribute.
- On success, responds with
DescribeFpgaImageAttributeOutput
with field(s):fpga_image_attribute(Option<FpgaImageAttribute>)
:Information about the attribute.
- On failure, responds with
SdkError<DescribeFpgaImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_fpga_images(&self) -> DescribeFpgaImagesFluentBuilder
pub fn describe_fpga_images(&self) -> DescribeFpgaImagesFluentBuilder
Constructs a fluent builder for the DescribeFpgaImages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fpga_image_ids(impl Into<String>)
/set_fpga_image_ids(Option<Vec::<String>>)
:
required: falseThe AFI IDs.
owners(impl Into<String>)
/set_owners(Option<Vec::<String>>)
:
required: falseFilters the AFI by owner. Specify an Amazon Web Services account ID,
self
(owner is the sender of the request), or an Amazon Web Services owner alias (valid values areamazon
|aws-marketplace
).filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
create-time
- The creation time of the AFI. -
fpga-image-id
- The FPGA image identifier (AFI ID). -
fpga-image-global-id
- The global FPGA image identifier (AGFI ID). -
name
- The name of the AFI. -
owner-id
- The Amazon Web Services account ID of the AFI owner. -
product-code
- The product code. -
shell-version
- The version of the Amazon Web Services Shell that was used to create the bitstream. -
state
- The state of the AFI (pending
|failed
|available
|unavailable
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
update-time
- The time of the most recent update.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call.
- On success, responds with
DescribeFpgaImagesOutput
with field(s):fpga_images(Option<Vec::<FpgaImage>>)
:Information about the FPGA images.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeFpgaImagesError>
Source§impl Client
impl Client
Sourcepub fn describe_host_reservation_offerings(
&self,
) -> DescribeHostReservationOfferingsFluentBuilder
pub fn describe_host_reservation_offerings( &self, ) -> DescribeHostReservationOfferingsFluentBuilder
Constructs a fluent builder for the DescribeHostReservationOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filter(Filter)
/set_filter(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
instance-family
- The instance family of the offering (for example,m4
). -
payment-option
- The payment option (NoUpfront
|PartialUpfront
|AllUpfront
).
-
max_duration(i32)
/set_max_duration(Option<i32>)
:
required: falseThis is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.min_duration(i32)
/set_min_duration(Option<i32>)
:
required: falseThis is the minimum duration of the reservation you’d like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
offering_id(impl Into<String>)
/set_offering_id(Option<String>)
:
required: falseThe ID of the reservation offering.
- On success, responds with
DescribeHostReservationOfferingsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.offering_set(Option<Vec::<HostOffering>>)
:Information about the offerings.
- On failure, responds with
SdkError<DescribeHostReservationOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_host_reservations(
&self,
) -> DescribeHostReservationsFluentBuilder
pub fn describe_host_reservations( &self, ) -> DescribeHostReservationsFluentBuilder
Constructs a fluent builder for the DescribeHostReservations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filter(Filter)
/set_filter(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
instance-family
- The instance family (for example,m4
). -
payment-option
- The payment option (NoUpfront
|PartialUpfront
|AllUpfront
). -
state
- The state of the reservation (payment-pending
|payment-failed
|active
|retired
). -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
host_reservation_id_set(impl Into<String>)
/set_host_reservation_id_set(Option<Vec::<String>>)
:
required: falseThe host reservation IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
- On success, responds with
DescribeHostReservationsOutput
with field(s):host_reservation_set(Option<Vec::<HostReservation>>)
:Details about the reservation’s configuration.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeHostReservationsError>
Source§impl Client
impl Client
Sourcepub fn describe_hosts(&self) -> DescribeHostsFluentBuilder
pub fn describe_hosts(&self) -> DescribeHostsFluentBuilder
Constructs a fluent builder for the DescribeHosts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
host_ids(impl Into<String>)
/set_host_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Dedicated Hosts. The IDs are used for targeted instance launches.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.You cannot specify this parameter and the host IDs parameter in the same request.
filter(Filter)
/set_filter(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
auto-placement
- Whether auto-placement is enabled or disabled (on
|off
). -
availability-zone
- The Availability Zone of the host. -
client-token
- The idempotency token that you provided when you allocated the host. -
host-reservation-id
- The ID of the reservation assigned to this host. -
instance-type
- The instance type size that the Dedicated Host is configured to support. -
state
- The allocation state of the Dedicated Host (available
|under-assessment
|permanent-failure
|released
|released-permanent-failure
). -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeHostsOutput
with field(s):hosts(Option<Vec::<Host>>)
:Information about the Dedicated Hosts.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeHostsError>
Source§impl Client
impl Client
Sourcepub fn describe_iam_instance_profile_associations(
&self,
) -> DescribeIamInstanceProfileAssociationsFluentBuilder
pub fn describe_iam_instance_profile_associations( &self, ) -> DescribeIamInstanceProfileAssociationsFluentBuilder
Constructs a fluent builder for the DescribeIamInstanceProfileAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
association_ids(impl Into<String>)
/set_association_ids(Option<Vec::<String>>)
:
required: falseThe IAM instance profile associations.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
instance-id
- The ID of the instance. -
state
- The state of the association (associating
|associated
|disassociating
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeIamInstanceProfileAssociationsOutput
with field(s):iam_instance_profile_associations(Option<Vec::<IamInstanceProfileAssociation>>)
:Information about the IAM instance profile associations.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeIamInstanceProfileAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_id_format(&self) -> DescribeIdFormatFluentBuilder
pub fn describe_id_format(&self) -> DescribeIdFormatFluentBuilder
Constructs a fluent builder for the DescribeIdFormat
operation.
- The fluent builder is configurable:
resource(impl Into<String>)
/set_resource(Option<String>)
:
required: falseThe type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|instance
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|reservation
|route-table
|route-table-association
|security-group
|snapshot
|subnet
|subnet-cidr-block-association
|volume
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
- On success, responds with
DescribeIdFormatOutput
with field(s):statuses(Option<Vec::<IdFormat>>)
:Information about the ID format for the resource.
- On failure, responds with
SdkError<DescribeIdFormatError>
Source§impl Client
impl Client
Sourcepub fn describe_identity_id_format(
&self,
) -> DescribeIdentityIdFormatFluentBuilder
pub fn describe_identity_id_format( &self, ) -> DescribeIdentityIdFormatFluentBuilder
Constructs a fluent builder for the DescribeIdentityIdFormat
operation.
- The fluent builder is configurable:
resource(impl Into<String>)
/set_resource(Option<String>)
:
required: falseThe type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|instance
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|reservation
|route-table
|route-table-association
|security-group
|snapshot
|subnet
|subnet-cidr-block-association
|volume
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
principal_arn(impl Into<String>)
/set_principal_arn(Option<String>)
:
required: trueThe ARN of the principal, which can be an IAM role, IAM user, or the root user.
- On success, responds with
DescribeIdentityIdFormatOutput
with field(s):statuses(Option<Vec::<IdFormat>>)
:Information about the ID format for the resources.
- On failure, responds with
SdkError<DescribeIdentityIdFormatError>
Source§impl Client
impl Client
Sourcepub fn describe_image_attribute(&self) -> DescribeImageAttributeFluentBuilder
pub fn describe_image_attribute(&self) -> DescribeImageAttributeFluentBuilder
Constructs a fluent builder for the DescribeImageAttribute
operation.
- The fluent builder is configurable:
attribute(ImageAttributeName)
/set_attribute(Option<ImageAttributeName>)
:
required: trueThe AMI attribute.
Note: The
blockDeviceMapping
attribute is deprecated. Using this attribute returns theClient.AuthFailure
error. To get information about the block device mappings for an AMI, use theDescribeImages
action.image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeImageAttributeOutput
with field(s):description(Option<AttributeValue>)
:A description for the AMI.
kernel_id(Option<AttributeValue>)
:The kernel ID.
ramdisk_id(Option<AttributeValue>)
:The RAM disk ID.
sriov_net_support(Option<AttributeValue>)
:Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
boot_mode(Option<AttributeValue>)
:The boot mode.
tpm_support(Option<AttributeValue>)
:If the image is configured for NitroTPM support, the value is
v2.0
.uefi_data(Option<AttributeValue>)
:Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
last_launched_time(Option<AttributeValue>)
:The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.imds_support(Option<AttributeValue>)
:If
v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.deregistration_protection(Option<AttributeValue>)
:Indicates whether deregistration protection is enabled for the AMI.
image_id(Option<String>)
:The ID of the AMI.
launch_permissions(Option<Vec::<LaunchPermission>>)
:The launch permissions.
product_codes(Option<Vec::<ProductCode>>)
:The product codes.
block_device_mappings(Option<Vec::<BlockDeviceMapping>>)
:The block device mapping entries.
- On failure, responds with
SdkError<DescribeImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_images(&self) -> DescribeImagesFluentBuilder
pub fn describe_images(&self) -> DescribeImagesFluentBuilder
Constructs a fluent builder for the DescribeImages
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
executable_users(impl Into<String>)
/set_executable_users(Option<Vec::<String>>)
:
required: falseScopes the images by users with explicit launch permissions. Specify an Amazon Web Services account ID,
self
(the sender of the request), orall
(public AMIs).-
If you specify an Amazon Web Services account ID that is not your own, only AMIs shared with that specific Amazon Web Services account ID are returned. However, AMIs that are shared with the account’s organization or organizational unit (OU) are not returned.
-
If you specify
self
or your own Amazon Web Services account ID, AMIs shared with your account are returned. In addition, AMIs that are shared with the organization or OU of which you are member are also returned. -
If you specify
all
, all public AMIs are returned.
-
image_ids(impl Into<String>)
/set_image_ids(Option<Vec::<String>>)
:
required: falseThe image IDs.
Default: Describes all images available to you.
owners(impl Into<String>)
/set_owners(Option<Vec::<String>>)
:
required: falseScopes the results to images with the specified owners. You can specify a combination of Amazon Web Services account IDs,
self
,amazon
,aws-backup-vault
, andaws-marketplace
. If you omit this parameter, the results include all images for which you have launch permissions, regardless of ownership.include_deprecated(bool)
/set_include_deprecated(Option<bool>)
:
required: falseSpecifies whether to include deprecated AMIs.
Default: No deprecated AMIs are included in the response.
If you are the AMI owner, all deprecated AMIs appear in the response regardless of what you specify for this parameter.
include_disabled(bool)
/set_include_disabled(Option<bool>)
:
required: falseSpecifies whether to include disabled AMIs.
Default: No disabled AMIs are included in the response.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
architecture
- The image architecture (i386
|x86_64
|arm64
|x86_64_mac
|arm64_mac
). -
block-device-mapping.delete-on-termination
- A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination. -
block-device-mapping.device-name
- The device name specified in the block device mapping (for example,/dev/sdh
orxvdh
). -
block-device-mapping.snapshot-id
- The ID of the snapshot used for the Amazon EBS volume. -
block-device-mapping.volume-size
- The volume size of the Amazon EBS volume, in GiB. -
block-device-mapping.volume-type
- The volume type of the Amazon EBS volume (io1
|io2
|gp2
|gp3
|sc1
|st1
|standard
). -
block-device-mapping.encrypted
- A Boolean that indicates whether the Amazon EBS volume is encrypted. -
creation-date
- The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,2021-09-29T11:04:43.305Z
. You can use a wildcard (), for example,
2021-09-29T
, which matches an entire day. -
description
- The description of the image (provided during image creation). -
ena-support
- A Boolean that indicates whether enhanced networking with ENA is enabled. -
hypervisor
- The hypervisor type (ovm
|xen
). -
image-allowed
- A Boolean that indicates whether the image meets the criteria specified for Allowed AMIs. -
image-id
- The ID of the image. -
image-type
- The image type (machine
|kernel
|ramdisk
). -
is-public
- A Boolean that indicates whether the image is public. -
kernel-id
- The kernel ID. -
manifest-location
- The location of the image manifest. -
name
- The name of the AMI (provided during image creation). -
owner-alias
- The owner alias (amazon
|aws-backup-vault
|aws-marketplace
). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter. -
owner-id
- The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter. -
platform
- The platform. The only supported value iswindows
. -
product-code
- The product code. -
product-code.type
- The type of the product code (marketplace
). -
ramdisk-id
- The RAM disk ID. -
root-device-name
- The device name of the root device volume (for example,/dev/sda1
). -
root-device-type
- The type of the root device volume (ebs
|instance-store
). -
source-image-id
- The ID of the source AMI from which the AMI was created. -
source-image-region
- The Region of the source AMI. -
source-instance-id
- The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This filter is applicable only if the AMI was created using CreateImage. -
state
- The state of the image (available
|pending
|failed
). -
state-reason-code
- The reason code for the state change. -
state-reason-message
- The message for the state change. -
sriov-net-support
- A value ofsimple
indicates that enhanced networking with the Intel 82599 VF interface is enabled. -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
virtualization-type
- The virtualization type (paravirtual
|hvm
).
-
- On success, responds with
DescribeImagesOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.images(Option<Vec::<Image>>)
:Information about the images.
- On failure, responds with
SdkError<DescribeImagesError>
Source§impl Client
impl Client
Sourcepub fn describe_import_image_tasks(
&self,
) -> DescribeImportImageTasksFluentBuilder
pub fn describe_import_image_tasks( &self, ) -> DescribeImportImageTasksFluentBuilder
Constructs a fluent builder for the DescribeImportImageTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilter tasks using the
task-state
filter and one of the following values:active
,completed
,deleting
, ordeleted
.import_task_ids(impl Into<String>)
/set_import_task_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the import image tasks.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA token that indicates the next page of results.
- On success, responds with
DescribeImportImageTasksOutput
with field(s):import_image_tasks(Option<Vec::<ImportImageTask>>)
:A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
next_token(Option<String>)
:The token to use to get the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeImportImageTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_import_snapshot_tasks(
&self,
) -> DescribeImportSnapshotTasksFluentBuilder
pub fn describe_import_snapshot_tasks( &self, ) -> DescribeImportSnapshotTasksFluentBuilder
Constructs a fluent builder for the DescribeImportSnapshotTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
import_task_ids(impl Into<String>)
/set_import_task_ids(Option<Vec::<String>>)
:
required: falseA list of import snapshot task IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseA token that indicates the next page of results.
- On success, responds with
DescribeImportSnapshotTasksOutput
with field(s):import_snapshot_tasks(Option<Vec::<ImportSnapshotTask>>)
:A list of zero or more import snapshot tasks that are currently active or were completed or canceled in the previous 7 days.
next_token(Option<String>)
:The token to use to get the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeImportSnapshotTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_attribute(
&self,
) -> DescribeInstanceAttributeFluentBuilder
pub fn describe_instance_attribute( &self, ) -> DescribeInstanceAttributeFluentBuilder
Constructs a fluent builder for the DescribeInstanceAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
attribute(InstanceAttributeName)
/set_attribute(Option<InstanceAttributeName>)
:
required: trueThe instance attribute.
Note that the
enaSupport
attribute is not supported.
- On success, responds with
DescribeInstanceAttributeOutput
with field(s):block_device_mappings(Option<Vec::<InstanceBlockDeviceMapping>>)
:The block device mapping of the instance.
disable_api_termination(Option<AttributeBooleanValue>)
:Indicates whether termination protection is enabled. If the value is
true
, you can’t terminate the instance using the Amazon EC2 console, command line tools, or API.ena_support(Option<AttributeBooleanValue>)
:Indicates whether enhanced networking with ENA is enabled.
enclave_options(Option<EnclaveOptions>)
:Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
ebs_optimized(Option<AttributeBooleanValue>)
:Indicates whether the instance is optimized for Amazon EBS I/O.
instance_id(Option<String>)
:The ID of the instance.
instance_initiated_shutdown_behavior(Option<AttributeValue>)
:Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instance_type(Option<AttributeValue>)
:The instance type.
kernel_id(Option<AttributeValue>)
:The kernel ID.
product_codes(Option<Vec::<ProductCode>>)
:The product codes.
ramdisk_id(Option<AttributeValue>)
:The RAM disk ID.
root_device_name(Option<AttributeValue>)
:The device name of the root device volume (for example,
/dev/sda1
).source_dest_check(Option<AttributeBooleanValue>)
:Indicates whether source/destination checks are enabled.
sriov_net_support(Option<AttributeValue>)
:Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
user_data(Option<AttributeValue>)
:The user data.
disable_api_stop(Option<AttributeBooleanValue>)
:Indicates whether stop protection is enabled for the instance.
groups(Option<Vec::<GroupIdentifier>>)
:The security groups associated with the instance.
- On failure, responds with
SdkError<DescribeInstanceAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_connect_endpoints(
&self,
) -> DescribeInstanceConnectEndpointsFluentBuilder
pub fn describe_instance_connect_endpoints( &self, ) -> DescribeInstanceConnectEndpointsFluentBuilder
Constructs a fluent builder for the DescribeInstanceConnectEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
instance-connect-endpoint-id
- The ID of the EC2 Instance Connect Endpoint. -
state
- The state of the EC2 Instance Connect Endpoint (create-in-progress
|create-complete
|create-failed
|delete-in-progress
|delete-complete
|delete-failed
). -
subnet-id
- The ID of the subnet in which the EC2 Instance Connect Endpoint was created. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
tag-value
- The value of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific value, regardless of tag key. -
vpc-id
- The ID of the VPC in which the EC2 Instance Connect Endpoint was created.
-
instance_connect_endpoint_ids(impl Into<String>)
/set_instance_connect_endpoint_ids(Option<Vec::<String>>)
:
required: falseOne or more EC2 Instance Connect Endpoint IDs.
- On success, responds with
DescribeInstanceConnectEndpointsOutput
with field(s):instance_connect_endpoints(Option<Vec::<Ec2InstanceConnectEndpoint>>)
:Information about the EC2 Instance Connect Endpoints.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceConnectEndpointsError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_credit_specifications(
&self,
) -> DescribeInstanceCreditSpecificationsFluentBuilder
pub fn describe_instance_credit_specifications( &self, ) -> DescribeInstanceCreditSpecificationsFluentBuilder
Constructs a fluent builder for the DescribeInstanceCreditSpecifications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
instance-id
- The ID of the instance.
-
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs.
Default: Describes all your instances.
Constraints: Maximum 1000 explicitly specified instance IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same call.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeInstanceCreditSpecificationsOutput
with field(s):instance_credit_specifications(Option<Vec::<InstanceCreditSpecification>>)
:Information about the credit option for CPU usage of an instance.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceCreditSpecificationsError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_event_notification_attributes(
&self,
) -> DescribeInstanceEventNotificationAttributesFluentBuilder
pub fn describe_instance_event_notification_attributes( &self, ) -> DescribeInstanceEventNotificationAttributesFluentBuilder
Constructs a fluent builder for the DescribeInstanceEventNotificationAttributes
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeInstanceEventNotificationAttributesOutput
with field(s):instance_tag_attribute(Option<InstanceTagNotificationAttribute>)
:Information about the registered tag keys.
- On failure, responds with
SdkError<DescribeInstanceEventNotificationAttributesError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_event_windows(
&self,
) -> DescribeInstanceEventWindowsFluentBuilder
pub fn describe_instance_event_windows( &self, ) -> DescribeInstanceEventWindowsFluentBuilder
Constructs a fluent builder for the DescribeInstanceEventWindows
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_event_window_ids(impl Into<String>)
/set_instance_event_window_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the event windows.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
dedicated-host-id
- The event windows associated with the specified Dedicated Host ID. -
event-window-name
- The event windows associated with the specified names. -
instance-id
- The event windows associated with the specified instance ID. -
instance-tag
- The event windows associated with the specified tag and value. -
instance-tag-key
- The event windows associated with the specified tag key, regardless of the value. -
instance-tag-value
- The event windows associated with the specified tag value, regardless of the key. -
tag:
- The key/value combination of a tag assigned to the event window. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueCMX
, specifytag:Owner
for the filter name andCMX
for the filter value. -
tag-key
- The key of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific key, regardless of the tag value. -
tag-value
- The value of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific value, regardless of the tag key.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextToken
value. This value can be between 20 and 500. You cannot specify this parameter and the event window IDs parameter in the same call.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
- On success, responds with
DescribeInstanceEventWindowsOutput
with field(s):instance_event_windows(Option<Vec::<InstanceEventWindow>>)
:Information about the event windows.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeInstanceEventWindowsError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_image_metadata(
&self,
) -> DescribeInstanceImageMetadataFluentBuilder
pub fn describe_instance_image_metadata( &self, ) -> DescribeInstanceImageMetadataFluentBuilder
Constructs a fluent builder for the DescribeInstanceImageMetadata
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The name of the Availability Zone (for example,us-west-2a
) or Local Zone (for example,us-west-2-lax-1b
) of the instance. -
instance-id
- The ID of the instance. -
image-allowed
- A Boolean that indicates whether the image meets the criteria specified for Allowed AMIs. -
instance-state-name
- The state of the instance (pending
|running
|shutting-down
|terminated
|stopping
|stopped
). -
instance-type
- The type of instance (for example,t3.micro
). -
launch-time
- The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,2023-09-29T11:04:43.305Z
. You can use a wildcard (), for example,
2023-09-29T
, which matches an entire day. -
owner-alias
- The owner alias (amazon
|aws-marketplace
|aws-backup-vault
). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use theOwner
request parameter instead of this filter. -
owner-id
- The Amazon Web Services account ID of the owner. We recommend that you use theOwner
request parameter instead of this filter. -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
zone-id
- The ID of the Availability Zone (for example,usw2-az2
) or Local Zone (for example,usw2-lax1-az1
) of the instance.
-
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs.
If you don’t specify an instance ID or filters, the output includes information for all instances.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
Default: 1000
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeInstanceImageMetadataOutput
with field(s):instance_image_metadata(Option<Vec::<InstanceImageMetadata>>)
:Information about the instance and the AMI used to launch the instance.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceImageMetadataError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_status(&self) -> DescribeInstanceStatusFluentBuilder
pub fn describe_instance_status(&self) -> DescribeInstanceStatusFluentBuilder
Constructs a fluent builder for the DescribeInstanceStatus
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone of the instance. -
event.code
- The code for the scheduled event (instance-reboot
|system-reboot
|system-maintenance
|instance-retirement
|instance-stop
). -
event.description
- A description of the event. -
event.instance-event-id
- The ID of the event whose date and time you are modifying. -
event.not-after
- The latest end time for the scheduled event (for example,2014-09-15T17:15:20.000Z
). -
event.not-before
- The earliest start time for the scheduled event (for example,2014-09-15T17:15:20.000Z
). -
event.not-before-deadline
- The deadline for starting the event (for example,2014-09-15T17:15:20.000Z
). -
instance-state-code
- The code for the instance state, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped). -
instance-state-name
- The state of the instance (pending
|running
|shutting-down
|terminated
|stopping
|stopped
). -
instance-status.reachability
- Filters on instance status where the name isreachability
(passed
|failed
|initializing
|insufficient-data
). -
instance-status.status
- The status of the instance (ok
|impaired
|initializing
|insufficient-data
|not-applicable
). -
operator.managed
- A Boolean that indicates whether this is a managed instance. -
operator.principal
- The principal that manages the instance. Only valid for managed instances, wheremanaged
istrue
. -
system-status.reachability
- Filters on system status where the name isreachability
(passed
|failed
|initializing
|insufficient-data
). -
system-status.status
- The system status of the instance (ok
|impaired
|initializing
|insufficient-data
|not-applicable
). -
attached-ebs-status.status
- The status of the attached EBS volume for the instance (ok
|impaired
|initializing
|insufficient-data
|not-applicable
).
-
include_all_instances(bool)
/set_include_all_instances(Option<bool>)
:
required: falseWhen
true
, includes the health status for all instances. Whenfalse
, includes the health status for running instances only.Default:
false
- On success, responds with
DescribeInstanceStatusOutput
with field(s):instance_statuses(Option<Vec::<InstanceStatus>>)
:Information about the status of the instances.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceStatusError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_topology(
&self,
) -> DescribeInstanceTopologyFluentBuilder
pub fn describe_instance_topology( &self, ) -> DescribeInstanceTopologyFluentBuilder
Constructs a fluent builder for the DescribeInstanceTopology
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You can’t specify this parameter and the instance IDs parameter in the same request.
Default:
20
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
group_names(impl Into<String>)
/set_group_names(Option<Vec::<String>>)
:
required: falseThe name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The name of the Availability Zone (for example,us-west-2a
) or Local Zone (for example,us-west-2-lax-1b
) that the instance is in. -
instance-type
- The instance type (for example,p4d.24xlarge
) or instance family (for example,p4d*
). You can use the*
wildcard to match zero or more characters, or the?
wildcard to match zero or one character. -
zone-id
- The ID of the Availability Zone (for example,usw2-az2
) or Local Zone (for example,usw2-lax1-az1
) that the instance is in.
-
- On success, responds with
DescribeInstanceTopologyOutput
with field(s):instances(Option<Vec::<InstanceTopology>>)
:Information about the topology of each instance.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceTopologyError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_type_offerings(
&self,
) -> DescribeInstanceTypeOfferingsFluentBuilder
pub fn describe_instance_type_offerings( &self, ) -> DescribeInstanceTypeOfferingsFluentBuilder
Constructs a fluent builder for the DescribeInstanceTypeOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.location_type(LocationType)
/set_location_type(Option<LocationType>)
:
required: falseThe location type.
-
availability-zone
- The Availability Zone. When you specify a location filter, it must be an Availability Zone for the current Region. -
availability-zone-id
- The AZ ID. When you specify a location filter, it must be an AZ ID for the current Region. -
outpost
- The Outpost ARN. When you specify a location filter, it must be an Outpost ARN for the current Region. -
region
- The current Region. If you specify a location filter, it must match the current Region.
-
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
instance-type
- The instance type. For a list of possible values, see Instance. -
location
- The location. For a list of possible identifiers, see Regions and Zones.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeInstanceTypeOfferingsOutput
with field(s):instance_type_offerings(Option<Vec::<InstanceTypeOffering>>)
:The instance types offered in the location.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceTypeOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_instance_types(&self) -> DescribeInstanceTypesFluentBuilder
pub fn describe_instance_types(&self) -> DescribeInstanceTypesFluentBuilder
Constructs a fluent builder for the DescribeInstanceTypes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_types(InstanceType)
/set_instance_types(Option<Vec::<InstanceType>>)
:
required: falseThe instance types.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
-
auto-recovery-supported
- Indicates whether Amazon CloudWatch action based recovery is supported (true
|false
). -
bare-metal
- Indicates whether it is a bare metal instance type (true
|false
). -
burstable-performance-supported
- Indicates whether the instance type is a burstable performance T instance type (true
|false
). -
current-generation
- Indicates whether this instance type is the latest generation instance type of an instance family (true
|false
). -
dedicated-hosts-supported
- Indicates whether the instance type supports Dedicated Hosts. (true
|false
) -
ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps
- The baseline bandwidth performance for an EBS-optimized instance type, in Mbps. -
ebs-info.ebs-optimized-info.baseline-iops
- The baseline input/output storage operations per second for an EBS-optimized instance type. -
ebs-info.ebs-optimized-info.baseline-throughput-in-mbps
- The baseline throughput performance for an EBS-optimized instance type, in MB/s. -
ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps
- The maximum bandwidth performance for an EBS-optimized instance type, in Mbps. -
ebs-info.ebs-optimized-info.maximum-iops
- The maximum input/output storage operations per second for an EBS-optimized instance type. -
ebs-info.ebs-optimized-info.maximum-throughput-in-mbps
- The maximum throughput performance for an EBS-optimized instance type, in MB/s. -
ebs-info.ebs-optimized-support
- Indicates whether the instance type is EBS-optimized (supported
|unsupported
|default
). -
ebs-info.encryption-support
- Indicates whether EBS encryption is supported (supported
|unsupported
). -
ebs-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for EBS volumes (required
|supported
|unsupported
). -
free-tier-eligible
- Indicates whether the instance type is eligible to use in the free tier (true
|false
). -
hibernation-supported
- Indicates whether On-Demand hibernation is supported (true
|false
). -
hypervisor
- The hypervisor (nitro
|xen
). -
instance-storage-info.disk.count
- The number of local disks. -
instance-storage-info.disk.size-in-gb
- The storage size of each instance storage disk, in GB. -
instance-storage-info.disk.type
- The storage technology for the local instance storage disks (hdd
|ssd
). -
instance-storage-info.encryption-support
- Indicates whether data is encrypted at rest (required
|supported
|unsupported
). -
instance-storage-info.nvme-support
- Indicates whether non-volatile memory express (NVMe) is supported for instance store (required
|supported
|unsupported
). -
instance-storage-info.total-size-in-gb
- The total amount of storage available from all local instance storage, in GB. -
instance-storage-supported
- Indicates whether the instance type has local instance storage (true
|false
). -
instance-type
- The instance type (for examplec5.2xlarge
or c5*). -
memory-info.size-in-mib
- The memory size. -
network-info.bandwidth-weightings
- For instances that support bandwidth weighting to boost performance (default
,vpc-1
,ebs-1
). -
network-info.efa-info.maximum-efa-interfaces
- The maximum number of Elastic Fabric Adapters (EFAs) per instance. -
network-info.efa-supported
- Indicates whether the instance type supports Elastic Fabric Adapter (EFA) (true
|false
). -
network-info.ena-support
- Indicates whether Elastic Network Adapter (ENA) is supported or required (required
|supported
|unsupported
). -
network-info.encryption-in-transit-supported
- Indicates whether the instance type automatically encrypts in-transit traffic between instances (true
|false
). -
network-info.ipv4-addresses-per-interface
- The maximum number of private IPv4 addresses per network interface. -
network-info.ipv6-addresses-per-interface
- The maximum number of private IPv6 addresses per network interface. -
network-info.ipv6-supported
- Indicates whether the instance type supports IPv6 (true
|false
). -
network-info.maximum-network-cards
- The maximum number of network cards per instance. -
network-info.maximum-network-interfaces
- The maximum number of network interfaces per instance. -
network-info.network-performance
- The network performance (for example, “25 Gigabit”). -
nitro-enclaves-support
- Indicates whether Nitro Enclaves is supported (supported
|unsupported
). -
nitro-tpm-support
- Indicates whether NitroTPM is supported (supported
|unsupported
). -
nitro-tpm-info.supported-versions
- The supported NitroTPM version (2.0
). -
processor-info.supported-architecture
- The CPU architecture (arm64
|i386
|x86_64
). -
processor-info.sustained-clock-speed-in-ghz
- The CPU clock speed, in GHz. -
processor-info.supported-features
- The supported CPU features (amd-sev-snp
). -
supported-boot-mode
- The boot mode (legacy-bios
|uefi
). -
supported-root-device-type
- The root device type (ebs
|instance-store
). -
supported-usage-class
- The usage class (on-demand
|spot
|capacity-block
). -
supported-virtualization-type
- The virtualization type (hvm
|paravirtual
). -
vcpu-info.default-cores
- The default number of cores for the instance type. -
vcpu-info.default-threads-per-core
- The default number of threads per core for the instance type. -
vcpu-info.default-vcpus
- The default number of vCPUs for the instance type. -
vcpu-info.valid-cores
- The number of cores that can be configured for the instance type. -
vcpu-info.valid-threads-per-core
- The number of threads per core that can be configured for the instance type. For example, “1” or “1,2”.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeInstanceTypesOutput
with field(s):instance_types(Option<Vec::<InstanceTypeInfo>>)
:The instance type.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInstanceTypesError>
Source§impl Client
impl Client
Sourcepub fn describe_instances(&self) -> DescribeInstancesFluentBuilder
pub fn describe_instances(&self) -> DescribeInstancesFluentBuilder
Constructs a fluent builder for the DescribeInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: falseThe instance IDs.
Default: Describes all your instances.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
affinity
- The affinity setting for an instance running on a Dedicated Host (default
|host
). -
architecture
- The instance architecture (i386
|x86_64
|arm64
). -
availability-zone
- The Availability Zone of the instance. -
block-device-mapping.attach-time
- The attach time for an EBS volume mapped to the instance, for example,2022-09-15T17:15:20.000Z
. -
block-device-mapping.delete-on-termination
- A Boolean that indicates whether the EBS volume is deleted on instance termination. -
block-device-mapping.device-name
- The device name specified in the block device mapping (for example,/dev/sdh
orxvdh
). -
block-device-mapping.status
- The status for the EBS volume (attaching
|attached
|detaching
|detached
). -
block-device-mapping.volume-id
- The volume ID of the EBS volume. -
boot-mode
- The boot mode that was specified by the AMI (legacy-bios
|uefi
|uefi-preferred
). -
capacity-reservation-id
- The ID of the Capacity Reservation into which the instance was launched. -
capacity-reservation-specification.capacity-reservation-preference
- The instance’s Capacity Reservation preference (open
|none
). -
capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id
- The ID of the targeted Capacity Reservation. -
capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn
- The ARN of the targeted Capacity Reservation group. -
client-token
- The idempotency token you provided when you launched the instance. -
current-instance-boot-mode
- The boot mode that is used to launch the instance at launch or start (legacy-bios
|uefi
). -
dns-name
- The public DNS name of the instance. -
ebs-optimized
- A Boolean that indicates whether the instance is optimized for Amazon EBS I/O. -
ena-support
- A Boolean that indicates whether the instance is enabled for enhanced networking with ENA. -
enclave-options.enabled
- A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. -
hibernation-options.configured
- A Boolean that indicates whether the instance is enabled for hibernation. A value oftrue
means that the instance is enabled for hibernation. -
host-id
- The ID of the Dedicated Host on which the instance is running, if applicable. -
hypervisor
- The hypervisor type of the instance (ovm
|xen
). The valuexen
is used for both Xen and Nitro hypervisors. -
iam-instance-profile.arn
- The instance profile associated with the instance. Specified as an ARN. -
iam-instance-profile.id
- The instance profile associated with the instance. Specified as an ID. -
image-id
- The ID of the image used to launch the instance. -
instance-id
- The ID of the instance. -
instance-lifecycle
- Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (spot
|scheduled
|capacity-block
). -
instance-state-code
- The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped). -
instance-state-name
- The state of the instance (pending
|running
|shutting-down
|terminated
|stopping
|stopped
). -
instance-type
- The type of instance (for example,t2.micro
). -
instance.group-id
- The ID of the security group for the instance. -
instance.group-name
- The name of the security group for the instance. -
ip-address
- The public IPv4 address of the instance. -
ipv6-address
- The IPv6 address of the instance. -
kernel-id
- The kernel ID. -
key-name
- The name of the key pair used when the instance was launched. -
launch-index
- When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on). -
launch-time
- The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example,2021-09-29T11:04:43.305Z
. You can use a wildcard (), for example,
2021-09-29T
, which matches an entire day. -
maintenance-options.auto-recovery
- The current automatic recovery behavior of the instance (disabled
|default
). -
metadata-options.http-endpoint
- The status of access to the HTTP metadata endpoint on your instance (enabled
|disabled
) -
metadata-options.http-protocol-ipv4
- Indicates whether the IPv4 endpoint is enabled (disabled
|enabled
). -
metadata-options.http-protocol-ipv6
- Indicates whether the IPv6 endpoint is enabled (disabled
|enabled
). -
metadata-options.http-put-response-hop-limit
- The HTTP metadata request put response hop limit (integer, possible values1
to64
) -
metadata-options.http-tokens
- The metadata request authorization state (optional
|required
) -
metadata-options.instance-metadata-tags
- The status of access to instance tags from the instance metadata (enabled
|disabled
) -
metadata-options.state
- The state of the metadata option changes (pending
|applied
). -
monitoring-state
- Indicates whether detailed monitoring is enabled (disabled
|enabled
). -
network-interface.addresses.association.allocation-id
- The allocation ID. -
network-interface.addresses.association.association-id
- The association ID. -
network-interface.addresses.association.carrier-ip
- The carrier IP address. -
network-interface.addresses.association.customer-owned-ip
- The customer-owned IP address. -
network-interface.addresses.association.ip-owner-id
- The owner ID of the private IPv4 address associated with the network interface. -
network-interface.addresses.association.public-dns-name
- The public DNS name. -
network-interface.addresses.association.public-ip
- The ID of the association of an Elastic IP address (IPv4) with a network interface. -
network-interface.addresses.primary
- Specifies whether the IPv4 address of the network interface is the primary private IPv4 address. -
network-interface.addresses.private-dns-name
- The private DNS name. -
network-interface.addresses.private-ip-address
- The private IPv4 address associated with the network interface. -
network-interface.association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. -
network-interface.association.association-id
- The association ID returned when the network interface was associated with an IPv4 address. -
network-interface.association.carrier-ip
- The customer-owned IP address. -
network-interface.association.customer-owned-ip
- The customer-owned IP address. -
network-interface.association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface. -
network-interface.association.public-dns-name
- The public DNS name. -
network-interface.association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface. -
network-interface.attachment.attach-time
- The time that the network interface was attached to an instance. -
network-interface.attachment.attachment-id
- The ID of the interface attachment. -
network-interface.attachment.delete-on-termination
- Specifies whether the attachment is deleted when an instance is terminated. -
network-interface.attachment.device-index
- The device index to which the network interface is attached. -
network-interface.attachment.instance-id
- The ID of the instance to which the network interface is attached. -
network-interface.attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached. -
network-interface.attachment.network-card-index
- The index of the network card. -
network-interface.attachment.status
- The status of the attachment (attaching
|attached
|detaching
|detached
). -
network-interface.availability-zone
- The Availability Zone for the network interface. -
network-interface.deny-all-igw-traffic
- A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet. -
network-interface.description
- The description of the network interface. -
network-interface.group-id
- The ID of a security group associated with the network interface. -
network-interface.group-name
- The name of a security group associated with the network interface. -
network-interface.ipv4-prefixes.ipv4-prefix
- The IPv4 prefixes that are assigned to the network interface. -
network-interface.ipv6-address
- The IPv6 address associated with the network interface. -
network-interface.ipv6-addresses.ipv6-address
- The IPv6 address associated with the network interface. -
network-interface.ipv6-addresses.is-primary-ipv6
- A Boolean that indicates whether this is the primary IPv6 address. -
network-interface.ipv6-native
- A Boolean that indicates whether this is an IPv6 only network interface. -
network-interface.ipv6-prefixes.ipv6-prefix
- The IPv6 prefix assigned to the network interface. -
network-interface.mac-address
- The MAC address of the network interface. -
network-interface.network-interface-id
- The ID of the network interface. -
network-interface.operator.managed
- A Boolean that indicates whether the instance has a managed network interface. -
network-interface.operator.principal
- The principal that manages the network interface. Only valid for instances with managed network interfaces, wheremanaged
istrue
. -
network-interface.outpost-arn
- The ARN of the Outpost. -
network-interface.owner-id
- The ID of the owner of the network interface. -
network-interface.private-dns-name
- The private DNS name of the network interface. -
network-interface.private-ip-address
- The private IPv4 address. -
network-interface.public-dns-name
- The public DNS name. -
network-interface.requester-id
- The requester ID for the network interface. -
network-interface.requester-managed
- Indicates whether the network interface is being managed by Amazon Web Services. -
network-interface.status
- The status of the network interface (available
) |in-use
). -
network-interface.source-dest-check
- Whether the network interface performs source/destination checking. A value oftrue
means that checking is enabled, andfalse
means that checking is disabled. The value must befalse
for the network interface to perform network address translation (NAT) in your VPC. -
network-interface.subnet-id
- The ID of the subnet for the network interface. -
network-interface.tag-key
- The key of a tag assigned to the network interface. -
network-interface.tag-value
- The value of a tag assigned to the network interface. -
network-interface.vpc-id
- The ID of the VPC for the network interface. -
network-performance-options.bandwidth-weighting
- Where the performance boost is applied, if applicable. Valid values:default
,vpc-1
,ebs-1
. -
operator.managed
- A Boolean that indicates whether this is a managed instance. -
operator.principal
- The principal that manages the instance. Only valid for managed instances, wheremanaged
istrue
. -
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost. -
owner-id
- The Amazon Web Services account ID of the instance owner. -
placement-group-name
- The name of the placement group for the instance. -
placement-partition-number
- The partition in which the instance is located. -
platform
- The platform. To list only Windows instances, usewindows
. -
platform-details
- The platform (Linux/UNIX
|Red Hat BYOL Linux
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux with HA
|Red Hat Enterprise Linux with SQL Server Standard and HA
|Red Hat Enterprise Linux with SQL Server Enterprise and HA
|Red Hat Enterprise Linux with SQL Server Standard
|Red Hat Enterprise Linux with SQL Server Web
|Red Hat Enterprise Linux with SQL Server Enterprise
|SQL Server Enterprise
|SQL Server Standard
|SQL Server Web
|SUSE Linux
|Ubuntu Pro
|Windows
|Windows BYOL
|Windows with SQL Server Enterprise
|Windows with SQL Server Standard
|Windows with SQL Server Web
). -
private-dns-name
- The private IPv4 DNS name of the instance. -
private-dns-name-options.enable-resource-name-dns-a-record
- A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records. -
private-dns-name-options.enable-resource-name-dns-aaaa-record
- A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. -
private-dns-name-options.hostname-type
- The type of hostname (ip-name
|resource-name
). -
private-ip-address
- The private IPv4 address of the instance. This can only be used to filter by the primary IP address of the network interface attached to the instance. To filter by additional IP addresses assigned to the network interface, use the filternetwork-interface.addresses.private-ip-address
. -
product-code
- The product code associated with the AMI used to launch the instance. -
product-code.type
- The type of product code (devpay
|marketplace
). -
ramdisk-id
- The RAM disk ID. -
reason - The reason for the current state of the instance (for example, shows “User Initiated [date]” when you stop or terminate the instance). Similar to the state-reason-code filter.
-
requester-id
- The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on). -
reservation-id
- The ID of the instance’s reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID. -
root-device-name
- The device name of the root device volume (for example,/dev/sda1
). -
root-device-type
- The type of the root device volume (ebs
|instance-store
). -
source-dest-check
- Indicates whether the instance performs source/destination checking. A value oftrue
means that checking is enabled, andfalse
means that checking is disabled. The value must befalse
for the instance to perform network address translation (NAT) in your VPC. -
spot-instance-request-id
- The ID of the Spot Instance request. -
state-reason-code
- The reason code for the state change. -
state-reason-message
- A message that describes the state change. -
subnet-id
- The ID of the subnet for the instance. -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value. -
tenancy
- The tenancy of an instance (dedicated
|default
|host
). -
tpm-support
- Indicates if the instance is configured for NitroTPM support (v2.0
). -
usage-operation
- The usage operation value for the instance (RunInstances
|RunInstances:00g0
|RunInstances:0010
|RunInstances:1010
|RunInstances:1014
|RunInstances:1110
|RunInstances:0014
|RunInstances:0210
|RunInstances:0110
|RunInstances:0100
|RunInstances:0004
|RunInstances:0200
|RunInstances:000g
|RunInstances:0g00
|RunInstances:0002
|RunInstances:0800
|RunInstances:0102
|RunInstances:0006
|RunInstances:0202
). -
usage-operation-update-time
- The time that the usage operation was last updated, for example,2022-09-15T17:15:20.000Z
. -
virtualization-type
- The virtualization type of the instance (paravirtual
|hvm
). -
vpc-id
- The ID of the VPC that the instance is running in.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the instance IDs parameter in the same request.
- On success, responds with
DescribeInstancesOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.reservations(Option<Vec::<Reservation>>)
:Information about the reservations.
- On failure, responds with
SdkError<DescribeInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_internet_gateways(
&self,
) -> DescribeInternetGatewaysFluentBuilder
pub fn describe_internet_gateways( &self, ) -> DescribeInternetGatewaysFluentBuilder
Constructs a fluent builder for the DescribeInternetGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.internet_gateway_ids(impl Into<String>)
/set_internet_gateway_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the internet gateways.
Default: Describes all your internet gateways.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
attachment.state
- The current state of the attachment between the gateway and the VPC (available
). Present only if a VPC is attached. -
attachment.vpc-id
- The ID of an attached VPC. -
internet-gateway-id
- The ID of the Internet gateway. -
owner-id
- The ID of the Amazon Web Services account that owns the internet gateway. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeInternetGatewaysOutput
with field(s):internet_gateways(Option<Vec::<InternetGateway>>)
:Information about the internet gateways.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeInternetGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_byoasn(&self) -> DescribeIpamByoasnFluentBuilder
pub fn describe_ipam_byoasn(&self) -> DescribeIpamByoasnFluentBuilder
Constructs a fluent builder for the DescribeIpamByoasn
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeIpamByoasnOutput
with field(s):byoasns(Option<Vec::<Byoasn>>)
:ASN and BYOIP CIDR associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeIpamByoasnError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_external_resource_verification_tokens(
&self,
) -> DescribeIpamExternalResourceVerificationTokensFluentBuilder
pub fn describe_ipam_external_resource_verification_tokens( &self, ) -> DescribeIpamExternalResourceVerificationTokensFluentBuilder
Constructs a fluent builder for the DescribeIpamExternalResourceVerificationTokens
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
Available filters:
-
ipam-arn
-
ipam-external-resource-verification-token-arn
-
ipam-external-resource-verification-token-id
-
ipam-id
-
ipam-region
-
state
-
status
-
token-name
-
token-value
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of tokens to return in one page of results.
ipam_external_resource_verification_token_ids(impl Into<String>)
/set_ipam_external_resource_verification_token_ids(Option<Vec::<String>>)
:
required: falseVerification token IDs.
- On success, responds with
DescribeIpamExternalResourceVerificationTokensOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.ipam_external_resource_verification_tokens(Option<Vec::<IpamExternalResourceVerificationToken>>)
:Verification tokens.
- On failure, responds with
SdkError<DescribeIpamExternalResourceVerificationTokensError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_pools(&self) -> DescribeIpamPoolsFluentBuilder
pub fn describe_ipam_pools(&self) -> DescribeIpamPoolsFluentBuilder
Constructs a fluent builder for the DescribeIpamPools
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in the request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
ipam_pool_ids(impl Into<String>)
/set_ipam_pool_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the IPAM pools you would like information on.
- On success, responds with
DescribeIpamPoolsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.ipam_pools(Option<Vec::<IpamPool>>)
:Information about the IPAM pools.
- On failure, responds with
SdkError<DescribeIpamPoolsError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_resource_discoveries(
&self,
) -> DescribeIpamResourceDiscoveriesFluentBuilder
pub fn describe_ipam_resource_discoveries( &self, ) -> DescribeIpamResourceDiscoveriesFluentBuilder
Constructs a fluent builder for the DescribeIpamResourceDiscoveries
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_ids(impl Into<String>)
/set_ipam_resource_discovery_ids(Option<Vec::<String>>)
:
required: falseThe IPAM resource discovery IDs.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of resource discoveries to return in one page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe resource discovery filters.
- On success, responds with
DescribeIpamResourceDiscoveriesOutput
with field(s):ipam_resource_discoveries(Option<Vec::<IpamResourceDiscovery>>)
:The resource discoveries.
next_token(Option<String>)
:Specify the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<DescribeIpamResourceDiscoveriesError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_resource_discovery_associations(
&self,
) -> DescribeIpamResourceDiscoveryAssociationsFluentBuilder
pub fn describe_ipam_resource_discovery_associations( &self, ) -> DescribeIpamResourceDiscoveryAssociationsFluentBuilder
Constructs a fluent builder for the DescribeIpamResourceDiscoveryAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_association_ids(impl Into<String>)
/set_ipam_resource_discovery_association_ids(Option<Vec::<String>>)
:
required: falseThe resource discovery association IDs.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of resource discovery associations to return in one page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe resource discovery association filters.
- On success, responds with
DescribeIpamResourceDiscoveryAssociationsOutput
with field(s):ipam_resource_discovery_associations(Option<Vec::<IpamResourceDiscoveryAssociation>>)
:The resource discovery associations.
next_token(Option<String>)
:Specify the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<DescribeIpamResourceDiscoveryAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_ipam_scopes(&self) -> DescribeIpamScopesFluentBuilder
pub fn describe_ipam_scopes(&self) -> DescribeIpamScopesFluentBuilder
Constructs a fluent builder for the DescribeIpamScopes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in the request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
ipam_scope_ids(impl Into<String>)
/set_ipam_scope_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the scopes you want information on.
- On success, responds with
DescribeIpamScopesOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.ipam_scopes(Option<Vec::<IpamScope>>)
:The scopes you want information on.
- On failure, responds with
SdkError<DescribeIpamScopesError>
Source§impl Client
impl Client
Sourcepub fn describe_ipams(&self) -> DescribeIpamsFluentBuilder
pub fn describe_ipams(&self) -> DescribeIpamsFluentBuilder
Constructs a fluent builder for the DescribeIpams
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in the request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
ipam_ids(impl Into<String>)
/set_ipam_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the IPAMs you want information on.
- On success, responds with
DescribeIpamsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.ipams(Option<Vec::<Ipam>>)
:Information about the IPAMs.
- On failure, responds with
SdkError<DescribeIpamsError>
Source§impl Client
impl Client
Sourcepub fn describe_ipv6_pools(&self) -> DescribeIpv6PoolsFluentBuilder
pub fn describe_ipv6_pools(&self) -> DescribeIpv6PoolsFluentBuilder
Constructs a fluent builder for the DescribeIpv6Pools
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
pool_ids(impl Into<String>)
/set_pool_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the IPv6 address pools.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeIpv6PoolsOutput
with field(s):ipv6_pools(Option<Vec::<Ipv6Pool>>)
:Information about the IPv6 address pools.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeIpv6PoolsError>
Source§impl Client
impl Client
Sourcepub fn describe_key_pairs(&self) -> DescribeKeyPairsFluentBuilder
pub fn describe_key_pairs(&self) -> DescribeKeyPairsFluentBuilder
Constructs a fluent builder for the DescribeKeyPairs
operation.
- The fluent builder is configurable:
key_names(impl Into<String>)
/set_key_names(Option<Vec::<String>>)
:
required: falseThe key pair names.
Default: Describes all of your key pairs.
key_pair_ids(impl Into<String>)
/set_key_pair_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the key pairs.
include_public_key(bool)
/set_include_public_key(Option<bool>)
:
required: falseIf
true
, the public key material is included in the response.Default:
false
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
key-pair-id
- The ID of the key pair. -
fingerprint
- The fingerprint of the key pair. -
key-name
- The name of the key pair. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
-
- On success, responds with
DescribeKeyPairsOutput
with field(s):key_pairs(Option<Vec::<KeyPairInfo>>)
:Information about the key pairs.
- On failure, responds with
SdkError<DescribeKeyPairsError>
Source§impl Client
impl Client
Sourcepub fn describe_launch_template_versions(
&self,
) -> DescribeLaunchTemplateVersionsFluentBuilder
pub fn describe_launch_template_versions( &self, ) -> DescribeLaunchTemplateVersionsFluentBuilder
Constructs a fluent builder for the DescribeLaunchTemplateVersions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.launch_template_id(impl Into<String>)
/set_launch_template_id(Option<String>)
:
required: falseThe ID of the launch template.
To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name, but not both.
To describe all the latest or default launch template versions in your account, you must omit this parameter.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: falseThe name of the launch template.
To describe one or more versions of a specified launch template, you must specify either the launch template name or the launch template ID, but not both.
To describe all the latest or default launch template versions in your account, you must omit this parameter.
versions(impl Into<String>)
/set_versions(Option<Vec::<String>>)
:
required: falseOne or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.
To describe one or more versions of a specified launch template, valid values are
$Latest
,$Default
, and numbers.To describe all launch templates in your account that are defined as the latest version, the valid value is
$Latest
. To describe all launch templates in your account that are defined as the default version, the valid value is$Default
. You can specify$Latest
and$Default
in the same request. You cannot specify numbers.min_version(impl Into<String>)
/set_min_version(Option<String>)
:
required: falseThe version number after which to describe launch template versions.
max_version(impl Into<String>)
/set_max_version(Option<String>)
:
required: falseThe version number up to which to describe launch template versions.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextToken
value. This value can be between 1 and 200.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
create-time
- The time the launch template version was created. -
ebs-optimized
- A boolean that indicates whether the instance is optimized for Amazon EBS I/O. -
http-endpoint
- Indicates whether the HTTP metadata endpoint on your instances is enabled (enabled
|disabled
). -
http-protocol-ipv4
- Indicates whether the IPv4 endpoint for the instance metadata service is enabled (enabled
|disabled
). -
host-resource-group-arn
- The ARN of the host resource group in which to launch the instances. -
http-tokens
- The state of token usage for your instance metadata requests (optional
|required
). -
iam-instance-profile
- The ARN of the IAM instance profile. -
image-id
- The ID of the AMI. -
instance-type
- The instance type. -
is-default-version
- A boolean that indicates whether the launch template version is the default version. -
kernel-id
- The kernel ID. -
license-configuration-arn
- The ARN of the license configuration. -
network-card-index
- The index of the network card. -
ram-disk-id
- The RAM disk ID.
-
resolve_alias(bool)
/set_resolve_alias(Option<bool>)
:
required: falseIf
true
, and if a Systems Manager parameter is specified forImageId
, the AMI ID is displayed in the response forimageId
.If
false
, and if a Systems Manager parameter is specified forImageId
, the parameter is displayed in the response forimageId
.For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide.
Default:
false
- On success, responds with
DescribeLaunchTemplateVersionsOutput
with field(s):launch_template_versions(Option<Vec::<LaunchTemplateVersion>>)
:Information about the launch template versions.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLaunchTemplateVersionsError>
Source§impl Client
impl Client
Sourcepub fn describe_launch_templates(&self) -> DescribeLaunchTemplatesFluentBuilder
pub fn describe_launch_templates(&self) -> DescribeLaunchTemplatesFluentBuilder
Constructs a fluent builder for the DescribeLaunchTemplates
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.launch_template_ids(impl Into<String>)
/set_launch_template_ids(Option<Vec::<String>>)
:
required: falseOne or more launch template IDs.
launch_template_names(impl Into<String>)
/set_launch_template_names(Option<Vec::<String>>)
:
required: falseOne or more launch template names.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
create-time
- The time the launch template was created. -
launch-template-name
- The name of the launch template. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
NextToken
value. This value can be between 1 and 200.
- On success, responds with
DescribeLaunchTemplatesOutput
with field(s):launch_templates(Option<Vec::<LaunchTemplate>>)
:Information about the launch templates.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLaunchTemplatesError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateway_route_table_virtual_interface_group_associations(
&self,
) -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsFluentBuilder
pub fn describe_local_gateway_route_table_virtual_interface_group_associations( &self, ) -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsFluentBuilder
Constructs a fluent builder for the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_route_table_virtual_interface_group_association_ids(impl Into<String>)
/set_local_gateway_route_table_virtual_interface_group_association_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the associations.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-gateway-id
- The ID of a local gateway. -
local-gateway-route-table-arn
- The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group. -
local-gateway-route-table-id
- The ID of the local gateway route table. -
local-gateway-route-table-virtual-interface-group-association-id
- The ID of the association. -
local-gateway-route-table-virtual-interface-group-id
- The ID of the virtual interface group. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway virtual interface group association. -
state
- The state of the association.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput
with field(s):local_gateway_route_table_virtual_interface_group_associations(Option<Vec::<LocalGatewayRouteTableVirtualInterfaceGroupAssociation>>)
:Information about the associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateway_route_table_vpc_associations(
&self,
) -> DescribeLocalGatewayRouteTableVpcAssociationsFluentBuilder
pub fn describe_local_gateway_route_table_vpc_associations( &self, ) -> DescribeLocalGatewayRouteTableVpcAssociationsFluentBuilder
Constructs a fluent builder for the DescribeLocalGatewayRouteTableVpcAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_route_table_vpc_association_ids(impl Into<String>)
/set_local_gateway_route_table_vpc_association_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the associations.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-gateway-id
- The ID of a local gateway. -
local-gateway-route-table-arn
- The Amazon Resource Name (ARN) of the local gateway route table for the association. -
local-gateway-route-table-id
- The ID of the local gateway route table. -
local-gateway-route-table-vpc-association-id
- The ID of the association. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway route table for the association. -
state
- The state of the association. -
vpc-id
- The ID of the VPC.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewayRouteTableVpcAssociationsOutput
with field(s):local_gateway_route_table_vpc_associations(Option<Vec::<LocalGatewayRouteTableVpcAssociation>>)
:Information about the associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewayRouteTableVpcAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateway_route_tables(
&self,
) -> DescribeLocalGatewayRouteTablesFluentBuilder
pub fn describe_local_gateway_route_tables( &self, ) -> DescribeLocalGatewayRouteTablesFluentBuilder
Constructs a fluent builder for the DescribeLocalGatewayRouteTables
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_route_table_ids(impl Into<String>)
/set_local_gateway_route_table_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the local gateway route tables.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-gateway-id
- The ID of a local gateway. -
local-gateway-route-table-arn
- The Amazon Resource Name (ARN) of the local gateway route table. -
local-gateway-route-table-id
- The ID of a local gateway route table. -
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway route table. -
state
- The state of the local gateway route table.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewayRouteTablesOutput
with field(s):local_gateway_route_tables(Option<Vec::<LocalGatewayRouteTable>>)
:Information about the local gateway route tables.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewayRouteTablesError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateway_virtual_interface_groups(
&self,
) -> DescribeLocalGatewayVirtualInterfaceGroupsFluentBuilder
pub fn describe_local_gateway_virtual_interface_groups( &self, ) -> DescribeLocalGatewayVirtualInterfaceGroupsFluentBuilder
Constructs a fluent builder for the DescribeLocalGatewayVirtualInterfaceGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_virtual_interface_group_ids(impl Into<String>)
/set_local_gateway_virtual_interface_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the virtual interface groups.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-gateway-id
- The ID of a local gateway. -
local-gateway-virtual-interface-group-id
- The ID of the virtual interface group. -
local-gateway-virtual-interface-id
- The ID of the virtual interface. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway virtual interface group.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewayVirtualInterfaceGroupsOutput
with field(s):local_gateway_virtual_interface_groups(Option<Vec::<LocalGatewayVirtualInterfaceGroup>>)
:The virtual interface groups.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewayVirtualInterfaceGroupsError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateway_virtual_interfaces(
&self,
) -> DescribeLocalGatewayVirtualInterfacesFluentBuilder
pub fn describe_local_gateway_virtual_interfaces( &self, ) -> DescribeLocalGatewayVirtualInterfacesFluentBuilder
Constructs a fluent builder for the DescribeLocalGatewayVirtualInterfaces
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_virtual_interface_ids(impl Into<String>)
/set_local_gateway_virtual_interface_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the virtual interfaces.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-address
- The local address. -
local-bgp-asn
- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway. -
local-gateway-id
- The ID of the local gateway. -
local-gateway-virtual-interface-id
- The ID of the virtual interface. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway virtual interface. -
peer-address
- The peer address. -
peer-bgp-asn
- The peer BGP ASN. -
vlan
- The ID of the VLAN.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewayVirtualInterfacesOutput
with field(s):local_gateway_virtual_interfaces(Option<Vec::<LocalGatewayVirtualInterface>>)
:Information about the virtual interfaces.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewayVirtualInterfacesError>
Source§impl Client
impl Client
Sourcepub fn describe_local_gateways(&self) -> DescribeLocalGatewaysFluentBuilder
pub fn describe_local_gateways(&self) -> DescribeLocalGatewaysFluentBuilder
Constructs a fluent builder for the DescribeLocalGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_ids(impl Into<String>)
/set_local_gateway_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the local gateways.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
local-gateway-id
- The ID of a local gateway. -
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost. -
owner-id
- The ID of the Amazon Web Services account that owns the local gateway. -
state
- The state of the association.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLocalGatewaysOutput
with field(s):local_gateways(Option<Vec::<LocalGateway>>)
:Information about the local gateways.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeLocalGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_locked_snapshots(&self) -> DescribeLockedSnapshotsFluentBuilder
pub fn describe_locked_snapshots(&self) -> DescribeLockedSnapshotsFluentBuilder
Constructs a fluent builder for the DescribeLockedSnapshots
operation.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
lock-state
- The state of the snapshot lock (compliance-cooloff
|governance
|compliance
|expired
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
snapshot_ids(impl Into<String>)
/set_snapshot_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the snapshots for which to view the lock status.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeLockedSnapshotsOutput
with field(s):snapshots(Option<Vec::<LockedSnapshotsInfo>>)
:Information about the snapshots.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeLockedSnapshotsError>
Source§impl Client
impl Client
Sourcepub fn describe_mac_hosts(&self) -> DescribeMacHostsFluentBuilder
pub fn describe_mac_hosts(&self) -> DescribeMacHostsFluentBuilder
Constructs a fluent builder for the DescribeMacHosts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host. -
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
-
host_ids(impl Into<String>)
/set_host_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the EC2 Mac Dedicated Hosts.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextToken
value. This value can be between 5 and 500. IfmaxResults
is given a larger value than 500, you receive an error.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
- On success, responds with
DescribeMacHostsOutput
with field(s):mac_hosts(Option<Vec::<MacHost>>)
:Information about the EC2 Mac Dedicated Hosts.
next_token(Option<String>)
:The token to use to retrieve the next page of results.
- On failure, responds with
SdkError<DescribeMacHostsError>
Source§impl Client
impl Client
Sourcepub fn describe_managed_prefix_lists(
&self,
) -> DescribeManagedPrefixListsFluentBuilder
pub fn describe_managed_prefix_lists( &self, ) -> DescribeManagedPrefixListsFluentBuilder
Constructs a fluent builder for the DescribeManagedPrefixLists
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
owner-id
- The ID of the prefix list owner. -
prefix-list-id
- The ID of the prefix list. -
prefix-list-name
- The name of the prefix list.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
prefix_list_ids(impl Into<String>)
/set_prefix_list_ids(Option<Vec::<String>>)
:
required: falseOne or more prefix list IDs.
- On success, responds with
DescribeManagedPrefixListsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.prefix_lists(Option<Vec::<ManagedPrefixList>>)
:Information about the prefix lists.
- On failure, responds with
SdkError<DescribeManagedPrefixListsError>
Source§impl Client
impl Client
Sourcepub fn describe_moving_addresses(&self) -> DescribeMovingAddressesFluentBuilder
pub fn describe_moving_addresses(&self) -> DescribeMovingAddressesFluentBuilder
Constructs a fluent builder for the DescribeMovingAddresses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.public_ips(impl Into<String>)
/set_public_ips(Option<Vec::<String>>)
:
required: falseOne or more Elastic IP addresses.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned
NextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value outside of this range, an error is returned.Default: If no value is provided, the default is 1000.
- On success, responds with
DescribeMovingAddressesOutput
with field(s):moving_address_statuses(Option<Vec::<MovingAddressStatus>>)
:The status for each Elastic IP address.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeMovingAddressesError>
Source§impl Client
impl Client
Sourcepub fn describe_nat_gateways(&self) -> DescribeNatGatewaysFluentBuilder
pub fn describe_nat_gateways(&self) -> DescribeNatGatewaysFluentBuilder
Constructs a fluent builder for the DescribeNatGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filter(Filter)
/set_filter(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
nat-gateway-id
- The ID of the NAT gateway. -
state
- The state of the NAT gateway (pending
|failed
|available
|deleting
|deleted
). -
subnet-id
- The ID of the subnet in which the NAT gateway resides. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC in which the NAT gateway resides.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
nat_gateway_ids(impl Into<String>)
/set_nat_gateway_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the NAT gateways.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeNatGatewaysOutput
with field(s):nat_gateways(Option<Vec::<NatGateway>>)
:Information about the NAT gateways.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeNatGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_network_acls(&self) -> DescribeNetworkAclsFluentBuilder
pub fn describe_network_acls(&self) -> DescribeNetworkAclsFluentBuilder
Constructs a fluent builder for the DescribeNetworkAcls
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_acl_ids(impl Into<String>)
/set_network_acl_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the network ACLs.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
association.association-id
- The ID of an association ID for the ACL. -
association.network-acl-id
- The ID of the network ACL involved in the association. -
association.subnet-id
- The ID of the subnet involved in the association. -
default
- Indicates whether the ACL is the default network ACL for the VPC. -
entry.cidr
- The IPv4 CIDR range specified in the entry. -
entry.icmp.code
- The ICMP code specified in the entry, if any. -
entry.icmp.type
- The ICMP type specified in the entry, if any. -
entry.ipv6-cidr
- The IPv6 CIDR range specified in the entry. -
entry.port-range.from
- The start of the port range specified in the entry. -
entry.port-range.to
- The end of the port range specified in the entry. -
entry.protocol
- The protocol specified in the entry (tcp
|udp
|icmp
or a protocol number). -
entry.rule-action
- Allows or denies the matching traffic (allow
|deny
). -
entry.egress
- A Boolean that indicates the type of rule. Specifytrue
for egress rules, orfalse
for ingress rules. -
entry.rule-number
- The number of an entry (in other words, rule) in the set of ACL entries. -
network-acl-id
- The ID of the network ACL. -
owner-id
- The ID of the Amazon Web Services account that owns the network ACL. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC for the network ACL.
-
- On success, responds with
DescribeNetworkAclsOutput
with field(s):network_acls(Option<Vec::<NetworkAcl>>)
:Information about the network ACLs.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeNetworkAclsError>
Source§impl Client
impl Client
Sourcepub fn describe_network_insights_access_scope_analyses(
&self,
) -> DescribeNetworkInsightsAccessScopeAnalysesFluentBuilder
pub fn describe_network_insights_access_scope_analyses( &self, ) -> DescribeNetworkInsightsAccessScopeAnalysesFluentBuilder
Constructs a fluent builder for the DescribeNetworkInsightsAccessScopeAnalyses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_insights_access_scope_analysis_ids(impl Into<String>)
/set_network_insights_access_scope_analysis_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Network Access Scope analyses.
network_insights_access_scope_id(impl Into<String>)
/set_network_insights_access_scope_id(Option<String>)
:
required: falseThe ID of the Network Access Scope.
analysis_start_time_begin(DateTime)
/set_analysis_start_time_begin(Option<DateTime>)
:
required: falseFilters the results based on the start time. The analysis must have started on or after this time.
analysis_start_time_end(DateTime)
/set_analysis_start_time_end(Option<DateTime>)
:
required: falseFilters the results based on the start time. The analysis must have started on or before this time.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThere are no supported filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeNetworkInsightsAccessScopeAnalysesOutput
with field(s):network_insights_access_scope_analyses(Option<Vec::<NetworkInsightsAccessScopeAnalysis>>)
:The Network Access Scope analyses.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeNetworkInsightsAccessScopeAnalysesError>
Source§impl Client
impl Client
Sourcepub fn describe_network_insights_access_scopes(
&self,
) -> DescribeNetworkInsightsAccessScopesFluentBuilder
pub fn describe_network_insights_access_scopes( &self, ) -> DescribeNetworkInsightsAccessScopesFluentBuilder
Constructs a fluent builder for the DescribeNetworkInsightsAccessScopes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_insights_access_scope_ids(impl Into<String>)
/set_network_insights_access_scope_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Network Access Scopes.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThere are no supported filters.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeNetworkInsightsAccessScopesOutput
with field(s):network_insights_access_scopes(Option<Vec::<NetworkInsightsAccessScope>>)
:The Network Access Scopes.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeNetworkInsightsAccessScopesError>
Source§impl Client
impl Client
Sourcepub fn describe_network_insights_analyses(
&self,
) -> DescribeNetworkInsightsAnalysesFluentBuilder
pub fn describe_network_insights_analyses( &self, ) -> DescribeNetworkInsightsAnalysesFluentBuilder
Constructs a fluent builder for the DescribeNetworkInsightsAnalyses
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_insights_analysis_ids(impl Into<String>)
/set_network_insights_analysis_ids(Option<Vec::<String>>)
:
required: falseThe ID of the network insights analyses. You must specify either analysis IDs or a path ID.
network_insights_path_id(impl Into<String>)
/set_network_insights_path_id(Option<String>)
:
required: falseThe ID of the path. You must specify either a path ID or analysis IDs.
analysis_start_time(DateTime)
/set_analysis_start_time(Option<DateTime>)
:
required: falseThe time when the network insights analyses started.
analysis_end_time(DateTime)
/set_analysis_end_time(Option<DateTime>)
:
required: falseThe time when the network insights analyses ended.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters. The following are the possible values:
-
path-found - A Boolean value that indicates whether a feasible path is found.
-
status - The status of the analysis (running | succeeded | failed).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeNetworkInsightsAnalysesOutput
with field(s):network_insights_analyses(Option<Vec::<NetworkInsightsAnalysis>>)
:Information about the network insights analyses.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeNetworkInsightsAnalysesError>
Source§impl Client
impl Client
Sourcepub fn describe_network_insights_paths(
&self,
) -> DescribeNetworkInsightsPathsFluentBuilder
pub fn describe_network_insights_paths( &self, ) -> DescribeNetworkInsightsPathsFluentBuilder
Constructs a fluent builder for the DescribeNetworkInsightsPaths
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_insights_path_ids(impl Into<String>)
/set_network_insights_path_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the paths.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters. The following are the possible values:
-
destination - The ID of the resource.
-
filter-at-source.source-address - The source IPv4 address at the source.
-
filter-at-source.source-port-range - The source port range at the source.
-
filter-at-source.destination-address - The destination IPv4 address at the source.
-
filter-at-source.destination-port-range - The destination port range at the source.
-
filter-at-destination.source-address - The source IPv4 address at the destination.
-
filter-at-destination.source-port-range - The source port range at the destination.
-
filter-at-destination.destination-address - The destination IPv4 address at the destination.
-
filter-at-destination.destination-port-range - The destination port range at the destination.
-
protocol - The protocol.
-
source - The ID of the resource.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeNetworkInsightsPathsOutput
with field(s):network_insights_paths(Option<Vec::<NetworkInsightsPath>>)
:Information about the paths.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeNetworkInsightsPathsError>
Source§impl Client
impl Client
Sourcepub fn describe_network_interface_attribute(
&self,
) -> DescribeNetworkInterfaceAttributeFluentBuilder
pub fn describe_network_interface_attribute( &self, ) -> DescribeNetworkInterfaceAttributeFluentBuilder
Constructs a fluent builder for the DescribeNetworkInterfaceAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
attribute(NetworkInterfaceAttribute)
/set_attribute(Option<NetworkInterfaceAttribute>)
:
required: falseThe attribute of the network interface. This parameter is required.
- On success, responds with
DescribeNetworkInterfaceAttributeOutput
with field(s):attachment(Option<NetworkInterfaceAttachment>)
:The attachment (if any) of the network interface.
description(Option<AttributeValue>)
:The description of the network interface.
groups(Option<Vec::<GroupIdentifier>>)
:The security groups associated with the network interface.
network_interface_id(Option<String>)
:The ID of the network interface.
source_dest_check(Option<AttributeBooleanValue>)
:Indicates whether source/destination checking is enabled.
associate_public_ip_address(Option<bool>)
:Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any network interface but will only apply to the primary network interface (eth0).
- On failure, responds with
SdkError<DescribeNetworkInterfaceAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_network_interface_permissions(
&self,
) -> DescribeNetworkInterfacePermissionsFluentBuilder
pub fn describe_network_interface_permissions( &self, ) -> DescribeNetworkInterfacePermissionsFluentBuilder
Constructs a fluent builder for the DescribeNetworkInterfacePermissions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_interface_permission_ids(impl Into<String>)
/set_network_interface_permission_ids(Option<Vec::<String>>)
:
required: falseThe network interface permission IDs.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
network-interface-permission.network-interface-permission-id
- The ID of the permission. -
network-interface-permission.network-interface-id
- The ID of the network interface. -
network-interface-permission.aws-account-id
- The Amazon Web Services account ID. -
network-interface-permission.aws-service
- The Amazon Web Services service. -
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
|EIP-ASSOCIATE
).
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. If this parameter is not specified, up to 50 results are returned by default. For more information, see Pagination.
- On success, responds with
DescribeNetworkInterfacePermissionsOutput
with field(s):network_interface_permissions(Option<Vec::<NetworkInterfacePermission>>)
:The network interface permissions.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeNetworkInterfacePermissionsError>
Source§impl Client
impl Client
Sourcepub fn describe_network_interfaces(
&self,
) -> DescribeNetworkInterfacesFluentBuilder
pub fn describe_network_interfaces( &self, ) -> DescribeNetworkInterfacesFluentBuilder
Constructs a fluent builder for the DescribeNetworkInterfaces
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. You cannot specify this parameter and the network interface IDs parameter in the same request. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_ids(impl Into<String>)
/set_network_interface_ids(Option<Vec::<String>>)
:
required: falseThe network interface IDs.
Default: Describes all your network interfaces.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. -
association.association-id
- The association ID returned when the network interface was associated with an IPv4 address. -
addresses.association.owner-id
- The owner ID of the addresses associated with the network interface. -
addresses.association.public-ip
- The association ID returned when the network interface was associated with the Elastic IP address (IPv4). -
addresses.primary
- Whether the private IPv4 address is the primary IP address associated with the network interface. -
addresses.private-ip-address
- The private IPv4 addresses associated with the network interface. -
association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface. -
association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface. -
association.public-dns-name
- The public DNS name for the network interface (IPv4). -
attachment.attach-time
- The time that the network interface was attached to an instance. -
attachment.attachment-id
- The ID of the interface attachment. -
attachment.delete-on-termination
- Indicates whether the attachment is deleted when an instance is terminated. -
attachment.device-index
- The device index to which the network interface is attached. -
attachment.instance-id
- The ID of the instance to which the network interface is attached. -
attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached. -
attachment.status
- The status of the attachment (attaching
|attached
|detaching
|detached
). -
availability-zone
- The Availability Zone of the network interface. -
description
- The description of the network interface. -
group-id
- The ID of a security group associated with the network interface. -
ipv6-addresses.ipv6-address
- An IPv6 address associated with the network interface. -
interface-type
- The type of network interface (api_gateway_managed
|aws_codestar_connections_managed
|branch
|ec2_instance_connect_endpoint
|efa
|efa-only
|efs
|gateway_load_balancer
|gateway_load_balancer_endpoint
|global_accelerator_managed
|interface
|iot_rules_managed
|lambda
|load_balancer
|nat_gateway
|network_load_balancer
|quicksight
|transit_gateway
|trunk
|vpc_endpoint
). -
mac-address
- The MAC address of the network interface. -
network-interface-id
- The ID of the network interface. -
operator.managed
- A Boolean that indicates whether this is a managed network interface. -
operator.principal
- The principal that manages the network interface. Only valid for managed network interfaces, wheremanaged
istrue
. -
owner-id
- The Amazon Web Services account ID of the network interface owner. -
private-dns-name
- The private DNS name of the network interface (IPv4). -
private-ip-address
- The private IPv4 address or addresses of the network interface. -
requester-id
- The alias or Amazon Web Services account ID of the principal or service that created the network interface. -
requester-managed
- Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on). -
source-dest-check
- Indicates whether the network interface performs source/destination checking. A value oftrue
means checking is enabled, andfalse
means checking is disabled. The value must befalse
for the network interface to perform network address translation (NAT) in your VPC. -
status
- The status of the network interface. If the network interface is not attached to an instance, the status isavailable
; if a network interface is attached to an instance the status isin-use
. -
subnet-id
- The ID of the subnet for the network interface. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC for the network interface.
-
- On success, responds with
DescribeNetworkInterfacesOutput
with field(s):network_interfaces(Option<Vec::<NetworkInterface>>)
:Information about the network interfaces.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeNetworkInterfacesError>
Source§impl Client
impl Client
Sourcepub fn describe_placement_groups(&self) -> DescribePlacementGroupsFluentBuilder
pub fn describe_placement_groups(&self) -> DescribePlacementGroupsFluentBuilder
Constructs a fluent builder for the DescribePlacementGroups
operation.
- The fluent builder is configurable:
group_ids(impl Into<String>)
/set_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the placement groups.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.group_names(impl Into<String>)
/set_group_names(Option<Vec::<String>>)
:
required: falseThe names of the placement groups.
Constraints:
-
You can specify a name only if the placement group is owned by your account.
-
If a placement group is shared with your account, specifying the name results in an error. You must use the
GroupId
parameter instead.
-
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
group-name
- The name of the placement group. -
group-arn
- The Amazon Resource Name (ARN) of the placement group. -
spread-level
- The spread level for the placement group (host
|rack
). -
state
- The state of the placement group (pending
|available
|deleting
|deleted
). -
strategy
- The strategy of the placement group (cluster
|spread
|partition
). -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribePlacementGroupsOutput
with field(s):placement_groups(Option<Vec::<PlacementGroup>>)
:Information about the placement groups.
- On failure, responds with
SdkError<DescribePlacementGroupsError>
Source§impl Client
impl Client
Sourcepub fn describe_prefix_lists(&self) -> DescribePrefixListsFluentBuilder
pub fn describe_prefix_lists(&self) -> DescribePrefixListsFluentBuilder
Constructs a fluent builder for the DescribePrefixLists
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
prefix-list-id
: The ID of a prefix list. -
prefix-list-name
: The name of a prefix list.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
prefix_list_ids(impl Into<String>)
/set_prefix_list_ids(Option<Vec::<String>>)
:
required: falseOne or more prefix list IDs.
- On success, responds with
DescribePrefixListsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.prefix_lists(Option<Vec::<PrefixList>>)
:All available prefix lists.
- On failure, responds with
SdkError<DescribePrefixListsError>
Source§impl Client
impl Client
Sourcepub fn describe_principal_id_format(
&self,
) -> DescribePrincipalIdFormatFluentBuilder
pub fn describe_principal_id_format( &self, ) -> DescribePrincipalIdFormatFluentBuilder
Constructs a fluent builder for the DescribePrincipalIdFormat
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.resources(impl Into<String>)
/set_resources(Option<Vec::<String>>)
:
required: falseThe type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|instance
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|reservation
|route-table
|route-table-association
|security-group
|snapshot
|subnet
|subnet-cidr-block-association
|volume
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
- On success, responds with
DescribePrincipalIdFormatOutput
with field(s):principals(Option<Vec::<PrincipalIdFormat>>)
:Information about the ID format settings for the ARN.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is null when there are no more results to return.
- On failure, responds with
SdkError<DescribePrincipalIdFormatError>
Source§impl Client
impl Client
Sourcepub fn describe_public_ipv4_pools(&self) -> DescribePublicIpv4PoolsFluentBuilder
pub fn describe_public_ipv4_pools(&self) -> DescribePublicIpv4PoolsFluentBuilder
Constructs a fluent builder for the DescribePublicIpv4Pools
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
pool_ids(impl Into<String>)
/set_pool_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the address pools.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribePublicIpv4PoolsOutput
with field(s):public_ipv4_pools(Option<Vec::<PublicIpv4Pool>>)
:Information about the address pools.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribePublicIpv4PoolsError>
Source§impl Client
impl Client
Sourcepub fn describe_regions(&self) -> DescribeRegionsFluentBuilder
pub fn describe_regions(&self) -> DescribeRegionsFluentBuilder
Constructs a fluent builder for the DescribeRegions
operation.
- The fluent builder is configurable:
region_names(impl Into<String>)
/set_region_names(Option<Vec::<String>>)
:
required: falseThe names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.
all_regions(bool)
/set_all_regions(Option<bool>)
:
required: falseIndicates whether to display all Regions, including Regions that are disabled for your account.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
endpoint
- The endpoint of the Region (for example,ec2.us-east-1.amazonaws.com
). -
opt-in-status
- The opt-in status of the Region (opt-in-not-required
|opted-in
|not-opted-in
). -
region-name
- The name of the Region (for example,us-east-1
).
-
- On success, responds with
DescribeRegionsOutput
with field(s):regions(Option<Vec::<Region>>)
:Information about the Regions.
- On failure, responds with
SdkError<DescribeRegionsError>
Source§impl Client
impl Client
Sourcepub fn describe_replace_root_volume_tasks(
&self,
) -> DescribeReplaceRootVolumeTasksFluentBuilder
pub fn describe_replace_root_volume_tasks( &self, ) -> DescribeReplaceRootVolumeTasksFluentBuilder
Constructs a fluent builder for the DescribeReplaceRootVolumeTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
replace_root_volume_task_ids(impl Into<String>)
/set_replace_root_volume_task_ids(Option<Vec::<String>>)
:
required: falseThe ID of the root volume replacement task to view.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilter to use:
-
instance-id
- The ID of the instance for which the root volume replacement task was created.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeReplaceRootVolumeTasksOutput
with field(s):replace_root_volume_tasks(Option<Vec::<ReplaceRootVolumeTask>>)
:Information about the root volume replacement task.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeReplaceRootVolumeTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_instances(
&self,
) -> DescribeReservedInstancesFluentBuilder
pub fn describe_reserved_instances( &self, ) -> DescribeReservedInstancesFluentBuilder
Constructs a fluent builder for the DescribeReservedInstances
operation.
- The fluent builder is configurable:
offering_class(OfferingClassType)
/set_offering_class(Option<OfferingClassType>)
:
required: falseDescribes whether the Reserved Instance is Standard or Convertible.
reserved_instances_ids(impl Into<String>)
/set_reserved_instances_ids(Option<Vec::<String>>)
:
required: falseOne or more Reserved Instance IDs.
Default: Describes all your Reserved Instances, or only those otherwise specified.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
availability-zone
- The Availability Zone where the Reserved Instance can be used. -
duration
- The duration of the Reserved Instance (one year or three years), in seconds (31536000
|94608000
). -
end
- The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z). -
fixed-price
- The purchase price of the Reserved Instance (for example, 9800.0). -
instance-type
- The instance type that is covered by the reservation. -
scope
- The scope of the Reserved Instance (Region
orAvailability Zone
). -
product-description
- The Reserved Instance product platform description (Linux/UNIX
|Linux with SQL Server Standard
|Linux with SQL Server Web
|Linux with SQL Server Enterprise
|SUSE Linux
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux with HA
|Windows
|Windows with SQL Server Standard
|Windows with SQL Server Web
|Windows with SQL Server Enterprise
). -
reserved-instances-id
- The ID of the Reserved Instance. -
start
- The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z). -
state
- The state of the Reserved Instance (payment-pending
|active
|payment-failed
|retired
). -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
offering_type(OfferingTypeValues)
/set_offering_type(Option<OfferingTypeValues>)
:
required: falseThe Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.
- On success, responds with
DescribeReservedInstancesOutput
with field(s):reserved_instances(Option<Vec::<ReservedInstances>>)
:A list of Reserved Instances.
- On failure, responds with
SdkError<DescribeReservedInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_instances_listings(
&self,
) -> DescribeReservedInstancesListingsFluentBuilder
pub fn describe_reserved_instances_listings( &self, ) -> DescribeReservedInstancesListingsFluentBuilder
Constructs a fluent builder for the DescribeReservedInstancesListings
operation.
- The fluent builder is configurable:
reserved_instances_id(impl Into<String>)
/set_reserved_instances_id(Option<String>)
:
required: falseOne or more Reserved Instance IDs.
reserved_instances_listing_id(impl Into<String>)
/set_reserved_instances_listing_id(Option<String>)
:
required: falseOne or more Reserved Instance listing IDs.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
reserved-instances-id
- The ID of the Reserved Instances. -
reserved-instances-listing-id
- The ID of the Reserved Instances listing. -
status
- The status of the Reserved Instance listing (pending
|active
|cancelled
|closed
). -
status-message
- The reason for the status.
-
- On success, responds with
DescribeReservedInstancesListingsOutput
with field(s):reserved_instances_listings(Option<Vec::<ReservedInstancesListing>>)
:Information about the Reserved Instance listing.
- On failure, responds with
SdkError<DescribeReservedInstancesListingsError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_instances_modifications(
&self,
) -> DescribeReservedInstancesModificationsFluentBuilder
pub fn describe_reserved_instances_modifications( &self, ) -> DescribeReservedInstancesModificationsFluentBuilder
Constructs a fluent builder for the DescribeReservedInstancesModifications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
reserved_instances_modification_ids(impl Into<String>)
/set_reserved_instances_modification_ids(Option<Vec::<String>>)
:
required: falseIDs for the submitted modification request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
client-token
- The idempotency token for the modification request. -
create-date
- The time when the modification request was created. -
effective-date
- The time when the modification becomes effective. -
modification-result.reserved-instances-id
- The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification isfulfilled
. -
modification-result.target-configuration.availability-zone
- The Availability Zone for the new Reserved Instances. -
modification-result.target-configuration.instance-count
- The number of new Reserved Instances. -
modification-result.target-configuration.instance-type
- The instance type of the new Reserved Instances. -
reserved-instances-id
- The ID of the Reserved Instances modified. -
reserved-instances-modification-id
- The ID of the modification request. -
status
- The status of the Reserved Instances modification request (processing
|fulfilled
|failed
). -
status-message
- The reason for the status. -
update-date
- The time when the modification request was last updated.
-
- On success, responds with
DescribeReservedInstancesModificationsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.reserved_instances_modifications(Option<Vec::<ReservedInstancesModification>>)
:The Reserved Instance modification information.
- On failure, responds with
SdkError<DescribeReservedInstancesModificationsError>
Source§impl Client
impl Client
Sourcepub fn describe_reserved_instances_offerings(
&self,
) -> DescribeReservedInstancesOfferingsFluentBuilder
pub fn describe_reserved_instances_offerings( &self, ) -> DescribeReservedInstancesOfferingsFluentBuilder
Constructs a fluent builder for the DescribeReservedInstancesOfferings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: falseThe Availability Zone in which the Reserved Instance can be used.
include_marketplace(bool)
/set_include_marketplace(Option<bool>)
:
required: falseInclude Reserved Instance Marketplace offerings in the response.
instance_type(InstanceType)
/set_instance_type(Option<InstanceType>)
:
required: falseThe instance type that the reservation will cover (for example,
m1.small
). For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.max_duration(i64)
/set_max_duration(Option<i64>)
:
required: falseThe maximum duration (in seconds) to filter when searching for offerings.
Default: 94608000 (3 years)
max_instance_count(i32)
/set_max_instance_count(Option<i32>)
:
required: falseThe maximum number of instances to filter when searching for offerings.
Default: 20
min_duration(i64)
/set_min_duration(Option<i64>)
:
required: falseThe minimum duration (in seconds) to filter when searching for offerings.
Default: 2592000 (1 month)
offering_class(OfferingClassType)
/set_offering_class(Option<OfferingClassType>)
:
required: falseThe offering class of the Reserved Instance. Can be
standard
orconvertible
.product_description(RiProductDescription)
/set_product_description(Option<RiProductDescription>)
:
required: falseThe Reserved Instance product platform description. Instances that include
(Amazon VPC)
in the description are for use with Amazon VPC.reserved_instances_offering_ids(impl Into<String>)
/set_reserved_instances_offering_ids(Option<Vec::<String>>)
:
required: falseOne or more Reserved Instances offering IDs.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
availability-zone
- The Availability Zone where the Reserved Instance can be used. -
duration
- The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000
|94608000
). -
fixed-price
- The purchase price of the Reserved Instance (for example, 9800.0). -
instance-type
- The instance type that is covered by the reservation. -
marketplace
- Set totrue
to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed. -
product-description
- The Reserved Instance product platform description (Linux/UNIX
|Linux with SQL Server Standard
|Linux with SQL Server Web
|Linux with SQL Server Enterprise
|SUSE Linux
|Red Hat Enterprise Linux
|Red Hat Enterprise Linux with HA
|Windows
|Windows with SQL Server Standard
|Windows with SQL Server Web
|Windows with SQL Server Enterprise
). -
reserved-instances-offering-id
- The Reserved Instances offering ID. -
scope
- The scope of the Reserved Instance (Availability Zone
orRegion
). -
usage-price
- The usage price of the Reserved Instance, per hour (for example, 0.84).
-
instance_tenancy(Tenancy)
/set_instance_tenancy(Option<Tenancy>)
:
required: falseThe tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of
dedicated
is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).Important: The
host
value cannot be used with this parameter. Use thedefault
ordedicated
values only.Default:
default
offering_type(OfferingTypeValues)
/set_offering_type(Option<OfferingTypeValues>)
:
required: falseThe Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the
Medium Utilization
Reserved Instance offering type.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned
NextToken
value. The maximum is 100.Default: 100
- On success, responds with
DescribeReservedInstancesOfferingsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.reserved_instances_offerings(Option<Vec::<ReservedInstancesOffering>>)
:A list of Reserved Instances offerings.
- On failure, responds with
SdkError<DescribeReservedInstancesOfferingsError>
Source§impl Client
impl Client
Sourcepub fn describe_route_server_endpoints(
&self,
) -> DescribeRouteServerEndpointsFluentBuilder
pub fn describe_route_server_endpoints( &self, ) -> DescribeRouteServerEndpointsFluentBuilder
Constructs a fluent builder for the DescribeRouteServerEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
route_server_endpoint_ids(impl Into<String>)
/set_route_server_endpoint_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the route server endpoints to describe.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters to apply to the describe request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DescribeRouteServerEndpointsOutput
with field(s):route_server_endpoints(Option<Vec::<RouteServerEndpoint>>)
:Information about the described route server endpoints.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeRouteServerEndpointsError>
Source§impl Client
impl Client
Sourcepub fn describe_route_server_peers(
&self,
) -> DescribeRouteServerPeersFluentBuilder
pub fn describe_route_server_peers( &self, ) -> DescribeRouteServerPeersFluentBuilder
Constructs a fluent builder for the DescribeRouteServerPeers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
route_server_peer_ids(impl Into<String>)
/set_route_server_peer_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the route server peers to describe.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters to apply to the describe request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DescribeRouteServerPeersOutput
with field(s):route_server_peers(Option<Vec::<RouteServerPeer>>)
:Information about the described route server peers.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeRouteServerPeersError>
Source§impl Client
impl Client
Sourcepub fn describe_route_servers(&self) -> DescribeRouteServersFluentBuilder
pub fn describe_route_servers(&self) -> DescribeRouteServersFluentBuilder
Constructs a fluent builder for the DescribeRouteServers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
route_server_ids(impl Into<String>)
/set_route_server_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the route servers to describe.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters to apply to the describe request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DescribeRouteServersOutput
with field(s):route_servers(Option<Vec::<RouteServer>>)
:Information about the described route servers.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeRouteServersError>
Source§impl Client
impl Client
Sourcepub fn describe_route_tables(&self) -> DescribeRouteTablesFluentBuilder
pub fn describe_route_tables(&self) -> DescribeRouteTablesFluentBuilder
Constructs a fluent builder for the DescribeRouteTables
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.route_table_ids(impl Into<String>)
/set_route_table_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the route tables.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
association.gateway-id
- The ID of the gateway involved in the association. -
association.route-table-association-id
- The ID of an association ID for the route table. -
association.route-table-id
- The ID of the route table involved in the association. -
association.subnet-id
- The ID of the subnet involved in the association. -
association.main
- Indicates whether the route table is the main route table for the VPC (true
|false
). Route tables that do not have an association ID are not returned in the response. -
owner-id
- The ID of the Amazon Web Services account that owns the route table. -
route-table-id
- The ID of the route table. -
route.destination-cidr-block
- The IPv4 CIDR range specified in a route in the table. -
route.destination-ipv6-cidr-block
- The IPv6 CIDR range specified in a route in the route table. -
route.destination-prefix-list-id
- The ID (prefix) of the Amazon Web Services service specified in a route in the table. -
route.egress-only-internet-gateway-id
- The ID of an egress-only Internet gateway specified in a route in the route table. -
route.gateway-id
- The ID of a gateway specified in a route in the table. -
route.instance-id
- The ID of an instance specified in a route in the table. -
route.nat-gateway-id
- The ID of a NAT gateway. -
route.transit-gateway-id
- The ID of a transit gateway. -
route.origin
- Describes how the route was created.CreateRouteTable
indicates that the route was automatically created when the route table was created;CreateRoute
indicates that the route was manually added to the route table;EnableVgwRoutePropagation
indicates that the route was propagated by route propagation. -
route.state
- The state of a route in the route table (active
|blackhole
). The blackhole state indicates that the route’s target isn’t available (for example, the specified gateway isn’t attached to the VPC, the specified NAT instance has been terminated, and so on). -
route.vpc-peering-connection-id
- The ID of a VPC peering connection specified in a route in the table. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC for the route table.
-
- On success, responds with
DescribeRouteTablesOutput
with field(s):route_tables(Option<Vec::<RouteTable>>)
:Information about the route tables.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeRouteTablesError>
Source§impl Client
impl Client
Sourcepub fn describe_scheduled_instance_availability(
&self,
) -> DescribeScheduledInstanceAvailabilityFluentBuilder
pub fn describe_scheduled_instance_availability( &self, ) -> DescribeScheduledInstanceAvailabilityFluentBuilder
Constructs a fluent builder for the DescribeScheduledInstanceAvailability
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone (for example,us-west-2a
). -
instance-type
- The instance type (for example,c4.large
). -
platform
- The platform (Linux/UNIX
orWindows
).
-
first_slot_start_time_range(SlotDateTimeRangeRequest)
/set_first_slot_start_time_range(Option<SlotDateTimeRangeRequest>)
:
required: trueThe time period for the first schedule to start.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 300. To retrieve the remaining results, make another call with the returned
NextToken
value.max_slot_duration_in_hours(i32)
/set_max_slot_duration_in_hours(Option<i32>)
:
required: falseThe maximum available duration, in hours. This value must be greater than
MinSlotDurationInHours
and less than 1,720.min_slot_duration_in_hours(i32)
/set_min_slot_duration_in_hours(Option<i32>)
:
required: falseThe minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next set of results.
recurrence(ScheduledInstanceRecurrenceRequest)
/set_recurrence(Option<ScheduledInstanceRecurrenceRequest>)
:
required: trueThe schedule recurrence.
- On success, responds with
DescribeScheduledInstanceAvailabilityOutput
with field(s):next_token(Option<String>)
:The token required to retrieve the next set of results. This value is
null
when there are no more results to return.scheduled_instance_availability_set(Option<Vec::<ScheduledInstanceAvailability>>)
:Information about the available Scheduled Instances.
- On failure, responds with
SdkError<DescribeScheduledInstanceAvailabilityError>
Source§impl Client
impl Client
Sourcepub fn describe_scheduled_instances(
&self,
) -> DescribeScheduledInstancesFluentBuilder
pub fn describe_scheduled_instances( &self, ) -> DescribeScheduledInstancesFluentBuilder
Constructs a fluent builder for the DescribeScheduledInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone (for example,us-west-2a
). -
instance-type
- The instance type (for example,c4.large
). -
platform
- The platform (Linux/UNIX
orWindows
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned
NextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next set of results.
scheduled_instance_ids(impl Into<String>)
/set_scheduled_instance_ids(Option<Vec::<String>>)
:
required: falseThe Scheduled Instance IDs.
slot_start_time_range(SlotStartTimeRangeRequest)
/set_slot_start_time_range(Option<SlotStartTimeRangeRequest>)
:
required: falseThe time period for the first schedule to start.
- On success, responds with
DescribeScheduledInstancesOutput
with field(s):next_token(Option<String>)
:The token required to retrieve the next set of results. This value is
null
when there are no more results to return.scheduled_instance_set(Option<Vec::<ScheduledInstance>>)
:Information about the Scheduled Instances.
- On failure, responds with
SdkError<DescribeScheduledInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_security_group_references(
&self,
) -> DescribeSecurityGroupReferencesFluentBuilder
pub fn describe_security_group_references( &self, ) -> DescribeSecurityGroupReferencesFluentBuilder
Constructs a fluent builder for the DescribeSecurityGroupReferences
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.group_id(impl Into<String>)
/set_group_id(Option<Vec::<String>>)
:
required: trueThe IDs of the security groups in your account.
- On success, responds with
DescribeSecurityGroupReferencesOutput
with field(s):security_group_reference_set(Option<Vec::<SecurityGroupReference>>)
:Information about the VPCs with the referencing security groups.
- On failure, responds with
SdkError<DescribeSecurityGroupReferencesError>
Source§impl Client
impl Client
Sourcepub fn describe_security_group_rules(
&self,
) -> DescribeSecurityGroupRulesFluentBuilder
pub fn describe_security_group_rules( &self, ) -> DescribeSecurityGroupRulesFluentBuilder
Constructs a fluent builder for the DescribeSecurityGroupRules
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
group-id
- The ID of the security group. -
security-group-rule-id
- The ID of the security group rule. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
-
security_group_rule_ids(impl Into<String>)
/set_security_group_rule_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security group rules.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination.
- On success, responds with
DescribeSecurityGroupRulesOutput
with field(s):security_group_rules(Option<Vec::<SecurityGroupRule>>)
:Information about security group rules.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeSecurityGroupRulesError>
Source§impl Client
impl Client
Sourcepub fn describe_security_group_vpc_associations(
&self,
) -> DescribeSecurityGroupVpcAssociationsFluentBuilder
pub fn describe_security_group_vpc_associations( &self, ) -> DescribeSecurityGroupVpcAssociationsFluentBuilder
Constructs a fluent builder for the DescribeSecurityGroupVpcAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseSecurity group VPC association filters.
-
group-id
: The security group ID. -
vpc-id
: The ID of the associated VPC. -
vpc-owner-id
: The account ID of the VPC owner. -
state
: The state of the association. -
tag:
: The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
: The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeSecurityGroupVpcAssociationsOutput
with field(s):security_group_vpc_associations(Option<Vec::<SecurityGroupVpcAssociation>>)
:The security group VPC associations.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeSecurityGroupVpcAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_security_groups(&self) -> DescribeSecurityGroupsFluentBuilder
pub fn describe_security_groups(&self) -> DescribeSecurityGroupsFluentBuilder
Constructs a fluent builder for the DescribeSecurityGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
group_ids(impl Into<String>)
/set_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security groups. Required for security groups in a nondefault VPC.
Default: Describes all of your security groups.
group_names(impl Into<String>)
/set_group_names(Option<Vec::<String>>)
:
required: false[Default VPC] The names of the security groups. You can specify either the security group name or the security group ID.
Default: Describes all of your security groups.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.
-
description
- The description of the security group. -
egress.ip-permission.cidr
- An IPv4 CIDR block for an outbound security group rule. -
egress.ip-permission.from-port
- For an outbound rule, the start of port range for the TCP and UDP protocols, or an ICMP type number. -
egress.ip-permission.group-id
- The ID of a security group that has been referenced in an outbound security group rule. -
egress.ip-permission.group-name
- The name of a security group that is referenced in an outbound security group rule. -
egress.ip-permission.ipv6-cidr
- An IPv6 CIDR block for an outbound security group rule. -
egress.ip-permission.prefix-list-id
- The ID of a prefix list to which a security group rule allows outbound access. -
egress.ip-permission.protocol
- The IP protocol for an outbound security group rule (tcp
|udp
|icmp
, a protocol number, or -1 for all protocols). -
egress.ip-permission.to-port
- For an outbound rule, the end of port range for the TCP and UDP protocols, or an ICMP code. -
egress.ip-permission.user-id
- The ID of an Amazon Web Services account that has been referenced in an outbound security group rule. -
group-id
- The ID of the security group. -
group-name
- The name of the security group. -
ip-permission.cidr
- An IPv4 CIDR block for an inbound security group rule. -
ip-permission.from-port
- For an inbound rule, the start of port range for the TCP and UDP protocols, or an ICMP type number. -
ip-permission.group-id
- The ID of a security group that has been referenced in an inbound security group rule. -
ip-permission.group-name
- The name of a security group that is referenced in an inbound security group rule. -
ip-permission.ipv6-cidr
- An IPv6 CIDR block for an inbound security group rule. -
ip-permission.prefix-list-id
- The ID of a prefix list from which a security group rule allows inbound access. -
ip-permission.protocol
- The IP protocol for an inbound security group rule (tcp
|udp
|icmp
, a protocol number, or -1 for all protocols). -
ip-permission.to-port
- For an inbound rule, the end of port range for the TCP and UDP protocols, or an ICMP code. -
ip-permission.user-id
- The ID of an Amazon Web Services account that has been referenced in an inbound security group rule. -
owner-id
- The Amazon Web Services account ID of the owner of the security group. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC specified when the security group was created.
-
- On success, responds with
DescribeSecurityGroupsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.security_groups(Option<Vec::<SecurityGroup>>)
:Information about the security groups.
- On failure, responds with
SdkError<DescribeSecurityGroupsError>
Source§impl Client
impl Client
Sourcepub fn describe_snapshot_attribute(
&self,
) -> DescribeSnapshotAttributeFluentBuilder
pub fn describe_snapshot_attribute( &self, ) -> DescribeSnapshotAttributeFluentBuilder
Constructs a fluent builder for the DescribeSnapshotAttribute
operation.
- The fluent builder is configurable:
attribute(SnapshotAttributeName)
/set_attribute(Option<SnapshotAttributeName>)
:
required: trueThe snapshot attribute you would like to view.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the EBS snapshot.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeSnapshotAttributeOutput
with field(s):product_codes(Option<Vec::<ProductCode>>)
:The product codes.
snapshot_id(Option<String>)
:The ID of the EBS snapshot.
create_volume_permissions(Option<Vec::<CreateVolumePermission>>)
:The users and groups that have the permissions for creating volumes from the snapshot.
- On failure, responds with
SdkError<DescribeSnapshotAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_snapshot_tier_status(
&self,
) -> DescribeSnapshotTierStatusFluentBuilder
pub fn describe_snapshot_tier_status( &self, ) -> DescribeSnapshotTierStatusFluentBuilder
Constructs a fluent builder for the DescribeSnapshotTierStatus
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
snapshot-id
- The snapshot ID. -
volume-id
- The ID of the volume the snapshot is for. -
last-tiering-operation
- The state of the last archive or restore action. (archival-in-progress
|archival-completed
|archival-failed
|permanent-restore-in-progress
|permanent-restore-completed
|permanent-restore-failed
|temporary-restore-in-progress
|temporary-restore-completed
|temporary-restore-failed
)
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeSnapshotTierStatusOutput
with field(s):snapshot_tier_statuses(Option<Vec::<SnapshotTierStatus>>)
:Information about the snapshot’s storage tier.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeSnapshotTierStatusError>
Source§impl Client
impl Client
Sourcepub fn describe_snapshots(&self) -> DescribeSnapshotsFluentBuilder
pub fn describe_snapshots(&self) -> DescribeSnapshotsFluentBuilder
Constructs a fluent builder for the DescribeSnapshots
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
owner_ids(impl Into<String>)
/set_owner_ids(Option<Vec::<String>>)
:
required: falseScopes the results to snapshots with the specified owners. You can specify a combination of Amazon Web Services account IDs,
self
, andamazon
.restorable_by_user_ids(impl Into<String>)
/set_restorable_by_user_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Amazon Web Services accounts that can create volumes from the snapshot.
snapshot_ids(impl Into<String>)
/set_snapshot_ids(Option<Vec::<String>>)
:
required: falseThe snapshot IDs.
Default: Describes the snapshots for which you have create volume permissions.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
description
- A description of the snapshot. -
encrypted
- Indicates whether the snapshot is encrypted (true
|false
) -
owner-alias
- The owner alias, from an Amazon-maintained list (amazon
). This is not the user-configured Amazon Web Services account alias set using the IAM console. We recommend that you use the related parameter instead of this filter. -
owner-id
- The Amazon Web Services account ID of the owner. We recommend that you use the related parameter instead of this filter. -
progress
- The progress of the snapshot, as a percentage (for example, 80%). -
snapshot-id
- The snapshot ID. -
start-time
- The time stamp when the snapshot was initiated. -
status
- The status of the snapshot (pending
|completed
|error
). -
storage-tier
- The storage tier of the snapshot (archive
|standard
). -
transfer-type
- The type of operation used to create the snapshot (time-based
|standard
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
volume-id
- The ID of the volume the snapshot is for. -
volume-size
- The size of the volume, in GiB.
-
- On success, responds with
DescribeSnapshotsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.snapshots(Option<Vec::<Snapshot>>)
:Information about the snapshots.
- On failure, responds with
SdkError<DescribeSnapshotsError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_datafeed_subscription(
&self,
) -> DescribeSpotDatafeedSubscriptionFluentBuilder
pub fn describe_spot_datafeed_subscription( &self, ) -> DescribeSpotDatafeedSubscriptionFluentBuilder
Constructs a fluent builder for the DescribeSpotDatafeedSubscription
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeSpotDatafeedSubscriptionOutput
with field(s):spot_datafeed_subscription(Option<SpotDatafeedSubscription>)
:The Spot Instance data feed subscription.
- On failure, responds with
SdkError<DescribeSpotDatafeedSubscriptionError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_fleet_instances(
&self,
) -> DescribeSpotFleetInstancesFluentBuilder
pub fn describe_spot_fleet_instances( &self, ) -> DescribeSpotFleetInstancesFluentBuilder
Constructs a fluent builder for the DescribeSpotFleetInstances
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_fleet_request_id(impl Into<String>)
/set_spot_fleet_request_id(Option<String>)
:
required: trueThe ID of the Spot Fleet request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to include in another request to get the next page of items. This value is
null
when there are no more items to return.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeSpotFleetInstancesOutput
with field(s):active_instances(Option<Vec::<ActiveInstance>>)
:The running instances. This list is refreshed periodically and might be out of date.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.spot_fleet_request_id(Option<String>)
:The ID of the Spot Fleet request.
- On failure, responds with
SdkError<DescribeSpotFleetInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_fleet_request_history(
&self,
) -> DescribeSpotFleetRequestHistoryFluentBuilder
pub fn describe_spot_fleet_request_history( &self, ) -> DescribeSpotFleetRequestHistoryFluentBuilder
Constructs a fluent builder for the DescribeSpotFleetRequestHistory
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_fleet_request_id(impl Into<String>)
/set_spot_fleet_request_id(Option<String>)
:
required: trueThe ID of the Spot Fleet request.
event_type(EventType)
/set_event_type(Option<EventType>)
:
required: falseThe type of events to describe. By default, all events are described.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: trueThe starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to include in another request to get the next page of items. This value is
null
when there are no more items to return.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeSpotFleetRequestHistoryOutput
with field(s):history_records(Option<Vec::<HistoryRecord>>)
:Information about the events in the history of the Spot Fleet request.
last_evaluated_time(Option<DateTime>)
:The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). All records up to this time were retrieved.
If
nextToken
indicates that there are more items, this value is not present.next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.spot_fleet_request_id(Option<String>)
:The ID of the Spot Fleet request.
start_time(Option<DateTime>)
:The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
- On failure, responds with
SdkError<DescribeSpotFleetRequestHistoryError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_fleet_requests(
&self,
) -> DescribeSpotFleetRequestsFluentBuilder
pub fn describe_spot_fleet_requests( &self, ) -> DescribeSpotFleetRequestsFluentBuilder
Constructs a fluent builder for the DescribeSpotFleetRequests
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_fleet_request_ids(impl Into<String>)
/set_spot_fleet_request_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Spot Fleet requests.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to include in another request to get the next page of items. This value is
null
when there are no more items to return.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeSpotFleetRequestsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.spot_fleet_request_configs(Option<Vec::<SpotFleetRequestConfig>>)
:Information about the configuration of your Spot Fleet.
- On failure, responds with
SdkError<DescribeSpotFleetRequestsError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_instance_requests(
&self,
) -> DescribeSpotInstanceRequestsFluentBuilder
pub fn describe_spot_instance_requests( &self, ) -> DescribeSpotInstanceRequestsFluentBuilder
Constructs a fluent builder for the DescribeSpotInstanceRequests
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_instance_request_ids(impl Into<String>)
/set_spot_instance_request_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Spot Instance requests.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone-group
- The Availability Zone group. -
create-time
- The time stamp when the Spot Instance request was created. -
fault-code
- The fault code related to the request. -
fault-message
- The fault message related to the request. -
instance-id
- The ID of the instance that fulfilled the request. -
launch-group
- The Spot Instance launch group. -
launch.block-device-mapping.delete-on-termination
- Indicates whether the EBS volume is deleted on instance termination. -
launch.block-device-mapping.device-name
- The device name for the volume in the block device mapping (for example,/dev/sdh
orxvdh
). -
launch.block-device-mapping.snapshot-id
- The ID of the snapshot for the EBS volume. -
launch.block-device-mapping.volume-size
- The size of the EBS volume, in GiB. -
launch.block-device-mapping.volume-type
- The type of EBS volume:gp2
orgp3
for General Purpose SSD,io1
orio2
for Provisioned IOPS SSD,st1
for Throughput Optimized HDD,sc1
for Cold HDD, orstandard
for Magnetic. -
launch.group-id
- The ID of the security group for the instance. -
launch.group-name
- The name of the security group for the instance. -
launch.image-id
- The ID of the AMI. -
launch.instance-type
- The type of instance (for example,m3.medium
). -
launch.kernel-id
- The kernel ID. -
launch.key-name
- The name of the key pair the instance launched with. -
launch.monitoring-enabled
- Whether detailed monitoring is enabled for the Spot Instance. -
launch.ramdisk-id
- The RAM disk ID. -
launched-availability-zone
- The Availability Zone in which the request is launched. -
network-interface.addresses.primary
- Indicates whether the IP address is the primary private IP address. -
network-interface.delete-on-termination
- Indicates whether the network interface is deleted when the instance is terminated. -
network-interface.description
- A description of the network interface. -
network-interface.device-index
- The index of the device for the network interface attachment on the instance. -
network-interface.group-id
- The ID of the security group associated with the network interface. -
network-interface.network-interface-id
- The ID of the network interface. -
network-interface.private-ip-address
- The primary private IP address of the network interface. -
network-interface.subnet-id
- The ID of the subnet for the instance. -
product-description
- The product description associated with the instance (Linux/UNIX
|Windows
). -
spot-instance-request-id
- The Spot Instance request ID. -
spot-price
- The maximum hourly price for any Spot Instance launched to fulfill the request. -
state
- The state of the Spot Instance request (open
|active
|closed
|cancelled
|failed
). Spot request status information can help you track your Amazon EC2 Spot Instance requests. For more information, see Spot request status in the Amazon EC2 User Guide. -
status-code
- The short code describing the most recent evaluation of your Spot Instance request. -
status-message
- The message explaining the status of the Spot Instance request. -
tag:
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
type
- The type of Spot Instance request (one-time
|persistent
). -
valid-from
- The start date of the request. -
valid-until
- The end date of the request.
-
- On success, responds with
DescribeSpotInstanceRequestsOutput
with field(s):spot_instance_requests(Option<Vec::<SpotInstanceRequest>>)
:The Spot Instance requests.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeSpotInstanceRequestsError>
Source§impl Client
impl Client
Sourcepub fn describe_spot_price_history(
&self,
) -> DescribeSpotPriceHistoryFluentBuilder
pub fn describe_spot_price_history( &self, ) -> DescribeSpotPriceHistoryFluentBuilder
Constructs a fluent builder for the DescribeSpotPriceHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: falseThe date and time, up to the past 90 days, from which to start retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: falseThe date and time, up to the current date, from which to stop retrieving the price history data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
instance_types(InstanceType)
/set_instance_types(Option<Vec::<InstanceType>>)
:
required: falseFilters the results by the specified instance types.
product_descriptions(impl Into<String>)
/set_product_descriptions(Option<Vec::<String>>)
:
required: falseFilters the results by the specified basic product descriptions.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone for which prices should be returned. -
instance-type
- The type of instance (for example,m3.medium
). -
product-description
- The product description for the Spot price (Linux/UNIX
|Red Hat Enterprise Linux
|SUSE Linux
|Windows
|Linux/UNIX (Amazon VPC)
|Red Hat Enterprise Linux (Amazon VPC)
|SUSE Linux (Amazon VPC)
|Windows (Amazon VPC)
). -
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported). -
timestamp
- The time stamp of the Spot price history, in UTC format (for example, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (*
and?
). Greater than or less than comparison is not supported.
-
availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: falseFilters the results by the specified Availability Zone.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeSpotPriceHistoryOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is an empty string (
“”
) ornull
when there are no more items to return.spot_price_history(Option<Vec::<SpotPrice>>)
:The historical Spot prices.
- On failure, responds with
SdkError<DescribeSpotPriceHistoryError>
Source§impl Client
impl Client
Sourcepub fn describe_stale_security_groups(
&self,
) -> DescribeStaleSecurityGroupsFluentBuilder
pub fn describe_stale_security_groups( &self, ) -> DescribeStaleSecurityGroupsFluentBuilder
Constructs a fluent builder for the DescribeStaleSecurityGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
DescribeStaleSecurityGroupsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.stale_security_group_set(Option<Vec::<StaleSecurityGroup>>)
:Information about the stale security groups.
- On failure, responds with
SdkError<DescribeStaleSecurityGroupsError>
Source§impl Client
impl Client
Sourcepub fn describe_store_image_tasks(&self) -> DescribeStoreImageTasksFluentBuilder
pub fn describe_store_image_tasks(&self) -> DescribeStoreImageTasksFluentBuilder
Constructs a fluent builder for the DescribeStoreImageTasks
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
image_ids(impl Into<String>)
/set_image_ids(Option<Vec::<String>>)
:
required: falseThe AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
task-state
- Returns tasks in a certain state (InProgress
|Completed
|Failed
) -
bucket
- Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.
When you specify the
ImageIds
parameter, any filters that you specify are ignored. To use the filters, you must remove theImageIds
parameter.-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You cannot specify this parameter and the
ImageIds
parameter in the same call.
- On success, responds with
DescribeStoreImageTasksOutput
with field(s):store_image_task_results(Option<Vec::<StoreImageTaskResult>>)
:The information about the AMI store tasks.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeStoreImageTasksError>
Source§impl Client
impl Client
Sourcepub fn describe_subnets(&self) -> DescribeSubnetsFluentBuilder
pub fn describe_subnets(&self) -> DescribeSubnetsFluentBuilder
Constructs a fluent builder for the DescribeSubnets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
availability-zone
- The Availability Zone for the subnet. You can also useavailabilityZone
as the filter name. -
availability-zone-id
- The ID of the Availability Zone for the subnet. You can also useavailabilityZoneId
as the filter name. -
available-ip-address-count
- The number of IPv4 addresses in the subnet that are available. -
cidr-block
- The IPv4 CIDR block of the subnet. The CIDR block you specify must exactly match the subnet’s CIDR block for information to be returned for the subnet. You can also usecidr
orcidrBlock
as the filter names. -
customer-owned-ipv4-pool
- The customer-owned IPv4 address pool associated with the subnet. -
default-for-az
- Indicates whether this is the default subnet for the Availability Zone (true
|false
). You can also usedefaultForAz
as the filter name. -
enable-dns64
- Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. -
enable-lni-at-device-index
- Indicates the device position for local network interfaces in this subnet. For example,1
indicates local network interfaces in this subnet are the secondary network interface (eth1). -
ipv6-cidr-block-association.ipv6-cidr-block
- An IPv6 CIDR block associated with the subnet. -
ipv6-cidr-block-association.association-id
- An association ID for an IPv6 CIDR block associated with the subnet. -
ipv6-cidr-block-association.state
- The state of an IPv6 CIDR block associated with the subnet. -
ipv6-native
- Indicates whether this is an IPv6 only subnet (true
|false
). -
map-customer-owned-ip-on-launch
- Indicates whether a network interface created in this subnet (including a network interface created byRunInstances
) receives a customer-owned IPv4 address. -
map-public-ip-on-launch
- Indicates whether instances launched in this subnet receive a public IPv4 address. -
outpost-arn
- The Amazon Resource Name (ARN) of the Outpost. -
owner-id
- The ID of the Amazon Web Services account that owns the subnet. -
private-dns-name-options-on-launch.hostname-type
- The type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the instance ID (resource-name). -
private-dns-name-options-on-launch.enable-resource-name-dns-a-record
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records. -
private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. -
state
- The state of the subnet (pending
|available
). -
subnet-arn
- The Amazon Resource Name (ARN) of the subnet. -
subnet-id
- The ID of the subnet. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC for the subnet.
-
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the subnets.
Default: Describes all your subnets.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeSubnetsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.subnets(Option<Vec::<Subnet>>)
:Information about the subnets.
- On failure, responds with
SdkError<DescribeSubnetsError>
Source§impl Client
impl Client
Constructs a fluent builder for the DescribeTags
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
key
- The tag key. -
resource-id
- The ID of the resource. -
resource-type
- The resource type. For a list of possible values, see TagSpecification. -
tag
:- The key/value combination of the tag. For example, specify “tag:Owner” for the filter name and “TeamA” for the filter value to find resources with the tag “Owner=TeamA”. -
value
- The tag value.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. This value can be between 5 and 1000. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeTagsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.tags(Option<Vec::<TagDescription>>)
:The tags.
- On failure, responds with
SdkError<DescribeTagsError>
Source§impl Client
impl Client
Sourcepub fn describe_traffic_mirror_filter_rules(
&self,
) -> DescribeTrafficMirrorFilterRulesFluentBuilder
pub fn describe_traffic_mirror_filter_rules( &self, ) -> DescribeTrafficMirrorFilterRulesFluentBuilder
Constructs a fluent builder for the DescribeTrafficMirrorFilterRules
operation.
- The fluent builder is configurable:
traffic_mirror_filter_rule_ids(impl Into<String>)
/set_traffic_mirror_filter_rule_ids(Option<Vec::<String>>)
:
required: falseTraffic filter rule IDs.
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: falseTraffic filter ID.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseTraffic mirror filters.
-
traffic-mirror-filter-rule-id
: The ID of the Traffic Mirror rule. -
traffic-mirror-filter-id
: The ID of the filter that this rule is associated with. -
rule-number
: The number of the Traffic Mirror rule. -
rule-action
: The action taken on the filtered traffic. Possible actions areaccept
andreject
. -
traffic-direction
: The traffic direction. Possible directions areingress
andegress
. -
protocol
: The protocol, for example UDP, assigned to the Traffic Mirror rule. -
source-cidr-block
: The source CIDR block assigned to the Traffic Mirror rule. -
destination-cidr-block
: The destination CIDR block assigned to the Traffic Mirror rule. -
description
: The description of the Traffic Mirror rule.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeTrafficMirrorFilterRulesOutput
with field(s):traffic_mirror_filter_rules(Option<Vec::<TrafficMirrorFilterRule>>)
:Traffic mirror rules.
next_token(Option<String>)
:The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTrafficMirrorFilterRulesError>
Source§impl Client
impl Client
Sourcepub fn describe_traffic_mirror_filters(
&self,
) -> DescribeTrafficMirrorFiltersFluentBuilder
pub fn describe_traffic_mirror_filters( &self, ) -> DescribeTrafficMirrorFiltersFluentBuilder
Constructs a fluent builder for the DescribeTrafficMirrorFilters
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
traffic_mirror_filter_ids(impl Into<String>)
/set_traffic_mirror_filter_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Traffic Mirror filter.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
description
: The Traffic Mirror filter description. -
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeTrafficMirrorFiltersOutput
with field(s):traffic_mirror_filters(Option<Vec::<TrafficMirrorFilter>>)
:Information about one or more Traffic Mirror filters.
next_token(Option<String>)
:The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTrafficMirrorFiltersError>
Source§impl Client
impl Client
Sourcepub fn describe_traffic_mirror_sessions(
&self,
) -> DescribeTrafficMirrorSessionsFluentBuilder
pub fn describe_traffic_mirror_sessions( &self, ) -> DescribeTrafficMirrorSessionsFluentBuilder
Constructs a fluent builder for the DescribeTrafficMirrorSessions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
traffic_mirror_session_ids(impl Into<String>)
/set_traffic_mirror_session_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Traffic Mirror session.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
description
: The Traffic Mirror session description. -
network-interface-id
: The ID of the Traffic Mirror session network interface. -
owner-id
: The ID of the account that owns the Traffic Mirror session. -
packet-length
: The assigned number of packets to mirror. -
session-number
: The assigned session number. -
traffic-mirror-filter-id
: The ID of the Traffic Mirror filter. -
traffic-mirror-session-id
: The ID of the Traffic Mirror session. -
traffic-mirror-target-id
: The ID of the Traffic Mirror target. -
virtual-network-id
: The virtual network ID of the Traffic Mirror session.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeTrafficMirrorSessionsOutput
with field(s):traffic_mirror_sessions(Option<Vec::<TrafficMirrorSession>>)
:Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.
next_token(Option<String>)
:The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTrafficMirrorSessionsError>
Source§impl Client
impl Client
Sourcepub fn describe_traffic_mirror_targets(
&self,
) -> DescribeTrafficMirrorTargetsFluentBuilder
pub fn describe_traffic_mirror_targets( &self, ) -> DescribeTrafficMirrorTargetsFluentBuilder
Constructs a fluent builder for the DescribeTrafficMirrorTargets
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
traffic_mirror_target_ids(impl Into<String>)
/set_traffic_mirror_target_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Traffic Mirror targets.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
description
: The Traffic Mirror target description. -
network-interface-id
: The ID of the Traffic Mirror session network interface. -
network-load-balancer-arn
: The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the session. -
owner-id
: The ID of the account that owns the Traffic Mirror session. -
traffic-mirror-target-id
: The ID of the Traffic Mirror target.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
DescribeTrafficMirrorTargetsOutput
with field(s):traffic_mirror_targets(Option<Vec::<TrafficMirrorTarget>>)
:Information about one or more Traffic Mirror targets.
next_token(Option<String>)
:The token to use to retrieve the next page of results. The value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTrafficMirrorTargetsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_attachments(
&self,
) -> DescribeTransitGatewayAttachmentsFluentBuilder
pub fn describe_transit_gateway_attachments( &self, ) -> DescribeTransitGatewayAttachmentsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayAttachments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_attachment_ids(impl Into<String>)
/set_transit_gateway_attachment_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the attachments.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
association.state
- The state of the association (associating
|associated
|disassociating
). -
association.transit-gateway-route-table-id
- The ID of the route table for the transit gateway. -
resource-id
- The ID of the resource. -
resource-owner-id
- The ID of the Amazon Web Services account that owns the resource. -
resource-type
- The resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
. -
state
- The state of the attachment. Valid values areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
. -
transit-gateway-attachment-id
- The ID of the attachment. -
transit-gateway-id
- The ID of the transit gateway. -
transit-gateway-owner-id
- The ID of the Amazon Web Services account that owns the transit gateway.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayAttachmentsOutput
with field(s):transit_gateway_attachments(Option<Vec::<TransitGatewayAttachment>>)
:Information about the attachments.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayAttachmentsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_connect_peers(
&self,
) -> DescribeTransitGatewayConnectPeersFluentBuilder
pub fn describe_transit_gateway_connect_peers( &self, ) -> DescribeTransitGatewayConnectPeersFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayConnectPeers
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_connect_peer_ids(impl Into<String>)
/set_transit_gateway_connect_peer_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Connect peers.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
state
- The state of the Connect peer (pending
|available
|deleting
|deleted
). -
transit-gateway-attachment-id
- The ID of the attachment. -
transit-gateway-connect-peer-id
- The ID of the Connect peer.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayConnectPeersOutput
with field(s):transit_gateway_connect_peers(Option<Vec::<TransitGatewayConnectPeer>>)
:Information about the Connect peers.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayConnectPeersError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_connects(
&self,
) -> DescribeTransitGatewayConnectsFluentBuilder
pub fn describe_transit_gateway_connects( &self, ) -> DescribeTransitGatewayConnectsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayConnects
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_attachment_ids(impl Into<String>)
/set_transit_gateway_attachment_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the attachments.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
options.protocol
- The tunnel protocol (gre
). -
state
- The state of the attachment (initiating
|initiatingRequest
|pendingAcceptance
|rollingBack
|pending
|available
|modifying
|deleting
|deleted
|failed
|rejected
|rejecting
|failing
). -
transit-gateway-attachment-id
- The ID of the Connect attachment. -
transit-gateway-id
- The ID of the transit gateway. -
transport-transit-gateway-attachment-id
- The ID of the transit gateway attachment from which the Connect attachment was created.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayConnectsOutput
with field(s):transit_gateway_connects(Option<Vec::<TransitGatewayConnect>>)
:Information about the Connect attachments.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayConnectsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_multicast_domains(
&self,
) -> DescribeTransitGatewayMulticastDomainsFluentBuilder
pub fn describe_transit_gateway_multicast_domains( &self, ) -> DescribeTransitGatewayMulticastDomainsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayMulticastDomains
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_multicast_domain_ids(impl Into<String>)
/set_transit_gateway_multicast_domain_ids(Option<Vec::<String>>)
:
required: falseThe ID of the transit gateway multicast domain.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
state
- The state of the transit gateway multicast domain. Valid values arepending
|available
|deleting
|deleted
. -
transit-gateway-id
- The ID of the transit gateway. -
transit-gateway-multicast-domain-id
- The ID of the transit gateway multicast domain.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayMulticastDomainsOutput
with field(s):transit_gateway_multicast_domains(Option<Vec::<TransitGatewayMulticastDomain>>)
:Information about the transit gateway multicast domains.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayMulticastDomainsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_peering_attachments(
&self,
) -> DescribeTransitGatewayPeeringAttachmentsFluentBuilder
pub fn describe_transit_gateway_peering_attachments( &self, ) -> DescribeTransitGatewayPeeringAttachmentsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayPeeringAttachments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_attachment_ids(impl Into<String>)
/set_transit_gateway_attachment_ids(Option<Vec::<String>>)
:
required: falseOne or more IDs of the transit gateway peering attachments.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
transit-gateway-attachment-id
- The ID of the transit gateway attachment. -
local-owner-id
- The ID of your Amazon Web Services account. -
remote-owner-id
- The ID of the Amazon Web Services account in the remote Region that owns the transit gateway. -
state
- The state of the peering attachment. Valid values areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value. -
transit-gateway-id
- The ID of the transit gateway.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayPeeringAttachmentsOutput
with field(s):transit_gateway_peering_attachments(Option<Vec::<TransitGatewayPeeringAttachment>>)
:The transit gateway peering attachments.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayPeeringAttachmentsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_policy_tables(
&self,
) -> DescribeTransitGatewayPolicyTablesFluentBuilder
pub fn describe_transit_gateway_policy_tables( &self, ) -> DescribeTransitGatewayPolicyTablesFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayPolicyTables
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_policy_table_ids(impl Into<String>)
/set_transit_gateway_policy_table_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the transit gateway policy tables.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters associated with the transit gateway policy table.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayPolicyTablesOutput
with field(s):transit_gateway_policy_tables(Option<Vec::<TransitGatewayPolicyTable>>)
:Describes the transit gateway policy tables.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<DescribeTransitGatewayPolicyTablesError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_route_table_announcements(
&self,
) -> DescribeTransitGatewayRouteTableAnnouncementsFluentBuilder
pub fn describe_transit_gateway_route_table_announcements( &self, ) -> DescribeTransitGatewayRouteTableAnnouncementsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayRouteTableAnnouncements
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_route_table_announcement_ids(impl Into<String>)
/set_transit_gateway_route_table_announcement_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the transit gateway route tables that are being advertised.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters associated with the transit gateway policy table.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayRouteTableAnnouncementsOutput
with field(s):transit_gateway_route_table_announcements(Option<Vec::<TransitGatewayRouteTableAnnouncement>>)
:Describes the transit gateway route table announcement.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<DescribeTransitGatewayRouteTableAnnouncementsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_route_tables(
&self,
) -> DescribeTransitGatewayRouteTablesFluentBuilder
pub fn describe_transit_gateway_route_tables( &self, ) -> DescribeTransitGatewayRouteTablesFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayRouteTables
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_route_table_ids(impl Into<String>)
/set_transit_gateway_route_table_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the transit gateway route tables.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
default-association-route-table
- Indicates whether this is the default association route table for the transit gateway (true
|false
). -
default-propagation-route-table
- Indicates whether this is the default propagation route table for the transit gateway (true
|false
). -
state
- The state of the route table (available
|deleting
|deleted
|pending
). -
transit-gateway-id
- The ID of the transit gateway. -
transit-gateway-route-table-id
- The ID of the transit gateway route table.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayRouteTablesOutput
with field(s):transit_gateway_route_tables(Option<Vec::<TransitGatewayRouteTable>>)
:Information about the transit gateway route tables.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayRouteTablesError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateway_vpc_attachments(
&self,
) -> DescribeTransitGatewayVpcAttachmentsFluentBuilder
pub fn describe_transit_gateway_vpc_attachments( &self, ) -> DescribeTransitGatewayVpcAttachmentsFluentBuilder
Constructs a fluent builder for the DescribeTransitGatewayVpcAttachments
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_attachment_ids(impl Into<String>)
/set_transit_gateway_attachment_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the attachments.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
state
- The state of the attachment. Valid values areavailable
|deleted
|deleting
|failed
|failing
|initiatingRequest
|modifying
|pendingAcceptance
|pending
|rollingBack
|rejected
|rejecting
. -
transit-gateway-attachment-id
- The ID of the attachment. -
transit-gateway-id
- The ID of the transit gateway. -
vpc-id
- The ID of the VPC.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewayVpcAttachmentsOutput
with field(s):transit_gateway_vpc_attachments(Option<Vec::<TransitGatewayVpcAttachment>>)
:Information about the VPC attachments.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewayVpcAttachmentsError>
Source§impl Client
impl Client
Sourcepub fn describe_transit_gateways(&self) -> DescribeTransitGatewaysFluentBuilder
pub fn describe_transit_gateways(&self) -> DescribeTransitGatewaysFluentBuilder
Constructs a fluent builder for the DescribeTransitGateways
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_ids(impl Into<String>)
/set_transit_gateway_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the transit gateways.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
options.propagation-default-route-table-id
- The ID of the default propagation route table. -
options.amazon-side-asn
- The private ASN for the Amazon side of a BGP session. -
options.association-default-route-table-id
- The ID of the default association route table. -
options.auto-accept-shared-attachments
- Indicates whether there is automatic acceptance of attachment requests (enable
|disable
). -
options.default-route-table-association
- Indicates whether resource attachments are automatically associated with the default association route table (enable
|disable
). -
options.default-route-table-propagation
- Indicates whether resource attachments automatically propagate routes to the default propagation route table (enable
|disable
). -
options.dns-support
- Indicates whether DNS support is enabled (enable
|disable
). -
options.vpn-ecmp-support
- Indicates whether Equal Cost Multipath Protocol support is enabled (enable
|disable
). -
owner-id
- The ID of the Amazon Web Services account that owns the transit gateway. -
state
- The state of the transit gateway (available
|deleted
|deleting
|modifying
|pending
). -
transit-gateway-id
- The ID of the transit gateway. -
tag-key
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeTransitGatewaysOutput
with field(s):transit_gateways(Option<Vec::<TransitGateway>>)
:Information about the transit gateways.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTransitGatewaysError>
Source§impl Client
impl Client
Sourcepub fn describe_trunk_interface_associations(
&self,
) -> DescribeTrunkInterfaceAssociationsFluentBuilder
pub fn describe_trunk_interface_associations( &self, ) -> DescribeTrunkInterfaceAssociationsFluentBuilder
Constructs a fluent builder for the DescribeTrunkInterfaceAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
association_ids(impl Into<String>)
/set_association_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the associations.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
gre-key
- The ID of a trunk interface association. -
interface-protocol
- The interface protocol. Valid values areVLAN
andGRE
.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.
- On success, responds with
DescribeTrunkInterfaceAssociationsOutput
with field(s):interface_associations(Option<Vec::<TrunkInterfaceAssociation>>)
:Information about the trunk associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeTrunkInterfaceAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_verified_access_endpoints(
&self,
) -> DescribeVerifiedAccessEndpointsFluentBuilder
pub fn describe_verified_access_endpoints( &self, ) -> DescribeVerifiedAccessEndpointsFluentBuilder
Constructs a fluent builder for the DescribeVerifiedAccessEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
verified_access_endpoint_ids(impl Into<String>)
/set_verified_access_endpoint_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Verified Access endpoint.
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: falseThe ID of the Verified Access instance.
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: falseThe ID of the Verified Access group.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVerifiedAccessEndpointsOutput
with field(s):verified_access_endpoints(Option<Vec::<VerifiedAccessEndpoint>>)
:Details about the Verified Access endpoints.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVerifiedAccessEndpointsError>
Source§impl Client
impl Client
Sourcepub fn describe_verified_access_groups(
&self,
) -> DescribeVerifiedAccessGroupsFluentBuilder
pub fn describe_verified_access_groups( &self, ) -> DescribeVerifiedAccessGroupsFluentBuilder
Constructs a fluent builder for the DescribeVerifiedAccessGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
verified_access_group_ids(impl Into<String>)
/set_verified_access_group_ids(Option<Vec::<String>>)
:
required: falseThe ID of the Verified Access groups.
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: falseThe ID of the Verified Access instance.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVerifiedAccessGroupsOutput
with field(s):verified_access_groups(Option<Vec::<VerifiedAccessGroup>>)
:Details about the Verified Access groups.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVerifiedAccessGroupsError>
Source§impl Client
impl Client
Sourcepub fn describe_verified_access_instance_logging_configurations(
&self,
) -> DescribeVerifiedAccessInstanceLoggingConfigurationsFluentBuilder
pub fn describe_verified_access_instance_logging_configurations( &self, ) -> DescribeVerifiedAccessInstanceLoggingConfigurationsFluentBuilder
Constructs a fluent builder for the DescribeVerifiedAccessInstanceLoggingConfigurations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
verified_access_instance_ids(impl Into<String>)
/set_verified_access_instance_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Verified Access instances.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVerifiedAccessInstanceLoggingConfigurationsOutput
with field(s):logging_configurations(Option<Vec::<VerifiedAccessInstanceLoggingConfiguration>>)
:The logging configuration for the Verified Access instances.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVerifiedAccessInstanceLoggingConfigurationsError>
Source§impl Client
impl Client
Sourcepub fn describe_verified_access_instances(
&self,
) -> DescribeVerifiedAccessInstancesFluentBuilder
pub fn describe_verified_access_instances( &self, ) -> DescribeVerifiedAccessInstancesFluentBuilder
Constructs a fluent builder for the DescribeVerifiedAccessInstances
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
verified_access_instance_ids(impl Into<String>)
/set_verified_access_instance_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Verified Access instances.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVerifiedAccessInstancesOutput
with field(s):verified_access_instances(Option<Vec::<VerifiedAccessInstance>>)
:Details about the Verified Access instances.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVerifiedAccessInstancesError>
Source§impl Client
impl Client
Sourcepub fn describe_verified_access_trust_providers(
&self,
) -> DescribeVerifiedAccessTrustProvidersFluentBuilder
pub fn describe_verified_access_trust_providers( &self, ) -> DescribeVerifiedAccessTrustProvidersFluentBuilder
Constructs a fluent builder for the DescribeVerifiedAccessTrustProviders
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
verified_access_trust_provider_ids(impl Into<String>)
/set_verified_access_trust_provider_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the Verified Access trust providers.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. Filter names and values are case-sensitive.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVerifiedAccessTrustProvidersOutput
with field(s):verified_access_trust_providers(Option<Vec::<VerifiedAccessTrustProvider>>)
:Details about the Verified Access trust providers.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVerifiedAccessTrustProvidersError>
Source§impl Client
impl Client
Sourcepub fn describe_volume_attribute(&self) -> DescribeVolumeAttributeFluentBuilder
pub fn describe_volume_attribute(&self) -> DescribeVolumeAttributeFluentBuilder
Constructs a fluent builder for the DescribeVolumeAttribute
operation.
- The fluent builder is configurable:
attribute(VolumeAttributeName)
/set_attribute(Option<VolumeAttributeName>)
:
required: trueThe attribute of the volume. This parameter is required.
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVolumeAttributeOutput
with field(s):auto_enable_io(Option<AttributeBooleanValue>)
:The state of
autoEnableIO
attribute.product_codes(Option<Vec::<ProductCode>>)
:A list of product codes.
volume_id(Option<String>)
:The ID of the volume.
- On failure, responds with
SdkError<DescribeVolumeAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_volume_status(&self) -> DescribeVolumeStatusFluentBuilder
pub fn describe_volume_status(&self) -> DescribeVolumeStatusFluentBuilder
Constructs a fluent builder for the DescribeVolumeStatus
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
volume_ids(impl Into<String>)
/set_volume_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the volumes.
Default: Describes all your volumes.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
action.code
- The action code for the event (for example,enable-volume-io
). -
action.description
- A description of the action. -
action.event-id
- The event ID associated with the action. -
availability-zone
- The Availability Zone of the instance. -
event.description
- A description of the event. -
event.event-id
- The event ID. -
event.event-type
- The event type (forio-enabled
:passed
|failed
; forio-performance
:io-performance:degraded
|io-performance:severely-degraded
|io-performance:stalled
). -
event.not-after
- The latest end time for the event. -
event.not-before
- The earliest start time for the event. -
volume-status.details-name
- The cause forvolume-status.status
(io-enabled
|io-performance
). -
volume-status.details-status
- The status ofvolume-status.details-name
(forio-enabled
:passed
|failed
; forio-performance
:normal
|degraded
|severely-degraded
|stalled
). -
volume-status.status
- The status of the volume (ok
|impaired
|warning
|insufficient-data
).
-
- On success, responds with
DescribeVolumeStatusOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.volume_statuses(Option<Vec::<VolumeStatusItem>>)
:Information about the status of the volumes.
- On failure, responds with
SdkError<DescribeVolumeStatusError>
Source§impl Client
impl Client
Sourcepub fn describe_volumes(&self) -> DescribeVolumesFluentBuilder
pub fn describe_volumes(&self) -> DescribeVolumesFluentBuilder
Constructs a fluent builder for the DescribeVolumes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
volume_ids(impl Into<String>)
/set_volume_ids(Option<Vec::<String>>)
:
required: falseThe volume IDs. If not specified, then all volumes are included in the response.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
attachment.attach-time
- The time stamp when the attachment initiated. -
attachment.delete-on-termination
- Whether the volume is deleted on instance termination. -
attachment.device
- The device name specified in the block device mapping (for example,/dev/sda1
). -
attachment.instance-id
- The ID of the instance the volume is attached to. -
attachment.status
- The attachment state (attaching
|attached
|detaching
). -
availability-zone
- The Availability Zone in which the volume was created. -
create-time
- The time stamp when the volume was created. -
encrypted
- Indicates whether the volume is encrypted (true
|false
) -
fast-restored
- Indicates whether the volume was created from a snapshot that is enabled for fast snapshot restore (true
|false
). -
multi-attach-enabled
- Indicates whether the volume is enabled for Multi-Attach (true
|false
) -
operator.managed
- A Boolean that indicates whether this is a managed volume. -
operator.principal
- The principal that manages the volume. Only valid for managed volumes, wheremanaged
istrue
. -
size
- The size of the volume, in GiB. -
snapshot-id
- The snapshot from which the volume was created. -
status
- The state of the volume (creating
|available
|in-use
|deleting
|deleted
|error
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
volume-id
- The volume ID. -
volume-type
- The Amazon EBS volume type (gp2
|gp3
|io1
|io2
|st1
|sc1
|standard
)
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeVolumesOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.volumes(Option<Vec::<Volume>>)
:Information about the volumes.
- On failure, responds with
SdkError<DescribeVolumesError>
Source§impl Client
impl Client
Sourcepub fn describe_volumes_modifications(
&self,
) -> DescribeVolumesModificationsFluentBuilder
pub fn describe_volumes_modifications( &self, ) -> DescribeVolumesModificationsFluentBuilder
Constructs a fluent builder for the DescribeVolumesModifications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.volume_ids(impl Into<String>)
/set_volume_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the volumes.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
modification-state
- The current modification state (modifying | optimizing | completed | failed). -
original-iops
- The original IOPS rate of the volume. -
original-size
- The original size of the volume, in GiB. -
original-volume-type
- The original volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
originalMultiAttachEnabled
- Indicates whether Multi-Attach support was enabled (true | false). -
start-time
- The modification start time. -
target-iops
- The target IOPS rate of the volume. -
target-size
- The target size of the volume, in GiB. -
target-volume-type
- The target volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
targetMultiAttachEnabled
- Indicates whether Multi-Attach support is to be enabled (true | false). -
volume-id
- The ID of the volume.
-
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results (up to a limit of 500) to be returned in a paginated request. For more information, see Pagination.
- On success, responds with
DescribeVolumesModificationsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.volumes_modifications(Option<Vec::<VolumeModification>>)
:Information about the volume modifications.
- On failure, responds with
SdkError<DescribeVolumesModificationsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_attribute(&self) -> DescribeVpcAttributeFluentBuilder
pub fn describe_vpc_attribute(&self) -> DescribeVpcAttributeFluentBuilder
Constructs a fluent builder for the DescribeVpcAttribute
operation.
- The fluent builder is configurable:
attribute(VpcAttributeName)
/set_attribute(Option<VpcAttributeName>)
:
required: trueThe VPC attribute.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVpcAttributeOutput
with field(s):enable_dns_hostnames(Option<AttributeBooleanValue>)
:Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.enable_dns_support(Option<AttributeBooleanValue>)
:Indicates whether DNS resolution is enabled for the VPC. If this attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.enable_network_address_usage_metrics(Option<AttributeBooleanValue>)
:Indicates whether Network Address Usage metrics are enabled for your VPC.
vpc_id(Option<String>)
:The ID of the VPC.
- On failure, responds with
SdkError<DescribeVpcAttributeError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_block_public_access_exclusions(
&self,
) -> DescribeVpcBlockPublicAccessExclusionsFluentBuilder
pub fn describe_vpc_block_public_access_exclusions( &self, ) -> DescribeVpcBlockPublicAccessExclusionsFluentBuilder
Constructs a fluent builder for the DescribeVpcBlockPublicAccessExclusions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilters for the request:
-
resource-arn
- The Amazon Resource Name (ARN) of a exclusion. -
internet-gateway-exclusion-mode
- The mode of a VPC BPA exclusion. Possible values:allow-bidirectional | allow-egress
. -
state
- The state of VPC BPA. Possible values:create-in-progress | create-complete | update-in-progress | update-complete | delete-in-progress | deleted-complete | disable-in-progress | disable-complete
-
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
tag-value
: The value of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific value, regardless of the tag key.
-
exclusion_ids(impl Into<String>)
/set_exclusion_ids(Option<Vec::<String>>)
:
required: falseIDs of exclusions.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- On success, responds with
DescribeVpcBlockPublicAccessExclusionsOutput
with field(s):vpc_block_public_access_exclusions(Option<Vec::<VpcBlockPublicAccessExclusion>>)
:Details related to the exclusions.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeVpcBlockPublicAccessExclusionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_block_public_access_options(
&self,
) -> DescribeVpcBlockPublicAccessOptionsFluentBuilder
pub fn describe_vpc_block_public_access_options( &self, ) -> DescribeVpcBlockPublicAccessOptionsFluentBuilder
Constructs a fluent builder for the DescribeVpcBlockPublicAccessOptions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVpcBlockPublicAccessOptionsOutput
with field(s):vpc_block_public_access_options(Option<VpcBlockPublicAccessOptions>)
:Details related to the options.
- On failure, responds with
SdkError<DescribeVpcBlockPublicAccessOptionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_classic_link(&self) -> DescribeVpcClassicLinkFluentBuilder
pub fn describe_vpc_classic_link(&self) -> DescribeVpcClassicLinkFluentBuilder
Constructs a fluent builder for the DescribeVpcClassicLink
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_ids(impl Into<String>)
/set_vpc_ids(Option<Vec::<String>>)
:
required: falseThe VPCs for which you want to describe the ClassicLink status.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
is-classic-link-enabled
- Whether the VPC is enabled for ClassicLink (true
|false
). -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
- On success, responds with
DescribeVpcClassicLinkOutput
with field(s):vpcs(Option<Vec::<VpcClassicLink>>)
:The ClassicLink status of the VPCs.
- On failure, responds with
SdkError<DescribeVpcClassicLinkError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_classic_link_dns_support(
&self,
) -> DescribeVpcClassicLinkDnsSupportFluentBuilder
pub fn describe_vpc_classic_link_dns_support( &self, ) -> DescribeVpcClassicLinkDnsSupportFluentBuilder
Constructs a fluent builder for the DescribeVpcClassicLinkDnsSupport
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
vpc_ids(impl Into<String>)
/set_vpc_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the VPCs.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
DescribeVpcClassicLinkDnsSupportOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.vpcs(Option<Vec::<ClassicLinkDnsSupport>>)
:Information about the ClassicLink DNS support status of the VPCs.
- On failure, responds with
SdkError<DescribeVpcClassicLinkDnsSupportError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_associations(
&self,
) -> DescribeVpcEndpointAssociationsFluentBuilder
pub fn describe_vpc_endpoint_associations( &self, ) -> DescribeVpcEndpointAssociationsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointAssociations
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the VPC endpoints.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
vpc-endpoint-id
- The ID of the VPC endpoint. -
associated-resource-accessibility
- The association state. When the state isaccessible
, it returnsAVAILABLE
. When the state isinaccessible
, it returnsPENDING
orFAILED
. -
association-id
- The ID of the VPC endpoint association. -
associated-resource-id
- The ID of the associated resource configuration. -
service-network-arn
- The Amazon Resource Name (ARN) of the associated service network. Only VPC endpoints of type service network will be returned. -
resource-configuration-group-arn
- The Amazon Resource Name (ARN) of the resource configuration of type GROUP. -
service-network-resource-association-id
- The ID of the association.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum page size.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe pagination token.
- On success, responds with
DescribeVpcEndpointAssociationsOutput
with field(s):vpc_endpoint_associations(Option<Vec::<VpcEndpointAssociation>>)
:Details of the endpoint associations.
next_token(Option<String>)
:The pagination token.
- On failure, responds with
SdkError<DescribeVpcEndpointAssociationsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_connection_notifications(
&self,
) -> DescribeVpcEndpointConnectionNotificationsFluentBuilder
pub fn describe_vpc_endpoint_connection_notifications( &self, ) -> DescribeVpcEndpointConnectionNotificationsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointConnectionNotifications
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.connection_notification_id(impl Into<String>)
/set_connection_notification_id(Option<String>)
:
required: falseThe ID of the notification.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
connection-notification-arn
- The ARN of the SNS topic for the notification. -
connection-notification-id
- The ID of the notification. -
connection-notification-state
- The state of the notification (Enabled
|Disabled
). -
connection-notification-type
- The type of notification (Topic
). -
service-id
- The ID of the endpoint service. -
vpc-endpoint-id
- The ID of the VPC endpoint.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned
NextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to request the next page of results.
- On success, responds with
DescribeVpcEndpointConnectionNotificationsOutput
with field(s):connection_notification_set(Option<Vec::<ConnectionNotification>>)
:The notifications.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVpcEndpointConnectionNotificationsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_connections(
&self,
) -> DescribeVpcEndpointConnectionsFluentBuilder
pub fn describe_vpc_endpoint_connections( &self, ) -> DescribeVpcEndpointConnectionsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
ip-address-type
- The IP address type (ipv4
|ipv6
). -
service-id
- The ID of the service. -
vpc-endpoint-owner
- The ID of the Amazon Web Services account ID that owns the endpoint. -
vpc-endpoint-region
- The Region of the endpoint orcross-region
to find endpoints for other Regions. -
vpc-endpoint-state
- The state of the endpoint (pendingAcceptance
|pending
|available
|deleting
|deleted
|rejected
|failed
). -
vpc-endpoint-id
- The ID of the endpoint.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned
NextToken
value. This value can be between 5 and 1,000; ifMaxResults
is given a value larger than 1,000, only 1,000 results are returned.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
- On success, responds with
DescribeVpcEndpointConnectionsOutput
with field(s):vpc_endpoint_connections(Option<Vec::<VpcEndpointConnection>>)
:Information about the VPC endpoint connections.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVpcEndpointConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_service_configurations(
&self,
) -> DescribeVpcEndpointServiceConfigurationsFluentBuilder
pub fn describe_vpc_endpoint_service_configurations( &self, ) -> DescribeVpcEndpointServiceConfigurationsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointServiceConfigurations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_ids(impl Into<String>)
/set_service_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the endpoint services.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
service-name
- The name of the service. -
service-id
- The ID of the service. -
service-state
- The state of the service (Pending
|Available
|Deleting
|Deleted
|Failed
). -
supported-ip-address-types
- The IP address type (ipv4
|ipv6
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned
NextToken
value. This value can be between 5 and 1,000; ifMaxResults
is given a value larger than 1,000, only 1,000 results are returned.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
- On success, responds with
DescribeVpcEndpointServiceConfigurationsOutput
with field(s):service_configurations(Option<Vec::<ServiceConfiguration>>)
:Information about the services.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVpcEndpointServiceConfigurationsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_service_permissions(
&self,
) -> DescribeVpcEndpointServicePermissionsFluentBuilder
pub fn describe_vpc_endpoint_service_permissions( &self, ) -> DescribeVpcEndpointServicePermissionsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointServicePermissions
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the service.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
principal
- The ARN of the principal. -
principal-type
- The principal type (All
|Service
|OrganizationUnit
|Account
|User
|Role
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned
NextToken
value. This value can be between 5 and 1,000; ifMaxResults
is given a value larger than 1,000, only 1,000 results are returned.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to retrieve the next page of results.
- On success, responds with
DescribeVpcEndpointServicePermissionsOutput
with field(s):allowed_principals(Option<Vec::<AllowedPrincipal>>)
:Information about the allowed principals.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<DescribeVpcEndpointServicePermissionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoint_services(
&self,
) -> DescribeVpcEndpointServicesFluentBuilder
pub fn describe_vpc_endpoint_services( &self, ) -> DescribeVpcEndpointServicesFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpointServices
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_names(impl Into<String>)
/set_service_names(Option<Vec::<String>>)
:
required: falseThe service names.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
owner
- The ID or alias of the Amazon Web Services account that owns the service. -
service-name
- The name of the service. -
service-region
- The Region of the service. -
service-type
- The type of service (Interface
|Gateway
|GatewayLoadBalancer
). -
supported-ip-address-types
- The IP address type (ipv4
|ipv6
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next set of items to return. (You received this token from a prior call.)
service_regions(impl Into<String>)
/set_service_regions(Option<Vec::<String>>)
:
required: falseThe service Regions.
- On success, responds with
DescribeVpcEndpointServicesOutput
with field(s):service_names(Option<Vec::<String>>)
:The supported services.
service_details(Option<Vec::<ServiceDetail>>)
:Information about the service.
next_token(Option<String>)
:The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- On failure, responds with
SdkError<DescribeVpcEndpointServicesError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_endpoints(&self) -> DescribeVpcEndpointsFluentBuilder
pub fn describe_vpc_endpoints(&self) -> DescribeVpcEndpointsFluentBuilder
Constructs a fluent builder for the DescribeVpcEndpoints
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the VPC endpoints.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
ip-address-type
- The IP address type (ipv4
|ipv6
). -
service-name
- The name of the service. -
service-region
- The Region of the service. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
- The ID of the endpoint. -
vpc-endpoint-state
- The state of the endpoint (pendingAcceptance
|pending
|available
|deleting
|deleted
|rejected
|failed
). -
vpc-endpoint-type
- The type of VPC endpoint (Interface
|Gateway
|GatewayLoadBalancer
|Resource
|ServiceNetwork
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next set of items to return. (You received this token from a prior call.)
- On success, responds with
DescribeVpcEndpointsOutput
with field(s):vpc_endpoints(Option<Vec::<VpcEndpoint>>)
:Information about the VPC endpoints.
next_token(Option<String>)
:The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- On failure, responds with
SdkError<DescribeVpcEndpointsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpc_peering_connections(
&self,
) -> DescribeVpcPeeringConnectionsFluentBuilder
pub fn describe_vpc_peering_connections( &self, ) -> DescribeVpcPeeringConnectionsFluentBuilder
Constructs a fluent builder for the DescribeVpcPeeringConnections
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_peering_connection_ids(impl Into<String>)
/set_vpc_peering_connection_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the VPC peering connections.
Default: Describes all your VPC peering connections.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
accepter-vpc-info.cidr-block
- The IPv4 CIDR block of the accepter VPC. -
accepter-vpc-info.owner-id
- The ID of the Amazon Web Services account that owns the accepter VPC. -
accepter-vpc-info.vpc-id
- The ID of the accepter VPC. -
expiration-time
- The expiration date and time for the VPC peering connection. -
requester-vpc-info.cidr-block
- The IPv4 CIDR block of the requester’s VPC. -
requester-vpc-info.owner-id
- The ID of the Amazon Web Services account that owns the requester VPC. -
requester-vpc-info.vpc-id
- The ID of the requester VPC. -
status-code
- The status of the VPC peering connection (pending-acceptance
|failed
|expired
|provisioning
|active
|deleting
|deleted
|rejected
). -
status-message
- A message that provides more information about the status of the VPC peering connection, if applicable. -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-peering-connection-id
- The ID of the VPC peering connection.
-
- On success, responds with
DescribeVpcPeeringConnectionsOutput
with field(s):vpc_peering_connections(Option<Vec::<VpcPeeringConnection>>)
:Information about the VPC peering connections.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<DescribeVpcPeeringConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpcs(&self) -> DescribeVpcsFluentBuilder
pub fn describe_vpcs(&self) -> DescribeVpcsFluentBuilder
Constructs a fluent builder for the DescribeVpcs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters.
-
cidr
- The primary IPv4 CIDR block of the VPC. The CIDR block you specify must exactly match the VPC’s CIDR block for information to be returned for the VPC. Must contain the slash followed by one or two digits (for example,/28
). -
cidr-block-association.cidr-block
- An IPv4 CIDR block associated with the VPC. -
cidr-block-association.association-id
- The association ID for an IPv4 CIDR block associated with the VPC. -
cidr-block-association.state
- The state of an IPv4 CIDR block associated with the VPC. -
dhcp-options-id
- The ID of a set of DHCP options. -
ipv6-cidr-block-association.ipv6-cidr-block
- An IPv6 CIDR block associated with the VPC. -
ipv6-cidr-block-association.ipv6-pool
- The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated. -
ipv6-cidr-block-association.association-id
- The association ID for an IPv6 CIDR block associated with the VPC. -
ipv6-cidr-block-association.state
- The state of an IPv6 CIDR block associated with the VPC. -
is-default
- Indicates whether the VPC is the default VPC. -
owner-id
- The ID of the Amazon Web Services account that owns the VPC. -
state
- The state of the VPC (pending
|available
). -
tag
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
vpc-id
- The ID of the VPC.
-
vpc_ids(impl Into<String>)
/set_vpc_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the VPCs.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVpcsOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.vpcs(Option<Vec::<Vpc>>)
:Information about the VPCs.
- On failure, responds with
SdkError<DescribeVpcsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpn_connections(&self) -> DescribeVpnConnectionsFluentBuilder
pub fn describe_vpn_connections(&self) -> DescribeVpnConnectionsFluentBuilder
Constructs a fluent builder for the DescribeVpnConnections
operation.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
customer-gateway-configuration
- The configuration information for the customer gateway. -
customer-gateway-id
- The ID of a customer gateway associated with the VPN connection. -
state
- The state of the VPN connection (pending
|available
|deleting
|deleted
). -
option.static-routes-only
- Indicates whether the connection has static routes only. Used for devices that do not support Border Gateway Protocol (BGP). -
route.destination-cidr-block
- The destination CIDR block. This corresponds to the subnet used in a customer data center. -
bgp-asn
- The BGP Autonomous System Number (ASN) associated with a BGP device. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
type
- The type of VPN connection. Currently the only supported type isipsec.1
. -
vpn-connection-id
- The ID of the VPN connection. -
vpn-gateway-id
- The ID of a virtual private gateway associated with the VPN connection. -
transit-gateway-id
- The ID of a transit gateway associated with the VPN connection.
-
vpn_connection_ids(impl Into<String>)
/set_vpn_connection_ids(Option<Vec::<String>>)
:
required: falseOne or more VPN connection IDs.
Default: Describes your VPN connections.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVpnConnectionsOutput
with field(s):vpn_connections(Option<Vec::<VpnConnection>>)
:Information about one or more VPN connections.
- On failure, responds with
SdkError<DescribeVpnConnectionsError>
Source§impl Client
impl Client
Sourcepub fn describe_vpn_gateways(&self) -> DescribeVpnGatewaysFluentBuilder
pub fn describe_vpn_gateways(&self) -> DescribeVpnGatewaysFluentBuilder
Constructs a fluent builder for the DescribeVpnGateways
operation.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
amazon-side-asn
- The Autonomous System Number (ASN) for the Amazon side of the gateway. -
attachment.state
- The current state of the attachment between the gateway and the VPC (attaching
|attached
|detaching
|detached
). -
attachment.vpc-id
- The ID of an attached VPC. -
availability-zone
- The Availability Zone for the virtual private gateway (if applicable). -
state
- The state of the virtual private gateway (pending
|available
|deleting
|deleted
). -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
type
- The type of virtual private gateway. Currently the only supported type isipsec.1
. -
vpn-gateway-id
- The ID of the virtual private gateway.
-
vpn_gateway_ids(impl Into<String>)
/set_vpn_gateway_ids(Option<Vec::<String>>)
:
required: falseOne or more virtual private gateway IDs.
Default: Describes all your virtual private gateways.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DescribeVpnGatewaysOutput
with field(s):vpn_gateways(Option<Vec::<VpnGateway>>)
:Information about one or more virtual private gateways.
- On failure, responds with
SdkError<DescribeVpnGatewaysError>
Source§impl Client
impl Client
Sourcepub fn detach_classic_link_vpc(&self) -> DetachClassicLinkVpcFluentBuilder
pub fn detach_classic_link_vpc(&self) -> DetachClassicLinkVpcFluentBuilder
Constructs a fluent builder for the DetachClassicLinkVpc
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance to unlink from the VPC.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC to which the instance is linked.
- On success, responds with
DetachClassicLinkVpcOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DetachClassicLinkVpcError>
Source§impl Client
impl Client
Sourcepub fn detach_internet_gateway(&self) -> DetachInternetGatewayFluentBuilder
pub fn detach_internet_gateway(&self) -> DetachInternetGatewayFluentBuilder
Constructs a fluent builder for the DetachInternetGateway
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.internet_gateway_id(impl Into<String>)
/set_internet_gateway_id(Option<String>)
:
required: trueThe ID of the internet gateway.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
DetachInternetGatewayOutput
- On failure, responds with
SdkError<DetachInternetGatewayError>
Source§impl Client
impl Client
Sourcepub fn detach_network_interface(&self) -> DetachNetworkInterfaceFluentBuilder
pub fn detach_network_interface(&self) -> DetachNetworkInterfaceFluentBuilder
Constructs a fluent builder for the DetachNetworkInterface
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.attachment_id(impl Into<String>)
/set_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
force(bool)
/set_force(Option<bool>)
:
required: falseSpecifies whether to force a detachment.
-
Use the
Force
parameter only as a last resort to detach a network interface from a failed instance. -
If you use the
Force
parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance. -
If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.
-
- On success, responds with
DetachNetworkInterfaceOutput
- On failure, responds with
SdkError<DetachNetworkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn detach_verified_access_trust_provider(
&self,
) -> DetachVerifiedAccessTrustProviderFluentBuilder
pub fn detach_verified_access_trust_provider( &self, ) -> DetachVerifiedAccessTrustProviderFluentBuilder
Constructs a fluent builder for the DetachVerifiedAccessTrustProvider
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
verified_access_trust_provider_id(impl Into<String>)
/set_verified_access_trust_provider_id(Option<String>)
:
required: trueThe ID of the Verified Access trust provider.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DetachVerifiedAccessTrustProviderOutput
with field(s):verified_access_trust_provider(Option<VerifiedAccessTrustProvider>)
:Details about the Verified Access trust provider.
verified_access_instance(Option<VerifiedAccessInstance>)
:Details about the Verified Access instance.
- On failure, responds with
SdkError<DetachVerifiedAccessTrustProviderError>
Source§impl Client
impl Client
Sourcepub fn detach_volume(&self) -> DetachVolumeFluentBuilder
pub fn detach_volume(&self) -> DetachVolumeFluentBuilder
Constructs a fluent builder for the DetachVolume
operation.
- The fluent builder is configurable:
device(impl Into<String>)
/set_device(Option<String>)
:
required: falseThe device name.
force(bool)
/set_force(Option<bool>)
:
required: falseForces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won’t have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe ID of the instance. If you are detaching a Multi-Attach enabled volume, you must specify an instance ID.
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DetachVolumeOutput
with field(s):delete_on_termination(Option<bool>)
:Indicates whether the EBS volume is deleted on instance termination.
associated_resource(Option<String>)
:The ARN of the Amazon ECS or Fargate task to which the volume is attached.
instance_owning_service(Option<String>)
:The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.
This parameter is returned only for volumes that are attached to Fargate tasks.
volume_id(Option<String>)
:The ID of the volume.
instance_id(Option<String>)
:The ID of the instance.
If the volume is attached to a Fargate task, this parameter returns
null
.device(Option<String>)
:The device name.
If the volume is attached to a Fargate task, this parameter returns
null
.state(Option<VolumeAttachmentState>)
:The attachment state of the volume.
attach_time(Option<DateTime>)
:The time stamp when the attachment initiated.
- On failure, responds with
SdkError<DetachVolumeError>
Source§impl Client
impl Client
Sourcepub fn detach_vpn_gateway(&self) -> DetachVpnGatewayFluentBuilder
pub fn detach_vpn_gateway(&self) -> DetachVpnGatewayFluentBuilder
Constructs a fluent builder for the DetachVpnGateway
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
vpn_gateway_id(impl Into<String>)
/set_vpn_gateway_id(Option<String>)
:
required: trueThe ID of the virtual private gateway.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DetachVpnGatewayOutput
- On failure, responds with
SdkError<DetachVpnGatewayError>
Source§impl Client
impl Client
Sourcepub fn disable_address_transfer(&self) -> DisableAddressTransferFluentBuilder
pub fn disable_address_transfer(&self) -> DisableAddressTransferFluentBuilder
Constructs a fluent builder for the DisableAddressTransfer
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: trueThe allocation ID of an Elastic IP address.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableAddressTransferOutput
with field(s):address_transfer(Option<AddressTransfer>)
:An Elastic IP address transfer.
- On failure, responds with
SdkError<DisableAddressTransferError>
Source§impl Client
impl Client
Sourcepub fn disable_allowed_images_settings(
&self,
) -> DisableAllowedImagesSettingsFluentBuilder
pub fn disable_allowed_images_settings( &self, ) -> DisableAllowedImagesSettingsFluentBuilder
Constructs a fluent builder for the DisableAllowedImagesSettings
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableAllowedImagesSettingsOutput
with field(s):allowed_images_settings_state(Option<AllowedImagesSettingsDisabledState>)
:Returns
disabled
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableAllowedImagesSettingsError>
Source§impl Client
impl Client
Sourcepub fn disable_aws_network_performance_metric_subscription(
&self,
) -> DisableAwsNetworkPerformanceMetricSubscriptionFluentBuilder
pub fn disable_aws_network_performance_metric_subscription( &self, ) -> DisableAwsNetworkPerformanceMetricSubscriptionFluentBuilder
Constructs a fluent builder for the DisableAwsNetworkPerformanceMetricSubscription
operation.
- The fluent builder is configurable:
source(impl Into<String>)
/set_source(Option<String>)
:
required: falseThe source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1
.destination(impl Into<String>)
/set_destination(Option<String>)
:
required: falseThe target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1
.metric(MetricType)
/set_metric(Option<MetricType>)
:
required: falseThe metric used for the disabled subscription.
statistic(StatisticType)
/set_statistic(Option<StatisticType>)
:
required: falseThe statistic used for the disabled subscription.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableAwsNetworkPerformanceMetricSubscriptionOutput
with field(s):output(Option<bool>)
:Indicates whether the unsubscribe action was successful.
- On failure, responds with
SdkError<DisableAwsNetworkPerformanceMetricSubscriptionError>
Source§impl Client
impl Client
Sourcepub fn disable_ebs_encryption_by_default(
&self,
) -> DisableEbsEncryptionByDefaultFluentBuilder
pub fn disable_ebs_encryption_by_default( &self, ) -> DisableEbsEncryptionByDefaultFluentBuilder
Constructs a fluent builder for the DisableEbsEncryptionByDefault
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableEbsEncryptionByDefaultOutput
with field(s):ebs_encryption_by_default(Option<bool>)
:The updated status of encryption by default.
- On failure, responds with
SdkError<DisableEbsEncryptionByDefaultError>
Source§impl Client
impl Client
Sourcepub fn disable_fast_launch(&self) -> DisableFastLaunchFluentBuilder
pub fn disable_fast_launch(&self) -> DisableFastLaunchFluentBuilder
Constructs a fluent builder for the DisableFastLaunch
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueSpecify the ID of the image for which to disable Windows fast launch.
force(bool)
/set_force(Option<bool>)
:
required: falseForces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableFastLaunchOutput
with field(s):image_id(Option<String>)
:The ID of the image for which Windows fast launch was disabled.
resource_type(Option<FastLaunchResourceType>)
:The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include:
snapshot
.snapshot_configuration(Option<FastLaunchSnapshotConfigurationResponse>)
:Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
launch_template(Option<FastLaunchLaunchTemplateSpecificationResponse>)
:The launch template that was used to launch Windows instances from pre-provisioned snapshots.
max_parallel_launches(Option<i32>)
:The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
owner_id(Option<String>)
:The owner of the Windows AMI for which Windows fast launch was disabled.
state(Option<FastLaunchStateCode>)
:The current state of Windows fast launch for the specified Windows AMI.
state_transition_reason(Option<String>)
:The reason that the state changed for Windows fast launch for the Windows AMI.
state_transition_time(Option<DateTime>)
:The time that the state changed for Windows fast launch for the Windows AMI.
- On failure, responds with
SdkError<DisableFastLaunchError>
Source§impl Client
impl Client
Sourcepub fn disable_fast_snapshot_restores(
&self,
) -> DisableFastSnapshotRestoresFluentBuilder
pub fn disable_fast_snapshot_restores( &self, ) -> DisableFastSnapshotRestoresFluentBuilder
Constructs a fluent builder for the DisableFastSnapshotRestores
operation.
- The fluent builder is configurable:
availability_zones(impl Into<String>)
/set_availability_zones(Option<Vec::<String>>)
:
required: trueOne or more Availability Zones. For example,
us-east-2a
.source_snapshot_ids(impl Into<String>)
/set_source_snapshot_ids(Option<Vec::<String>>)
:
required: trueThe IDs of one or more snapshots. For example,
snap-1234567890abcdef0
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableFastSnapshotRestoresOutput
with field(s):successful(Option<Vec::<DisableFastSnapshotRestoreSuccessItem>>)
:Information about the snapshots for which fast snapshot restores were successfully disabled.
unsuccessful(Option<Vec::<DisableFastSnapshotRestoreErrorItem>>)
:Information about the snapshots for which fast snapshot restores could not be disabled.
- On failure, responds with
SdkError<DisableFastSnapshotRestoresError>
Source§impl Client
impl Client
Sourcepub fn disable_image(&self) -> DisableImageFluentBuilder
pub fn disable_image(&self) -> DisableImageFluentBuilder
Constructs a fluent builder for the DisableImage
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableImageOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableImageError>
Source§impl Client
impl Client
Sourcepub fn disable_image_block_public_access(
&self,
) -> DisableImageBlockPublicAccessFluentBuilder
pub fn disable_image_block_public_access( &self, ) -> DisableImageBlockPublicAccessFluentBuilder
Constructs a fluent builder for the DisableImageBlockPublicAccess
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableImageBlockPublicAccessOutput
with field(s):image_block_public_access_state(Option<ImageBlockPublicAccessDisabledState>)
:Returns
unblocked
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableImageBlockPublicAccessError>
Source§impl Client
impl Client
Sourcepub fn disable_image_deprecation(&self) -> DisableImageDeprecationFluentBuilder
pub fn disable_image_deprecation(&self) -> DisableImageDeprecationFluentBuilder
Constructs a fluent builder for the DisableImageDeprecation
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableImageDeprecationOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableImageDeprecationError>
Source§impl Client
impl Client
Sourcepub fn disable_image_deregistration_protection(
&self,
) -> DisableImageDeregistrationProtectionFluentBuilder
pub fn disable_image_deregistration_protection( &self, ) -> DisableImageDeregistrationProtectionFluentBuilder
Constructs a fluent builder for the DisableImageDeregistrationProtection
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableImageDeregistrationProtectionOutput
with field(s):r#return(Option<String>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableImageDeregistrationProtectionError>
Source§impl Client
impl Client
Sourcepub fn disable_ipam_organization_admin_account(
&self,
) -> DisableIpamOrganizationAdminAccountFluentBuilder
pub fn disable_ipam_organization_admin_account( &self, ) -> DisableIpamOrganizationAdminAccountFluentBuilder
Constructs a fluent builder for the DisableIpamOrganizationAdminAccount
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.delegated_admin_account_id(impl Into<String>)
/set_delegated_admin_account_id(Option<String>)
:
required: trueThe Organizations member account ID that you want to disable as IPAM account.
- On success, responds with
DisableIpamOrganizationAdminAccountOutput
with field(s):success(Option<bool>)
:The result of disabling the IPAM account.
- On failure, responds with
SdkError<DisableIpamOrganizationAdminAccountError>
Source§impl Client
impl Client
Sourcepub fn disable_route_server_propagation(
&self,
) -> DisableRouteServerPropagationFluentBuilder
pub fn disable_route_server_propagation( &self, ) -> DisableRouteServerPropagationFluentBuilder
Constructs a fluent builder for the DisableRouteServerPropagation
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to disable propagation.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table for which to disable route server propagation.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DisableRouteServerPropagationOutput
with field(s):route_server_propagation(Option<RouteServerPropagation>)
:Information about the disabled route server propagation.
- On failure, responds with
SdkError<DisableRouteServerPropagationError>
Source§impl Client
impl Client
Sourcepub fn disable_serial_console_access(
&self,
) -> DisableSerialConsoleAccessFluentBuilder
pub fn disable_serial_console_access( &self, ) -> DisableSerialConsoleAccessFluentBuilder
Constructs a fluent builder for the DisableSerialConsoleAccess
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableSerialConsoleAccessOutput
with field(s):serial_console_access_enabled(Option<bool>)
:If
true
, access to the EC2 serial console of all instances is enabled for your account. Iffalse
, access to the EC2 serial console of all instances is disabled for your account.
- On failure, responds with
SdkError<DisableSerialConsoleAccessError>
Source§impl Client
impl Client
Sourcepub fn disable_snapshot_block_public_access(
&self,
) -> DisableSnapshotBlockPublicAccessFluentBuilder
pub fn disable_snapshot_block_public_access( &self, ) -> DisableSnapshotBlockPublicAccessFluentBuilder
Constructs a fluent builder for the DisableSnapshotBlockPublicAccess
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableSnapshotBlockPublicAccessOutput
with field(s):state(Option<SnapshotBlockPublicAccessState>)
:Returns
unblocked
if the request succeeds.
- On failure, responds with
SdkError<DisableSnapshotBlockPublicAccessError>
Source§impl Client
impl Client
Sourcepub fn disable_transit_gateway_route_table_propagation(
&self,
) -> DisableTransitGatewayRouteTablePropagationFluentBuilder
pub fn disable_transit_gateway_route_table_propagation( &self, ) -> DisableTransitGatewayRouteTablePropagationFluentBuilder
Constructs a fluent builder for the DisableTransitGatewayRouteTablePropagation
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the propagation route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.transit_gateway_route_table_announcement_id(impl Into<String>)
/set_transit_gateway_route_table_announcement_id(Option<String>)
:
required: falseThe ID of the route table announcement.
- On success, responds with
DisableTransitGatewayRouteTablePropagationOutput
with field(s):propagation(Option<TransitGatewayPropagation>)
:Information about route propagation.
- On failure, responds with
SdkError<DisableTransitGatewayRouteTablePropagationError>
Source§impl Client
impl Client
Sourcepub fn disable_vgw_route_propagation(
&self,
) -> DisableVgwRoutePropagationFluentBuilder
pub fn disable_vgw_route_propagation( &self, ) -> DisableVgwRoutePropagationFluentBuilder
Constructs a fluent builder for the DisableVgwRoutePropagation
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the virtual private gateway.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisableVgwRoutePropagationOutput
- On failure, responds with
SdkError<DisableVgwRoutePropagationError>
Source§impl Client
impl Client
Sourcepub fn disable_vpc_classic_link(&self) -> DisableVpcClassicLinkFluentBuilder
pub fn disable_vpc_classic_link(&self) -> DisableVpcClassicLinkFluentBuilder
Constructs a fluent builder for the DisableVpcClassicLink
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
DisableVpcClassicLinkOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableVpcClassicLinkError>
Source§impl Client
impl Client
Sourcepub fn disable_vpc_classic_link_dns_support(
&self,
) -> DisableVpcClassicLinkDnsSupportFluentBuilder
pub fn disable_vpc_classic_link_dns_support( &self, ) -> DisableVpcClassicLinkDnsSupportFluentBuilder
Constructs a fluent builder for the DisableVpcClassicLinkDnsSupport
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC.
- On success, responds with
DisableVpcClassicLinkDnsSupportOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisableVpcClassicLinkDnsSupportError>
Source§impl Client
impl Client
Sourcepub fn disassociate_address(&self) -> DisassociateAddressFluentBuilder
pub fn disassociate_address(&self) -> DisassociateAddressFluentBuilder
Constructs a fluent builder for the DisassociateAddress
operation.
- The fluent builder is configurable:
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: falseThe association ID. This parameter is required.
public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: falseDeprecated.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateAddressOutput
- On failure, responds with
SdkError<DisassociateAddressError>
Source§impl Client
impl Client
Sourcepub fn disassociate_capacity_reservation_billing_owner(
&self,
) -> DisassociateCapacityReservationBillingOwnerFluentBuilder
pub fn disassociate_capacity_reservation_billing_owner( &self, ) -> DisassociateCapacityReservationBillingOwnerFluentBuilder
Constructs a fluent builder for the DisassociateCapacityReservationBillingOwner
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation.
unused_reservation_billing_owner_id(impl Into<String>)
/set_unused_reservation_billing_owner_id(Option<String>)
:
required: trueThe ID of the consumer account to which the request was sent.
- On success, responds with
DisassociateCapacityReservationBillingOwnerOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisassociateCapacityReservationBillingOwnerError>
Source§impl Client
impl Client
Sourcepub fn disassociate_client_vpn_target_network(
&self,
) -> DisassociateClientVpnTargetNetworkFluentBuilder
pub fn disassociate_client_vpn_target_network( &self, ) -> DisassociateClientVpnTargetNetworkFluentBuilder
Constructs a fluent builder for the DisassociateClientVpnTargetNetwork
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint from which to disassociate the target network.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe ID of the target network association.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateClientVpnTargetNetworkOutput
with field(s):association_id(Option<String>)
:The ID of the target network association.
status(Option<AssociationStatus>)
:The current state of the target network association.
- On failure, responds with
SdkError<DisassociateClientVpnTargetNetworkError>
Source§impl Client
impl Client
Sourcepub fn disassociate_enclave_certificate_iam_role(
&self,
) -> DisassociateEnclaveCertificateIamRoleFluentBuilder
pub fn disassociate_enclave_certificate_iam_role( &self, ) -> DisassociateEnclaveCertificateIamRoleFluentBuilder
Constructs a fluent builder for the DisassociateEnclaveCertificateIamRole
operation.
- The fluent builder is configurable:
certificate_arn(impl Into<String>)
/set_certificate_arn(Option<String>)
:
required: trueThe ARN of the ACM certificate from which to disassociate the IAM role.
role_arn(impl Into<String>)
/set_role_arn(Option<String>)
:
required: trueThe ARN of the IAM role to disassociate.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateEnclaveCertificateIamRoleOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<DisassociateEnclaveCertificateIamRoleError>
Source§impl Client
impl Client
Sourcepub fn disassociate_iam_instance_profile(
&self,
) -> DisassociateIamInstanceProfileFluentBuilder
pub fn disassociate_iam_instance_profile( &self, ) -> DisassociateIamInstanceProfileFluentBuilder
Constructs a fluent builder for the DisassociateIamInstanceProfile
operation.
- The fluent builder is configurable:
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe ID of the IAM instance profile association.
- On success, responds with
DisassociateIamInstanceProfileOutput
with field(s):iam_instance_profile_association(Option<IamInstanceProfileAssociation>)
:Information about the IAM instance profile association.
- On failure, responds with
SdkError<DisassociateIamInstanceProfileError>
Source§impl Client
impl Client
Sourcepub fn disassociate_instance_event_window(
&self,
) -> DisassociateInstanceEventWindowFluentBuilder
pub fn disassociate_instance_event_window( &self, ) -> DisassociateInstanceEventWindowFluentBuilder
Constructs a fluent builder for the DisassociateInstanceEventWindow
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_event_window_id(impl Into<String>)
/set_instance_event_window_id(Option<String>)
:
required: trueThe ID of the event window.
association_target(InstanceEventWindowDisassociationRequest)
/set_association_target(Option<InstanceEventWindowDisassociationRequest>)
:
required: trueOne or more targets to disassociate from the specified event window.
- On success, responds with
DisassociateInstanceEventWindowOutput
with field(s):instance_event_window(Option<InstanceEventWindow>)
:Information about the event window.
- On failure, responds with
SdkError<DisassociateInstanceEventWindowError>
Source§impl Client
impl Client
Sourcepub fn disassociate_ipam_byoasn(&self) -> DisassociateIpamByoasnFluentBuilder
pub fn disassociate_ipam_byoasn(&self) -> DisassociateIpamByoasnFluentBuilder
Constructs a fluent builder for the DisassociateIpamByoasn
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.asn(impl Into<String>)
/set_asn(Option<String>)
:
required: trueA public 2-byte or 4-byte ASN.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueA BYOIP CIDR.
- On success, responds with
DisassociateIpamByoasnOutput
with field(s):asn_association(Option<AsnAssociation>)
:An ASN and BYOIP CIDR association.
- On failure, responds with
SdkError<DisassociateIpamByoasnError>
Source§impl Client
impl Client
Sourcepub fn disassociate_ipam_resource_discovery(
&self,
) -> DisassociateIpamResourceDiscoveryFluentBuilder
pub fn disassociate_ipam_resource_discovery( &self, ) -> DisassociateIpamResourceDiscoveryFluentBuilder
Constructs a fluent builder for the DisassociateIpamResourceDiscovery
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_association_id(impl Into<String>)
/set_ipam_resource_discovery_association_id(Option<String>)
:
required: trueA resource discovery association ID.
- On success, responds with
DisassociateIpamResourceDiscoveryOutput
with field(s):ipam_resource_discovery_association(Option<IpamResourceDiscoveryAssociation>)
:A resource discovery association.
- On failure, responds with
SdkError<DisassociateIpamResourceDiscoveryError>
Source§impl Client
impl Client
Sourcepub fn disassociate_nat_gateway_address(
&self,
) -> DisassociateNatGatewayAddressFluentBuilder
pub fn disassociate_nat_gateway_address( &self, ) -> DisassociateNatGatewayAddressFluentBuilder
Constructs a fluent builder for the DisassociateNatGatewayAddress
operation.
- The fluent builder is configurable:
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: trueThe ID of the NAT gateway.
association_ids(impl Into<String>)
/set_association_ids(Option<Vec::<String>>)
:
required: trueThe association IDs of EIPs that have been associated with the NAT gateway.
max_drain_duration_seconds(i32)
/set_max_drain_duration_seconds(Option<i32>)
:
required: falseThe maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateNatGatewayAddressOutput
with field(s):nat_gateway_id(Option<String>)
:The ID of the NAT gateway.
nat_gateway_addresses(Option<Vec::<NatGatewayAddress>>)
:Information about the NAT gateway IP addresses.
- On failure, responds with
SdkError<DisassociateNatGatewayAddressError>
Source§impl Client
impl Client
Sourcepub fn disassociate_route_server(&self) -> DisassociateRouteServerFluentBuilder
pub fn disassociate_route_server(&self) -> DisassociateRouteServerFluentBuilder
Constructs a fluent builder for the DisassociateRouteServer
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server to disassociate.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC to disassociate from the route server.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateRouteServerOutput
with field(s):route_server_association(Option<RouteServerAssociation>)
:Information about the disassociated route server.
- On failure, responds with
SdkError<DisassociateRouteServerError>
Source§impl Client
impl Client
Sourcepub fn disassociate_route_table(&self) -> DisassociateRouteTableFluentBuilder
pub fn disassociate_route_table(&self) -> DisassociateRouteTableFluentBuilder
Constructs a fluent builder for the DisassociateRouteTable
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe association ID representing the current association between the route table and subnet or gateway.
- On success, responds with
DisassociateRouteTableOutput
- On failure, responds with
SdkError<DisassociateRouteTableError>
Source§impl Client
impl Client
Sourcepub fn disassociate_security_group_vpc(
&self,
) -> DisassociateSecurityGroupVpcFluentBuilder
pub fn disassociate_security_group_vpc( &self, ) -> DisassociateSecurityGroupVpcFluentBuilder
Constructs a fluent builder for the DisassociateSecurityGroupVpc
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: trueA security group ID.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueA VPC ID.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateSecurityGroupVpcOutput
with field(s):state(Option<SecurityGroupVpcAssociationState>)
:The state of the disassociation.
- On failure, responds with
SdkError<DisassociateSecurityGroupVpcError>
Source§impl Client
impl Client
Sourcepub fn disassociate_subnet_cidr_block(
&self,
) -> DisassociateSubnetCidrBlockFluentBuilder
pub fn disassociate_subnet_cidr_block( &self, ) -> DisassociateSubnetCidrBlockFluentBuilder
Constructs a fluent builder for the DisassociateSubnetCidrBlock
operation.
- The fluent builder is configurable:
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe association ID for the CIDR block.
- On success, responds with
DisassociateSubnetCidrBlockOutput
with field(s):ipv6_cidr_block_association(Option<SubnetIpv6CidrBlockAssociation>)
:Information about the IPv6 CIDR block association.
subnet_id(Option<String>)
:The ID of the subnet.
- On failure, responds with
SdkError<DisassociateSubnetCidrBlockError>
Source§impl Client
impl Client
Sourcepub fn disassociate_transit_gateway_multicast_domain(
&self,
) -> DisassociateTransitGatewayMulticastDomainFluentBuilder
pub fn disassociate_transit_gateway_multicast_domain( &self, ) -> DisassociateTransitGatewayMulticastDomainFluentBuilder
Constructs a fluent builder for the DisassociateTransitGatewayMulticastDomain
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the subnets;
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateTransitGatewayMulticastDomainOutput
with field(s):associations(Option<TransitGatewayMulticastDomainAssociations>)
:Information about the association.
- On failure, responds with
SdkError<DisassociateTransitGatewayMulticastDomainError>
Source§impl Client
impl Client
Sourcepub fn disassociate_transit_gateway_policy_table(
&self,
) -> DisassociateTransitGatewayPolicyTableFluentBuilder
pub fn disassociate_transit_gateway_policy_table( &self, ) -> DisassociateTransitGatewayPolicyTableFluentBuilder
Constructs a fluent builder for the DisassociateTransitGatewayPolicyTable
operation.
- The fluent builder is configurable:
transit_gateway_policy_table_id(impl Into<String>)
/set_transit_gateway_policy_table_id(Option<String>)
:
required: trueThe ID of the disassociated policy table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway attachment to disassociate from the policy table.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateTransitGatewayPolicyTableOutput
with field(s):association(Option<TransitGatewayPolicyTableAssociation>)
:Returns details about the transit gateway policy table disassociation.
- On failure, responds with
SdkError<DisassociateTransitGatewayPolicyTableError>
Source§impl Client
impl Client
Sourcepub fn disassociate_transit_gateway_route_table(
&self,
) -> DisassociateTransitGatewayRouteTableFluentBuilder
pub fn disassociate_transit_gateway_route_table( &self, ) -> DisassociateTransitGatewayRouteTableFluentBuilder
Constructs a fluent builder for the DisassociateTransitGatewayRouteTable
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateTransitGatewayRouteTableOutput
with field(s):association(Option<TransitGatewayAssociation>)
:Information about the association.
- On failure, responds with
SdkError<DisassociateTransitGatewayRouteTableError>
Source§impl Client
impl Client
Sourcepub fn disassociate_trunk_interface(
&self,
) -> DisassociateTrunkInterfaceFluentBuilder
pub fn disassociate_trunk_interface( &self, ) -> DisassociateTrunkInterfaceFluentBuilder
Constructs a fluent builder for the DisassociateTrunkInterface
operation.
- The fluent builder is configurable:
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe ID of the association
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
DisassociateTrunkInterfaceOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- On failure, responds with
SdkError<DisassociateTrunkInterfaceError>
Source§impl Client
impl Client
Sourcepub fn disassociate_vpc_cidr_block(
&self,
) -> DisassociateVpcCidrBlockFluentBuilder
pub fn disassociate_vpc_cidr_block( &self, ) -> DisassociateVpcCidrBlockFluentBuilder
Constructs a fluent builder for the DisassociateVpcCidrBlock
operation.
- The fluent builder is configurable:
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe association ID for the CIDR block.
- On success, responds with
DisassociateVpcCidrBlockOutput
with field(s):ipv6_cidr_block_association(Option<VpcIpv6CidrBlockAssociation>)
:Information about the IPv6 CIDR block association.
cidr_block_association(Option<VpcCidrBlockAssociation>)
:Information about the IPv4 CIDR block association.
vpc_id(Option<String>)
:The ID of the VPC.
- On failure, responds with
SdkError<DisassociateVpcCidrBlockError>
Source§impl Client
impl Client
Sourcepub fn enable_address_transfer(&self) -> EnableAddressTransferFluentBuilder
pub fn enable_address_transfer(&self) -> EnableAddressTransferFluentBuilder
Constructs a fluent builder for the EnableAddressTransfer
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: trueThe allocation ID of an Elastic IP address.
transfer_account_id(impl Into<String>)
/set_transfer_account_id(Option<String>)
:
required: trueThe ID of the account that you want to transfer the Elastic IP address to.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableAddressTransferOutput
with field(s):address_transfer(Option<AddressTransfer>)
:An Elastic IP address transfer.
- On failure, responds with
SdkError<EnableAddressTransferError>
Source§impl Client
impl Client
Sourcepub fn enable_allowed_images_settings(
&self,
) -> EnableAllowedImagesSettingsFluentBuilder
pub fn enable_allowed_images_settings( &self, ) -> EnableAllowedImagesSettingsFluentBuilder
Constructs a fluent builder for the EnableAllowedImagesSettings
operation.
- The fluent builder is configurable:
allowed_images_settings_state(AllowedImagesSettingsEnabledState)
/set_allowed_images_settings_state(Option<AllowedImagesSettingsEnabledState>)
:
required: trueSpecify
enabled
to apply the image criteria specified by the Allowed AMIs settings. Specifyaudit-mode
so that you can check which AMIs will be allowed or not allowed by the image criteria.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableAllowedImagesSettingsOutput
with field(s):allowed_images_settings_state(Option<AllowedImagesSettingsEnabledState>)
:Returns
enabled
oraudit-mode
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableAllowedImagesSettingsError>
Source§impl Client
impl Client
Sourcepub fn enable_aws_network_performance_metric_subscription(
&self,
) -> EnableAwsNetworkPerformanceMetricSubscriptionFluentBuilder
pub fn enable_aws_network_performance_metric_subscription( &self, ) -> EnableAwsNetworkPerformanceMetricSubscriptionFluentBuilder
Constructs a fluent builder for the EnableAwsNetworkPerformanceMetricSubscription
operation.
- The fluent builder is configurable:
source(impl Into<String>)
/set_source(Option<String>)
:
required: falseThe source Region (like
us-east-1
) or Availability Zone ID (likeuse1-az1
) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.destination(impl Into<String>)
/set_destination(Option<String>)
:
required: falseThe target Region (like
us-east-2
) or Availability Zone ID (likeuse2-az2
) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.metric(MetricType)
/set_metric(Option<MetricType>)
:
required: falseThe metric used for the enabled subscription.
statistic(StatisticType)
/set_statistic(Option<StatisticType>)
:
required: falseThe statistic used for the enabled subscription.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableAwsNetworkPerformanceMetricSubscriptionOutput
with field(s):output(Option<bool>)
:Indicates whether the subscribe action was successful.
- On failure, responds with
SdkError<EnableAwsNetworkPerformanceMetricSubscriptionError>
Source§impl Client
impl Client
Sourcepub fn enable_ebs_encryption_by_default(
&self,
) -> EnableEbsEncryptionByDefaultFluentBuilder
pub fn enable_ebs_encryption_by_default( &self, ) -> EnableEbsEncryptionByDefaultFluentBuilder
Constructs a fluent builder for the EnableEbsEncryptionByDefault
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableEbsEncryptionByDefaultOutput
with field(s):ebs_encryption_by_default(Option<bool>)
:The updated status of encryption by default.
- On failure, responds with
SdkError<EnableEbsEncryptionByDefaultError>
Source§impl Client
impl Client
Sourcepub fn enable_fast_launch(&self) -> EnableFastLaunchFluentBuilder
pub fn enable_fast_launch(&self) -> EnableFastLaunchFluentBuilder
Constructs a fluent builder for the EnableFastLaunch
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueSpecify the ID of the image for which to enable Windows fast launch.
resource_type(impl Into<String>)
/set_resource_type(Option<String>)
:
required: falseThe type of resource to use for pre-provisioning the AMI for Windows fast launch. Supported values include:
snapshot
, which is the default value.snapshot_configuration(FastLaunchSnapshotConfigurationRequest)
/set_snapshot_configuration(Option<FastLaunchSnapshotConfigurationRequest>)
:
required: falseConfiguration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associated
ResourceType
must besnapshot
.launch_template(FastLaunchLaunchTemplateSpecificationRequest)
/set_launch_template(Option<FastLaunchLaunchTemplateSpecificationRequest>)
:
required: falseThe launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
max_parallel_launches(i32)
/set_max_parallel_launches(Option<i32>)
:
required: falseThe maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch. Value must be
6
or greater.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableFastLaunchOutput
with field(s):image_id(Option<String>)
:The image ID that identifies the AMI for which Windows fast launch was enabled.
resource_type(Option<FastLaunchResourceType>)
:The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
snapshot_configuration(Option<FastLaunchSnapshotConfigurationResponse>)
:Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI. This property is returned when the associated
resourceType
issnapshot
.launch_template(Option<FastLaunchLaunchTemplateSpecificationResponse>)
:The launch template that is used when launching Windows instances from pre-provisioned snapshots.
max_parallel_launches(Option<i32>)
:The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
owner_id(Option<String>)
:The owner ID for the AMI for which Windows fast launch was enabled.
state(Option<FastLaunchStateCode>)
:The current state of Windows fast launch for the specified AMI.
state_transition_reason(Option<String>)
:The reason that the state changed for Windows fast launch for the AMI.
state_transition_time(Option<DateTime>)
:The time that the state changed for Windows fast launch for the AMI.
- On failure, responds with
SdkError<EnableFastLaunchError>
Source§impl Client
impl Client
Sourcepub fn enable_fast_snapshot_restores(
&self,
) -> EnableFastSnapshotRestoresFluentBuilder
pub fn enable_fast_snapshot_restores( &self, ) -> EnableFastSnapshotRestoresFluentBuilder
Constructs a fluent builder for the EnableFastSnapshotRestores
operation.
- The fluent builder is configurable:
availability_zones(impl Into<String>)
/set_availability_zones(Option<Vec::<String>>)
:
required: trueOne or more Availability Zones. For example,
us-east-2a
.source_snapshot_ids(impl Into<String>)
/set_source_snapshot_ids(Option<Vec::<String>>)
:
required: trueThe IDs of one or more snapshots. For example,
snap-1234567890abcdef0
. You can specify a snapshot that was shared with you from another Amazon Web Services account.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableFastSnapshotRestoresOutput
with field(s):successful(Option<Vec::<EnableFastSnapshotRestoreSuccessItem>>)
:Information about the snapshots for which fast snapshot restores were successfully enabled.
unsuccessful(Option<Vec::<EnableFastSnapshotRestoreErrorItem>>)
:Information about the snapshots for which fast snapshot restores could not be enabled.
- On failure, responds with
SdkError<EnableFastSnapshotRestoresError>
Source§impl Client
impl Client
Sourcepub fn enable_image(&self) -> EnableImageFluentBuilder
pub fn enable_image(&self) -> EnableImageFluentBuilder
Constructs a fluent builder for the EnableImage
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableImageOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableImageError>
Source§impl Client
impl Client
Sourcepub fn enable_image_block_public_access(
&self,
) -> EnableImageBlockPublicAccessFluentBuilder
pub fn enable_image_block_public_access( &self, ) -> EnableImageBlockPublicAccessFluentBuilder
Constructs a fluent builder for the EnableImageBlockPublicAccess
operation.
- The fluent builder is configurable:
image_block_public_access_state(ImageBlockPublicAccessEnabledState)
/set_image_block_public_access_state(Option<ImageBlockPublicAccessEnabledState>)
:
required: trueSpecify
block-new-sharing
to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableImageBlockPublicAccessOutput
with field(s):image_block_public_access_state(Option<ImageBlockPublicAccessEnabledState>)
:Returns
block-new-sharing
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableImageBlockPublicAccessError>
Source§impl Client
impl Client
Sourcepub fn enable_image_deprecation(&self) -> EnableImageDeprecationFluentBuilder
pub fn enable_image_deprecation(&self) -> EnableImageDeprecationFluentBuilder
Constructs a fluent builder for the EnableImageDeprecation
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
deprecate_at(DateTime)
/set_deprecate_at(Option<DateTime>)
:
required: trueThe date and time to deprecate the AMI, in UTC, in the following format: YYYY-MM-DDTHH:MM:SSZ. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.
You can’t specify a date in the past. The upper limit for
DeprecateAt
is 10 years from now, except for public AMIs, where the upper limit is 2 years from the creation date.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableImageDeprecationOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableImageDeprecationError>
Source§impl Client
impl Client
Sourcepub fn enable_image_deregistration_protection(
&self,
) -> EnableImageDeregistrationProtectionFluentBuilder
pub fn enable_image_deregistration_protection( &self, ) -> EnableImageDeregistrationProtectionFluentBuilder
Constructs a fluent builder for the EnableImageDeregistrationProtection
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
with_cooldown(bool)
/set_with_cooldown(Option<bool>)
:
required: falseIf
true
, enforces deregistration protection for 24 hours after deregistration protection is disabled.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableImageDeregistrationProtectionOutput
with field(s):r#return(Option<String>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableImageDeregistrationProtectionError>
Source§impl Client
impl Client
Sourcepub fn enable_ipam_organization_admin_account(
&self,
) -> EnableIpamOrganizationAdminAccountFluentBuilder
pub fn enable_ipam_organization_admin_account( &self, ) -> EnableIpamOrganizationAdminAccountFluentBuilder
Constructs a fluent builder for the EnableIpamOrganizationAdminAccount
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.delegated_admin_account_id(impl Into<String>)
/set_delegated_admin_account_id(Option<String>)
:
required: trueThe Organizations member account ID that you want to enable as the IPAM account.
- On success, responds with
EnableIpamOrganizationAdminAccountOutput
with field(s):success(Option<bool>)
:The result of enabling the IPAM account.
- On failure, responds with
SdkError<EnableIpamOrganizationAdminAccountError>
Source§impl Client
impl Client
Sourcepub fn enable_reachability_analyzer_organization_sharing(
&self,
) -> EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
pub fn enable_reachability_analyzer_organization_sharing( &self, ) -> EnableReachabilityAnalyzerOrganizationSharingFluentBuilder
Constructs a fluent builder for the EnableReachabilityAnalyzerOrganizationSharing
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableReachabilityAnalyzerOrganizationSharingOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.
- On failure, responds with
SdkError<EnableReachabilityAnalyzerOrganizationSharingError>
Source§impl Client
impl Client
Sourcepub fn enable_route_server_propagation(
&self,
) -> EnableRouteServerPropagationFluentBuilder
pub fn enable_route_server_propagation( &self, ) -> EnableRouteServerPropagationFluentBuilder
Constructs a fluent builder for the EnableRouteServerPropagation
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to enable propagation.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table to which route server will propagate routes.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
EnableRouteServerPropagationOutput
with field(s):route_server_propagation(Option<RouteServerPropagation>)
:Information about the enabled route server propagation.
- On failure, responds with
SdkError<EnableRouteServerPropagationError>
Source§impl Client
impl Client
Sourcepub fn enable_serial_console_access(
&self,
) -> EnableSerialConsoleAccessFluentBuilder
pub fn enable_serial_console_access( &self, ) -> EnableSerialConsoleAccessFluentBuilder
Constructs a fluent builder for the EnableSerialConsoleAccess
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableSerialConsoleAccessOutput
with field(s):serial_console_access_enabled(Option<bool>)
:If
true
, access to the EC2 serial console of all instances is enabled for your account. Iffalse
, access to the EC2 serial console of all instances is disabled for your account.
- On failure, responds with
SdkError<EnableSerialConsoleAccessError>
Source§impl Client
impl Client
Sourcepub fn enable_snapshot_block_public_access(
&self,
) -> EnableSnapshotBlockPublicAccessFluentBuilder
pub fn enable_snapshot_block_public_access( &self, ) -> EnableSnapshotBlockPublicAccessFluentBuilder
Constructs a fluent builder for the EnableSnapshotBlockPublicAccess
operation.
- The fluent builder is configurable:
state(SnapshotBlockPublicAccessState)
/set_state(Option<SnapshotBlockPublicAccessState>)
:
required: trueThe mode in which to enable block public access for snapshots for the Region. Specify one of the following values:
-
block-all-sharing
- Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available. -
block-new-sharing
- Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
unblocked
is not a valid value for EnableSnapshotBlockPublicAccess.-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableSnapshotBlockPublicAccessOutput
with field(s):state(Option<SnapshotBlockPublicAccessState>)
:The state of block public access for snapshots for the account and Region. Returns either
block-all-sharing
orblock-new-sharing
if the request succeeds.
- On failure, responds with
SdkError<EnableSnapshotBlockPublicAccessError>
Source§impl Client
impl Client
Sourcepub fn enable_transit_gateway_route_table_propagation(
&self,
) -> EnableTransitGatewayRouteTablePropagationFluentBuilder
pub fn enable_transit_gateway_route_table_propagation( &self, ) -> EnableTransitGatewayRouteTablePropagationFluentBuilder
Constructs a fluent builder for the EnableTransitGatewayRouteTablePropagation
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the propagation route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.transit_gateway_route_table_announcement_id(impl Into<String>)
/set_transit_gateway_route_table_announcement_id(Option<String>)
:
required: falseThe ID of the transit gateway route table announcement.
- On success, responds with
EnableTransitGatewayRouteTablePropagationOutput
with field(s):propagation(Option<TransitGatewayPropagation>)
:Information about route propagation.
- On failure, responds with
SdkError<EnableTransitGatewayRouteTablePropagationError>
Source§impl Client
impl Client
Sourcepub fn enable_vgw_route_propagation(
&self,
) -> EnableVgwRoutePropagationFluentBuilder
pub fn enable_vgw_route_propagation( &self, ) -> EnableVgwRoutePropagationFluentBuilder
Constructs a fluent builder for the EnableVgwRoutePropagation
operation.
- The fluent builder is configurable:
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: trueThe ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
EnableVgwRoutePropagationOutput
- On failure, responds with
SdkError<EnableVgwRoutePropagationError>
Source§impl Client
impl Client
Sourcepub fn enable_volume_io(&self) -> EnableVolumeIOFluentBuilder
pub fn enable_volume_io(&self) -> EnableVolumeIOFluentBuilder
Constructs a fluent builder for the EnableVolumeIO
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
- On success, responds with
EnableVolumeIoOutput
- On failure, responds with
SdkError<EnableVolumeIOError>
Source§impl Client
impl Client
Sourcepub fn enable_vpc_classic_link(&self) -> EnableVpcClassicLinkFluentBuilder
pub fn enable_vpc_classic_link(&self) -> EnableVpcClassicLinkFluentBuilder
Constructs a fluent builder for the EnableVpcClassicLink
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
- On success, responds with
EnableVpcClassicLinkOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableVpcClassicLinkError>
Source§impl Client
impl Client
Sourcepub fn enable_vpc_classic_link_dns_support(
&self,
) -> EnableVpcClassicLinkDnsSupportFluentBuilder
pub fn enable_vpc_classic_link_dns_support( &self, ) -> EnableVpcClassicLinkDnsSupportFluentBuilder
Constructs a fluent builder for the EnableVpcClassicLinkDnsSupport
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC.
- On success, responds with
EnableVpcClassicLinkDnsSupportOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<EnableVpcClassicLinkDnsSupportError>
Source§impl Client
impl Client
Sourcepub fn export_client_vpn_client_certificate_revocation_list(
&self,
) -> ExportClientVpnClientCertificateRevocationListFluentBuilder
pub fn export_client_vpn_client_certificate_revocation_list( &self, ) -> ExportClientVpnClientCertificateRevocationListFluentBuilder
Constructs a fluent builder for the ExportClientVpnClientCertificateRevocationList
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ExportClientVpnClientCertificateRevocationListOutput
with field(s):certificate_revocation_list(Option<String>)
:Information about the client certificate revocation list.
status(Option<ClientCertificateRevocationListStatus>)
:The current state of the client certificate revocation list.
- On failure, responds with
SdkError<ExportClientVpnClientCertificateRevocationListError>
Source§impl Client
impl Client
Sourcepub fn export_client_vpn_client_configuration(
&self,
) -> ExportClientVpnClientConfigurationFluentBuilder
pub fn export_client_vpn_client_configuration( &self, ) -> ExportClientVpnClientConfigurationFluentBuilder
Constructs a fluent builder for the ExportClientVpnClientConfiguration
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ExportClientVpnClientConfigurationOutput
with field(s):client_configuration(Option<String>)
:The contents of the Client VPN endpoint configuration file.
- On failure, responds with
SdkError<ExportClientVpnClientConfigurationError>
Source§impl Client
impl Client
Sourcepub fn export_image(&self) -> ExportImageFluentBuilder
pub fn export_image(&self) -> ExportImageFluentBuilder
Constructs a fluent builder for the ExportImage
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseToken to enable idempotency for export image requests.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the image being exported. The maximum length is 255 characters.
disk_image_format(DiskImageFormat)
/set_disk_image_format(Option<DiskImageFormat>)
:
required: trueThe disk image format.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the image.
s3_export_location(ExportTaskS3LocationRequest)
/set_s3_export_location(Option<ExportTaskS3LocationRequest>)
:
required: trueThe Amazon S3 bucket for the destination image. The destination bucket must exist.
role_name(impl Into<String>)
/set_role_name(Option<String>)
:
required: falseThe name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named ‘vmimport’.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the export image task during creation.
- On success, responds with
ExportImageOutput
with field(s):description(Option<String>)
:A description of the image being exported.
disk_image_format(Option<DiskImageFormat>)
:The disk image format for the exported image.
export_image_task_id(Option<String>)
:The ID of the export image task.
image_id(Option<String>)
:The ID of the image.
role_name(Option<String>)
:The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
progress(Option<String>)
:The percent complete of the export image task.
s3_export_location(Option<ExportTaskS3Location>)
:Information about the destination Amazon S3 bucket.
status(Option<String>)
:The status of the export image task. The possible values are
active
,completed
,deleting
, anddeleted
.status_message(Option<String>)
:The status message for the export image task.
tags(Option<Vec::<Tag>>)
:Any tags assigned to the export image task.
- On failure, responds with
SdkError<ExportImageError>
Source§impl Client
impl Client
Sourcepub fn export_transit_gateway_routes(
&self,
) -> ExportTransitGatewayRoutesFluentBuilder
pub fn export_transit_gateway_routes( &self, ) -> ExportTransitGatewayRoutesFluentBuilder
Constructs a fluent builder for the ExportTransitGatewayRoutes
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
-
s3_bucket(impl Into<String>)
/set_s3_bucket(Option<String>)
:
required: trueThe name of the S3 bucket.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ExportTransitGatewayRoutesOutput
with field(s):s3_location(Option<String>)
:The URL of the exported file in Amazon S3. For example, s3://bucket_name/VPCTransitGateway/TransitGatewayRouteTables/file_name.
- On failure, responds with
SdkError<ExportTransitGatewayRoutesError>
Source§impl Client
impl Client
Sourcepub fn export_verified_access_instance_client_configuration(
&self,
) -> ExportVerifiedAccessInstanceClientConfigurationFluentBuilder
pub fn export_verified_access_instance_client_configuration( &self, ) -> ExportVerifiedAccessInstanceClientConfigurationFluentBuilder
Constructs a fluent builder for the ExportVerifiedAccessInstanceClientConfiguration
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ExportVerifiedAccessInstanceClientConfigurationOutput
with field(s):version(Option<String>)
:The version.
verified_access_instance_id(Option<String>)
:The ID of the Verified Access instance.
region(Option<String>)
:The Region.
device_trust_providers(Option<Vec::<DeviceTrustProviderType>>)
:The device trust providers.
user_trust_provider(Option<VerifiedAccessInstanceUserTrustProviderClientConfiguration>)
:The user identity trust provider.
open_vpn_configurations(Option<Vec::<VerifiedAccessInstanceOpenVpnClientConfiguration>>)
:The Open VPN configuration.
- On failure, responds with
SdkError<ExportVerifiedAccessInstanceClientConfigurationError>
Source§impl Client
impl Client
Sourcepub fn get_allowed_images_settings(
&self,
) -> GetAllowedImagesSettingsFluentBuilder
pub fn get_allowed_images_settings( &self, ) -> GetAllowedImagesSettingsFluentBuilder
Constructs a fluent builder for the GetAllowedImagesSettings
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetAllowedImagesSettingsOutput
with field(s):state(Option<String>)
:The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.
Possible values:
-
disabled
: All AMIs are allowed. -
audit-mode
: All AMIs are allowed, but theImageAllowed
field is set totrue
if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled. -
enabled
: Only AMIs matching the image criteria are discoverable and available for use.
-
image_criteria(Option<Vec::<ImageCriterion>>)
:The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.
managed_by(Option<ManagedBy>)
:The entity that manages the Allowed AMIs settings. Possible values include:
-
account
- The Allowed AMIs settings is managed by the account. -
declarative-policy
- The Allowed AMIs settings is managed by a declarative policy and can’t be modified by the account.
-
- On failure, responds with
SdkError<GetAllowedImagesSettingsError>
Source§impl Client
impl Client
Sourcepub fn get_associated_enclave_certificate_iam_roles(
&self,
) -> GetAssociatedEnclaveCertificateIamRolesFluentBuilder
pub fn get_associated_enclave_certificate_iam_roles( &self, ) -> GetAssociatedEnclaveCertificateIamRolesFluentBuilder
Constructs a fluent builder for the GetAssociatedEnclaveCertificateIamRoles
operation.
- The fluent builder is configurable:
certificate_arn(impl Into<String>)
/set_certificate_arn(Option<String>)
:
required: trueThe ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon S3 object information.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetAssociatedEnclaveCertificateIamRolesOutput
with field(s):associated_roles(Option<Vec::<AssociatedRole>>)
:Information about the associated IAM roles.
- On failure, responds with
SdkError<GetAssociatedEnclaveCertificateIamRolesError>
Source§impl Client
impl Client
Sourcepub fn get_associated_ipv6_pool_cidrs(
&self,
) -> GetAssociatedIpv6PoolCidrsFluentBuilder
pub fn get_associated_ipv6_pool_cidrs( &self, ) -> GetAssociatedIpv6PoolCidrsFluentBuilder
Constructs a fluent builder for the GetAssociatedIpv6PoolCidrs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
pool_id(impl Into<String>)
/set_pool_id(Option<String>)
:
required: trueThe ID of the IPv6 address pool.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetAssociatedIpv6PoolCidrsOutput
with field(s):ipv6_cidr_associations(Option<Vec::<Ipv6CidrAssociation>>)
:Information about the IPv6 CIDR block associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetAssociatedIpv6PoolCidrsError>
Source§impl Client
impl Client
Sourcepub fn get_aws_network_performance_data(
&self,
) -> GetAwsNetworkPerformanceDataFluentBuilder
pub fn get_aws_network_performance_data( &self, ) -> GetAwsNetworkPerformanceDataFluentBuilder
Constructs a fluent builder for the GetAwsNetworkPerformanceData
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
data_queries(DataQuery)
/set_data_queries(Option<Vec::<DataQuery>>)
:
required: falseA list of network performance data queries.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: falseThe starting time for the performance data request. The starting time must be formatted as
yyyy-mm-ddThh:mm:ss
. For example,2022-06-10T12:00:00.000Z
.end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: falseThe ending time for the performance data request. The end time must be formatted as
yyyy-mm-ddThh:mm:ss
. For example,2022-06-12T12:00:00.000Z
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetAwsNetworkPerformanceDataOutput
with field(s):data_responses(Option<Vec::<DataResponse>>)
:The list of data responses.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetAwsNetworkPerformanceDataError>
Source§impl Client
impl Client
Sourcepub fn get_capacity_reservation_usage(
&self,
) -> GetCapacityReservationUsageFluentBuilder
pub fn get_capacity_reservation_usage( &self, ) -> GetCapacityReservationUsageFluentBuilder
Constructs a fluent builder for the GetCapacityReservationUsage
operation.
- The fluent builder is configurable:
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetCapacityReservationUsageOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.capacity_reservation_id(Option<String>)
:The ID of the Capacity Reservation.
instance_type(Option<String>)
:The type of instance for which the Capacity Reservation reserves capacity.
total_instance_count(Option<i32>)
:The number of instances for which the Capacity Reservation reserves capacity.
available_instance_count(Option<i32>)
:The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.
state(Option<CapacityReservationState>)
:The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:
-
active
- The capacity is available for use. -
expired
- The Capacity Reservation expired automatically at the date and time specified in your reservation request. The reserved capacity is no longer available for your use. -
cancelled
- The Capacity Reservation was canceled. The reserved capacity is no longer available for your use. -
pending
- The Capacity Reservation request was successful but the capacity provisioning is still pending. -
failed
- The Capacity Reservation request has failed. A request can fail due to request parameters that are not valid, capacity constraints, or instance limit constraints. You can view a failed request for 60 minutes. -
scheduled
- (Future-dated Capacity Reservations) The future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled for delivery on the requested start date. -
payment-pending
- (Capacity Blocks) The upfront payment has not been processed yet. -
payment-failed
- (Capacity Blocks) The upfront payment was not processed in the 12-hour time frame. Your Capacity Block was released. -
assessing
- (Future-dated Capacity Reservations) Amazon EC2 is assessing your request for a future-dated Capacity Reservation. -
delayed
- (Future-dated Capacity Reservations) Amazon EC2 encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is unable to deliver the requested capacity by the requested start date and time. -
unsupported
- (Future-dated Capacity Reservations) Amazon EC2 can’t support the future-dated Capacity Reservation request due to capacity constraints. You can view unsupported requests for 30 days. The Capacity Reservation will not be delivered.
-
instance_usages(Option<Vec::<InstanceUsage>>)
:Information about the Capacity Reservation usage.
- On failure, responds with
SdkError<GetCapacityReservationUsageError>
Source§impl Client
impl Client
Sourcepub fn get_coip_pool_usage(&self) -> GetCoipPoolUsageFluentBuilder
pub fn get_coip_pool_usage(&self) -> GetCoipPoolUsageFluentBuilder
Constructs a fluent builder for the GetCoipPoolUsage
operation.
- The fluent builder is configurable:
pool_id(impl Into<String>)
/set_pool_id(Option<String>)
:
required: trueThe ID of the address pool.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
coip-address-usage.allocation-id
- The allocation ID of the address. -
coip-address-usage.aws-account-id
- The ID of the Amazon Web Services account that is using the customer-owned IP address. -
coip-address-usage.aws-service
- The Amazon Web Services service that is using the customer-owned IP address. -
coip-address-usage.co-ip
- The customer-owned IP address.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetCoipPoolUsageOutput
with field(s):coip_pool_id(Option<String>)
:The ID of the customer-owned address pool.
coip_address_usages(Option<Vec::<CoipAddressUsage>>)
:Information about the address usage.
local_gateway_route_table_id(Option<String>)
:The ID of the local gateway route table.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetCoipPoolUsageError>
Source§impl Client
impl Client
Sourcepub fn get_console_output(&self) -> GetConsoleOutputFluentBuilder
pub fn get_console_output(&self) -> GetConsoleOutputFluentBuilder
Constructs a fluent builder for the GetConsoleOutput
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
latest(bool)
/set_latest(Option<bool>)
:
required: falseWhen enabled, retrieves the latest console output for the instance.
Default: disabled (
false
)dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
GetConsoleOutputOutput
with field(s):instance_id(Option<String>)
:The ID of the instance.
timestamp(Option<DateTime>)
:The time at which the output was last updated.
output(Option<String>)
:The console output, base64-encoded. If you are using a command line tool, the tool decodes the output for you.
- On failure, responds with
SdkError<GetConsoleOutputError>
Source§impl Client
impl Client
Sourcepub fn get_console_screenshot(&self) -> GetConsoleScreenshotFluentBuilder
pub fn get_console_screenshot(&self) -> GetConsoleScreenshotFluentBuilder
Constructs a fluent builder for the GetConsoleScreenshot
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
wake_up(bool)
/set_wake_up(Option<bool>)
:
required: falseWhen set to
true
, acts as keystroke input and wakes up an instance that’s in standby or “sleep” mode.
- On success, responds with
GetConsoleScreenshotOutput
with field(s):image_data(Option<String>)
:The data that comprises the image.
instance_id(Option<String>)
:The ID of the instance.
- On failure, responds with
SdkError<GetConsoleScreenshotError>
Source§impl Client
impl Client
Sourcepub fn get_declarative_policies_report_summary(
&self,
) -> GetDeclarativePoliciesReportSummaryFluentBuilder
pub fn get_declarative_policies_report_summary( &self, ) -> GetDeclarativePoliciesReportSummaryFluentBuilder
Constructs a fluent builder for the GetDeclarativePoliciesReportSummary
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.report_id(impl Into<String>)
/set_report_id(Option<String>)
:
required: trueThe ID of the report.
- On success, responds with
GetDeclarativePoliciesReportSummaryOutput
with field(s):report_id(Option<String>)
:The ID of the report.
s3_bucket(Option<String>)
:The name of the Amazon S3 bucket where the report is located.
s3_prefix(Option<String>)
:The prefix for your S3 object.
target_id(Option<String>)
:The root ID, organizational unit ID, or account ID.
Format:
-
For root:
r-ab12
-
For OU:
ou-ab12-cdef1234
-
For account:
123456789012
-
start_time(Option<DateTime>)
:The time when the report generation started.
end_time(Option<DateTime>)
:The time when the report generation ended.
number_of_accounts(Option<i32>)
:The total number of accounts associated with the specified
targetId
.number_of_failed_accounts(Option<i32>)
:The number of accounts where attributes could not be retrieved in any Region.
attribute_summaries(Option<Vec::<AttributeSummary>>)
:The attributes described in the report.
- On failure, responds with
SdkError<GetDeclarativePoliciesReportSummaryError>
Source§impl Client
impl Client
Sourcepub fn get_default_credit_specification(
&self,
) -> GetDefaultCreditSpecificationFluentBuilder
pub fn get_default_credit_specification( &self, ) -> GetDefaultCreditSpecificationFluentBuilder
Constructs a fluent builder for the GetDefaultCreditSpecification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_family(UnlimitedSupportedInstanceFamily)
/set_instance_family(Option<UnlimitedSupportedInstanceFamily>)
:
required: trueThe instance family.
- On success, responds with
GetDefaultCreditSpecificationOutput
with field(s):instance_family_credit_specification(Option<InstanceFamilyCreditSpecification>)
:The default credit option for CPU usage of the instance family.
- On failure, responds with
SdkError<GetDefaultCreditSpecificationError>
Source§impl Client
impl Client
Sourcepub fn get_ebs_default_kms_key_id(&self) -> GetEbsDefaultKmsKeyIdFluentBuilder
pub fn get_ebs_default_kms_key_id(&self) -> GetEbsDefaultKmsKeyIdFluentBuilder
Constructs a fluent builder for the GetEbsDefaultKmsKeyId
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetEbsDefaultKmsKeyIdOutput
with field(s):kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the default KMS key for encryption by default.
- On failure, responds with
SdkError<GetEbsDefaultKmsKeyIdError>
Source§impl Client
impl Client
Sourcepub fn get_ebs_encryption_by_default(
&self,
) -> GetEbsEncryptionByDefaultFluentBuilder
pub fn get_ebs_encryption_by_default( &self, ) -> GetEbsEncryptionByDefaultFluentBuilder
Constructs a fluent builder for the GetEbsEncryptionByDefault
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetEbsEncryptionByDefaultOutput
with field(s):ebs_encryption_by_default(Option<bool>)
:Indicates whether encryption by default is enabled.
sse_type(Option<SseType>)
:Reserved for future use.
- On failure, responds with
SdkError<GetEbsEncryptionByDefaultError>
Source§impl Client
impl Client
Sourcepub fn get_flow_logs_integration_template(
&self,
) -> GetFlowLogsIntegrationTemplateFluentBuilder
pub fn get_flow_logs_integration_template( &self, ) -> GetFlowLogsIntegrationTemplateFluentBuilder
Constructs a fluent builder for the GetFlowLogsIntegrationTemplate
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.flow_log_id(impl Into<String>)
/set_flow_log_id(Option<String>)
:
required: trueThe ID of the flow log.
config_delivery_s3_destination_arn(impl Into<String>)
/set_config_delivery_s3_destination_arn(Option<String>)
:
required: trueTo store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
integrate_services(IntegrateServices)
/set_integrate_services(Option<IntegrateServices>)
:
required: trueInformation about the service integration.
- On success, responds with
GetFlowLogsIntegrationTemplateOutput
with field(s):result(Option<String>)
:The generated CloudFormation template.
- On failure, responds with
SdkError<GetFlowLogsIntegrationTemplateError>
Source§impl Client
impl Client
Sourcepub fn get_groups_for_capacity_reservation(
&self,
) -> GetGroupsForCapacityReservationFluentBuilder
pub fn get_groups_for_capacity_reservation( &self, ) -> GetGroupsForCapacityReservationFluentBuilder
Constructs a fluent builder for the GetGroupsForCapacityReservation
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation. If you specify a Capacity Reservation that is shared with you, the operation returns only Capacity Reservation groups that you own.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token to use to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetGroupsForCapacityReservationOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.capacity_reservation_groups(Option<Vec::<CapacityReservationGroup>>)
:Information about the resource groups to which the Capacity Reservation has been added.
- On failure, responds with
SdkError<GetGroupsForCapacityReservationError>
Source§impl Client
impl Client
Sourcepub fn get_host_reservation_purchase_preview(
&self,
) -> GetHostReservationPurchasePreviewFluentBuilder
pub fn get_host_reservation_purchase_preview( &self, ) -> GetHostReservationPurchasePreviewFluentBuilder
Constructs a fluent builder for the GetHostReservationPurchasePreview
operation.
- The fluent builder is configurable:
host_id_set(impl Into<String>)
/set_host_id_set(Option<Vec::<String>>)
:
required: trueThe IDs of the Dedicated Hosts with which the reservation is associated.
offering_id(impl Into<String>)
/set_offering_id(Option<String>)
:
required: trueThe offering ID of the reservation.
- On success, responds with
GetHostReservationPurchasePreviewOutput
with field(s):currency_code(Option<CurrencyCodeValues>)
:The currency in which the
totalUpfrontPrice
andtotalHourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.purchase(Option<Vec::<Purchase>>)
:The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
total_hourly_price(Option<String>)
:The potential total hourly price of the reservation per hour.
total_upfront_price(Option<String>)
:The potential total upfront price. This is billed immediately.
- On failure, responds with
SdkError<GetHostReservationPurchasePreviewError>
Source§impl Client
impl Client
Sourcepub fn get_image_block_public_access_state(
&self,
) -> GetImageBlockPublicAccessStateFluentBuilder
pub fn get_image_block_public_access_state( &self, ) -> GetImageBlockPublicAccessStateFluentBuilder
Constructs a fluent builder for the GetImageBlockPublicAccessState
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetImageBlockPublicAccessStateOutput
with field(s):image_block_public_access_state(Option<String>)
:The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
-
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked. -
unblocked
- Your AMIs in the specified Region can be publicly shared.
-
managed_by(Option<ManagedBy>)
:The entity that manages the state for block public access for AMIs. Possible values include:
-
account
- The state is managed by the account. -
declarative-policy
- The state is managed by a declarative policy and can’t be modified by the account.
-
- On failure, responds with
SdkError<GetImageBlockPublicAccessStateError>
Source§impl Client
impl Client
Sourcepub fn get_instance_metadata_defaults(
&self,
) -> GetInstanceMetadataDefaultsFluentBuilder
pub fn get_instance_metadata_defaults( &self, ) -> GetInstanceMetadataDefaultsFluentBuilder
Constructs a fluent builder for the GetInstanceMetadataDefaults
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
GetInstanceMetadataDefaultsOutput
with field(s):account_level(Option<InstanceMetadataDefaultsResponse>)
:The account-level default IMDS settings.
- On failure, responds with
SdkError<GetInstanceMetadataDefaultsError>
Source§impl Client
impl Client
Sourcepub fn get_instance_tpm_ek_pub(&self) -> GetInstanceTpmEkPubFluentBuilder
pub fn get_instance_tpm_ek_pub(&self) -> GetInstanceTpmEkPubFluentBuilder
Constructs a fluent builder for the GetInstanceTpmEkPub
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance for which to get the public endorsement key.
key_type(EkPubKeyType)
/set_key_type(Option<EkPubKeyType>)
:
required: trueThe required public endorsement key type.
key_format(EkPubKeyFormat)
/set_key_format(Option<EkPubKeyFormat>)
:
required: trueThe required public endorsement key format. Specify
der
for a DER-encoded public key that is compatible with OpenSSL. Specifytpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseSpecify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is
DryRunOperation
. Otherwise, the response isUnauthorizedOperation
.
- On success, responds with
GetInstanceTpmEkPubOutput
with field(s):instance_id(Option<String>)
:The ID of the instance.
key_type(Option<EkPubKeyType>)
:The public endorsement key type.
key_format(Option<EkPubKeyFormat>)
:The public endorsement key format.
key_value(Option<String>)
:The public endorsement key material.
- On failure, responds with
SdkError<GetInstanceTpmEkPubError>
Source§impl Client
impl Client
Sourcepub fn get_instance_types_from_instance_requirements(
&self,
) -> GetInstanceTypesFromInstanceRequirementsFluentBuilder
pub fn get_instance_types_from_instance_requirements( &self, ) -> GetInstanceTypesFromInstanceRequirementsFluentBuilder
Constructs a fluent builder for the GetInstanceTypesFromInstanceRequirements
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.architecture_types(ArchitectureType)
/set_architecture_types(Option<Vec::<ArchitectureType>>)
:
required: trueThe processor architecture type.
virtualization_types(VirtualizationType)
/set_virtualization_types(Option<Vec::<VirtualizationType>>)
:
required: trueThe virtualization type.
instance_requirements(InstanceRequirementsRequest)
/set_instance_requirements(Option<InstanceRequirementsRequest>)
:
required: trueThe attributes required for the instance types.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
GetInstanceTypesFromInstanceRequirementsOutput
with field(s):instance_types(Option<Vec::<InstanceTypeInfoFromInstanceRequirements>>)
:The instance types with the specified instance attributes.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<GetInstanceTypesFromInstanceRequirementsError>
Source§impl Client
impl Client
Sourcepub fn get_instance_uefi_data(&self) -> GetInstanceUefiDataFluentBuilder
pub fn get_instance_uefi_data(&self) -> GetInstanceUefiDataFluentBuilder
Constructs a fluent builder for the GetInstanceUefiData
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance from which to retrieve the UEFI data.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
GetInstanceUefiDataOutput
with field(s):instance_id(Option<String>)
:The ID of the instance from which to retrieve the UEFI data.
uefi_data(Option<String>)
:Base64 representation of the non-volatile UEFI variable store.
- On failure, responds with
SdkError<GetInstanceUefiDataError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_address_history(&self) -> GetIpamAddressHistoryFluentBuilder
pub fn get_ipam_address_history(&self) -> GetIpamAddressHistoryFluentBuilder
Constructs a fluent builder for the GetIpamAddressHistory
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
ipam_scope_id(impl Into<String>)
/set_ipam_scope_id(Option<String>)
:
required: trueThe ID of the IPAM scope that the CIDR is in.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC you want your history records filtered by.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: falseThe start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: falseThe end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of historical results you would like returned per page. Defaults to 100.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
GetIpamAddressHistoryOutput
with field(s):history_records(Option<Vec::<IpamAddressHistoryRecord>>)
:A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetIpamAddressHistoryError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_discovered_accounts(
&self,
) -> GetIpamDiscoveredAccountsFluentBuilder
pub fn get_ipam_discovered_accounts( &self, ) -> GetIpamDiscoveredAccountsFluentBuilder
Constructs a fluent builder for the GetIpamDiscoveredAccounts
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueA resource discovery ID.
discovery_region(impl Into<String>)
/set_discovery_region(Option<String>)
:
required: trueThe Amazon Web Services Region that the account information is returned from.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseDiscovered account filters.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of discovered accounts to return in one page of results.
- On success, responds with
GetIpamDiscoveredAccountsOutput
with field(s):ipam_discovered_accounts(Option<Vec::<IpamDiscoveredAccount>>)
:Discovered accounts.
next_token(Option<String>)
:Specify the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<GetIpamDiscoveredAccountsError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_discovered_public_addresses(
&self,
) -> GetIpamDiscoveredPublicAddressesFluentBuilder
pub fn get_ipam_discovered_public_addresses( &self, ) -> GetIpamDiscoveredPublicAddressesFluentBuilder
Constructs a fluent builder for the GetIpamDiscoveredPublicAddresses
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueAn IPAM resource discovery ID.
address_region(impl Into<String>)
/set_address_region(Option<String>)
:
required: trueThe Amazon Web Services Region for the IP address.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilters.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of IPAM discovered public addresses to return in one page of results.
- On success, responds with
GetIpamDiscoveredPublicAddressesOutput
with field(s):ipam_discovered_public_addresses(Option<Vec::<IpamDiscoveredPublicAddress>>)
:IPAM discovered public addresses.
oldest_sample_time(Option<DateTime>)
:The oldest successful resource discovery time.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetIpamDiscoveredPublicAddressesError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_discovered_resource_cidrs(
&self,
) -> GetIpamDiscoveredResourceCidrsFluentBuilder
pub fn get_ipam_discovered_resource_cidrs( &self, ) -> GetIpamDiscoveredResourceCidrsFluentBuilder
Constructs a fluent builder for the GetIpamDiscoveredResourceCidrs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueA resource discovery ID.
resource_region(impl Into<String>)
/set_resource_region(Option<String>)
:
required: trueA resource Region.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilters.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseSpecify the pagination token from a previous request to retrieve the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of discovered resource CIDRs to return in one page of results.
- On success, responds with
GetIpamDiscoveredResourceCidrsOutput
with field(s):ipam_discovered_resource_cidrs(Option<Vec::<IpamDiscoveredResourceCidr>>)
:Discovered resource CIDRs.
next_token(Option<String>)
:Specify the pagination token from a previous request to retrieve the next page of results.
- On failure, responds with
SdkError<GetIpamDiscoveredResourceCidrsError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_pool_allocations(&self) -> GetIpamPoolAllocationsFluentBuilder
pub fn get_ipam_pool_allocations(&self) -> GetIpamPoolAllocationsFluentBuilder
Constructs a fluent builder for the GetIpamPoolAllocations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool you want to see the allocations for.
ipam_pool_allocation_id(impl Into<String>)
/set_ipam_pool_allocation_id(Option<String>)
:
required: falseThe ID of the allocation.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results you would like returned per page.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
GetIpamPoolAllocationsOutput
with field(s):ipam_pool_allocations(Option<Vec::<IpamPoolAllocation>>)
:The IPAM pool allocations you want information on.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetIpamPoolAllocationsError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_pool_cidrs(&self) -> GetIpamPoolCidrsFluentBuilder
pub fn get_ipam_pool_cidrs(&self) -> GetIpamPoolCidrsFluentBuilder
Constructs a fluent builder for the GetIpamPoolCidrs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool you want the CIDR for.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in the request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
GetIpamPoolCidrsOutput
with field(s):ipam_pool_cidrs(Option<Vec::<IpamPoolCidr>>)
:Information about the CIDRs provisioned to an IPAM pool.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetIpamPoolCidrsError>
Source§impl Client
impl Client
Sourcepub fn get_ipam_resource_cidrs(&self) -> GetIpamResourceCidrsFluentBuilder
pub fn get_ipam_resource_cidrs(&self) -> GetIpamResourceCidrsFluentBuilder
Constructs a fluent builder for the GetIpamResourceCidrs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters for the request. For more information about filtering, see Filtering CLI output.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return in the request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
ipam_scope_id(impl Into<String>)
/set_ipam_scope_id(Option<String>)
:
required: trueThe ID of the scope that the resource is in.
ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: falseThe ID of the IPAM pool that the resource is in.
resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: falseThe ID of the resource.
resource_type(IpamResourceType)
/set_resource_type(Option<IpamResourceType>)
:
required: falseThe resource type.
resource_tag(RequestIpamResourceTag)
/set_resource_tag(Option<RequestIpamResourceTag>)
:
required: falseThe resource tag.
resource_owner(impl Into<String>)
/set_resource_owner(Option<String>)
:
required: falseThe ID of the Amazon Web Services account that owns the resource.
- On success, responds with
GetIpamResourceCidrsOutput
with field(s):next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.ipam_resource_cidrs(Option<Vec::<IpamResourceCidr>>)
:The resource CIDRs.
- On failure, responds with
SdkError<GetIpamResourceCidrsError>
Source§impl Client
impl Client
Sourcepub fn get_launch_template_data(&self) -> GetLaunchTemplateDataFluentBuilder
pub fn get_launch_template_data(&self) -> GetLaunchTemplateDataFluentBuilder
Constructs a fluent builder for the GetLaunchTemplateData
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
- On success, responds with
GetLaunchTemplateDataOutput
with field(s):launch_template_data(Option<ResponseLaunchTemplateData>)
:The instance data.
- On failure, responds with
SdkError<GetLaunchTemplateDataError>
Source§impl Client
impl Client
Sourcepub fn get_managed_prefix_list_associations(
&self,
) -> GetManagedPrefixListAssociationsFluentBuilder
pub fn get_managed_prefix_list_associations( &self, ) -> GetManagedPrefixListAssociationsFluentBuilder
Constructs a fluent builder for the GetManagedPrefixListAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
GetManagedPrefixListAssociationsOutput
with field(s):prefix_list_associations(Option<Vec::<PrefixListAssociation>>)
:Information about the associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetManagedPrefixListAssociationsError>
Source§impl Client
impl Client
Sourcepub fn get_managed_prefix_list_entries(
&self,
) -> GetManagedPrefixListEntriesFluentBuilder
pub fn get_managed_prefix_list_entries( &self, ) -> GetManagedPrefixListEntriesFluentBuilder
Constructs a fluent builder for the GetManagedPrefixListEntries
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
target_version(i64)
/set_target_version(Option<i64>)
:
required: falseThe version of the prefix list for which to return the entries. The default is the current version.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
- On success, responds with
GetManagedPrefixListEntriesOutput
with field(s):entries(Option<Vec::<PrefixListEntry>>)
:Information about the prefix list entries.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetManagedPrefixListEntriesError>
Source§impl Client
impl Client
Sourcepub fn get_network_insights_access_scope_analysis_findings(
&self,
) -> GetNetworkInsightsAccessScopeAnalysisFindingsFluentBuilder
pub fn get_network_insights_access_scope_analysis_findings( &self, ) -> GetNetworkInsightsAccessScopeAnalysisFindingsFluentBuilder
Constructs a fluent builder for the GetNetworkInsightsAccessScopeAnalysisFindings
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
network_insights_access_scope_analysis_id(impl Into<String>)
/set_network_insights_access_scope_analysis_id(Option<String>)
:
required: trueThe ID of the Network Access Scope analysis.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetNetworkInsightsAccessScopeAnalysisFindingsOutput
with field(s):network_insights_access_scope_analysis_id(Option<String>)
:The ID of the Network Access Scope analysis.
analysis_status(Option<AnalysisStatus>)
:The status of Network Access Scope Analysis.
analysis_findings(Option<Vec::<AccessScopeAnalysisFinding>>)
:The findings associated with Network Access Scope Analysis.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetNetworkInsightsAccessScopeAnalysisFindingsError>
Source§impl Client
impl Client
Sourcepub fn get_network_insights_access_scope_content(
&self,
) -> GetNetworkInsightsAccessScopeContentFluentBuilder
pub fn get_network_insights_access_scope_content( &self, ) -> GetNetworkInsightsAccessScopeContentFluentBuilder
Constructs a fluent builder for the GetNetworkInsightsAccessScopeContent
operation.
- The fluent builder is configurable:
network_insights_access_scope_id(impl Into<String>)
/set_network_insights_access_scope_id(Option<String>)
:
required: trueThe ID of the Network Access Scope.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetNetworkInsightsAccessScopeContentOutput
with field(s):network_insights_access_scope_content(Option<NetworkInsightsAccessScopeContent>)
:The Network Access Scope content.
- On failure, responds with
SdkError<GetNetworkInsightsAccessScopeContentError>
Source§impl Client
impl Client
Sourcepub fn get_password_data(&self) -> GetPasswordDataFluentBuilder
pub fn get_password_data(&self) -> GetPasswordDataFluentBuilder
Constructs a fluent builder for the GetPasswordData
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the Windows instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
GetPasswordDataOutput
with field(s):instance_id(Option<String>)
:The ID of the Windows instance.
timestamp(Option<DateTime>)
:The time the data was last updated.
password_data(Option<String>)
:The password of the instance. Returns an empty string if the password is not available.
- On failure, responds with
SdkError<GetPasswordDataError>
Source§impl Client
impl Client
Sourcepub fn get_reserved_instances_exchange_quote(
&self,
) -> GetReservedInstancesExchangeQuoteFluentBuilder
pub fn get_reserved_instances_exchange_quote( &self, ) -> GetReservedInstancesExchangeQuoteFluentBuilder
Constructs a fluent builder for the GetReservedInstancesExchangeQuote
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.reserved_instance_ids(impl Into<String>)
/set_reserved_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Convertible Reserved Instances to exchange.
target_configurations(TargetConfigurationRequest)
/set_target_configurations(Option<Vec::<TargetConfigurationRequest>>)
:
required: falseThe configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
- On success, responds with
GetReservedInstancesExchangeQuoteOutput
with field(s):currency_code(Option<String>)
:The currency of the transaction.
is_valid_exchange(Option<bool>)
:If
true
, the exchange is valid. Iffalse
, the exchange cannot be completed.output_reserved_instances_will_expire_at(Option<DateTime>)
:The new end date of the reservation term.
payment_due(Option<String>)
:The total true upfront charge for the exchange.
reserved_instance_value_rollup(Option<ReservationValue>)
:The cost associated with the Reserved Instance.
reserved_instance_value_set(Option<Vec::<ReservedInstanceReservationValue>>)
:The configuration of your Convertible Reserved Instances.
target_configuration_value_rollup(Option<ReservationValue>)
:The cost associated with the Reserved Instance.
target_configuration_value_set(Option<Vec::<TargetReservationValue>>)
:The values of the target Convertible Reserved Instances.
validation_failure_reason(Option<String>)
:Describes the reason why the exchange cannot be completed.
- On failure, responds with
SdkError<GetReservedInstancesExchangeQuoteError>
Source§impl Client
impl Client
Sourcepub fn get_route_server_associations(
&self,
) -> GetRouteServerAssociationsFluentBuilder
pub fn get_route_server_associations( &self, ) -> GetRouteServerAssociationsFluentBuilder
Constructs a fluent builder for the GetRouteServerAssociations
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to get association information.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
GetRouteServerAssociationsOutput
with field(s):route_server_associations(Option<Vec::<RouteServerAssociation>>)
:Information about the associations for the specified route server.
- On failure, responds with
SdkError<GetRouteServerAssociationsError>
Source§impl Client
impl Client
Sourcepub fn get_route_server_propagations(
&self,
) -> GetRouteServerPropagationsFluentBuilder
pub fn get_route_server_propagations( &self, ) -> GetRouteServerPropagationsFluentBuilder
Constructs a fluent builder for the GetRouteServerPropagations
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to get propagation information.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: falseThe ID of the route table for which to get propagation information.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
GetRouteServerPropagationsOutput
with field(s):route_server_propagations(Option<Vec::<RouteServerPropagation>>)
:Information about the route propagations for the specified route server.
- On failure, responds with
SdkError<GetRouteServerPropagationsError>
Source§impl Client
impl Client
Sourcepub fn get_route_server_routing_database(
&self,
) -> GetRouteServerRoutingDatabaseFluentBuilder
pub fn get_route_server_routing_database( &self, ) -> GetRouteServerRoutingDatabaseFluentBuilder
Constructs a fluent builder for the GetRouteServerRoutingDatabase
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server for which to get the routing database.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of routing database entries to return in a single response.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseFilters to apply to the routing database query.
- On success, responds with
GetRouteServerRoutingDatabaseOutput
with field(s):are_routes_persisted(Option<bool>)
:Indicates whether routes are being persisted in the routing database.
routes(Option<Vec::<RouteServerRoute>>)
:The collection of routes in the route server’s routing database.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetRouteServerRoutingDatabaseError>
Source§impl Client
impl Client
Sourcepub fn get_security_groups_for_vpc(
&self,
) -> GetSecurityGroupsForVpcFluentBuilder
pub fn get_security_groups_for_vpc( &self, ) -> GetSecurityGroupsForVpcFluentBuilder
Constructs a fluent builder for the GetSecurityGroupsForVpc
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe VPC ID where the security group can be used.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters. If using multiple filters, the results include security groups which match all filters.
-
group-id
: The security group ID. -
description
: The security group’s description. -
group-name
: The security group name. -
owner-id
: The security group owner ID. -
primary-vpc-id
: The VPC ID in which the security group was created.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetSecurityGroupsForVpcOutput
with field(s):next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.security_group_for_vpcs(Option<Vec::<SecurityGroupForVpc>>)
:The security group that can be used by interfaces in the VPC.
- On failure, responds with
SdkError<GetSecurityGroupsForVpcError>
Source§impl Client
impl Client
Sourcepub fn get_serial_console_access_status(
&self,
) -> GetSerialConsoleAccessStatusFluentBuilder
pub fn get_serial_console_access_status( &self, ) -> GetSerialConsoleAccessStatusFluentBuilder
Constructs a fluent builder for the GetSerialConsoleAccessStatus
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetSerialConsoleAccessStatusOutput
with field(s):serial_console_access_enabled(Option<bool>)
:If
true
, access to the EC2 serial console of all instances is enabled for your account. Iffalse
, access to the EC2 serial console of all instances is disabled for your account.managed_by(Option<ManagedBy>)
:The entity that manages access to the serial console. Possible values include:
-
account
- Access is managed by the account. -
declarative-policy
- Access is managed by a declarative policy and can’t be modified by the account.
-
- On failure, responds with
SdkError<GetSerialConsoleAccessStatusError>
Source§impl Client
impl Client
Sourcepub fn get_snapshot_block_public_access_state(
&self,
) -> GetSnapshotBlockPublicAccessStateFluentBuilder
pub fn get_snapshot_block_public_access_state( &self, ) -> GetSnapshotBlockPublicAccessStateFluentBuilder
Constructs a fluent builder for the GetSnapshotBlockPublicAccessState
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetSnapshotBlockPublicAccessStateOutput
with field(s):state(Option<SnapshotBlockPublicAccessState>)
:The current state of block public access for snapshots. Possible values include:
-
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can’t request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available. -
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can’t request new public sharing. However, snapshots that were already publicly shared, remain publicly available. -
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
-
managed_by(Option<ManagedBy>)
:The entity that manages the state for block public access for snapshots. Possible values include:
-
account
- The state is managed by the account. -
declarative-policy
- The state is managed by a declarative policy and can’t be modified by the account.
-
- On failure, responds with
SdkError<GetSnapshotBlockPublicAccessStateError>
Source§impl Client
impl Client
Sourcepub fn get_spot_placement_scores(&self) -> GetSpotPlacementScoresFluentBuilder
pub fn get_spot_placement_scores(&self) -> GetSpotPlacementScoresFluentBuilder
Constructs a fluent builder for the GetSpotPlacementScores
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
instance_types(impl Into<String>)
/set_instance_types(Option<Vec::<String>>)
:
required: falseThe instance types. We recommend that you specify at least three instance types. If you specify one or two instance types, or specify variations of a single instance type (for example, an
m3.xlarge
with and without instance storage), the returned placement score will always be low.If you specify
InstanceTypes
, you can’t specifyInstanceRequirementsWithMetadata
.target_capacity(i32)
/set_target_capacity(Option<i32>)
:
required: trueThe target capacity.
target_capacity_unit_type(TargetCapacityUnitType)
/set_target_capacity_unit_type(Option<TargetCapacityUnitType>)
:
required: falseThe unit for the target capacity.
single_availability_zone(bool)
/set_single_availability_zone(Option<bool>)
:
required: falseSpecify
true
so that the response returns a list of scored Availability Zones. Otherwise, the response returns a list of scored Regions.A list of scored Availability Zones is useful if you want to launch all of your Spot capacity into a single Availability Zone.
region_names(impl Into<String>)
/set_region_names(Option<Vec::<String>>)
:
required: falseThe Regions used to narrow down the list of Regions to be scored. Enter the Region code, for example,
us-east-1
.instance_requirements_with_metadata(InstanceRequirementsWithMetadataRequest)
/set_instance_requirements_with_metadata(Option<InstanceRequirementsWithMetadataRequest>)
:
required: falseThe attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirementsWithMetadata
, you can’t specifyInstanceTypes
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
- On success, responds with
GetSpotPlacementScoresOutput
with field(s):spot_placement_scores(Option<Vec::<SpotPlacementScore>>)
:The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of
10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<GetSpotPlacementScoresError>
Source§impl Client
impl Client
Sourcepub fn get_subnet_cidr_reservations(
&self,
) -> GetSubnetCidrReservationsFluentBuilder
pub fn get_subnet_cidr_reservations( &self, ) -> GetSubnetCidrReservationsFluentBuilder
Constructs a fluent builder for the GetSubnetCidrReservations
operation.
- The fluent builder is configurable:
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
reservationType
- The type of reservation (prefix
|explicit
). -
subnet-id
- The ID of the subnet. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
-
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.
- On success, responds with
GetSubnetCidrReservationsOutput
with field(s):subnet_ipv4_cidr_reservations(Option<Vec::<SubnetCidrReservation>>)
:Information about the IPv4 subnet CIDR reservations.
subnet_ipv6_cidr_reservations(Option<Vec::<SubnetCidrReservation>>)
:Information about the IPv6 subnet CIDR reservations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetSubnetCidrReservationsError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_attachment_propagations(
&self,
) -> GetTransitGatewayAttachmentPropagationsFluentBuilder
pub fn get_transit_gateway_attachment_propagations( &self, ) -> GetTransitGatewayAttachmentPropagationsFluentBuilder
Constructs a fluent builder for the GetTransitGatewayAttachmentPropagations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
transit-gateway-route-table-id
- The ID of the transit gateway route table.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayAttachmentPropagationsOutput
with field(s):transit_gateway_attachment_propagations(Option<Vec::<TransitGatewayAttachmentPropagation>>)
:Information about the propagation route tables.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetTransitGatewayAttachmentPropagationsError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_multicast_domain_associations(
&self,
) -> GetTransitGatewayMulticastDomainAssociationsFluentBuilder
pub fn get_transit_gateway_multicast_domain_associations( &self, ) -> GetTransitGatewayMulticastDomainAssociationsFluentBuilder
Constructs a fluent builder for the GetTransitGatewayMulticastDomainAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
resource-id
- The ID of the resource. -
resource-type
- The type of resource. The valid value is:vpc
. -
state
- The state of the subnet association. Valid values areassociated
|associating
|disassociated
|disassociating
. -
subnet-id
- The ID of the subnet. -
transit-gateway-attachment-id
- The id of the transit gateway attachment.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayMulticastDomainAssociationsOutput
with field(s):multicast_domain_associations(Option<Vec::<TransitGatewayMulticastDomainAssociation>>)
:Information about the multicast domain associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetTransitGatewayMulticastDomainAssociationsError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_policy_table_associations(
&self,
) -> GetTransitGatewayPolicyTableAssociationsFluentBuilder
pub fn get_transit_gateway_policy_table_associations( &self, ) -> GetTransitGatewayPolicyTableAssociationsFluentBuilder
Constructs a fluent builder for the GetTransitGatewayPolicyTableAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_policy_table_id(impl Into<String>)
/set_transit_gateway_policy_table_id(Option<String>)
:
required: trueThe ID of the transit gateway policy table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters associated with the transit gateway policy table.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayPolicyTableAssociationsOutput
with field(s):associations(Option<Vec::<TransitGatewayPolicyTableAssociation>>)
:Returns details about the transit gateway policy table association.
next_token(Option<String>)
:The token for the next page of results.
- On failure, responds with
SdkError<GetTransitGatewayPolicyTableAssociationsError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_policy_table_entries(
&self,
) -> GetTransitGatewayPolicyTableEntriesFluentBuilder
pub fn get_transit_gateway_policy_table_entries( &self, ) -> GetTransitGatewayPolicyTableEntriesFluentBuilder
Constructs a fluent builder for the GetTransitGatewayPolicyTableEntries
operation.
- The fluent builder is configurable:
transit_gateway_policy_table_id(impl Into<String>)
/set_transit_gateway_policy_table_id(Option<String>)
:
required: trueThe ID of the transit gateway policy table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseThe filters associated with the transit gateway policy table.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayPolicyTableEntriesOutput
with field(s):transit_gateway_policy_table_entries(Option<Vec::<TransitGatewayPolicyTableEntry>>)
:The entries for the transit gateway policy table.
- On failure, responds with
SdkError<GetTransitGatewayPolicyTableEntriesError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_prefix_list_references(
&self,
) -> GetTransitGatewayPrefixListReferencesFluentBuilder
pub fn get_transit_gateway_prefix_list_references( &self, ) -> GetTransitGatewayPrefixListReferencesFluentBuilder
Constructs a fluent builder for the GetTransitGatewayPrefixListReferences
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
attachment.resource-id
- The ID of the resource for the attachment. -
attachment.resource-type
- The type of resource for the attachment. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
. -
attachment.transit-gateway-attachment-id
- The ID of the attachment. -
is-blackhole
- Whether traffic matching the route is blocked (true
|false
). -
prefix-list-id
- The ID of the prefix list. -
prefix-list-owner-id
- The ID of the owner of the prefix list. -
state
- The state of the prefix list reference (pending
|available
|modifying
|deleting
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayPrefixListReferencesOutput
with field(s):transit_gateway_prefix_list_references(Option<Vec::<TransitGatewayPrefixListReference>>)
:Information about the prefix list references.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetTransitGatewayPrefixListReferencesError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_route_table_associations(
&self,
) -> GetTransitGatewayRouteTableAssociationsFluentBuilder
pub fn get_transit_gateway_route_table_associations( &self, ) -> GetTransitGatewayRouteTableAssociationsFluentBuilder
Constructs a fluent builder for the GetTransitGatewayRouteTableAssociations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
resource-id
- The ID of the resource. -
resource-type
- The resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
. -
transit-gateway-attachment-id
- The ID of the attachment.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayRouteTableAssociationsOutput
with field(s):associations(Option<Vec::<TransitGatewayRouteTableAssociation>>)
:Information about the associations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetTransitGatewayRouteTableAssociationsError>
Source§impl Client
impl Client
Sourcepub fn get_transit_gateway_route_table_propagations(
&self,
) -> GetTransitGatewayRouteTablePropagationsFluentBuilder
pub fn get_transit_gateway_route_table_propagations( &self, ) -> GetTransitGatewayRouteTablePropagationsFluentBuilder
Constructs a fluent builder for the GetTransitGatewayRouteTablePropagations
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
resource-id
- The ID of the resource. -
resource-type
- The resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
. -
transit-gateway-attachment-id
- The ID of the attachment.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetTransitGatewayRouteTablePropagationsOutput
with field(s):transit_gateway_route_table_propagations(Option<Vec::<TransitGatewayRouteTablePropagation>>)
:Information about the route table propagations.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetTransitGatewayRouteTablePropagationsError>
Source§impl Client
impl Client
Sourcepub fn get_verified_access_endpoint_policy(
&self,
) -> GetVerifiedAccessEndpointPolicyFluentBuilder
pub fn get_verified_access_endpoint_policy( &self, ) -> GetVerifiedAccessEndpointPolicyFluentBuilder
Constructs a fluent builder for the GetVerifiedAccessEndpointPolicy
operation.
- The fluent builder is configurable:
verified_access_endpoint_id(impl Into<String>)
/set_verified_access_endpoint_id(Option<String>)
:
required: trueThe ID of the Verified Access endpoint.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVerifiedAccessEndpointPolicyOutput
with field(s):policy_enabled(Option<bool>)
:The status of the Verified Access policy.
policy_document(Option<String>)
:The Verified Access policy document.
- On failure, responds with
SdkError<GetVerifiedAccessEndpointPolicyError>
Source§impl Client
impl Client
Sourcepub fn get_verified_access_endpoint_targets(
&self,
) -> GetVerifiedAccessEndpointTargetsFluentBuilder
pub fn get_verified_access_endpoint_targets( &self, ) -> GetVerifiedAccessEndpointTargetsFluentBuilder
Constructs a fluent builder for the GetVerifiedAccessEndpointTargets
operation.
- The fluent builder is configurable:
verified_access_endpoint_id(impl Into<String>)
/set_verified_access_endpoint_id(Option<String>)
:
required: trueThe ID of the network CIDR endpoint.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVerifiedAccessEndpointTargetsOutput
with field(s):verified_access_endpoint_targets(Option<Vec::<VerifiedAccessEndpointTarget>>)
:The Verified Access targets.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<GetVerifiedAccessEndpointTargetsError>
Source§impl Client
impl Client
Sourcepub fn get_verified_access_group_policy(
&self,
) -> GetVerifiedAccessGroupPolicyFluentBuilder
pub fn get_verified_access_group_policy( &self, ) -> GetVerifiedAccessGroupPolicyFluentBuilder
Constructs a fluent builder for the GetVerifiedAccessGroupPolicy
operation.
- The fluent builder is configurable:
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: trueThe ID of the Verified Access group.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVerifiedAccessGroupPolicyOutput
with field(s):policy_enabled(Option<bool>)
:The status of the Verified Access policy.
policy_document(Option<String>)
:The Verified Access policy document.
- On failure, responds with
SdkError<GetVerifiedAccessGroupPolicyError>
Source§impl Client
impl Client
Sourcepub fn get_vpn_connection_device_sample_configuration(
&self,
) -> GetVpnConnectionDeviceSampleConfigurationFluentBuilder
pub fn get_vpn_connection_device_sample_configuration( &self, ) -> GetVpnConnectionDeviceSampleConfigurationFluentBuilder
Constructs a fluent builder for the GetVpnConnectionDeviceSampleConfiguration
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe
VpnConnectionId
specifies the Site-to-Site VPN connection used for the sample configuration.vpn_connection_device_type_id(impl Into<String>)
/set_vpn_connection_device_type_id(Option<String>)
:
required: trueDevice identifier provided by the
GetVpnConnectionDeviceTypes
API.internet_key_exchange_version(impl Into<String>)
/set_internet_key_exchange_version(Option<String>)
:
required: falseThe IKE version to be used in the sample configuration file for your customer gateway device. You can specify one of the following versions:
ikev1
orikev2
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVpnConnectionDeviceSampleConfigurationOutput
with field(s):vpn_connection_device_sample_configuration(Option<String>)
:Sample configuration file for the specified customer gateway device.
- On failure, responds with
SdkError<GetVpnConnectionDeviceSampleConfigurationError>
Source§impl Client
impl Client
Sourcepub fn get_vpn_connection_device_types(
&self,
) -> GetVpnConnectionDeviceTypesFluentBuilder
pub fn get_vpn_connection_device_types( &self, ) -> GetVpnConnectionDeviceTypesFluentBuilder
Constructs a fluent builder for the GetVpnConnectionDeviceTypes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results returned by
GetVpnConnectionDeviceTypes
in paginated output. When this parameter is used,GetVpnConnectionDeviceTypes
only returnsMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherGetVpnConnectionDeviceTypes
request with the returnedNextToken
value. This value can be between 200 and 1000. If this parameter is not used, thenGetVpnConnectionDeviceTypes
returns all results.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe
NextToken
value returned from a previous paginatedGetVpnConnectionDeviceTypes
request whereMaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned theNextToken
value. This value is null when there are no more results to return.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVpnConnectionDeviceTypesOutput
with field(s):vpn_connection_device_types(Option<Vec::<VpnConnectionDeviceType>>)
:List of customer gateway devices that have a sample configuration file available for use.
next_token(Option<String>)
:The
NextToken
value to include in a futureGetVpnConnectionDeviceTypes
request. When the results of aGetVpnConnectionDeviceTypes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
- On failure, responds with
SdkError<GetVpnConnectionDeviceTypesError>
Source§impl Client
impl Client
Sourcepub fn get_vpn_tunnel_replacement_status(
&self,
) -> GetVpnTunnelReplacementStatusFluentBuilder
pub fn get_vpn_tunnel_replacement_status( &self, ) -> GetVpnTunnelReplacementStatusFluentBuilder
Constructs a fluent builder for the GetVpnTunnelReplacementStatus
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the Site-to-Site VPN connection.
vpn_tunnel_outside_ip_address(impl Into<String>)
/set_vpn_tunnel_outside_ip_address(Option<String>)
:
required: trueThe external IP address of the VPN tunnel.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
GetVpnTunnelReplacementStatusOutput
with field(s):vpn_connection_id(Option<String>)
:The ID of the Site-to-Site VPN connection.
transit_gateway_id(Option<String>)
:The ID of the transit gateway associated with the VPN connection.
customer_gateway_id(Option<String>)
:The ID of the customer gateway.
vpn_gateway_id(Option<String>)
:The ID of the virtual private gateway.
vpn_tunnel_outside_ip_address(Option<String>)
:The external IP address of the VPN tunnel.
maintenance_details(Option<MaintenanceDetails>)
:Get details of pending tunnel endpoint maintenance.
- On failure, responds with
SdkError<GetVpnTunnelReplacementStatusError>
Source§impl Client
impl Client
Sourcepub fn import_client_vpn_client_certificate_revocation_list(
&self,
) -> ImportClientVpnClientCertificateRevocationListFluentBuilder
pub fn import_client_vpn_client_certificate_revocation_list( &self, ) -> ImportClientVpnClientCertificateRevocationListFluentBuilder
Constructs a fluent builder for the ImportClientVpnClientCertificateRevocationList
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint to which the client certificate revocation list applies.
certificate_revocation_list(impl Into<String>)
/set_certificate_revocation_list(Option<String>)
:
required: trueThe client certificate revocation list file. For more information, see Generate a Client Certificate Revocation List in the Client VPN Administrator Guide.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ImportClientVpnClientCertificateRevocationListOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ImportClientVpnClientCertificateRevocationListError>
Source§impl Client
impl Client
Sourcepub fn import_image(&self) -> ImportImageFluentBuilder
pub fn import_image(&self) -> ImportImageFluentBuilder
Constructs a fluent builder for the ImportImage
operation.
- The fluent builder is configurable:
architecture(impl Into<String>)
/set_architecture(Option<String>)
:
required: falseThe architecture of the virtual machine.
Valid values:
i386
|x86_64
client_data(ClientData)
/set_client_data(Option<ClientData>)
:
required: falseThe client-specific data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseThe token to enable idempotency for VM import requests.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description string for the import image task.
disk_containers(ImageDiskContainer)
/set_disk_containers(Option<Vec::<ImageDiskContainer>>)
:
required: falseInformation about the disk containers.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.encrypted(bool)
/set_encrypted(Option<bool>)
:
required: falseSpecifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using
KmsKeyId
. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.hypervisor(impl Into<String>)
/set_hypervisor(Option<String>)
:
required: falseThe target hypervisor platform.
Valid values:
xen
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseAn identifier for the symmetric KMS key to use when creating the encrypted AMI. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a
KmsKeyId
is specified, theEncrypted
flag must also be set.The KMS key identifier may be provided in any of the following formats:
-
Key ID
-
Key alias
-
ARN using key ID. The ID ARN contains the
arn:aws:kms
namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, thekey
namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. -
ARN using key alias. The alias ARN contains the
arn:aws:kms
namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, thealias
namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services parses
KmsKeyId
asynchronously, meaning that the action you call may appear to complete even though you provided an invalid identifier. This action will eventually report failure.The specified KMS key must exist in the Region that the AMI is being copied to.
Amazon EBS does not support asymmetric KMS keys.
-
license_type(impl Into<String>)
/set_license_type(Option<String>)
:
required: falseThe license type to be used for the Amazon Machine Image (AMI) after importing.
Specify
AWS
to replace the source-system license with an Amazon Web Services license orBYOL
to retain the source-system license. Leaving this parameter undefined is the same as choosingAWS
when importing a Windows Server operating system, and the same as choosingBYOL
when importing a Windows client operating system (such as Windows 10) or a Linux operating system.To use
BYOL
, you must have existing licenses with rights to use these licenses in a third party cloud, such as Amazon Web Services. For more information, see Prerequisites in the VM Import/Export User Guide.platform(impl Into<String>)
/set_platform(Option<String>)
:
required: falseThe operating system of the virtual machine. If you import a VM that is compatible with Unified Extensible Firmware Interface (UEFI) using an EBS snapshot, you must specify a value for the platform.
Valid values:
Windows
|Linux
role_name(impl Into<String>)
/set_role_name(Option<String>)
:
required: falseThe name of the role to use when not using the default role, ‘vmimport’.
license_specifications(ImportImageLicenseConfigurationRequest)
/set_license_specifications(Option<Vec::<ImportImageLicenseConfigurationRequest>>)
:
required: falseThe ARNs of the license configurations.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the import image task during creation.
usage_operation(impl Into<String>)
/set_usage_operation(Option<String>)
:
required: falseThe usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.
boot_mode(BootModeValues)
/set_boot_mode(Option<BootModeValues>)
:
required: falseThe boot mode of the virtual machine.
The
uefi-preferred
boot mode isn’t supported for importing images. For more information, see Boot modes in the VM Import/Export User Guide.
- On success, responds with
ImportImageOutput
with field(s):architecture(Option<String>)
:The architecture of the virtual machine.
description(Option<String>)
:A description of the import task.
encrypted(Option<bool>)
:Indicates whether the AMI is encrypted.
hypervisor(Option<String>)
:The target hypervisor of the import task.
image_id(Option<String>)
:The ID of the Amazon Machine Image (AMI) created by the import task.
import_task_id(Option<String>)
:The task ID of the import image task.
kms_key_id(Option<String>)
:The identifier for the symmetric KMS key that was used to create the encrypted AMI.
license_type(Option<String>)
:The license type of the virtual machine.
platform(Option<String>)
:The operating system of the virtual machine.
progress(Option<String>)
:The progress of the task.
snapshot_details(Option<Vec::<SnapshotDetail>>)
:Information about the snapshots.
status(Option<String>)
:A brief status of the task.
status_message(Option<String>)
:A detailed status message of the import task.
license_specifications(Option<Vec::<ImportImageLicenseConfigurationResponse>>)
:The ARNs of the license configurations.
tags(Option<Vec::<Tag>>)
:Any tags assigned to the import image task.
usage_operation(Option<String>)
:The usage operation value.
- On failure, responds with
SdkError<ImportImageError>
Source§impl Client
impl Client
Sourcepub fn import_instance(&self) -> ImportInstanceFluentBuilder
pub fn import_instance(&self) -> ImportInstanceFluentBuilder
Constructs a fluent builder for the ImportInstance
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the instance being imported.
launch_specification(ImportInstanceLaunchSpecification)
/set_launch_specification(Option<ImportInstanceLaunchSpecification>)
:
required: falseThe launch specification.
disk_images(DiskImage)
/set_disk_images(Option<Vec::<DiskImage>>)
:
required: falseThe disk image.
platform(PlatformValues)
/set_platform(Option<PlatformValues>)
:
required: trueThe instance operating system.
- On success, responds with
ImportInstanceOutput
with field(s):conversion_task(Option<ConversionTask>)
:Information about the conversion task.
- On failure, responds with
SdkError<ImportInstanceError>
Source§impl Client
impl Client
Sourcepub fn import_key_pair(&self) -> ImportKeyPairFluentBuilder
pub fn import_key_pair(&self) -> ImportKeyPairFluentBuilder
Constructs a fluent builder for the ImportKeyPair
operation.
- The fluent builder is configurable:
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the imported key pair.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: trueA unique name for the key pair.
public_key_material(Blob)
/set_public_key_material(Option<Blob>)
:
required: trueThe public key.
- On success, responds with
ImportKeyPairOutput
with field(s):key_fingerprint(Option<String>)
:-
For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
-
key_name(Option<String>)
:The key pair name that you provided.
key_pair_id(Option<String>)
:The ID of the resulting key pair.
tags(Option<Vec::<Tag>>)
:The tags applied to the imported key pair.
- On failure, responds with
SdkError<ImportKeyPairError>
Source§impl Client
impl Client
Sourcepub fn import_snapshot(&self) -> ImportSnapshotFluentBuilder
pub fn import_snapshot(&self) -> ImportSnapshotFluentBuilder
Constructs a fluent builder for the ImportSnapshot
operation.
- The fluent builder is configurable:
client_data(ClientData)
/set_client_data(Option<ClientData>)
:
required: falseThe client-specific data.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseToken to enable idempotency for VM import requests.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description string for the import snapshot task.
disk_container(SnapshotDiskContainer)
/set_disk_container(Option<SnapshotDiskContainer>)
:
required: falseInformation about the disk container.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.encrypted(bool)
/set_encrypted(Option<bool>)
:
required: falseSpecifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is used unless you specify a non-default KMS key using
KmsKeyId
. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: falseAn identifier for the symmetric KMS key to use when creating the encrypted snapshot. This parameter is only required if you want to use a non-default KMS key; if this parameter is not specified, the default KMS key for EBS is used. If a
KmsKeyId
is specified, theEncrypted
flag must also be set.The KMS key identifier may be provided in any of the following formats:
-
Key ID
-
Key alias
-
ARN using key ID. The ID ARN contains the
arn:aws:kms
namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, thekey
namespace, and then the key ID. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. -
ARN using key alias. The alias ARN contains the
arn:aws:kms
namespace, followed by the Region of the key, the Amazon Web Services account ID of the key owner, thealias
namespace, and then the key alias. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services parses
KmsKeyId
asynchronously, meaning that the action you call may appear to complete even though you provided an invalid identifier. This action will eventually report failure.The specified KMS key must exist in the Region that the snapshot is being copied to.
Amazon EBS does not support asymmetric KMS keys.
-
role_name(impl Into<String>)
/set_role_name(Option<String>)
:
required: falseThe name of the role to use when not using the default role, ‘vmimport’.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the import snapshot task during creation.
- On success, responds with
ImportSnapshotOutput
with field(s):description(Option<String>)
:A description of the import snapshot task.
import_task_id(Option<String>)
:The ID of the import snapshot task.
snapshot_task_detail(Option<SnapshotTaskDetail>)
:Information about the import snapshot task.
tags(Option<Vec::<Tag>>)
:Any tags assigned to the import snapshot task.
- On failure, responds with
SdkError<ImportSnapshotError>
Source§impl Client
impl Client
Sourcepub fn import_volume(&self) -> ImportVolumeFluentBuilder
pub fn import_volume(&self) -> ImportVolumeFluentBuilder
Constructs a fluent builder for the ImportVolume
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.availability_zone(impl Into<String>)
/set_availability_zone(Option<String>)
:
required: trueThe Availability Zone for the resulting EBS volume.
image(DiskImageDetail)
/set_image(Option<DiskImageDetail>)
:
required: trueThe disk image.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description of the volume.
volume(VolumeDetail)
/set_volume(Option<VolumeDetail>)
:
required: trueThe volume size.
- On success, responds with
ImportVolumeOutput
with field(s):conversion_task(Option<ConversionTask>)
:Information about the conversion task.
- On failure, responds with
SdkError<ImportVolumeError>
Source§impl Client
impl Client
Sourcepub fn list_images_in_recycle_bin(&self) -> ListImagesInRecycleBinFluentBuilder
pub fn list_images_in_recycle_bin(&self) -> ListImagesInRecycleBinFluentBuilder
Constructs a fluent builder for the ListImagesInRecycleBin
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
image_ids(impl Into<String>)
/set_image_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the AMIs to list. Omit this parameter to list all of the AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a single request.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ListImagesInRecycleBinOutput
with field(s):images(Option<Vec::<ImageRecycleBinInfo>>)
:Information about the AMIs.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<ListImagesInRecycleBinError>
Source§impl Client
impl Client
Sourcepub fn list_snapshots_in_recycle_bin(
&self,
) -> ListSnapshotsInRecycleBinFluentBuilder
pub fn list_snapshots_in_recycle_bin( &self, ) -> ListSnapshotsInRecycleBinFluentBuilder
Constructs a fluent builder for the ListSnapshotsInRecycleBin
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
snapshot_ids(impl Into<String>)
/set_snapshot_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ListSnapshotsInRecycleBinOutput
with field(s):snapshots(Option<Vec::<SnapshotRecycleBinInfo>>)
:Information about the snapshots.
next_token(Option<String>)
:The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.
- On failure, responds with
SdkError<ListSnapshotsInRecycleBinError>
Source§impl Client
impl Client
Sourcepub fn lock_snapshot(&self) -> LockSnapshotFluentBuilder
pub fn lock_snapshot(&self) -> LockSnapshotFluentBuilder
Constructs a fluent builder for the LockSnapshot
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot to lock.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.lock_mode(LockMode)
/set_lock_mode(Option<LockMode>)
:
required: trueThe mode in which to lock the snapshot. Specify one of the following:
-
governance
- Locks the snapshot in governance mode. Snapshots locked in governance mode can’t be deleted until one of the following conditions are met:-
The lock duration expires.
-
The snapshot is unlocked by a user with the appropriate permissions.
Users with the appropriate IAM permissions can unlock the snapshot, increase or decrease the lock duration, and change the lock mode to
compliance
at any time.If you lock a snapshot in
governance
mode, omit CoolOffPeriod. -
-
compliance
- Locks the snapshot in compliance mode. Snapshots locked in compliance mode can’t be unlocked by any user. They can be deleted only after the lock duration expires. Users can’t decrease the lock duration or change the lock mode togovernance
. However, users with appropriate IAM permissions can increase the lock duration at any time.If you lock a snapshot in
compliance
mode, you can optionally specify CoolOffPeriod.
-
cool_off_period(i32)
/set_cool_off_period(Option<i32>)
:
required: falseThe cooling-off period during which you can unlock the snapshot or modify the lock settings after locking the snapshot in compliance mode, in hours. After the cooling-off period expires, you can’t unlock or delete the snapshot, decrease the lock duration, or change the lock mode. You can increase the lock duration after the cooling-off period expires.
The cooling-off period is optional when locking a snapshot in compliance mode. If you are locking the snapshot in governance mode, omit this parameter.
To lock the snapshot in compliance mode immediately without a cooling-off period, omit this parameter.
If you are extending the lock duration for a snapshot that is locked in compliance mode after the cooling-off period has expired, omit this parameter. If you specify a cooling-period in a such a request, the request fails.
Allowed values: Min 1, max 72.
lock_duration(i32)
/set_lock_duration(Option<i32>)
:
required: falseThe period of time for which to lock the snapshot, in days. The snapshot lock will automatically expire after this period lapses.
You must specify either this parameter or ExpirationDate, but not both.
Allowed values: Min: 1, max 36500
expiration_date(DateTime)
/set_expiration_date(Option<DateTime>)
:
required: falseThe date and time at which the snapshot lock is to automatically expire, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).You must specify either this parameter or LockDuration, but not both.
- On success, responds with
LockSnapshotOutput
with field(s):snapshot_id(Option<String>)
:The ID of the snapshot
lock_state(Option<LockState>)
:The state of the snapshot lock. Valid states include:
-
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can’t be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions. -
governance
- The snapshot is locked in governance mode. The snapshot can’t be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions. -
compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can’t be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions. -
expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
-
lock_duration(Option<i32>)
:The period of time for which the snapshot is locked, in days.
cool_off_period(Option<i32>)
:The compliance mode cooling-off period, in hours.
cool_off_period_expires_on(Option<DateTime>)
:The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).lock_created_on(Option<DateTime>)
:The date and time at which the snapshot was locked, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).lock_expires_on(Option<DateTime>)
:The date and time at which the lock will expire, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).lock_duration_start_time(Option<DateTime>)
:The date and time at which the lock duration started, in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ
).
- On failure, responds with
SdkError<LockSnapshotError>
Source§impl Client
impl Client
Sourcepub fn modify_address_attribute(&self) -> ModifyAddressAttributeFluentBuilder
pub fn modify_address_attribute(&self) -> ModifyAddressAttributeFluentBuilder
Constructs a fluent builder for the ModifyAddressAttribute
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: true[EC2-VPC] The allocation ID.
domain_name(impl Into<String>)
/set_domain_name(Option<String>)
:
required: falseThe domain name to modify for the IP address.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyAddressAttributeOutput
with field(s):address(Option<AddressAttribute>)
:Information about the Elastic IP address.
- On failure, responds with
SdkError<ModifyAddressAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_availability_zone_group(
&self,
) -> ModifyAvailabilityZoneGroupFluentBuilder
pub fn modify_availability_zone_group( &self, ) -> ModifyAvailabilityZoneGroupFluentBuilder
Constructs a fluent builder for the ModifyAvailabilityZoneGroup
operation.
- The fluent builder is configurable:
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: trueThe name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
opt_in_status(ModifyAvailabilityZoneOptInStatus)
/set_opt_in_status(Option<ModifyAvailabilityZoneOptInStatus>)
:
required: trueIndicates whether to opt in to the zone group. The only valid value is
opted-in
. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyAvailabilityZoneGroupOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.
- On failure, responds with
SdkError<ModifyAvailabilityZoneGroupError>
Source§impl Client
impl Client
Sourcepub fn modify_capacity_reservation(
&self,
) -> ModifyCapacityReservationFluentBuilder
pub fn modify_capacity_reservation( &self, ) -> ModifyCapacityReservationFluentBuilder
Constructs a fluent builder for the ModifyCapacityReservation
operation.
- The fluent builder is configurable:
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe number of instances for which to reserve capacity. The number of instances can’t be increased or decreased by more than
1000
in a single request.end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: falseThe date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation’s state changes to
expired
when it reaches its end date and time.The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019.
You must provide an
EndDate
value ifEndDateType
islimited
. OmitEndDate
ifEndDateType
isunlimited
.end_date_type(EndDateType)
/set_end_date_type(Option<EndDateType>)
:
required: falseIndicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:
-
unlimited
- The Capacity Reservation remains active until you explicitly cancel it. Do not provide anEndDate
value ifEndDateType
isunlimited
. -
limited
- The Capacity Reservation expires automatically at a specified date and time. You must provide anEndDate
value ifEndDateType
islimited
.
-
accept(bool)
/set_accept(Option<bool>)
:
required: falseReserved. Capacity Reservations you have created are accepted by default.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.additional_info(impl Into<String>)
/set_additional_info(Option<String>)
:
required: falseReserved for future use.
instance_match_criteria(InstanceMatchCriteria)
/set_instance_match_criteria(Option<InstanceMatchCriteria>)
:
required: falseThe matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from
targeted
toopen
, any running instances that match the attributes of the Capacity Reservation, have theCapacityReservationPreference
set toopen
, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation.To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage).
- On success, responds with
ModifyCapacityReservationOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyCapacityReservationError>
Source§impl Client
impl Client
Sourcepub fn modify_capacity_reservation_fleet(
&self,
) -> ModifyCapacityReservationFleetFluentBuilder
pub fn modify_capacity_reservation_fleet( &self, ) -> ModifyCapacityReservationFleetFluentBuilder
Constructs a fluent builder for the ModifyCapacityReservationFleet
operation.
- The fluent builder is configurable:
capacity_reservation_fleet_id(impl Into<String>)
/set_capacity_reservation_fleet_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation Fleet to modify.
total_target_capacity(i32)
/set_total_target_capacity(Option<i32>)
:
required: falseThe total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
end_date(DateTime)
/set_end_date(Option<DateTime>)
:
required: falseThe date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to
expired
and all of the Capacity Reservations in the Fleet expire.The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify
5/31/2019
,13:30:55
, the Capacity Reservation Fleet is guaranteed to expire between13:30:55
and14:30:55
on5/31/2019
.You can’t specify EndDate and RemoveEndDate in the same request.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.remove_end_date(bool)
/set_remove_end_date(Option<bool>)
:
required: falseIndicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action.
You can’t specify RemoveEndDate and EndDate in the same request.
- On success, responds with
ModifyCapacityReservationFleetOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyCapacityReservationFleetError>
Source§impl Client
impl Client
Sourcepub fn modify_client_vpn_endpoint(&self) -> ModifyClientVpnEndpointFluentBuilder
pub fn modify_client_vpn_endpoint(&self) -> ModifyClientVpnEndpointFluentBuilder
Constructs a fluent builder for the ModifyClientVpnEndpoint
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint to modify.
server_certificate_arn(impl Into<String>)
/set_server_certificate_arn(Option<String>)
:
required: falseThe ARN of the server certificate to be used. The server certificate must be provisioned in Certificate Manager (ACM).
connection_log_options(ConnectionLogOptions)
/set_connection_log_options(Option<ConnectionLogOptions>)
:
required: falseInformation about the client connection logging options.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
-
Client connection requests
-
Client connection results (successful and unsuccessful)
-
Reasons for unsuccessful client connection requests
-
Client connection termination time
-
dns_servers(DnsServersOptionsModifyStructure)
/set_dns_servers(Option<DnsServersOptionsModifyStructure>)
:
required: falseInformation about the DNS servers to be used by Client VPN connections. A Client VPN endpoint can have up to two DNS servers.
vpn_port(i32)
/set_vpn_port(Option<i32>)
:
required: falseThe port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values:
443
|1194
Default Value:
443
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA brief description of the Client VPN endpoint.
split_tunnel(bool)
/set_split_tunnel(Option<bool>)
:
required: falseIndicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of one or more security groups to apply to the target network.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: falseThe ID of the VPC to associate with the Client VPN endpoint.
self_service_portal(SelfServicePortal)
/set_self_service_portal(Option<SelfServicePortal>)
:
required: falseSpecify whether to enable the self-service portal for the Client VPN endpoint.
client_connect_options(ClientConnectOptions)
/set_client_connect_options(Option<ClientConnectOptions>)
:
required: falseThe options for managing connection authorization for new client connections.
session_timeout_hours(i32)
/set_session_timeout_hours(Option<i32>)
:
required: falseThe maximum VPN session duration time in hours.
Valid values:
8 | 10 | 12 | 24
Default value:
24
client_login_banner_options(ClientLoginBannerOptions)
/set_client_login_banner_options(Option<ClientLoginBannerOptions>)
:
required: falseOptions for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
client_route_enforcement_options(ClientRouteEnforcementOptions)
/set_client_route_enforcement_options(Option<ClientRouteEnforcementOptions>)
:
required: falseClient route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.
Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
disconnect_on_session_timeout(bool)
/set_disconnect_on_session_timeout(Option<bool>)
:
required: falseIndicates whether the client VPN session is disconnected after the maximum timeout specified in
sessionTimeoutHours
is reached. Iftrue
, users are prompted to reconnect client VPN. Iffalse
, client VPN attempts to reconnect automatically. The default value isfalse
.
- On success, responds with
ModifyClientVpnEndpointOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyClientVpnEndpointError>
Source§impl Client
impl Client
Sourcepub fn modify_default_credit_specification(
&self,
) -> ModifyDefaultCreditSpecificationFluentBuilder
pub fn modify_default_credit_specification( &self, ) -> ModifyDefaultCreditSpecificationFluentBuilder
Constructs a fluent builder for the ModifyDefaultCreditSpecification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_family(UnlimitedSupportedInstanceFamily)
/set_instance_family(Option<UnlimitedSupportedInstanceFamily>)
:
required: trueThe instance family.
cpu_credits(impl Into<String>)
/set_cpu_credits(Option<String>)
:
required: trueThe credit option for CPU usage of the instance family.
Valid Values:
standard
|unlimited
- On success, responds with
ModifyDefaultCreditSpecificationOutput
with field(s):instance_family_credit_specification(Option<InstanceFamilyCreditSpecification>)
:The default credit option for CPU usage of the instance family.
- On failure, responds with
SdkError<ModifyDefaultCreditSpecificationError>
Source§impl Client
impl Client
Sourcepub fn modify_ebs_default_kms_key_id(
&self,
) -> ModifyEbsDefaultKmsKeyIdFluentBuilder
pub fn modify_ebs_default_kms_key_id( &self, ) -> ModifyEbsDefaultKmsKeyIdFluentBuilder
Constructs a fluent builder for the ModifyEbsDefaultKmsKeyId
operation.
- The fluent builder is configurable:
kms_key_id(impl Into<String>)
/set_kms_key_id(Option<String>)
:
required: trueThe identifier of the KMS key to use for Amazon EBS encryption. If this parameter is not specified, your KMS key for Amazon EBS is used. If
KmsKeyId
is specified, the encrypted state must betrue
.You can specify the KMS key using any of the following:
-
Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
-
Key alias. For example, alias/ExampleAlias.
-
Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/1234abcd-12ab-34cd-56ef-1234567890ab.
-
Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
Amazon Web Services authenticates the KMS key asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails.
Amazon EBS does not support asymmetric KMS keys.
-
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyEbsDefaultKmsKeyIdOutput
with field(s):kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the default KMS key for encryption by default.
- On failure, responds with
SdkError<ModifyEbsDefaultKmsKeyIdError>
Source§impl Client
impl Client
Sourcepub fn modify_fleet(&self) -> ModifyFleetFluentBuilder
pub fn modify_fleet(&self) -> ModifyFleetFluentBuilder
Constructs a fluent builder for the ModifyFleet
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.excess_capacity_termination_policy(FleetExcessCapacityTerminationPolicy)
/set_excess_capacity_termination_policy(Option<FleetExcessCapacityTerminationPolicy>)
:
required: falseIndicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
Supported only for fleets of type
maintain
.launch_template_configs(FleetLaunchTemplateConfigRequest)
/set_launch_template_configs(Option<Vec::<FleetLaunchTemplateConfigRequest>>)
:
required: falseThe launch template and overrides.
fleet_id(impl Into<String>)
/set_fleet_id(Option<String>)
:
required: trueThe ID of the EC2 Fleet.
target_capacity_specification(TargetCapacitySpecificationRequest)
/set_target_capacity_specification(Option<TargetCapacitySpecificationRequest>)
:
required: falseThe size of the EC2 Fleet.
context(impl Into<String>)
/set_context(Option<String>)
:
required: falseReserved.
- On success, responds with
ModifyFleetOutput
with field(s):r#return(Option<bool>)
:If the request succeeds, the response returns
true
. If the request fails, no response is returned, and instead an error message is returned.
- On failure, responds with
SdkError<ModifyFleetError>
Source§impl Client
impl Client
Sourcepub fn modify_fpga_image_attribute(
&self,
) -> ModifyFpgaImageAttributeFluentBuilder
pub fn modify_fpga_image_attribute( &self, ) -> ModifyFpgaImageAttributeFluentBuilder
Constructs a fluent builder for the ModifyFpgaImageAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fpga_image_id(impl Into<String>)
/set_fpga_image_id(Option<String>)
:
required: trueThe ID of the AFI.
attribute(FpgaImageAttributeName)
/set_attribute(Option<FpgaImageAttributeName>)
:
required: falseThe name of the attribute.
operation_type(OperationType)
/set_operation_type(Option<OperationType>)
:
required: falseThe operation type.
user_ids(impl Into<String>)
/set_user_ids(Option<Vec::<String>>)
:
required: falseThe Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission
attribute.user_groups(impl Into<String>)
/set_user_groups(Option<Vec::<String>>)
:
required: falseThe user groups. This parameter is valid only when modifying the
loadPermission
attribute.product_codes(impl Into<String>)
/set_product_codes(Option<Vec::<String>>)
:
required: falseThe product codes. After you add a product code to an AFI, it can’t be removed. This parameter is valid only when modifying the
productCodes
attribute.load_permission(LoadPermissionModifications)
/set_load_permission(Option<LoadPermissionModifications>)
:
required: falseThe load permission for the AFI.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the AFI.
name(impl Into<String>)
/set_name(Option<String>)
:
required: falseA name for the AFI.
- On success, responds with
ModifyFpgaImageAttributeOutput
with field(s):fpga_image_attribute(Option<FpgaImageAttribute>)
:Information about the attribute.
- On failure, responds with
SdkError<ModifyFpgaImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_hosts(&self) -> ModifyHostsFluentBuilder
pub fn modify_hosts(&self) -> ModifyHostsFluentBuilder
Constructs a fluent builder for the ModifyHosts
operation.
- The fluent builder is configurable:
host_recovery(HostRecovery)
/set_host_recovery(Option<HostRecovery>)
:
required: falseIndicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.
instance_type(impl Into<String>)
/set_instance_type(Option<String>)
:
required: falseSpecifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.
If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
instance_family(impl Into<String>)
/set_instance_family(Option<String>)
:
required: falseSpecifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.
If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
host_maintenance(HostMaintenance)
/set_host_maintenance(Option<HostMaintenance>)
:
required: falseIndicates whether to enable or disable host maintenance for the Dedicated Host. For more information, see Host maintenance in the Amazon EC2 User Guide.
host_ids(impl Into<String>)
/set_host_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Dedicated Hosts to modify.
auto_placement(AutoPlacement)
/set_auto_placement(Option<AutoPlacement>)
:
required: falseSpecify whether to enable or disable auto-placement.
- On success, responds with
ModifyHostsOutput
with field(s):successful(Option<Vec::<String>>)
:The IDs of the Dedicated Hosts that were successfully modified.
unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
- On failure, responds with
SdkError<ModifyHostsError>
Source§impl Client
impl Client
Sourcepub fn modify_id_format(&self) -> ModifyIdFormatFluentBuilder
pub fn modify_id_format(&self) -> ModifyIdFormatFluentBuilder
Constructs a fluent builder for the ModifyIdFormat
operation.
- The fluent builder is configurable:
resource(impl Into<String>)
/set_resource(Option<String>)
:
required: trueThe type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|route-table
|route-table-association
|security-group
|subnet
|subnet-cidr-block-association
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
.Alternatively, use the
all-current
option to include all resource types that are currently within their opt-in period for longer IDs.use_long_ids(bool)
/set_use_long_ids(Option<bool>)
:
required: trueIndicate whether the resource should use longer IDs (17-character IDs).
- On success, responds with
ModifyIdFormatOutput
- On failure, responds with
SdkError<ModifyIdFormatError>
Source§impl Client
impl Client
Sourcepub fn modify_identity_id_format(&self) -> ModifyIdentityIdFormatFluentBuilder
pub fn modify_identity_id_format(&self) -> ModifyIdentityIdFormatFluentBuilder
Constructs a fluent builder for the ModifyIdentityIdFormat
operation.
- The fluent builder is configurable:
resource(impl Into<String>)
/set_resource(Option<String>)
:
required: trueThe type of resource:
bundle
|conversion-task
|customer-gateway
|dhcp-options
|elastic-ip-allocation
|elastic-ip-association
|export-task
|flow-log
|image
|import-task
|internet-gateway
|network-acl
|network-acl-association
|network-interface
|network-interface-attachment
|prefix-list
|route-table
|route-table-association
|security-group
|subnet
|subnet-cidr-block-association
|vpc
|vpc-cidr-block-association
|vpc-endpoint
|vpc-peering-connection
|vpn-connection
|vpn-gateway
.Alternatively, use the
all-current
option to include all resource types that are currently within their opt-in period for longer IDs.use_long_ids(bool)
/set_use_long_ids(Option<bool>)
:
required: trueIndicates whether the resource should use longer IDs (17-character IDs)
principal_arn(impl Into<String>)
/set_principal_arn(Option<String>)
:
required: trueThe ARN of the principal, which can be an IAM user, IAM role, or the root user. Specify
all
to modify the ID format for all IAM users, IAM roles, and the root user of the account.
- On success, responds with
ModifyIdentityIdFormatOutput
- On failure, responds with
SdkError<ModifyIdentityIdFormatError>
Source§impl Client
impl Client
Sourcepub fn modify_image_attribute(&self) -> ModifyImageAttributeFluentBuilder
pub fn modify_image_attribute(&self) -> ModifyImageAttributeFluentBuilder
Constructs a fluent builder for the ModifyImageAttribute
operation.
- The fluent builder is configurable:
attribute(impl Into<String>)
/set_attribute(Option<String>)
:
required: falseThe name of the attribute to modify.
Valid values:
description
|imdsSupport
|launchPermission
description(AttributeValue)
/set_description(Option<AttributeValue>)
:
required: falseA new description for the AMI.
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
launch_permission(LaunchPermissionModifications)
/set_launch_permission(Option<LaunchPermissionModifications>)
:
required: falseA new launch permission for the AMI.
operation_type(OperationType)
/set_operation_type(Option<OperationType>)
:
required: falseThe operation type. This parameter can be used only when the
Attribute
parameter islaunchPermission
.product_codes(impl Into<String>)
/set_product_codes(Option<Vec::<String>>)
:
required: falseNot supported.
user_groups(impl Into<String>)
/set_user_groups(Option<Vec::<String>>)
:
required: falseThe user groups. This parameter can be used only when the
Attribute
parameter islaunchPermission
.user_ids(impl Into<String>)
/set_user_ids(Option<Vec::<String>>)
:
required: falseThe Amazon Web Services account IDs. This parameter can be used only when the
Attribute
parameter islaunchPermission
.value(impl Into<String>)
/set_value(Option<String>)
:
required: falseThe value of the attribute being modified. This parameter can be used only when the
Attribute
parameter isdescription
orimdsSupport
.organization_arns(impl Into<String>)
/set_organization_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Name (ARN) of an organization. This parameter can be used only when the
Attribute
parameter islaunchPermission
.organizational_unit_arns(impl Into<String>)
/set_organizational_unit_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the
Attribute
parameter islaunchPermission
.imds_support(AttributeValue)
/set_imds_support(Option<AttributeValue>)
:
required: falseSet to
v2.0
to indicate that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.Do not use this parameter unless your AMI software supports IMDSv2. After you set the value to
v2.0
, you can’t undo it. The only way to “reset” your AMI is to create a new AMI from the underlying snapshot.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyImageAttributeOutput
- On failure, responds with
SdkError<ModifyImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_attribute(&self) -> ModifyInstanceAttributeFluentBuilder
pub fn modify_instance_attribute(&self) -> ModifyInstanceAttributeFluentBuilder
Constructs a fluent builder for the ModifyInstanceAttribute
operation.
- The fluent builder is configurable:
source_dest_check(AttributeBooleanValue)
/set_source_dest_check(Option<AttributeBooleanValue>)
:
required: falseEnable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is
true
, source/destination checks are enabled; otherwise, they are disabled. The default value istrue
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.disable_api_stop(AttributeBooleanValue)
/set_disable_api_stop(Option<AttributeBooleanValue>)
:
required: falseIndicates whether an instance is enabled for stop protection. For more information, see Enable stop protection for your instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
attribute(InstanceAttributeName)
/set_attribute(Option<InstanceAttributeName>)
:
required: falseThe name of the attribute to modify.
When changing the instance type: If the original instance type is configured for configurable bandwidth, and the desired instance type doesn’t support configurable bandwidth, first set the existing bandwidth configuration to
default
using theModifyInstanceNetworkPerformanceOptions
operation.You can modify the following attributes only:
disableApiTermination
|instanceType
|kernel
|ramdisk
|instanceInitiatedShutdownBehavior
|blockDeviceMapping
|userData
|sourceDestCheck
|groupSet
|ebsOptimized
|sriovNetSupport
|enaSupport
|nvmeSupport
|disableApiStop
|enclaveOptions
value(impl Into<String>)
/set_value(Option<String>)
:
required: falseA new value for the attribute. Use only with the
kernel
,ramdisk
,userData
,disableApiTermination
, orinstanceInitiatedShutdownBehavior
attribute.block_device_mappings(InstanceBlockDeviceMappingSpecification)
/set_block_device_mappings(Option<Vec::<InstanceBlockDeviceMappingSpecification>>)
:
required: falseModifies the
DeleteOnTermination
attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified forDeleteOnTermination
, the default istrue
and the volume is deleted when the instance is terminated. You can’t modify theDeleteOnTermination
attribute for volumes that are attached to Fargate tasks.To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Update the block device mapping when launching an instance in the Amazon EC2 User Guide.
disable_api_termination(AttributeBooleanValue)
/set_disable_api_termination(Option<AttributeBooleanValue>)
:
required: falseEnable or disable termination protection for the instance. If the value is
true
, you can’t terminate the instance using the Amazon EC2 console, command line interface, or API. You can’t enable termination protection for Spot Instances.instance_type(AttributeValue)
/set_instance_type(Option<AttributeValue>)
:
required: falseChanges the instance type to the specified value. For more information, see Instance types in the Amazon EC2 User Guide. If the instance type is not valid, the error returned is
InvalidInstanceAttributeValue
.kernel(AttributeValue)
/set_kernel(Option<AttributeValue>)
:
required: falseChanges the instance’s kernel to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
ramdisk(AttributeValue)
/set_ramdisk(Option<AttributeValue>)
:
required: falseChanges the instance’s RAM disk to the specified value. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB.
user_data(BlobAttributeValue)
/set_user_data(Option<BlobAttributeValue>)
:
required: falseChanges the instance’s user data to the specified value. User data must be base64-encoded. Depending on the tool or SDK that you’re using, the base64-encoding might be performed for you. For more information, see Work with instance user data.
instance_initiated_shutdown_behavior(AttributeValue)
/set_instance_initiated_shutdown_behavior(Option<AttributeValue>)
:
required: falseSpecifies whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
groups(impl Into<String>)
/set_groups(Option<Vec::<String>>)
:
required: falseReplaces the security groups of the instance with the specified security groups. You must specify the ID of at least one security group, even if it’s just the default security group for the VPC.
ebs_optimized(AttributeBooleanValue)
/set_ebs_optimized(Option<AttributeBooleanValue>)
:
required: falseSpecifies whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
sriov_net_support(AttributeValue)
/set_sriov_net_support(Option<AttributeValue>)
:
required: falseSet to
simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the instance.There is no way to disable enhanced networking with the Intel 82599 Virtual Function interface at this time.
This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
ena_support(AttributeBooleanValue)
/set_ena_support(Option<AttributeBooleanValue>)
:
required: falseSet to
true
to enable enhanced networking with ENA for the instance.This option is supported only for HVM instances. Specifying this option with a PV instance can make it unreachable.
- On success, responds with
ModifyInstanceAttributeOutput
- On failure, responds with
SdkError<ModifyInstanceAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_capacity_reservation_attributes(
&self,
) -> ModifyInstanceCapacityReservationAttributesFluentBuilder
pub fn modify_instance_capacity_reservation_attributes( &self, ) -> ModifyInstanceCapacityReservationAttributesFluentBuilder
Constructs a fluent builder for the ModifyInstanceCapacityReservationAttributes
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance to be modified.
capacity_reservation_specification(CapacityReservationSpecification)
/set_capacity_reservation_specification(Option<CapacityReservationSpecification>)
:
required: trueInformation about the Capacity Reservation targeting option.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyInstanceCapacityReservationAttributesOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyInstanceCapacityReservationAttributesError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_cpu_options(
&self,
) -> ModifyInstanceCpuOptionsFluentBuilder
pub fn modify_instance_cpu_options( &self, ) -> ModifyInstanceCpuOptionsFluentBuilder
Constructs a fluent builder for the ModifyInstanceCpuOptions
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance to update.
core_count(i32)
/set_core_count(Option<i32>)
:
required: trueThe number of CPU cores to activate for the specified instance.
threads_per_core(i32)
/set_threads_per_core(Option<i32>)
:
required: trueThe number of threads to run for each CPU core.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
ModifyInstanceCpuOptionsOutput
with field(s):instance_id(Option<String>)
:The ID of the instance that was updated.
core_count(Option<i32>)
:The number of CPU cores that are running for the specified instance after the update.
threads_per_core(Option<i32>)
:The number of threads that are running per CPU core for the specified instance after the update.
- On failure, responds with
SdkError<ModifyInstanceCpuOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_credit_specification(
&self,
) -> ModifyInstanceCreditSpecificationFluentBuilder
pub fn modify_instance_credit_specification( &self, ) -> ModifyInstanceCreditSpecificationFluentBuilder
Constructs a fluent builder for the ModifyInstanceCreditSpecification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
instance_credit_specifications(InstanceCreditSpecificationRequest)
/set_instance_credit_specifications(Option<Vec::<InstanceCreditSpecificationRequest>>)
:
required: trueInformation about the credit option for CPU usage.
- On success, responds with
ModifyInstanceCreditSpecificationOutput
with field(s):successful_instance_credit_specifications(Option<Vec::<SuccessfulInstanceCreditSpecificationItem>>)
:Information about the instances whose credit option for CPU usage was successfully modified.
unsuccessful_instance_credit_specifications(Option<Vec::<UnsuccessfulInstanceCreditSpecificationItem>>)
:Information about the instances whose credit option for CPU usage was not modified.
- On failure, responds with
SdkError<ModifyInstanceCreditSpecificationError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_event_start_time(
&self,
) -> ModifyInstanceEventStartTimeFluentBuilder
pub fn modify_instance_event_start_time( &self, ) -> ModifyInstanceEventStartTimeFluentBuilder
Constructs a fluent builder for the ModifyInstanceEventStartTime
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance with the scheduled event.
instance_event_id(impl Into<String>)
/set_instance_event_id(Option<String>)
:
required: trueThe ID of the event whose date and time you are modifying.
not_before(DateTime)
/set_not_before(Option<DateTime>)
:
required: trueThe new date and time when the event will take place.
- On success, responds with
ModifyInstanceEventStartTimeOutput
with field(s):event(Option<InstanceStatusEvent>)
:Information about the event.
- On failure, responds with
SdkError<ModifyInstanceEventStartTimeError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_event_window(
&self,
) -> ModifyInstanceEventWindowFluentBuilder
pub fn modify_instance_event_window( &self, ) -> ModifyInstanceEventWindowFluentBuilder
Constructs a fluent builder for the ModifyInstanceEventWindow
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.name(impl Into<String>)
/set_name(Option<String>)
:
required: falseThe name of the event window.
instance_event_window_id(impl Into<String>)
/set_instance_event_window_id(Option<String>)
:
required: trueThe ID of the event window.
time_ranges(InstanceEventWindowTimeRangeRequest)
/set_time_ranges(Option<Vec::<InstanceEventWindowTimeRangeRequest>>)
:
required: falseThe time ranges of the event window.
cron_expression(impl Into<String>)
/set_cron_expression(Option<String>)
:
required: falseThe cron expression of the event window, for example,
* 0-4,20-23 * * 1,5
.Constraints:
-
Only hour and day of the week values are supported.
-
For day of the week values, you can specify either integers
0
through6
, or alternative single valuesSUN
throughSAT
. -
The minute, month, and year must be specified by
*
. -
The hour value must be one or a multiple range, for example,
0-4
or0-4,20-23
. -
Each hour range must be >= 2 hours, for example,
0-2
or20-23
. -
The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.
For more information about cron expressions, see cron on the Wikipedia website.
-
- On success, responds with
ModifyInstanceEventWindowOutput
with field(s):instance_event_window(Option<InstanceEventWindow>)
:Information about the event window.
- On failure, responds with
SdkError<ModifyInstanceEventWindowError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_maintenance_options(
&self,
) -> ModifyInstanceMaintenanceOptionsFluentBuilder
pub fn modify_instance_maintenance_options( &self, ) -> ModifyInstanceMaintenanceOptionsFluentBuilder
Constructs a fluent builder for the ModifyInstanceMaintenanceOptions
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
auto_recovery(InstanceAutoRecoveryState)
/set_auto_recovery(Option<InstanceAutoRecoveryState>)
:
required: falseDisables the automatic recovery behavior of your instance or sets it to default.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyInstanceMaintenanceOptionsOutput
with field(s):instance_id(Option<String>)
:The ID of the instance.
auto_recovery(Option<InstanceAutoRecoveryState>)
:Provides information on the current automatic recovery behavior of your instance.
- On failure, responds with
SdkError<ModifyInstanceMaintenanceOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_metadata_defaults(
&self,
) -> ModifyInstanceMetadataDefaultsFluentBuilder
pub fn modify_instance_metadata_defaults( &self, ) -> ModifyInstanceMetadataDefaultsFluentBuilder
Constructs a fluent builder for the ModifyInstanceMetadataDefaults
operation.
- The fluent builder is configurable:
http_tokens(MetadataDefaultHttpTokensState)
/set_http_tokens(Option<MetadataDefaultHttpTokensState>)
:
required: falseIndicates whether IMDSv2 is required.
-
optional
– IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. -
required
– IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.
-
http_put_response_hop_limit(i32)
/set_http_put_response_hop_limit(Option<i32>)
:
required: falseThe maximum number of hops that the metadata token can travel. To indicate no preference, specify
-1
.Possible values: Integers from
1
to64
, and-1
to indicate no preferencehttp_endpoint(DefaultInstanceMetadataEndpointState)
/set_http_endpoint(Option<DefaultInstanceMetadataEndpointState>)
:
required: falseEnables or disables the IMDS endpoint on an instance. When disabled, the instance metadata can’t be accessed.
instance_metadata_tags(DefaultInstanceMetadataTagsState)
/set_instance_metadata_tags(Option<DefaultInstanceMetadataTagsState>)
:
required: falseEnables or disables access to an instance’s tags from the instance metadata. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
ModifyInstanceMetadataDefaultsOutput
with field(s):r#return(Option<bool>)
:If the request succeeds, the response returns
true
. If the request fails, no response is returned, and instead an error message is returned.
- On failure, responds with
SdkError<ModifyInstanceMetadataDefaultsError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_metadata_options(
&self,
) -> ModifyInstanceMetadataOptionsFluentBuilder
pub fn modify_instance_metadata_options( &self, ) -> ModifyInstanceMetadataOptionsFluentBuilder
Constructs a fluent builder for the ModifyInstanceMetadataOptions
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
http_tokens(HttpTokensState)
/set_http_tokens(Option<HttpTokensState>)
:
required: falseIndicates whether IMDSv2 is required.
-
optional
- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. -
required
- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
Default:
-
If the value of
ImdsSupport
for the Amazon Machine Image (AMI) for your instance isv2.0
and the account level default is set tono-preference
, the default isrequired
. -
If the value of
ImdsSupport
for the Amazon Machine Image (AMI) for your instance isv2.0
, but the account level default is set toV1 or V2
, the default isoptional
.
The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
-
http_put_response_hop_limit(i32)
/set_http_put_response_hop_limit(Option<i32>)
:
required: falseThe desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.
Possible values: Integers from 1 to 64
http_endpoint(InstanceMetadataEndpointState)
/set_http_endpoint(Option<InstanceMetadataEndpointState>)
:
required: falseEnables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained.
If you specify a value of
disabled
, you cannot access your instance metadata.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.http_protocol_ipv6(InstanceMetadataProtocolState)
/set_http_protocol_ipv6(Option<InstanceMetadataProtocolState>)
:
required: falseEnables or disables the IPv6 endpoint for the instance metadata service. Applies only if you enabled the HTTP metadata endpoint.
instance_metadata_tags(InstanceMetadataTagsState)
/set_instance_metadata_tags(Option<InstanceMetadataTagsState>)
:
required: falseSet to
enabled
to allow access to instance tags from the instance metadata. Set todisabled
to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata.
- On success, responds with
ModifyInstanceMetadataOptionsOutput
with field(s):instance_id(Option<String>)
:The ID of the instance.
instance_metadata_options(Option<InstanceMetadataOptionsResponse>)
:The metadata options for the instance.
- On failure, responds with
SdkError<ModifyInstanceMetadataOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_network_performance_options(
&self,
) -> ModifyInstanceNetworkPerformanceOptionsFluentBuilder
pub fn modify_instance_network_performance_options( &self, ) -> ModifyInstanceNetworkPerformanceOptionsFluentBuilder
Constructs a fluent builder for the ModifyInstanceNetworkPerformanceOptions
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance to update.
bandwidth_weighting(InstanceBandwidthWeighting)
/set_bandwidth_weighting(Option<InstanceBandwidthWeighting>)
:
required: trueSpecify the bandwidth weighting option to boost the associated type of baseline bandwidth, as follows:
- default
-
This option uses the standard bandwidth configuration for your instance type.
- vpc-1
-
This option boosts your networking baseline bandwidth and reduces your EBS baseline bandwidth.
- ebs-1
-
This option boosts your EBS baseline bandwidth and reduces your networking baseline bandwidth.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
ModifyInstanceNetworkPerformanceOptionsOutput
with field(s):instance_id(Option<String>)
:The instance ID that was updated.
bandwidth_weighting(Option<InstanceBandwidthWeighting>)
:Contains the updated configuration for bandwidth weighting on the specified instance.
- On failure, responds with
SdkError<ModifyInstanceNetworkPerformanceOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_instance_placement(&self) -> ModifyInstancePlacementFluentBuilder
pub fn modify_instance_placement(&self) -> ModifyInstancePlacementFluentBuilder
Constructs a fluent builder for the ModifyInstancePlacement
operation.
- The fluent builder is configurable:
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: falseThe name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of
default
. For cluster and partition placement groups, the instance must have a tenancy ofdefault
ordedicated
.To remove an instance from a placement group, specify an empty string (“”).
partition_number(i32)
/set_partition_number(Option<i32>)
:
required: falseThe number of the partition in which to place the instance. Valid only if the placement group strategy is set to
partition
.host_resource_group_arn(impl Into<String>)
/set_host_resource_group_arn(Option<String>)
:
required: falseThe ARN of the host resource group in which to place the instance. The instance must have a tenancy of
host
to specify this parameter.group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance that you are modifying.
tenancy(HostTenancy)
/set_tenancy(Option<HostTenancy>)
:
required: falseThe tenancy for the instance.
For T3 instances, you must launch the instance on a Dedicated Host to use a tenancy of
host
. You can’t change the tenancy fromhost
todedicated
ordefault
. Attempting to make one of these unsupported tenancy changes results in anInvalidRequest
error code.affinity(Affinity)
/set_affinity(Option<Affinity>)
:
required: falseThe affinity setting for the instance. For more information, see Host affinity in the Amazon EC2 User Guide.
host_id(impl Into<String>)
/set_host_id(Option<String>)
:
required: falseThe ID of the Dedicated Host with which to associate the instance.
- On success, responds with
ModifyInstancePlacementOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.
- On failure, responds with
SdkError<ModifyInstancePlacementError>
Source§impl Client
impl Client
Sourcepub fn modify_ipam(&self) -> ModifyIpamFluentBuilder
pub fn modify_ipam(&self) -> ModifyIpamFluentBuilder
Constructs a fluent builder for the ModifyIpam
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueThe ID of the IPAM you want to modify.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the IPAM you want to modify.
add_operating_regions(AddIpamOperatingRegion)
/set_add_operating_regions(Option<Vec::<AddIpamOperatingRegion>>)
:
required: falseChoose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
remove_operating_regions(RemoveIpamOperatingRegion)
/set_remove_operating_regions(Option<Vec::<RemoveIpamOperatingRegion>>)
:
required: falseThe operating Regions to remove.
tier(IpamTier)
/set_tier(Option<IpamTier>)
:
required: falseIPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.
enable_private_gua(bool)
/set_enable_private_gua(Option<bool>)
:
required: falseEnable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
- On success, responds with
ModifyIpamOutput
with field(s):ipam(Option<Ipam>)
:The results of the modification.
- On failure, responds with
SdkError<ModifyIpamError>
Source§impl Client
impl Client
Sourcepub fn modify_ipam_pool(&self) -> ModifyIpamPoolFluentBuilder
pub fn modify_ipam_pool(&self) -> ModifyIpamPoolFluentBuilder
Constructs a fluent builder for the ModifyIpamPool
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool you want to modify.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the IPAM pool you want to modify.
auto_import(bool)
/set_auto_import(Option<bool>)
:
required: falseIf true, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import a CIDR regardless of its compliance with the pool’s allocation rules, so a resource might be imported and subsequently marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.
A locale must be set on the pool for this feature to work.
allocation_min_netmask_length(i32)
/set_allocation_min_netmask_length(Option<i32>)
:
required: falseThe minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The minimum netmask length must be less than the maximum netmask length.
allocation_max_netmask_length(i32)
/set_allocation_max_netmask_length(Option<i32>)
:
required: falseThe maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The maximum netmask length must be greater than the minimum netmask length.
allocation_default_netmask_length(i32)
/set_allocation_default_netmask_length(Option<i32>)
:
required: falseThe default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
clear_allocation_default_netmask_length(bool)
/set_clear_allocation_default_netmask_length(Option<bool>)
:
required: falseClear the default netmask length allocation rule for this pool.
add_allocation_resource_tags(RequestIpamResourceTag)
/set_add_allocation_resource_tags(Option<Vec::<RequestIpamResourceTag>>)
:
required: falseAdd tag allocation rules to a pool. For more information about allocation rules, see Create a top-level pool in the Amazon VPC IPAM User Guide.
remove_allocation_resource_tags(RequestIpamResourceTag)
/set_remove_allocation_resource_tags(Option<Vec::<RequestIpamResourceTag>>)
:
required: falseRemove tag allocation rules from a pool.
- On success, responds with
ModifyIpamPoolOutput
with field(s):ipam_pool(Option<IpamPool>)
:The results of the modification.
- On failure, responds with
SdkError<ModifyIpamPoolError>
Source§impl Client
impl Client
Sourcepub fn modify_ipam_resource_cidr(&self) -> ModifyIpamResourceCidrFluentBuilder
pub fn modify_ipam_resource_cidr(&self) -> ModifyIpamResourceCidrFluentBuilder
Constructs a fluent builder for the ModifyIpamResourceCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.resource_id(impl Into<String>)
/set_resource_id(Option<String>)
:
required: trueThe ID of the resource you want to modify.
resource_cidr(impl Into<String>)
/set_resource_cidr(Option<String>)
:
required: trueThe CIDR of the resource you want to modify.
resource_region(impl Into<String>)
/set_resource_region(Option<String>)
:
required: trueThe Amazon Web Services Region of the resource you want to modify.
current_ipam_scope_id(impl Into<String>)
/set_current_ipam_scope_id(Option<String>)
:
required: trueThe ID of the current scope that the resource CIDR is in.
destination_ipam_scope_id(impl Into<String>)
/set_destination_ipam_scope_id(Option<String>)
:
required: falseThe ID of the scope you want to transfer the resource CIDR to.
monitored(bool)
/set_monitored(Option<bool>)
:
required: trueDetermines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.
- On success, responds with
ModifyIpamResourceCidrOutput
with field(s):ipam_resource_cidr(Option<IpamResourceCidr>)
:The CIDR of the resource.
- On failure, responds with
SdkError<ModifyIpamResourceCidrError>
Source§impl Client
impl Client
Sourcepub fn modify_ipam_resource_discovery(
&self,
) -> ModifyIpamResourceDiscoveryFluentBuilder
pub fn modify_ipam_resource_discovery( &self, ) -> ModifyIpamResourceDiscoveryFluentBuilder
Constructs a fluent builder for the ModifyIpamResourceDiscovery
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_resource_discovery_id(impl Into<String>)
/set_ipam_resource_discovery_id(Option<String>)
:
required: trueA resource discovery ID.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA resource discovery description.
add_operating_regions(AddIpamOperatingRegion)
/set_add_operating_regions(Option<Vec::<AddIpamOperatingRegion>>)
:
required: falseAdd operating Regions to the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
remove_operating_regions(RemoveIpamOperatingRegion)
/set_remove_operating_regions(Option<Vec::<RemoveIpamOperatingRegion>>)
:
required: falseRemove operating Regions.
add_organizational_unit_exclusions(AddIpamOrganizationalUnitExclusion)
/set_add_organizational_unit_exclusions(Option<Vec::<AddIpamOrganizationalUnitExclusion>>)
:
required: falseAdd an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
The resulting set of exclusions must not result in “overlap”, meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in Add or remove OU exclusions in the Amazon VPC User Guide.
remove_organizational_unit_exclusions(RemoveIpamOrganizationalUnitExclusion)
/set_remove_organizational_unit_exclusions(Option<Vec::<RemoveIpamOrganizationalUnitExclusion>>)
:
required: falseRemove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
The resulting set of exclusions must not result in “overlap”, meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in Add or remove OU exclusions in the Amazon VPC User Guide.
- On success, responds with
ModifyIpamResourceDiscoveryOutput
with field(s):ipam_resource_discovery(Option<IpamResourceDiscovery>)
:A resource discovery.
- On failure, responds with
SdkError<ModifyIpamResourceDiscoveryError>
Source§impl Client
impl Client
Sourcepub fn modify_ipam_scope(&self) -> ModifyIpamScopeFluentBuilder
pub fn modify_ipam_scope(&self) -> ModifyIpamScopeFluentBuilder
Constructs a fluent builder for the ModifyIpamScope
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_scope_id(impl Into<String>)
/set_ipam_scope_id(Option<String>)
:
required: trueThe ID of the scope you want to modify.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description of the scope you want to modify.
- On success, responds with
ModifyIpamScopeOutput
with field(s):ipam_scope(Option<IpamScope>)
:The results of the modification.
- On failure, responds with
SdkError<ModifyIpamScopeError>
Source§impl Client
impl Client
Sourcepub fn modify_launch_template(&self) -> ModifyLaunchTemplateFluentBuilder
pub fn modify_launch_template(&self) -> ModifyLaunchTemplateFluentBuilder
Constructs a fluent builder for the ModifyLaunchTemplate
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn’t specified, a randomly generated token is used in the request to ensure idempotency.
For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
launch_template_id(impl Into<String>)
/set_launch_template_id(Option<String>)
:
required: falseThe ID of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
launch_template_name(impl Into<String>)
/set_launch_template_name(Option<String>)
:
required: falseThe name of the launch template.
You must specify either the launch template ID or the launch template name, but not both.
default_version(impl Into<String>)
/set_default_version(Option<String>)
:
required: falseThe version number of the launch template to set as the default version.
- On success, responds with
ModifyLaunchTemplateOutput
with field(s):launch_template(Option<LaunchTemplate>)
:Information about the launch template.
- On failure, responds with
SdkError<ModifyLaunchTemplateError>
Source§impl Client
impl Client
Sourcepub fn modify_local_gateway_route(&self) -> ModifyLocalGatewayRouteFluentBuilder
pub fn modify_local_gateway_route(&self) -> ModifyLocalGatewayRouteFluentBuilder
Constructs a fluent builder for the ModifyLocalGatewayRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
local_gateway_virtual_interface_group_id(impl Into<String>)
/set_local_gateway_virtual_interface_group_id(Option<String>)
:
required: falseThe ID of the virtual interface group.
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe ID of the network interface.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseThe ID of the prefix list. Use a prefix list in place of
DestinationCidrBlock
. You cannot useDestinationPrefixListId
andDestinationCidrBlock
in the same request.
- On success, responds with
ModifyLocalGatewayRouteOutput
with field(s):route(Option<LocalGatewayRoute>)
:Information about the local gateway route table.
- On failure, responds with
SdkError<ModifyLocalGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn modify_managed_prefix_list(&self) -> ModifyManagedPrefixListFluentBuilder
pub fn modify_managed_prefix_list(&self) -> ModifyManagedPrefixListFluentBuilder
Constructs a fluent builder for the ModifyManagedPrefixList
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
current_version(i64)
/set_current_version(Option<i64>)
:
required: falseThe current version of the prefix list.
prefix_list_name(impl Into<String>)
/set_prefix_list_name(Option<String>)
:
required: falseA name for the prefix list.
add_entries(AddPrefixListEntry)
/set_add_entries(Option<Vec::<AddPrefixListEntry>>)
:
required: falseOne or more entries to add to the prefix list.
remove_entries(RemovePrefixListEntry)
/set_remove_entries(Option<Vec::<RemovePrefixListEntry>>)
:
required: falseOne or more entries to remove from the prefix list.
max_entries(i32)
/set_max_entries(Option<i32>)
:
required: falseThe maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
- On success, responds with
ModifyManagedPrefixListOutput
with field(s):prefix_list(Option<ManagedPrefixList>)
:Information about the prefix list.
- On failure, responds with
SdkError<ModifyManagedPrefixListError>
Source§impl Client
impl Client
Sourcepub fn modify_network_interface_attribute(
&self,
) -> ModifyNetworkInterfaceAttributeFluentBuilder
pub fn modify_network_interface_attribute( &self, ) -> ModifyNetworkInterfaceAttributeFluentBuilder
Constructs a fluent builder for the ModifyNetworkInterfaceAttribute
operation.
- The fluent builder is configurable:
ena_srd_specification(EnaSrdSpecification)
/set_ena_srd_specification(Option<EnaSrdSpecification>)
:
required: falseUpdates the ENA Express configuration for the network interface that’s attached to the instance.
enable_primary_ipv6(bool)
/set_enable_primary_ipv6(Option<bool>)
:
required: falseIf you’re modifying a network interface in a dual-stack or IPv6-only subnet, you have the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
connection_tracking_specification(ConnectionTrackingSpecificationRequest)
/set_connection_tracking_specification(Option<ConnectionTrackingSpecificationRequest>)
:
required: falseA connection tracking specification.
associate_public_ip_address(bool)
/set_associate_public_ip_address(Option<bool>)
:
required: falseIndicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any network interface but will only apply to the primary network interface (eth0).
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
description(AttributeValue)
/set_description(Option<AttributeValue>)
:
required: falseA description for the network interface.
source_dest_check(AttributeBooleanValue)
/set_source_dest_check(Option<AttributeBooleanValue>)
:
required: falseEnable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives. If the value is
true
, source/destination checks are enabled; otherwise, they are disabled. The default value istrue
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.groups(impl Into<String>)
/set_groups(Option<Vec::<String>>)
:
required: falseChanges the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it’s just the default security group in the VPC. You must specify the ID of the security group, not the name.
attachment(NetworkInterfaceAttachmentChanges)
/set_attachment(Option<NetworkInterfaceAttachmentChanges>)
:
required: falseInformation about the interface attachment. If modifying the
delete on termination
attribute, you must specify the ID of the interface attachment.
- On success, responds with
ModifyNetworkInterfaceAttributeOutput
- On failure, responds with
SdkError<ModifyNetworkInterfaceAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_private_dns_name_options(
&self,
) -> ModifyPrivateDnsNameOptionsFluentBuilder
pub fn modify_private_dns_name_options( &self, ) -> ModifyPrivateDnsNameOptionsFluentBuilder
Constructs a fluent builder for the ModifyPrivateDnsNameOptions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
private_dns_hostname_type(HostnameType)
/set_private_dns_hostname_type(Option<HostnameType>)
:
required: falseThe type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID.
enable_resource_name_dns_a_record(bool)
/set_enable_resource_name_dns_a_record(Option<bool>)
:
required: falseIndicates whether to respond to DNS queries for instance hostnames with DNS A records.
enable_resource_name_dns_aaaa_record(bool)
/set_enable_resource_name_dns_aaaa_record(Option<bool>)
:
required: falseIndicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- On success, responds with
ModifyPrivateDnsNameOptionsOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyPrivateDnsNameOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_reserved_instances(&self) -> ModifyReservedInstancesFluentBuilder
pub fn modify_reserved_instances(&self) -> ModifyReservedInstancesFluentBuilder
Constructs a fluent builder for the ModifyReservedInstances
operation.
- The fluent builder is configurable:
reserved_instances_ids(impl Into<String>)
/set_reserved_instances_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Reserved Instances to modify.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
target_configurations(ReservedInstancesConfiguration)
/set_target_configurations(Option<Vec::<ReservedInstancesConfiguration>>)
:
required: trueThe configuration settings for the Reserved Instances to modify.
- On success, responds with
ModifyReservedInstancesOutput
with field(s):reserved_instances_modification_id(Option<String>)
:The ID for the modification.
- On failure, responds with
SdkError<ModifyReservedInstancesError>
Source§impl Client
impl Client
Sourcepub fn modify_route_server(&self) -> ModifyRouteServerFluentBuilder
pub fn modify_route_server(&self) -> ModifyRouteServerFluentBuilder
Constructs a fluent builder for the ModifyRouteServer
operation.
- The fluent builder is configurable:
route_server_id(impl Into<String>)
/set_route_server_id(Option<String>)
:
required: trueThe ID of the route server to modify.
persist_routes(RouteServerPersistRoutesAction)
/set_persist_routes(Option<RouteServerPersistRoutesAction>)
:
required: falseSpecifies whether to persist routes after all BGP sessions are terminated.
-
enable: Routes will be persisted in FIB and RIB after all BGP sessions are terminated.
-
disable: Routes will not be persisted in FIB and RIB after all BGP sessions are terminated.
-
reset: If a route server has persisted routes due to all BGP sessions having ended, reset will withdraw all routes and reset route server to an empty FIB and RIB.
-
persist_routes_duration(i64)
/set_persist_routes_duration(Option<i64>)
:
required: falseThe number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if PersistRoutes is
enabled
.If you set the duration to 1 minute, then when your network appliance re-establishes BGP with route server, it has 1 minute to relearn it’s adjacent network and advertise those routes to route server before route server resumes normal functionality. In most cases, 1 minute is probably sufficient. If, however, you have concerns that your BGP network may not be capable of fully re-establishing and re-learning everything in 1 minute, you can increase the duration up to 5 minutes.
sns_notifications_enabled(bool)
/set_sns_notifications_enabled(Option<bool>)
:
required: falseSpecifies whether to enable SNS notifications for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by Amazon Web Services.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.
- On success, responds with
ModifyRouteServerOutput
with field(s):route_server(Option<RouteServer>)
:Information about the modified route server.
- On failure, responds with
SdkError<ModifyRouteServerError>
Source§impl Client
impl Client
Sourcepub fn modify_security_group_rules(
&self,
) -> ModifySecurityGroupRulesFluentBuilder
pub fn modify_security_group_rules( &self, ) -> ModifySecurityGroupRulesFluentBuilder
Constructs a fluent builder for the ModifySecurityGroupRules
operation.
- The fluent builder is configurable:
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: trueThe ID of the security group.
security_group_rules(SecurityGroupRuleUpdate)
/set_security_group_rules(Option<Vec::<SecurityGroupRuleUpdate>>)
:
required: trueInformation about the security group properties to update.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifySecurityGroupRulesOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.
- On failure, responds with
SdkError<ModifySecurityGroupRulesError>
Source§impl Client
impl Client
Sourcepub fn modify_snapshot_attribute(&self) -> ModifySnapshotAttributeFluentBuilder
pub fn modify_snapshot_attribute(&self) -> ModifySnapshotAttributeFluentBuilder
Constructs a fluent builder for the ModifySnapshotAttribute
operation.
- The fluent builder is configurable:
attribute(SnapshotAttributeName)
/set_attribute(Option<SnapshotAttributeName>)
:
required: falseThe snapshot attribute to modify. Only volume creation permissions can be modified.
create_volume_permission(CreateVolumePermissionModifications)
/set_create_volume_permission(Option<CreateVolumePermissionModifications>)
:
required: falseA JSON representation of the snapshot attribute modification.
group_names(impl Into<String>)
/set_group_names(Option<Vec::<String>>)
:
required: falseThe group to modify for the snapshot.
operation_type(OperationType)
/set_operation_type(Option<OperationType>)
:
required: falseThe type of operation to perform to the attribute.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot.
user_ids(impl Into<String>)
/set_user_ids(Option<Vec::<String>>)
:
required: falseThe account ID to modify for the snapshot.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifySnapshotAttributeOutput
- On failure, responds with
SdkError<ModifySnapshotAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_snapshot_tier(&self) -> ModifySnapshotTierFluentBuilder
pub fn modify_snapshot_tier(&self) -> ModifySnapshotTierFluentBuilder
Constructs a fluent builder for the ModifySnapshotTier
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot.
storage_tier(TargetStorageTier)
/set_storage_tier(Option<TargetStorageTier>)
:
required: falseThe name of the storage tier. You must specify
archive
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifySnapshotTierOutput
with field(s):snapshot_id(Option<String>)
:The ID of the snapshot.
tiering_start_time(Option<DateTime>)
:The date and time when the archive process was started.
- On failure, responds with
SdkError<ModifySnapshotTierError>
Source§impl Client
impl Client
Sourcepub fn modify_spot_fleet_request(&self) -> ModifySpotFleetRequestFluentBuilder
pub fn modify_spot_fleet_request(&self) -> ModifySpotFleetRequestFluentBuilder
Constructs a fluent builder for the ModifySpotFleetRequest
operation.
- The fluent builder is configurable:
launch_template_configs(LaunchTemplateConfig)
/set_launch_template_configs(Option<Vec::<LaunchTemplateConfig>>)
:
required: falseThe launch template and overrides. You can only use this parameter if you specified a launch template (
LaunchTemplateConfigs
) in your Spot Fleet request. If you specifiedLaunchSpecifications
in your Spot Fleet request, then omit this parameter.on_demand_target_capacity(i32)
/set_on_demand_target_capacity(Option<i32>)
:
required: falseThe number of On-Demand Instances in the fleet.
context(impl Into<String>)
/set_context(Option<String>)
:
required: falseReserved.
spot_fleet_request_id(impl Into<String>)
/set_spot_fleet_request_id(Option<String>)
:
required: trueThe ID of the Spot Fleet request.
target_capacity(i32)
/set_target_capacity(Option<i32>)
:
required: falseThe size of the fleet.
excess_capacity_termination_policy(ExcessCapacityTerminationPolicy)
/set_excess_capacity_termination_policy(Option<ExcessCapacityTerminationPolicy>)
:
required: falseIndicates whether running instances should be terminated if the target capacity of the Spot Fleet request is decreased below the current size of the Spot Fleet.
Supported only for fleets of type
maintain
.
- On success, responds with
ModifySpotFleetRequestOutput
with field(s):r#return(Option<bool>)
:If the request succeeds, the response returns
true
. If the request fails, no response is returned, and instead an error message is returned.
- On failure, responds with
SdkError<ModifySpotFleetRequestError>
Source§impl Client
impl Client
Sourcepub fn modify_subnet_attribute(&self) -> ModifySubnetAttributeFluentBuilder
pub fn modify_subnet_attribute(&self) -> ModifySubnetAttributeFluentBuilder
Constructs a fluent builder for the ModifySubnetAttribute
operation.
- The fluent builder is configurable:
assign_ipv6_address_on_creation(AttributeBooleanValue)
/set_assign_ipv6_address_on_creation(Option<AttributeBooleanValue>)
:
required: falseSpecify
true
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that’s created when launching an instance into the subnet (the instance therefore receives an IPv6 address).If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it’s created using version
2016-11-15
or later of the Amazon EC2 API.map_public_ip_on_launch(AttributeBooleanValue)
/set_map_public_ip_on_launch(Option<AttributeBooleanValue>)
:
required: falseSpecify
true
to indicate that network interfaces attached to instances created in the specified subnet should be assigned a public IPv4 address.Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: trueThe ID of the subnet.
map_customer_owned_ip_on_launch(AttributeBooleanValue)
/set_map_customer_owned_ip_on_launch(Option<AttributeBooleanValue>)
:
required: falseSpecify
true
to indicate that network interfaces attached to instances created in the specified subnet should be assigned a customer-owned IPv4 address.When this value is
true
, you must specify the customer-owned IP pool usingCustomerOwnedIpv4Pool
.customer_owned_ipv4_pool(impl Into<String>)
/set_customer_owned_ipv4_pool(Option<String>)
:
required: falseThe customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify
true
forMapCustomerOwnedIpOnLaunch
.enable_dns64(AttributeBooleanValue)
/set_enable_dns64(Option<AttributeBooleanValue>)
:
required: falseIndicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.
You must first configure a NAT gateway in a public subnet (separate from the subnet containing the IPv6-only workloads). For example, the subnet containing the NAT gateway should have a
0.0.0.0/0
route pointing to the internet gateway. For more information, see Configure DNS64 and NAT64 in the Amazon VPC User Guide.private_dns_hostname_type_on_launch(HostnameType)
/set_private_dns_hostname_type_on_launch(Option<HostnameType>)
:
required: falseThe type of hostname to assign to instances in the subnet at launch. For IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS name can be based on the instance IPv4 address (ip-name) or the instance ID (resource-name). For IPv6 only subnets, an instance DNS name must be based on the instance ID (resource-name).
enable_resource_name_dns_a_record_on_launch(AttributeBooleanValue)
/set_enable_resource_name_dns_a_record_on_launch(Option<AttributeBooleanValue>)
:
required: falseIndicates whether to respond to DNS queries for instance hostnames with DNS A records.
enable_resource_name_dns_aaaa_record_on_launch(AttributeBooleanValue)
/set_enable_resource_name_dns_aaaa_record_on_launch(Option<AttributeBooleanValue>)
:
required: falseIndicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
enable_lni_at_device_index(i32)
/set_enable_lni_at_device_index(Option<i32>)
:
required: falseIndicates the device position for local network interfaces in this subnet. For example,
1
indicates local network interfaces in this subnet are the secondary network interface (eth1). A local network interface cannot be the primary network interface (eth0).disable_lni_at_device_index(AttributeBooleanValue)
/set_disable_lni_at_device_index(Option<AttributeBooleanValue>)
:
required: falseSpecify
true
to indicate that local network interfaces at the current position should be disabled.
- On success, responds with
ModifySubnetAttributeOutput
- On failure, responds with
SdkError<ModifySubnetAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_traffic_mirror_filter_network_services(
&self,
) -> ModifyTrafficMirrorFilterNetworkServicesFluentBuilder
pub fn modify_traffic_mirror_filter_network_services( &self, ) -> ModifyTrafficMirrorFilterNetworkServicesFluentBuilder
Constructs a fluent builder for the ModifyTrafficMirrorFilterNetworkServices
operation.
- The fluent builder is configurable:
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror filter.
add_network_services(TrafficMirrorNetworkService)
/set_add_network_services(Option<Vec::<TrafficMirrorNetworkService>>)
:
required: falseThe network service, for example Amazon DNS, that you want to mirror.
remove_network_services(TrafficMirrorNetworkService)
/set_remove_network_services(Option<Vec::<TrafficMirrorNetworkService>>)
:
required: falseThe network service, for example Amazon DNS, that you no longer want to mirror.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTrafficMirrorFilterNetworkServicesOutput
with field(s):traffic_mirror_filter(Option<TrafficMirrorFilter>)
:The Traffic Mirror filter that the network service is associated with.
- On failure, responds with
SdkError<ModifyTrafficMirrorFilterNetworkServicesError>
Source§impl Client
impl Client
Sourcepub fn modify_traffic_mirror_filter_rule(
&self,
) -> ModifyTrafficMirrorFilterRuleFluentBuilder
pub fn modify_traffic_mirror_filter_rule( &self, ) -> ModifyTrafficMirrorFilterRuleFluentBuilder
Constructs a fluent builder for the ModifyTrafficMirrorFilterRule
operation.
- The fluent builder is configurable:
traffic_mirror_filter_rule_id(impl Into<String>)
/set_traffic_mirror_filter_rule_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror rule.
traffic_direction(TrafficDirection)
/set_traffic_direction(Option<TrafficDirection>)
:
required: falseThe type of traffic to assign to the rule.
rule_number(i32)
/set_rule_number(Option<i32>)
:
required: falseThe number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
rule_action(TrafficMirrorRuleAction)
/set_rule_action(Option<TrafficMirrorRuleAction>)
:
required: falseThe action to assign to the rule.
destination_port_range(TrafficMirrorPortRangeRequest)
/set_destination_port_range(Option<TrafficMirrorPortRangeRequest>)
:
required: falseThe destination ports that are associated with the Traffic Mirror rule.
source_port_range(TrafficMirrorPortRangeRequest)
/set_source_port_range(Option<TrafficMirrorPortRangeRequest>)
:
required: falseThe port range to assign to the Traffic Mirror rule.
protocol(i32)
/set_protocol(Option<i32>)
:
required: falseThe protocol, for example TCP, to assign to the Traffic Mirror rule.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe destination CIDR block to assign to the Traffic Mirror rule.
source_cidr_block(impl Into<String>)
/set_source_cidr_block(Option<String>)
:
required: falseThe source CIDR block to assign to the Traffic Mirror rule.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description to assign to the Traffic Mirror rule.
remove_fields(TrafficMirrorFilterRuleField)
/set_remove_fields(Option<Vec::<TrafficMirrorFilterRuleField>>)
:
required: falseThe properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTrafficMirrorFilterRuleOutput
with field(s):traffic_mirror_filter_rule(Option<TrafficMirrorFilterRule>)
:Tags are not returned for ModifyTrafficMirrorFilterRule.
A Traffic Mirror rule.
- On failure, responds with
SdkError<ModifyTrafficMirrorFilterRuleError>
Source§impl Client
impl Client
Sourcepub fn modify_traffic_mirror_session(
&self,
) -> ModifyTrafficMirrorSessionFluentBuilder
pub fn modify_traffic_mirror_session( &self, ) -> ModifyTrafficMirrorSessionFluentBuilder
Constructs a fluent builder for the ModifyTrafficMirrorSession
operation.
- The fluent builder is configurable:
traffic_mirror_session_id(impl Into<String>)
/set_traffic_mirror_session_id(Option<String>)
:
required: trueThe ID of the Traffic Mirror session.
traffic_mirror_target_id(impl Into<String>)
/set_traffic_mirror_target_id(Option<String>)
:
required: falseThe Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.
traffic_mirror_filter_id(impl Into<String>)
/set_traffic_mirror_filter_id(Option<String>)
:
required: falseThe ID of the Traffic Mirror filter.
packet_length(i32)
/set_packet_length(Option<i32>)
:
required: falseThe number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.
For sessions with Network Load Balancer (NLB) traffic mirror targets, the default
PacketLength
will be set to 8500. Valid values are 1-8500. Setting aPacketLength
greater than 8500 will result in an error response.session_number(i32)
/set_session_number(Option<i32>)
:
required: falseThe session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
Valid values are 1-32766.
virtual_network_id(i32)
/set_virtual_network_id(Option<i32>)
:
required: falseThe virtual network ID of the Traffic Mirror session.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description to assign to the Traffic Mirror session.
remove_fields(TrafficMirrorSessionField)
/set_remove_fields(Option<Vec::<TrafficMirrorSessionField>>)
:
required: falseThe properties that you want to remove from the Traffic Mirror session.
When you remove a property from a Traffic Mirror session, the property is set to the default.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTrafficMirrorSessionOutput
with field(s):traffic_mirror_session(Option<TrafficMirrorSession>)
:Information about the Traffic Mirror session.
- On failure, responds with
SdkError<ModifyTrafficMirrorSessionError>
Source§impl Client
impl Client
Sourcepub fn modify_transit_gateway(&self) -> ModifyTransitGatewayFluentBuilder
pub fn modify_transit_gateway(&self) -> ModifyTransitGatewayFluentBuilder
Constructs a fluent builder for the ModifyTransitGateway
operation.
- The fluent builder is configurable:
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: trueThe ID of the transit gateway.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseThe description for the transit gateway.
options(ModifyTransitGatewayOptions)
/set_options(Option<ModifyTransitGatewayOptions>)
:
required: falseThe options to modify.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTransitGatewayOutput
with field(s):transit_gateway(Option<TransitGateway>)
:Information about the transit gateway.
- On failure, responds with
SdkError<ModifyTransitGatewayError>
Source§impl Client
impl Client
Sourcepub fn modify_transit_gateway_prefix_list_reference(
&self,
) -> ModifyTransitGatewayPrefixListReferenceFluentBuilder
pub fn modify_transit_gateway_prefix_list_reference( &self, ) -> ModifyTransitGatewayPrefixListReferenceFluentBuilder
Constructs a fluent builder for the ModifyTransitGatewayPrefixListReference
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment to which traffic is routed.
blackhole(bool)
/set_blackhole(Option<bool>)
:
required: falseIndicates whether to drop traffic that matches this route.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTransitGatewayPrefixListReferenceOutput
with field(s):transit_gateway_prefix_list_reference(Option<TransitGatewayPrefixListReference>)
:Information about the prefix list reference.
- On failure, responds with
SdkError<ModifyTransitGatewayPrefixListReferenceError>
Source§impl Client
impl Client
Sourcepub fn modify_transit_gateway_vpc_attachment(
&self,
) -> ModifyTransitGatewayVpcAttachmentFluentBuilder
pub fn modify_transit_gateway_vpc_attachment( &self, ) -> ModifyTransitGatewayVpcAttachmentFluentBuilder
Constructs a fluent builder for the ModifyTransitGatewayVpcAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
add_subnet_ids(impl Into<String>)
/set_add_subnet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
remove_subnet_ids(impl Into<String>)
/set_remove_subnet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of one or more subnets to remove.
options(ModifyTransitGatewayVpcAttachmentRequestOptions)
/set_options(Option<ModifyTransitGatewayVpcAttachmentRequestOptions>)
:
required: falseThe new VPC attachment options.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyTransitGatewayVpcAttachmentOutput
with field(s):transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)
:Information about the modified attachment.
- On failure, responds with
SdkError<ModifyTransitGatewayVpcAttachmentError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_endpoint(
&self,
) -> ModifyVerifiedAccessEndpointFluentBuilder
pub fn modify_verified_access_endpoint( &self, ) -> ModifyVerifiedAccessEndpointFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessEndpoint
operation.
- The fluent builder is configurable:
verified_access_endpoint_id(impl Into<String>)
/set_verified_access_endpoint_id(Option<String>)
:
required: trueThe ID of the Verified Access endpoint.
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: falseThe ID of the Verified Access group.
load_balancer_options(ModifyVerifiedAccessEndpointLoadBalancerOptions)
/set_load_balancer_options(Option<ModifyVerifiedAccessEndpointLoadBalancerOptions>)
:
required: falseThe load balancer details if creating the Verified Access endpoint as
load-balancer
type.network_interface_options(ModifyVerifiedAccessEndpointEniOptions)
/set_network_interface_options(Option<ModifyVerifiedAccessEndpointEniOptions>)
:
required: falseThe network interface options.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access endpoint.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.rds_options(ModifyVerifiedAccessEndpointRdsOptions)
/set_rds_options(Option<ModifyVerifiedAccessEndpointRdsOptions>)
:
required: falseThe RDS options.
cidr_options(ModifyVerifiedAccessEndpointCidrOptions)
/set_cidr_options(Option<ModifyVerifiedAccessEndpointCidrOptions>)
:
required: falseThe CIDR options.
- On success, responds with
ModifyVerifiedAccessEndpointOutput
with field(s):verified_access_endpoint(Option<VerifiedAccessEndpoint>)
:Details about the Verified Access endpoint.
- On failure, responds with
SdkError<ModifyVerifiedAccessEndpointError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_endpoint_policy(
&self,
) -> ModifyVerifiedAccessEndpointPolicyFluentBuilder
pub fn modify_verified_access_endpoint_policy( &self, ) -> ModifyVerifiedAccessEndpointPolicyFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessEndpointPolicy
operation.
- The fluent builder is configurable:
verified_access_endpoint_id(impl Into<String>)
/set_verified_access_endpoint_id(Option<String>)
:
required: trueThe ID of the Verified Access endpoint.
policy_enabled(bool)
/set_policy_enabled(Option<bool>)
:
required: falseThe status of the Verified Access policy.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: falseThe Verified Access policy document.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
- On success, responds with
ModifyVerifiedAccessEndpointPolicyOutput
with field(s):policy_enabled(Option<bool>)
:The status of the Verified Access policy.
policy_document(Option<String>)
:The Verified Access policy document.
sse_specification(Option<VerifiedAccessSseSpecificationResponse>)
:The options in use for server side encryption.
- On failure, responds with
SdkError<ModifyVerifiedAccessEndpointPolicyError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_group(
&self,
) -> ModifyVerifiedAccessGroupFluentBuilder
pub fn modify_verified_access_group( &self, ) -> ModifyVerifiedAccessGroupFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessGroup
operation.
- The fluent builder is configurable:
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: trueThe ID of the Verified Access group.
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: falseThe ID of the Verified Access instance.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access group.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVerifiedAccessGroupOutput
with field(s):verified_access_group(Option<VerifiedAccessGroup>)
:Details about the Verified Access group.
- On failure, responds with
SdkError<ModifyVerifiedAccessGroupError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_group_policy(
&self,
) -> ModifyVerifiedAccessGroupPolicyFluentBuilder
pub fn modify_verified_access_group_policy( &self, ) -> ModifyVerifiedAccessGroupPolicyFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessGroupPolicy
operation.
- The fluent builder is configurable:
verified_access_group_id(impl Into<String>)
/set_verified_access_group_id(Option<String>)
:
required: trueThe ID of the Verified Access group.
policy_enabled(bool)
/set_policy_enabled(Option<bool>)
:
required: falseThe status of the Verified Access policy.
policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: falseThe Verified Access policy document.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
- On success, responds with
ModifyVerifiedAccessGroupPolicyOutput
with field(s):policy_enabled(Option<bool>)
:The status of the Verified Access policy.
policy_document(Option<String>)
:The Verified Access policy document.
sse_specification(Option<VerifiedAccessSseSpecificationResponse>)
:The options in use for server side encryption.
- On failure, responds with
SdkError<ModifyVerifiedAccessGroupPolicyError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_instance(
&self,
) -> ModifyVerifiedAccessInstanceFluentBuilder
pub fn modify_verified_access_instance( &self, ) -> ModifyVerifiedAccessInstanceFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessInstance
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
cidr_endpoints_custom_sub_domain(impl Into<String>)
/set_cidr_endpoints_custom_sub_domain(Option<String>)
:
required: falseThe custom subdomain.
- On success, responds with
ModifyVerifiedAccessInstanceOutput
with field(s):verified_access_instance(Option<VerifiedAccessInstance>)
:Details about the Verified Access instance.
- On failure, responds with
SdkError<ModifyVerifiedAccessInstanceError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_instance_logging_configuration(
&self,
) -> ModifyVerifiedAccessInstanceLoggingConfigurationFluentBuilder
pub fn modify_verified_access_instance_logging_configuration( &self, ) -> ModifyVerifiedAccessInstanceLoggingConfigurationFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessInstanceLoggingConfiguration
operation.
- The fluent builder is configurable:
verified_access_instance_id(impl Into<String>)
/set_verified_access_instance_id(Option<String>)
:
required: trueThe ID of the Verified Access instance.
access_logs(VerifiedAccessLogOptions)
/set_access_logs(Option<VerifiedAccessLogOptions>)
:
required: trueThe configuration options for Verified Access instances.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
- On success, responds with
ModifyVerifiedAccessInstanceLoggingConfigurationOutput
with field(s):logging_configuration(Option<VerifiedAccessInstanceLoggingConfiguration>)
:The logging configuration for the Verified Access instance.
- On failure, responds with
SdkError<ModifyVerifiedAccessInstanceLoggingConfigurationError>
Source§impl Client
impl Client
Sourcepub fn modify_verified_access_trust_provider(
&self,
) -> ModifyVerifiedAccessTrustProviderFluentBuilder
pub fn modify_verified_access_trust_provider( &self, ) -> ModifyVerifiedAccessTrustProviderFluentBuilder
Constructs a fluent builder for the ModifyVerifiedAccessTrustProvider
operation.
- The fluent builder is configurable:
verified_access_trust_provider_id(impl Into<String>)
/set_verified_access_trust_provider_id(Option<String>)
:
required: trueThe ID of the Verified Access trust provider.
oidc_options(ModifyVerifiedAccessTrustProviderOidcOptions)
/set_oidc_options(Option<ModifyVerifiedAccessTrustProviderOidcOptions>)
:
required: falseThe options for an OpenID Connect-compatible user-identity trust provider.
device_options(ModifyVerifiedAccessTrustProviderDeviceOptions)
/set_device_options(Option<ModifyVerifiedAccessTrustProviderDeviceOptions>)
:
required: falseThe options for a device-based trust provider. This parameter is required when the provider type is
device
.description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the Verified Access trust provider.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
sse_specification(VerifiedAccessSseSpecificationRequest)
/set_sse_specification(Option<VerifiedAccessSseSpecificationRequest>)
:
required: falseThe options for server side encryption.
native_application_oidc_options(ModifyVerifiedAccessNativeApplicationOidcOptions)
/set_native_application_oidc_options(Option<ModifyVerifiedAccessNativeApplicationOidcOptions>)
:
required: falseThe OpenID Connect (OIDC) options.
- On success, responds with
ModifyVerifiedAccessTrustProviderOutput
with field(s):verified_access_trust_provider(Option<VerifiedAccessTrustProvider>)
:Details about the Verified Access trust provider.
- On failure, responds with
SdkError<ModifyVerifiedAccessTrustProviderError>
Source§impl Client
impl Client
Sourcepub fn modify_volume(&self) -> ModifyVolumeFluentBuilder
pub fn modify_volume(&self) -> ModifyVolumeFluentBuilder
Constructs a fluent builder for the ModifyVolume
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
size(i32)
/set_size(Option<i32>)
:
required: falseThe target size of the volume, in GiB. The target volume size must be greater than or equal to the existing size of the volume.
The following are the supported volumes sizes for each volume type:
-
gp2
andgp3
: 1 - 16,384 GiB -
io1
: 4 - 16,384 GiB -
io2
: 4 - 65,536 GiB -
st1
andsc1
: 125 - 16,384 GiB -
standard
: 1 - 1024 GiB
Default: The existing size is retained.
-
volume_type(VolumeType)
/set_volume_type(Option<VolumeType>)
:
required: falseThe target EBS volume type of the volume. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
Default: The existing type is retained.
iops(i32)
/set_iops(Option<i32>)
:
required: falseThe target IOPS rate of the volume. This parameter is valid only for
gp3
,io1
, andio2
volumes.The following are the supported values for each volume type:
-
gp3
: 3,000 - 16,000 IOPS -
io1
: 100 - 64,000 IOPS -
io2
: 100 - 256,000 IOPS
For
io2
volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS.Default: The existing value is retained if you keep the same volume type. If you change the volume type to
io1
,io2
, orgp3
, the default is 3,000.-
throughput(i32)
/set_throughput(Option<i32>)
:
required: falseThe target throughput of the volume, in MiB/s. This parameter is valid only for
gp3
volumes. The maximum value is 1,000.Default: The existing value is retained if the source and target volume type is
gp3
. Otherwise, the default value is 125.Valid Range: Minimum value of 125. Maximum value of 1000.
multi_attach_enabled(bool)
/set_multi_attach_enabled(Option<bool>)
:
required: falseSpecifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the volume to up to 16 Nitro-based instances in the same Availability Zone. This parameter is supported with
io1
andio2
volumes only. For more information, see Amazon EBS Multi-Attach in the Amazon EBS User Guide.
- On success, responds with
ModifyVolumeOutput
with field(s):volume_modification(Option<VolumeModification>)
:Information about the volume modification.
- On failure, responds with
SdkError<ModifyVolumeError>
Source§impl Client
impl Client
Sourcepub fn modify_volume_attribute(&self) -> ModifyVolumeAttributeFluentBuilder
pub fn modify_volume_attribute(&self) -> ModifyVolumeAttributeFluentBuilder
Constructs a fluent builder for the ModifyVolumeAttribute
operation.
- The fluent builder is configurable:
auto_enable_io(AttributeBooleanValue)
/set_auto_enable_io(Option<AttributeBooleanValue>)
:
required: falseIndicates whether the volume should be auto-enabled for I/O operations.
volume_id(impl Into<String>)
/set_volume_id(Option<String>)
:
required: trueThe ID of the volume.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVolumeAttributeOutput
- On failure, responds with
SdkError<ModifyVolumeAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_attribute(&self) -> ModifyVpcAttributeFluentBuilder
pub fn modify_vpc_attribute(&self) -> ModifyVpcAttributeFluentBuilder
Constructs a fluent builder for the ModifyVpcAttribute
operation.
- The fluent builder is configurable:
enable_dns_hostnames(AttributeBooleanValue)
/set_enable_dns_hostnames(Option<AttributeBooleanValue>)
:
required: falseIndicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you’ve enabled DNS support.
enable_dns_support(AttributeBooleanValue)
/set_enable_dns_support(Option<AttributeBooleanValue>)
:
required: falseIndicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range “plus two” succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.
You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
enable_network_address_usage_metrics(AttributeBooleanValue)
/set_enable_network_address_usage_metrics(Option<AttributeBooleanValue>)
:
required: falseIndicates whether Network Address Usage metrics are enabled for your VPC.
- On success, responds with
ModifyVpcAttributeOutput
- On failure, responds with
SdkError<ModifyVpcAttributeError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_block_public_access_exclusion(
&self,
) -> ModifyVpcBlockPublicAccessExclusionFluentBuilder
pub fn modify_vpc_block_public_access_exclusion( &self, ) -> ModifyVpcBlockPublicAccessExclusionFluentBuilder
Constructs a fluent builder for the ModifyVpcBlockPublicAccessExclusion
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.exclusion_id(impl Into<String>)
/set_exclusion_id(Option<String>)
:
required: trueThe ID of an exclusion.
internet_gateway_exclusion_mode(InternetGatewayExclusionMode)
/set_internet_gateway_exclusion_mode(Option<InternetGatewayExclusionMode>)
:
required: trueThe exclusion mode for internet gateway traffic.
-
allow-bidirectional
: Allow all internet traffic to and from the excluded VPCs and subnets. -
allow-egress
: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.
-
- On success, responds with
ModifyVpcBlockPublicAccessExclusionOutput
with field(s):vpc_block_public_access_exclusion(Option<VpcBlockPublicAccessExclusion>)
:Details related to the exclusion.
- On failure, responds with
SdkError<ModifyVpcBlockPublicAccessExclusionError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_block_public_access_options(
&self,
) -> ModifyVpcBlockPublicAccessOptionsFluentBuilder
pub fn modify_vpc_block_public_access_options( &self, ) -> ModifyVpcBlockPublicAccessOptionsFluentBuilder
Constructs a fluent builder for the ModifyVpcBlockPublicAccessOptions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.internet_gateway_block_mode(InternetGatewayBlockMode)
/set_internet_gateway_block_mode(Option<InternetGatewayBlockMode>)
:
required: trueThe mode of VPC BPA.
-
off
: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region. -
block-bidirectional
: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets). -
block-ingress
: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.
-
- On success, responds with
ModifyVpcBlockPublicAccessOptionsOutput
with field(s):vpc_block_public_access_options(Option<VpcBlockPublicAccessOptions>)
:Details related to the VPC Block Public Access (BPA) options.
- On failure, responds with
SdkError<ModifyVpcBlockPublicAccessOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_endpoint(&self) -> ModifyVpcEndpointFluentBuilder
pub fn modify_vpc_endpoint(&self) -> ModifyVpcEndpointFluentBuilder
Constructs a fluent builder for the ModifyVpcEndpoint
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: trueThe ID of the endpoint.
reset_policy(bool)
/set_reset_policy(Option<bool>)
:
required: false(Gateway endpoint) Specify
true
to reset the policy document to the default policy. The default policy allows full access to the service.policy_document(impl Into<String>)
/set_policy_document(Option<String>)
:
required: false(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
add_route_table_ids(impl Into<String>)
/set_add_route_table_ids(Option<Vec::<String>>)
:
required: false(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
remove_route_table_ids(impl Into<String>)
/set_remove_route_table_ids(Option<Vec::<String>>)
:
required: false(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
add_subnet_ids(impl Into<String>)
/set_add_subnet_ids(Option<Vec::<String>>)
:
required: false(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
remove_subnet_ids(impl Into<String>)
/set_remove_subnet_ids(Option<Vec::<String>>)
:
required: false(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
add_security_group_ids(impl Into<String>)
/set_add_security_group_ids(Option<Vec::<String>>)
:
required: false(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.
remove_security_group_ids(impl Into<String>)
/set_remove_security_group_ids(Option<Vec::<String>>)
:
required: false(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.
ip_address_type(IpAddressType)
/set_ip_address_type(Option<IpAddressType>)
:
required: falseThe IP address type for the endpoint.
dns_options(DnsOptionsSpecification)
/set_dns_options(Option<DnsOptionsSpecification>)
:
required: falseThe DNS options for the endpoint.
private_dns_enabled(bool)
/set_private_dns_enabled(Option<bool>)
:
required: false(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
subnet_configurations(SubnetConfiguration)
/set_subnet_configurations(Option<Vec::<SubnetConfiguration>>)
:
required: falseThe subnet configurations for the endpoint.
- On success, responds with
ModifyVpcEndpointOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyVpcEndpointError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_endpoint_connection_notification(
&self,
) -> ModifyVpcEndpointConnectionNotificationFluentBuilder
pub fn modify_vpc_endpoint_connection_notification( &self, ) -> ModifyVpcEndpointConnectionNotificationFluentBuilder
Constructs a fluent builder for the ModifyVpcEndpointConnectionNotification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.connection_notification_id(impl Into<String>)
/set_connection_notification_id(Option<String>)
:
required: trueThe ID of the notification.
connection_notification_arn(impl Into<String>)
/set_connection_notification_arn(Option<String>)
:
required: falseThe ARN for the SNS topic for the notification.
connection_events(impl Into<String>)
/set_connection_events(Option<Vec::<String>>)
:
required: falseThe events for the endpoint. Valid values are
Accept
,Connect
,Delete
, andReject
.
- On success, responds with
ModifyVpcEndpointConnectionNotificationOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyVpcEndpointConnectionNotificationError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_endpoint_service_configuration(
&self,
) -> ModifyVpcEndpointServiceConfigurationFluentBuilder
pub fn modify_vpc_endpoint_service_configuration( &self, ) -> ModifyVpcEndpointServiceConfigurationFluentBuilder
Constructs a fluent builder for the ModifyVpcEndpointServiceConfiguration
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the service.
private_dns_name(impl Into<String>)
/set_private_dns_name(Option<String>)
:
required: false(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
remove_private_dns_name(bool)
/set_remove_private_dns_name(Option<bool>)
:
required: false(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
acceptance_required(bool)
/set_acceptance_required(Option<bool>)
:
required: falseIndicates whether requests to create an endpoint to the service must be accepted.
add_network_load_balancer_arns(impl Into<String>)
/set_add_network_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration.
remove_network_load_balancer_arns(impl Into<String>)
/set_remove_network_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration.
add_gateway_load_balancer_arns(impl Into<String>)
/set_add_gateway_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration.
remove_gateway_load_balancer_arns(impl Into<String>)
/set_remove_gateway_load_balancer_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration.
add_supported_ip_address_types(impl Into<String>)
/set_add_supported_ip_address_types(Option<Vec::<String>>)
:
required: falseThe IP address types to add to the service configuration.
remove_supported_ip_address_types(impl Into<String>)
/set_remove_supported_ip_address_types(Option<Vec::<String>>)
:
required: falseThe IP address types to remove from the service configuration.
add_supported_regions(impl Into<String>)
/set_add_supported_regions(Option<Vec::<String>>)
:
required: falseThe supported Regions to add to the service configuration.
remove_supported_regions(impl Into<String>)
/set_remove_supported_regions(Option<Vec::<String>>)
:
required: falseThe supported Regions to remove from the service configuration.
- On success, responds with
ModifyVpcEndpointServiceConfigurationOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyVpcEndpointServiceConfigurationError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_endpoint_service_payer_responsibility(
&self,
) -> ModifyVpcEndpointServicePayerResponsibilityFluentBuilder
pub fn modify_vpc_endpoint_service_payer_responsibility( &self, ) -> ModifyVpcEndpointServicePayerResponsibilityFluentBuilder
Constructs a fluent builder for the ModifyVpcEndpointServicePayerResponsibility
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the service.
payer_responsibility(PayerResponsibility)
/set_payer_responsibility(Option<PayerResponsibility>)
:
required: trueThe entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
- On success, responds with
ModifyVpcEndpointServicePayerResponsibilityOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyVpcEndpointServicePayerResponsibilityError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_endpoint_service_permissions(
&self,
) -> ModifyVpcEndpointServicePermissionsFluentBuilder
pub fn modify_vpc_endpoint_service_permissions( &self, ) -> ModifyVpcEndpointServicePermissionsFluentBuilder
Constructs a fluent builder for the ModifyVpcEndpointServicePermissions
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the service.
add_allowed_principals(impl Into<String>)
/set_add_allowed_principals(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARN) of the principals. Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*).
remove_allowed_principals(impl Into<String>)
/set_remove_allowed_principals(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARN) of the principals. Permissions are revoked for principals in this list.
- On success, responds with
ModifyVpcEndpointServicePermissionsOutput
with field(s):added_principals(Option<Vec::<AddedPrincipal>>)
:Information about the added principals.
return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ModifyVpcEndpointServicePermissionsError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_peering_connection_options(
&self,
) -> ModifyVpcPeeringConnectionOptionsFluentBuilder
pub fn modify_vpc_peering_connection_options( &self, ) -> ModifyVpcPeeringConnectionOptionsFluentBuilder
Constructs a fluent builder for the ModifyVpcPeeringConnectionOptions
operation.
- The fluent builder is configurable:
accepter_peering_connection_options(PeeringConnectionOptionsRequest)
/set_accepter_peering_connection_options(Option<PeeringConnectionOptionsRequest>)
:
required: falseThe VPC peering connection options for the accepter VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.requester_peering_connection_options(PeeringConnectionOptionsRequest)
/set_requester_peering_connection_options(Option<PeeringConnectionOptionsRequest>)
:
required: falseThe VPC peering connection options for the requester VPC.
vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: trueThe ID of the VPC peering connection.
- On success, responds with
ModifyVpcPeeringConnectionOptionsOutput
with field(s):accepter_peering_connection_options(Option<PeeringConnectionOptions>)
:Information about the VPC peering connection options for the accepter VPC.
requester_peering_connection_options(Option<PeeringConnectionOptions>)
:Information about the VPC peering connection options for the requester VPC.
- On failure, responds with
SdkError<ModifyVpcPeeringConnectionOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_vpc_tenancy(&self) -> ModifyVpcTenancyFluentBuilder
pub fn modify_vpc_tenancy(&self) -> ModifyVpcTenancyFluentBuilder
Constructs a fluent builder for the ModifyVpcTenancy
operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)
/set_vpc_id(Option<String>)
:
required: trueThe ID of the VPC.
instance_tenancy(VpcTenancy)
/set_instance_tenancy(Option<VpcTenancy>)
:
required: trueThe instance tenancy attribute for the VPC.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVpcTenancyOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.
- On failure, responds with
SdkError<ModifyVpcTenancyError>
Source§impl Client
impl Client
Sourcepub fn modify_vpn_connection(&self) -> ModifyVpnConnectionFluentBuilder
pub fn modify_vpn_connection(&self) -> ModifyVpnConnectionFluentBuilder
Constructs a fluent builder for the ModifyVpnConnection
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the VPN connection.
transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: falseThe ID of the transit gateway.
customer_gateway_id(impl Into<String>)
/set_customer_gateway_id(Option<String>)
:
required: falseThe ID of the customer gateway at your end of the VPN connection.
vpn_gateway_id(impl Into<String>)
/set_vpn_gateway_id(Option<String>)
:
required: falseThe ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVpnConnectionOutput
with field(s):vpn_connection(Option<VpnConnection>)
:Information about the VPN connection.
- On failure, responds with
SdkError<ModifyVpnConnectionError>
Source§impl Client
impl Client
Sourcepub fn modify_vpn_connection_options(
&self,
) -> ModifyVpnConnectionOptionsFluentBuilder
pub fn modify_vpn_connection_options( &self, ) -> ModifyVpnConnectionOptionsFluentBuilder
Constructs a fluent builder for the ModifyVpnConnectionOptions
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the Site-to-Site VPN connection.
local_ipv4_network_cidr(impl Into<String>)
/set_local_ipv4_network_cidr(Option<String>)
:
required: falseThe IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
0.0.0.0/0
remote_ipv4_network_cidr(impl Into<String>)
/set_remote_ipv4_network_cidr(Option<String>)
:
required: falseThe IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default:
0.0.0.0/0
local_ipv6_network_cidr(impl Into<String>)
/set_local_ipv6_network_cidr(Option<String>)
:
required: falseThe IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
::/0
remote_ipv6_network_cidr(impl Into<String>)
/set_remote_ipv6_network_cidr(Option<String>)
:
required: falseThe IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default:
::/0
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVpnConnectionOptionsOutput
with field(s):vpn_connection(Option<VpnConnection>)
:Information about the VPN connection.
- On failure, responds with
SdkError<ModifyVpnConnectionOptionsError>
Source§impl Client
impl Client
Sourcepub fn modify_vpn_tunnel_certificate(
&self,
) -> ModifyVpnTunnelCertificateFluentBuilder
pub fn modify_vpn_tunnel_certificate( &self, ) -> ModifyVpnTunnelCertificateFluentBuilder
Constructs a fluent builder for the ModifyVpnTunnelCertificate
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the Amazon Web Services Site-to-Site VPN connection.
vpn_tunnel_outside_ip_address(impl Into<String>)
/set_vpn_tunnel_outside_ip_address(Option<String>)
:
required: trueThe external IP address of the VPN tunnel.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ModifyVpnTunnelCertificateOutput
with field(s):vpn_connection(Option<VpnConnection>)
:Information about the VPN connection.
- On failure, responds with
SdkError<ModifyVpnTunnelCertificateError>
Source§impl Client
impl Client
Sourcepub fn modify_vpn_tunnel_options(&self) -> ModifyVpnTunnelOptionsFluentBuilder
pub fn modify_vpn_tunnel_options(&self) -> ModifyVpnTunnelOptionsFluentBuilder
Constructs a fluent builder for the ModifyVpnTunnelOptions
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the Amazon Web Services Site-to-Site VPN connection.
vpn_tunnel_outside_ip_address(impl Into<String>)
/set_vpn_tunnel_outside_ip_address(Option<String>)
:
required: trueThe external IP address of the VPN tunnel.
tunnel_options(ModifyVpnTunnelOptionsSpecification)
/set_tunnel_options(Option<ModifyVpnTunnelOptionsSpecification>)
:
required: trueThe tunnel options to modify.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.skip_tunnel_replacement(bool)
/set_skip_tunnel_replacement(Option<bool>)
:
required: falseChoose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off
EnableTunnelLifecycleControl
.Valid values:
True
|False
- On success, responds with
ModifyVpnTunnelOptionsOutput
with field(s):vpn_connection(Option<VpnConnection>)
:Information about the VPN connection.
- On failure, responds with
SdkError<ModifyVpnTunnelOptionsError>
Source§impl Client
impl Client
Sourcepub fn monitor_instances(&self) -> MonitorInstancesFluentBuilder
pub fn monitor_instances(&self) -> MonitorInstancesFluentBuilder
Constructs a fluent builder for the MonitorInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the instances.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
MonitorInstancesOutput
with field(s):instance_monitorings(Option<Vec::<InstanceMonitoring>>)
:The monitoring information.
- On failure, responds with
SdkError<MonitorInstancesError>
Source§impl Client
impl Client
Sourcepub fn move_address_to_vpc(&self) -> MoveAddressToVpcFluentBuilder
pub fn move_address_to_vpc(&self) -> MoveAddressToVpcFluentBuilder
Constructs a fluent builder for the MoveAddressToVpc
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: trueThe Elastic IP address.
- On success, responds with
MoveAddressToVpcOutput
with field(s):allocation_id(Option<String>)
:The allocation ID for the Elastic IP address.
status(Option<Status>)
:The status of the move of the IP address.
- On failure, responds with
SdkError<MoveAddressToVpcError>
Source§impl Client
impl Client
Sourcepub fn move_byoip_cidr_to_ipam(&self) -> MoveByoipCidrToIpamFluentBuilder
pub fn move_byoip_cidr_to_ipam(&self) -> MoveByoipCidrToIpamFluentBuilder
Constructs a fluent builder for the MoveByoipCidrToIpam
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe BYOIP CIDR.
ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe IPAM pool ID.
ipam_pool_owner(impl Into<String>)
/set_ipam_pool_owner(Option<String>)
:
required: trueThe Amazon Web Services account ID of the owner of the IPAM pool.
- On success, responds with
MoveByoipCidrToIpamOutput
with field(s):byoip_cidr(Option<ByoipCidr>)
:The BYOIP CIDR.
- On failure, responds with
SdkError<MoveByoipCidrToIpamError>
Source§impl Client
impl Client
Sourcepub fn move_capacity_reservation_instances(
&self,
) -> MoveCapacityReservationInstancesFluentBuilder
pub fn move_capacity_reservation_instances( &self, ) -> MoveCapacityReservationInstancesFluentBuilder
Constructs a fluent builder for the MoveCapacityReservationInstances
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
source_capacity_reservation_id(impl Into<String>)
/set_source_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation from which you want to move capacity.
destination_capacity_reservation_id(impl Into<String>)
/set_destination_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation that you want to move capacity into.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: trueThe number of instances that you want to move from the source Capacity Reservation.
- On success, responds with
MoveCapacityReservationInstancesOutput
with field(s):source_capacity_reservation(Option<CapacityReservation>)
:Information about the source Capacity Reservation.
destination_capacity_reservation(Option<CapacityReservation>)
:Information about the destination Capacity Reservation.
instance_count(Option<i32>)
:The number of instances that were moved from the source Capacity Reservation to the destination Capacity Reservation.
- On failure, responds with
SdkError<MoveCapacityReservationInstancesError>
Source§impl Client
impl Client
Sourcepub fn provision_byoip_cidr(&self) -> ProvisionByoipCidrFluentBuilder
pub fn provision_byoip_cidr(&self) -> ProvisionByoipCidrFluentBuilder
Constructs a fluent builder for the ProvisionByoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable. The address range cannot overlap with another address range that you’ve brought to this or another Region.
cidr_authorization_context(CidrAuthorizationContext)
/set_cidr_authorization_context(Option<CidrAuthorizationContext>)
:
required: falseA signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
publicly_advertisable(bool)
/set_publicly_advertisable(Option<bool>)
:
required: false(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for the address range and the address pool.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.pool_tag_specifications(TagSpecification)
/set_pool_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the address pool.
multi_region(bool)
/set_multi_region(Option<bool>)
:
required: falseReserved.
network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseIf you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
-
- On success, responds with
ProvisionByoipCidrOutput
with field(s):byoip_cidr(Option<ByoipCidr>)
:Information about the address range.
- On failure, responds with
SdkError<ProvisionByoipCidrError>
Source§impl Client
impl Client
Sourcepub fn provision_ipam_byoasn(&self) -> ProvisionIpamByoasnFluentBuilder
pub fn provision_ipam_byoasn(&self) -> ProvisionIpamByoasnFluentBuilder
Constructs a fluent builder for the ProvisionIpamByoasn
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.ipam_id(impl Into<String>)
/set_ipam_id(Option<String>)
:
required: trueAn IPAM ID.
asn(impl Into<String>)
/set_asn(Option<String>)
:
required: trueA public 2-byte or 4-byte ASN.
asn_authorization_context(AsnAuthorizationContext)
/set_asn_authorization_context(Option<AsnAuthorizationContext>)
:
required: trueAn ASN authorization context.
- On success, responds with
ProvisionIpamByoasnOutput
with field(s):byoasn(Option<Byoasn>)
:An ASN and BYOIP CIDR association.
- On failure, responds with
SdkError<ProvisionIpamByoasnError>
Source§impl Client
impl Client
Sourcepub fn provision_ipam_pool_cidr(&self) -> ProvisionIpamPoolCidrFluentBuilder
pub fn provision_ipam_pool_cidr(&self) -> ProvisionIpamPoolCidrFluentBuilder
Constructs a fluent builder for the ProvisionIpamPoolCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool to which you want to assign a CIDR.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: falseThe CIDR you want to assign to the IPAM pool. Either “NetmaskLength” or “Cidr” is required. This value will be null if you specify “NetmaskLength” and will be filled in during the provisioning process.
cidr_authorization_context(IpamCidrAuthorizationContext)
/set_cidr_authorization_context(Option<IpamCidrAuthorizationContext>)
:
required: falseA signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option only applies to IPv4 and IPv6 pools in the public scope.
netmask_length(i32)
/set_netmask_length(Option<i32>)
:
required: falseThe netmask length of the CIDR you’d like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either “NetmaskLength” or “Cidr” is required.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseA unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
verification_method(VerificationMethod)
/set_verification_method(Option<VerificationMethod>)
:
required: falseThe method for verifying control of a public IP address range. Defaults to
remarks-x509
if not specified. This option only applies to IPv4 and IPv6 pools in the public scope.ipam_external_resource_verification_token_id(impl Into<String>)
/set_ipam_external_resource_verification_token_id(Option<String>)
:
required: falseVerification token ID. This option only applies to IPv4 and IPv6 pools in the public scope.
- On success, responds with
ProvisionIpamPoolCidrOutput
with field(s):ipam_pool_cidr(Option<IpamPoolCidr>)
:Information about the provisioned CIDR.
- On failure, responds with
SdkError<ProvisionIpamPoolCidrError>
Source§impl Client
impl Client
Sourcepub fn provision_public_ipv4_pool_cidr(
&self,
) -> ProvisionPublicIpv4PoolCidrFluentBuilder
pub fn provision_public_ipv4_pool_cidr( &self, ) -> ProvisionPublicIpv4PoolCidrFluentBuilder
Constructs a fluent builder for the ProvisionPublicIpv4PoolCidr
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool you would like to use to allocate this CIDR.
pool_id(impl Into<String>)
/set_pool_id(Option<String>)
:
required: trueThe ID of the public IPv4 pool you would like to use for this CIDR.
netmask_length(i32)
/set_netmask_length(Option<i32>)
:
required: trueThe netmask length of the CIDR you would like to allocate to the public IPv4 pool. The least specific netmask length you can define is 24.
network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseThe Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
- On success, responds with
ProvisionPublicIpv4PoolCidrOutput
with field(s):pool_id(Option<String>)
:The ID of the pool that you want to provision the CIDR to.
pool_address_range(Option<PublicIpv4PoolRange>)
:Information about the address range of the public IPv4 pool.
- On failure, responds with
SdkError<ProvisionPublicIpv4PoolCidrError>
Source§impl Client
impl Client
Sourcepub fn purchase_capacity_block(&self) -> PurchaseCapacityBlockFluentBuilder
pub fn purchase_capacity_block(&self) -> PurchaseCapacityBlockFluentBuilder
Constructs a fluent builder for the PurchaseCapacityBlock
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Capacity Block during launch.
capacity_block_offering_id(impl Into<String>)
/set_capacity_block_offering_id(Option<String>)
:
required: trueThe ID of the Capacity Block offering.
instance_platform(CapacityReservationInstancePlatform)
/set_instance_platform(Option<CapacityReservationInstancePlatform>)
:
required: trueThe type of operating system for which to reserve capacity.
- On success, responds with
PurchaseCapacityBlockOutput
with field(s):capacity_reservation(Option<CapacityReservation>)
:The Capacity Reservation.
- On failure, responds with
SdkError<PurchaseCapacityBlockError>
Source§impl Client
impl Client
Sourcepub fn purchase_capacity_block_extension(
&self,
) -> PurchaseCapacityBlockExtensionFluentBuilder
pub fn purchase_capacity_block_extension( &self, ) -> PurchaseCapacityBlockExtensionFluentBuilder
Constructs a fluent builder for the PurchaseCapacityBlockExtension
operation.
- The fluent builder is configurable:
capacity_block_extension_offering_id(impl Into<String>)
/set_capacity_block_extension_offering_id(Option<String>)
:
required: trueThe ID of the Capacity Block extension offering to purchase.
capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity reservation to be extended.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
PurchaseCapacityBlockExtensionOutput
with field(s):capacity_block_extensions(Option<Vec::<CapacityBlockExtension>>)
:The purchased Capacity Block extensions.
- On failure, responds with
SdkError<PurchaseCapacityBlockExtensionError>
Source§impl Client
impl Client
Sourcepub fn purchase_host_reservation(&self) -> PurchaseHostReservationFluentBuilder
pub fn purchase_host_reservation(&self) -> PurchaseHostReservationFluentBuilder
Constructs a fluent builder for the PurchaseHostReservation
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
currency_code(CurrencyCodeValues)
/set_currency_code(Option<CurrencyCodeValues>)
:
required: falseThe currency in which the
totalUpfrontPrice
,LimitPrice
, andtotalHourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.host_id_set(impl Into<String>)
/set_host_id_set(Option<Vec::<String>>)
:
required: trueThe IDs of the Dedicated Hosts with which the reservation will be associated.
limit_price(impl Into<String>)
/set_limit_price(Option<String>)
:
required: falseThe specified limit is checked against the total upfront cost of the reservation (calculated as the offering’s upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is
USD
. For example, to indicate a limit price of USD 100, specify 100.00.offering_id(impl Into<String>)
/set_offering_id(Option<String>)
:
required: trueThe ID of the offering.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the Dedicated Host Reservation during purchase.
- On success, responds with
PurchaseHostReservationOutput
with field(s):client_token(Option<String>)
:Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
currency_code(Option<CurrencyCodeValues>)
:The currency in which the
totalUpfrontPrice
andtotalHourlyPrice
amounts are specified. At this time, the only supported currency isUSD
.purchase(Option<Vec::<Purchase>>)
:Describes the details of the purchase.
total_hourly_price(Option<String>)
:The total hourly price of the reservation calculated per hour.
total_upfront_price(Option<String>)
:The total amount charged to your account when you purchase the reservation.
- On failure, responds with
SdkError<PurchaseHostReservationError>
Source§impl Client
impl Client
Sourcepub fn purchase_reserved_instances_offering(
&self,
) -> PurchaseReservedInstancesOfferingFluentBuilder
pub fn purchase_reserved_instances_offering( &self, ) -> PurchaseReservedInstancesOfferingFluentBuilder
Constructs a fluent builder for the PurchaseReservedInstancesOffering
operation.
- The fluent builder is configurable:
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: trueThe number of Reserved Instances to purchase.
reserved_instances_offering_id(impl Into<String>)
/set_reserved_instances_offering_id(Option<String>)
:
required: trueThe ID of the Reserved Instance offering to purchase.
purchase_time(DateTime)
/set_purchase_time(Option<DateTime>)
:
required: falseThe time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.limit_price(ReservedInstanceLimitPrice)
/set_limit_price(Option<ReservedInstanceLimitPrice>)
:
required: falseSpecified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
- On success, responds with
PurchaseReservedInstancesOfferingOutput
with field(s):reserved_instances_id(Option<String>)
:The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.
- On failure, responds with
SdkError<PurchaseReservedInstancesOfferingError>
Source§impl Client
impl Client
Sourcepub fn purchase_scheduled_instances(
&self,
) -> PurchaseScheduledInstancesFluentBuilder
pub fn purchase_scheduled_instances( &self, ) -> PurchaseScheduledInstancesFluentBuilder
Constructs a fluent builder for the PurchaseScheduledInstances
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.purchase_requests(PurchaseRequest)
/set_purchase_requests(Option<Vec::<PurchaseRequest>>)
:
required: trueThe purchase requests.
- On success, responds with
PurchaseScheduledInstancesOutput
with field(s):scheduled_instance_set(Option<Vec::<ScheduledInstance>>)
:Information about the Scheduled Instances.
- On failure, responds with
SdkError<PurchaseScheduledInstancesError>
Source§impl Client
impl Client
Sourcepub fn reboot_instances(&self) -> RebootInstancesFluentBuilder
pub fn reboot_instances(&self) -> RebootInstancesFluentBuilder
Constructs a fluent builder for the RebootInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe instance IDs.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
RebootInstancesOutput
- On failure, responds with
SdkError<RebootInstancesError>
Source§impl Client
impl Client
Sourcepub fn register_image(&self) -> RegisterImageFluentBuilder
pub fn register_image(&self) -> RegisterImageFluentBuilder
Constructs a fluent builder for the RegisterImage
operation.
- The fluent builder is configurable:
image_location(impl Into<String>)
/set_image_location(Option<String>)
:
required: falseThe full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
aws-exec-read
canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For more information, see Canned ACLs in the Amazon S3 Service Developer Guide.billing_products(impl Into<String>)
/set_billing_products(Option<Vec::<String>>)
:
required: falseThe billing product codes. Your account must be authorized to specify billing product codes.
If your account is not authorized to specify billing product codes, you can publish AMIs that include billable software and list them on the Amazon Web Services Marketplace. You must first register as a seller on the Amazon Web Services Marketplace. For more information, see Getting started as a seller and AMI-based products in the Amazon Web Services Marketplace Seller Guide.
boot_mode(BootModeValues)
/set_boot_mode(Option<BootModeValues>)
:
required: falseThe boot mode of the AMI. A value of
uefi-preferred
indicates that the AMI supports both UEFI and Legacy BIOS.The operating system contained in the AMI must be configured to support the specified boot mode.
For more information, see Boot modes in the Amazon EC2 User Guide.
tpm_support(TpmSupportValues)
/set_tpm_support(Option<TpmSupportValues>)
:
required: falseSet to
v2.0
to enable Trusted Platform Module (TPM) support. For more information, see NitroTPM in the Amazon EC2 User Guide.uefi_data(impl Into<String>)
/set_uefi_data(Option<String>)
:
required: falseBase64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
imds_support(ImdsSupportValues)
/set_imds_support(Option<ImdsSupportValues>)
:
required: falseSet to
v2.0
to indicate that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.If you set the value to
v2.0
, make sure that your AMI software can support IMDSv2.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the AMI.
To tag the AMI, the value for
ResourceType
must beimage
. If you specify another value forResourceType
, the request fails.To tag an AMI after it has been registered, see CreateTags.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.name(impl Into<String>)
/set_name(Option<String>)
:
required: trueA name for your AMI.
Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes (’), at-signs (@), or underscores(_)
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseA description for your AMI.
architecture(ArchitectureValues)
/set_architecture(Option<ArchitectureValues>)
:
required: falseThe architecture of the AMI.
Default: For Amazon EBS-backed AMIs,
i386
. For instance store-backed AMIs, the architecture specified in the manifest file.kernel_id(impl Into<String>)
/set_kernel_id(Option<String>)
:
required: falseThe ID of the kernel.
ramdisk_id(impl Into<String>)
/set_ramdisk_id(Option<String>)
:
required: falseThe ID of the RAM disk.
root_device_name(impl Into<String>)
/set_root_device_name(Option<String>)
:
required: falseThe device name of the root device volume (for example,
/dev/sda1
).block_device_mappings(BlockDeviceMapping)
/set_block_device_mappings(Option<Vec::<BlockDeviceMapping>>)
:
required: falseThe block device mapping entries.
If you specify an Amazon EBS volume using the ID of an Amazon EBS snapshot, you can’t specify the encryption state of the volume.
If you create an AMI on an Outpost, then all backing snapshots must be on the same Outpost or in the Region of that Outpost. AMIs on an Outpost that include local snapshots can be used to launch instances on the same Outpost only. For more information, Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
virtualization_type(impl Into<String>)
/set_virtualization_type(Option<String>)
:
required: falseThe type of virtualization (
hvm
|paravirtual
).Default:
paravirtual
sriov_net_support(impl Into<String>)
/set_sriov_net_support(Option<String>)
:
required: falseSet to
simple
to enable enhanced networking with the Intel 82599 Virtual Function interface for the AMI and any instances that you launch from the AMI.There is no way to disable
sriovNetSupport
at this time.This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
ena_support(bool)
/set_ena_support(Option<bool>)
:
required: falseSet to
true
to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.
- On success, responds with
RegisterImageOutput
with field(s):image_id(Option<String>)
:The ID of the newly registered AMI.
- On failure, responds with
SdkError<RegisterImageError>
Source§impl Client
impl Client
Sourcepub fn register_instance_event_notification_attributes(
&self,
) -> RegisterInstanceEventNotificationAttributesFluentBuilder
pub fn register_instance_event_notification_attributes( &self, ) -> RegisterInstanceEventNotificationAttributesFluentBuilder
Constructs a fluent builder for the RegisterInstanceEventNotificationAttributes
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_tag_attribute(RegisterInstanceTagAttributeRequest)
/set_instance_tag_attribute(Option<RegisterInstanceTagAttributeRequest>)
:
required: trueInformation about the tag keys to register.
- On success, responds with
RegisterInstanceEventNotificationAttributesOutput
with field(s):instance_tag_attribute(Option<InstanceTagNotificationAttribute>)
:The resulting set of tag keys.
- On failure, responds with
SdkError<RegisterInstanceEventNotificationAttributesError>
Source§impl Client
impl Client
Sourcepub fn register_transit_gateway_multicast_group_members(
&self,
) -> RegisterTransitGatewayMulticastGroupMembersFluentBuilder
pub fn register_transit_gateway_multicast_group_members( &self, ) -> RegisterTransitGatewayMulticastGroupMembersFluentBuilder
Constructs a fluent builder for the RegisterTransitGatewayMulticastGroupMembers
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
group_ip_address(impl Into<String>)
/set_group_ip_address(Option<String>)
:
required: falseThe IP address assigned to the transit gateway multicast group.
network_interface_ids(impl Into<String>)
/set_network_interface_ids(Option<Vec::<String>>)
:
required: trueThe group members’ network interface IDs to register with the transit gateway multicast group.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RegisterTransitGatewayMulticastGroupMembersOutput
with field(s):registered_multicast_group_members(Option<TransitGatewayMulticastRegisteredGroupMembers>)
:Information about the registered transit gateway multicast group members.
- On failure, responds with
SdkError<RegisterTransitGatewayMulticastGroupMembersError>
Source§impl Client
impl Client
Sourcepub fn register_transit_gateway_multicast_group_sources(
&self,
) -> RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
pub fn register_transit_gateway_multicast_group_sources( &self, ) -> RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
Constructs a fluent builder for the RegisterTransitGatewayMulticastGroupSources
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
group_ip_address(impl Into<String>)
/set_group_ip_address(Option<String>)
:
required: falseThe IP address assigned to the transit gateway multicast group.
network_interface_ids(impl Into<String>)
/set_network_interface_ids(Option<Vec::<String>>)
:
required: trueThe group sources’ network interface IDs to register with the transit gateway multicast group.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RegisterTransitGatewayMulticastGroupSourcesOutput
with field(s):registered_multicast_group_sources(Option<TransitGatewayMulticastRegisteredGroupSources>)
:Information about the transit gateway multicast group sources.
- On failure, responds with
SdkError<RegisterTransitGatewayMulticastGroupSourcesError>
Source§impl Client
impl Client
Sourcepub fn reject_capacity_reservation_billing_ownership(
&self,
) -> RejectCapacityReservationBillingOwnershipFluentBuilder
pub fn reject_capacity_reservation_billing_ownership( &self, ) -> RejectCapacityReservationBillingOwnershipFluentBuilder
Constructs a fluent builder for the RejectCapacityReservationBillingOwnership
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.capacity_reservation_id(impl Into<String>)
/set_capacity_reservation_id(Option<String>)
:
required: trueThe ID of the Capacity Reservation for which to reject the request.
- On success, responds with
RejectCapacityReservationBillingOwnershipOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<RejectCapacityReservationBillingOwnershipError>
Source§impl Client
impl Client
Sourcepub fn reject_transit_gateway_multicast_domain_associations(
&self,
) -> RejectTransitGatewayMulticastDomainAssociationsFluentBuilder
pub fn reject_transit_gateway_multicast_domain_associations( &self, ) -> RejectTransitGatewayMulticastDomainAssociationsFluentBuilder
Constructs a fluent builder for the RejectTransitGatewayMulticastDomainAssociations
operation.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: falseThe ID of the transit gateway multicast domain.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the transit gateway attachment.
subnet_ids(impl Into<String>)
/set_subnet_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the subnets to associate with the transit gateway multicast domain.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RejectTransitGatewayMulticastDomainAssociationsOutput
with field(s):associations(Option<TransitGatewayMulticastDomainAssociations>)
:Information about the multicast domain associations.
- On failure, responds with
SdkError<RejectTransitGatewayMulticastDomainAssociationsError>
Source§impl Client
impl Client
Sourcepub fn reject_transit_gateway_peering_attachment(
&self,
) -> RejectTransitGatewayPeeringAttachmentFluentBuilder
pub fn reject_transit_gateway_peering_attachment( &self, ) -> RejectTransitGatewayPeeringAttachmentFluentBuilder
Constructs a fluent builder for the RejectTransitGatewayPeeringAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the transit gateway peering attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RejectTransitGatewayPeeringAttachmentOutput
with field(s):transit_gateway_peering_attachment(Option<TransitGatewayPeeringAttachment>)
:The transit gateway peering attachment.
- On failure, responds with
SdkError<RejectTransitGatewayPeeringAttachmentError>
Source§impl Client
impl Client
Sourcepub fn reject_transit_gateway_vpc_attachment(
&self,
) -> RejectTransitGatewayVpcAttachmentFluentBuilder
pub fn reject_transit_gateway_vpc_attachment( &self, ) -> RejectTransitGatewayVpcAttachmentFluentBuilder
Constructs a fluent builder for the RejectTransitGatewayVpcAttachment
operation.
- The fluent builder is configurable:
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: trueThe ID of the attachment.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RejectTransitGatewayVpcAttachmentOutput
with field(s):transit_gateway_vpc_attachment(Option<TransitGatewayVpcAttachment>)
:Information about the attachment.
- On failure, responds with
SdkError<RejectTransitGatewayVpcAttachmentError>
Source§impl Client
impl Client
Sourcepub fn reject_vpc_endpoint_connections(
&self,
) -> RejectVpcEndpointConnectionsFluentBuilder
pub fn reject_vpc_endpoint_connections( &self, ) -> RejectVpcEndpointConnectionsFluentBuilder
Constructs a fluent builder for the RejectVpcEndpointConnections
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the service.
vpc_endpoint_ids(impl Into<String>)
/set_vpc_endpoint_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the VPC endpoints.
- On success, responds with
RejectVpcEndpointConnectionsOutput
with field(s):unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:Information about the endpoints that were not rejected, if applicable.
- On failure, responds with
SdkError<RejectVpcEndpointConnectionsError>
Source§impl Client
impl Client
Sourcepub fn reject_vpc_peering_connection(
&self,
) -> RejectVpcPeeringConnectionFluentBuilder
pub fn reject_vpc_peering_connection( &self, ) -> RejectVpcPeeringConnectionFluentBuilder
Constructs a fluent builder for the RejectVpcPeeringConnection
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: trueThe ID of the VPC peering connection.
- On success, responds with
RejectVpcPeeringConnectionOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<RejectVpcPeeringConnectionError>
Source§impl Client
impl Client
Sourcepub fn release_address(&self) -> ReleaseAddressFluentBuilder
pub fn release_address(&self) -> ReleaseAddressFluentBuilder
Constructs a fluent builder for the ReleaseAddress
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: falseThe allocation ID. This parameter is required.
public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: falseDeprecated.
network_border_group(impl Into<String>)
/set_network_border_group(Option<String>)
:
required: falseThe set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an
InvalidAddress.NotFound
error.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ReleaseAddressOutput
- On failure, responds with
SdkError<ReleaseAddressError>
Source§impl Client
impl Client
Sourcepub fn release_hosts(&self) -> ReleaseHostsFluentBuilder
pub fn release_hosts(&self) -> ReleaseHostsFluentBuilder
Constructs a fluent builder for the ReleaseHosts
operation.
- The fluent builder is configurable:
host_ids(impl Into<String>)
/set_host_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the Dedicated Hosts to release.
- On success, responds with
ReleaseHostsOutput
with field(s):successful(Option<Vec::<String>>)
:The IDs of the Dedicated Hosts that were successfully released.
unsuccessful(Option<Vec::<UnsuccessfulItem>>)
:The IDs of the Dedicated Hosts that could not be released, including an error message.
- On failure, responds with
SdkError<ReleaseHostsError>
Source§impl Client
impl Client
Sourcepub fn release_ipam_pool_allocation(
&self,
) -> ReleaseIpamPoolAllocationFluentBuilder
pub fn release_ipam_pool_allocation( &self, ) -> ReleaseIpamPoolAllocationFluentBuilder
Constructs a fluent builder for the ReleaseIpamPoolAllocation
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseA check for 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 isUnauthorizedOperation
.ipam_pool_id(impl Into<String>)
/set_ipam_pool_id(Option<String>)
:
required: trueThe ID of the IPAM pool which contains the allocation you want to release.
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe CIDR of the allocation you want to release.
ipam_pool_allocation_id(impl Into<String>)
/set_ipam_pool_allocation_id(Option<String>)
:
required: trueThe ID of the allocation.
- On success, responds with
ReleaseIpamPoolAllocationOutput
with field(s):success(Option<bool>)
:Indicates if the release was successful.
- On failure, responds with
SdkError<ReleaseIpamPoolAllocationError>
Source§impl Client
impl Client
Sourcepub fn replace_iam_instance_profile_association(
&self,
) -> ReplaceIamInstanceProfileAssociationFluentBuilder
pub fn replace_iam_instance_profile_association( &self, ) -> ReplaceIamInstanceProfileAssociationFluentBuilder
Constructs a fluent builder for the ReplaceIamInstanceProfileAssociation
operation.
- The fluent builder is configurable:
iam_instance_profile(IamInstanceProfileSpecification)
/set_iam_instance_profile(Option<IamInstanceProfileSpecification>)
:
required: trueThe IAM instance profile.
association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe ID of the existing IAM instance profile association.
- On success, responds with
ReplaceIamInstanceProfileAssociationOutput
with field(s):iam_instance_profile_association(Option<IamInstanceProfileAssociation>)
:Information about the IAM instance profile association.
- On failure, responds with
SdkError<ReplaceIamInstanceProfileAssociationError>
Source§impl Client
impl Client
Sourcepub fn replace_image_criteria_in_allowed_images_settings(
&self,
) -> ReplaceImageCriteriaInAllowedImagesSettingsFluentBuilder
pub fn replace_image_criteria_in_allowed_images_settings( &self, ) -> ReplaceImageCriteriaInAllowedImagesSettingsFluentBuilder
Constructs a fluent builder for the ReplaceImageCriteriaInAllowedImagesSettings
operation.
- The fluent builder is configurable:
image_criteria(ImageCriterionRequest)
/set_image_criteria(Option<Vec::<ImageCriterionRequest>>)
:
required: falseThe list of criteria that are evaluated to determine whether AMIs are discoverable and usable in the account in the specified Amazon Web Services Region.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ReplaceImageCriteriaInAllowedImagesSettingsOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<ReplaceImageCriteriaInAllowedImagesSettingsError>
Source§impl Client
impl Client
Sourcepub fn replace_network_acl_association(
&self,
) -> ReplaceNetworkAclAssociationFluentBuilder
pub fn replace_network_acl_association( &self, ) -> ReplaceNetworkAclAssociationFluentBuilder
Constructs a fluent builder for the ReplaceNetworkAclAssociation
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe ID of the current association between the original network ACL and the subnet.
network_acl_id(impl Into<String>)
/set_network_acl_id(Option<String>)
:
required: trueThe ID of the new network ACL to associate with the subnet.
- On success, responds with
ReplaceNetworkAclAssociationOutput
with field(s):new_association_id(Option<String>)
:The ID of the new association.
- On failure, responds with
SdkError<ReplaceNetworkAclAssociationError>
Source§impl Client
impl Client
Sourcepub fn replace_network_acl_entry(&self) -> ReplaceNetworkAclEntryFluentBuilder
pub fn replace_network_acl_entry(&self) -> ReplaceNetworkAclEntryFluentBuilder
Constructs a fluent builder for the ReplaceNetworkAclEntry
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_acl_id(impl Into<String>)
/set_network_acl_id(Option<String>)
:
required: trueThe ID of the ACL.
rule_number(i32)
/set_rule_number(Option<i32>)
:
required: trueThe rule number of the entry to replace.
protocol(impl Into<String>)
/set_protocol(Option<String>)
:
required: trueThe protocol number. A value of “-1” means all protocols. If you specify “-1” or a protocol number other than “6” (TCP), “17” (UDP), or “1” (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol “58” (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol “58” (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.
rule_action(RuleAction)
/set_rule_action(Option<RuleAction>)
:
required: trueIndicates whether to allow or deny the traffic that matches the rule.
egress(bool)
/set_egress(Option<bool>)
:
required: trueIndicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
cidr_block(impl Into<String>)
/set_cidr_block(Option<String>)
:
required: falseThe IPv4 network range to allow or deny, in CIDR notation (for example
172.16.0.0/24
).ipv6_cidr_block(impl Into<String>)
/set_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 network range to allow or deny, in CIDR notation (for example
2001:bd8:1234:1a00::/64
).icmp_type_code(IcmpTypeCode)
/set_icmp_type_code(Option<IcmpTypeCode>)
:
required: falseICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.
port_range(PortRange)
/set_port_range(Option<PortRange>)
:
required: falseTCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).
- On success, responds with
ReplaceNetworkAclEntryOutput
- On failure, responds with
SdkError<ReplaceNetworkAclEntryError>
Source§impl Client
impl Client
Sourcepub fn replace_route(&self) -> ReplaceRouteFluentBuilder
pub fn replace_route(&self) -> ReplaceRouteFluentBuilder
Constructs a fluent builder for the ReplaceRoute
operation.
- The fluent builder is configurable:
destination_prefix_list_id(impl Into<String>)
/set_destination_prefix_list_id(Option<String>)
:
required: falseThe ID of the prefix list for the route.
vpc_endpoint_id(impl Into<String>)
/set_vpc_endpoint_id(Option<String>)
:
required: falseThe ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
local_target(bool)
/set_local_target(Option<bool>)
:
required: falseSpecifies whether to reset the local route to its default target (
local
).transit_gateway_id(impl Into<String>)
/set_transit_gateway_id(Option<String>)
:
required: falseThe ID of a transit gateway.
local_gateway_id(impl Into<String>)
/set_local_gateway_id(Option<String>)
:
required: falseThe ID of the local gateway.
carrier_gateway_id(impl Into<String>)
/set_carrier_gateway_id(Option<String>)
:
required: false[IPv4 traffic only] The ID of a carrier gateway.
core_network_arn(impl Into<String>)
/set_core_network_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of the core network.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: falseThe IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
gateway_id(impl Into<String>)
/set_gateway_id(Option<String>)
:
required: falseThe ID of an internet gateway or virtual private gateway.
destination_ipv6_cidr_block(impl Into<String>)
/set_destination_ipv6_cidr_block(Option<String>)
:
required: falseThe IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
egress_only_internet_gateway_id(impl Into<String>)
/set_egress_only_internet_gateway_id(Option<String>)
:
required: false[IPv6 traffic only] The ID of an egress-only internet gateway.
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: falseThe ID of a NAT instance in your VPC.
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: falseThe ID of a network interface.
vpc_peering_connection_id(impl Into<String>)
/set_vpc_peering_connection_id(Option<String>)
:
required: falseThe ID of a VPC peering connection.
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: false[IPv4 traffic only] The ID of a NAT gateway.
- On success, responds with
ReplaceRouteOutput
- On failure, responds with
SdkError<ReplaceRouteError>
Source§impl Client
impl Client
Sourcepub fn replace_route_table_association(
&self,
) -> ReplaceRouteTableAssociationFluentBuilder
pub fn replace_route_table_association( &self, ) -> ReplaceRouteTableAssociationFluentBuilder
Constructs a fluent builder for the ReplaceRouteTableAssociation
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.association_id(impl Into<String>)
/set_association_id(Option<String>)
:
required: trueThe association ID.
route_table_id(impl Into<String>)
/set_route_table_id(Option<String>)
:
required: trueThe ID of the new route table to associate with the subnet.
- On success, responds with
ReplaceRouteTableAssociationOutput
with field(s):new_association_id(Option<String>)
:The ID of the new association.
association_state(Option<RouteTableAssociationState>)
:The state of the association.
- On failure, responds with
SdkError<ReplaceRouteTableAssociationError>
Source§impl Client
impl Client
Sourcepub fn replace_transit_gateway_route(
&self,
) -> ReplaceTransitGatewayRouteFluentBuilder
pub fn replace_transit_gateway_route( &self, ) -> ReplaceTransitGatewayRouteFluentBuilder
Constructs a fluent builder for the ReplaceTransitGatewayRoute
operation.
- The fluent builder is configurable:
destination_cidr_block(impl Into<String>)
/set_destination_cidr_block(Option<String>)
:
required: trueThe CIDR range used for the destination match. Routing decisions are based on the most specific match.
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the route table.
transit_gateway_attachment_id(impl Into<String>)
/set_transit_gateway_attachment_id(Option<String>)
:
required: falseThe ID of the attachment.
blackhole(bool)
/set_blackhole(Option<bool>)
:
required: falseIndicates whether traffic matching this route is to be dropped.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ReplaceTransitGatewayRouteOutput
with field(s):route(Option<TransitGatewayRoute>)
:Information about the modified route.
- On failure, responds with
SdkError<ReplaceTransitGatewayRouteError>
Source§impl Client
impl Client
Sourcepub fn replace_vpn_tunnel(&self) -> ReplaceVpnTunnelFluentBuilder
pub fn replace_vpn_tunnel(&self) -> ReplaceVpnTunnelFluentBuilder
Constructs a fluent builder for the ReplaceVpnTunnel
operation.
- The fluent builder is configurable:
vpn_connection_id(impl Into<String>)
/set_vpn_connection_id(Option<String>)
:
required: trueThe ID of the Site-to-Site VPN connection.
vpn_tunnel_outside_ip_address(impl Into<String>)
/set_vpn_tunnel_outside_ip_address(Option<String>)
:
required: trueThe external IP address of the VPN tunnel.
apply_pending_maintenance(bool)
/set_apply_pending_maintenance(Option<bool>)
:
required: falseTrigger pending tunnel endpoint maintenance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ReplaceVpnTunnelOutput
with field(s):r#return(Option<bool>)
:Confirmation of replace tunnel operation.
- On failure, responds with
SdkError<ReplaceVpnTunnelError>
Source§impl Client
impl Client
Sourcepub fn report_instance_status(&self) -> ReportInstanceStatusFluentBuilder
pub fn report_instance_status(&self) -> ReportInstanceStatusFluentBuilder
Constructs a fluent builder for the ReportInstanceStatus
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instances(impl Into<String>)
/set_instances(Option<Vec::<String>>)
:
required: trueThe instances.
status(ReportStatusType)
/set_status(Option<ReportStatusType>)
:
required: trueThe status of all instances listed.
start_time(DateTime)
/set_start_time(Option<DateTime>)
:
required: falseThe time at which the reported instance health state began.
end_time(DateTime)
/set_end_time(Option<DateTime>)
:
required: falseThe time at which the reported instance health state ended.
reason_codes(ReportInstanceReasonCodes)
/set_reason_codes(Option<Vec::<ReportInstanceReasonCodes>>)
:
required: trueThe reason codes that describe the health state of your instance.
-
instance-stuck-in-state
: My instance is stuck in a state. -
unresponsive
: My instance is unresponsive. -
not-accepting-credentials
: My instance is not accepting my credentials. -
password-not-available
: A password is not available for my instance. -
performance-network
: My instance is experiencing performance problems that I believe are network related. -
performance-instance-store
: My instance is experiencing performance problems that I believe are related to the instance stores. -
performance-ebs-volume
: My instance is experiencing performance problems that I believe are related to an EBS volume. -
performance-other
: My instance is experiencing performance problems. -
other: [explain using the description parameter]
-
description(impl Into<String>)
/set_description(Option<String>)
:
required: falseDescriptive text about the health state of your instance.
- On success, responds with
ReportInstanceStatusOutput
- On failure, responds with
SdkError<ReportInstanceStatusError>
Source§impl Client
impl Client
Sourcepub fn request_spot_fleet(&self) -> RequestSpotFleetFluentBuilder
pub fn request_spot_fleet(&self) -> RequestSpotFleetFluentBuilder
Constructs a fluent builder for the RequestSpotFleet
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_fleet_request_config(SpotFleetRequestConfigData)
/set_spot_fleet_request_config(Option<SpotFleetRequestConfigData>)
:
required: trueThe configuration for the Spot Fleet request.
- On success, responds with
RequestSpotFleetOutput
with field(s):spot_fleet_request_id(Option<String>)
:The ID of the Spot Fleet request.
- On failure, responds with
SdkError<RequestSpotFleetError>
Source§impl Client
impl Client
Sourcepub fn request_spot_instances(&self) -> RequestSpotInstancesFluentBuilder
pub fn request_spot_instances(&self) -> RequestSpotInstancesFluentBuilder
Constructs a fluent builder for the RequestSpotInstances
operation.
- The fluent builder is configurable:
launch_specification(RequestSpotLaunchSpecification)
/set_launch_specification(Option<RequestSpotLaunchSpecification>)
:
required: falseThe launch specification.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe key-value pair for tagging the Spot Instance request on creation. The value for
ResourceType
must bespot-instances-request
, otherwise the Spot Instance request fails. To tag the Spot Instance request after it has been created, see CreateTags.instance_interruption_behavior(InstanceInterruptionBehavior)
/set_instance_interruption_behavior(Option<InstanceInterruptionBehavior>)
:
required: falseThe behavior when a Spot Instance is interrupted. The default is
terminate
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.spot_price(impl Into<String>)
/set_spot_price(Option<String>)
:
required: falseThe maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency in Amazon EC2 API requests in the Amazon EC2 User Guide.
instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe maximum number of Spot Instances to launch.
Default: 1
r#type(SpotInstanceType)
/set_type(Option<SpotInstanceType>)
:
required: falseThe Spot Instance request type.
Default:
one-time
valid_from(DateTime)
/set_valid_from(Option<DateTime>)
:
required: falseThe start date of the request. If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.
The specified start date and time cannot be equal to the current date and time. You must specify a start date and time that occurs after the current date and time.
valid_until(DateTime)
/set_valid_until(Option<DateTime>)
:
required: falseThe end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
-
For a persistent request, the request remains active until the
ValidUntil
date and time is reached. Otherwise, the request remains active until you cancel it. -
For a one-time request, the request remains active until all instances launch, the request is canceled, or the
ValidUntil
date and time is reached. By default, the request is valid for 7 days from the date the request was created.
-
launch_group(impl Into<String>)
/set_launch_group(Option<String>)
:
required: falseThe instance launch group. Launch groups are Spot Instances that launch together and terminate together.
Default: Instances are launched and terminated individually
availability_zone_group(impl Into<String>)
/set_availability_zone_group(Option<String>)
:
required: falseThe user-specified name for a logical grouping of requests.
When you specify an Availability Zone group in a Spot Instance request, all Spot Instances in the request are launched in the same Availability Zone. Instance proximity is maintained with this parameter, but the choice of Availability Zone is not. The group applies only to requests for Spot Instances of the same instance type. Any additional Spot Instance requests that are specified with the same Availability Zone group name are launched in that same Availability Zone, as long as at least one instance from the group is still active.
If there is no active instance running in the Availability Zone group that you specify for a new Spot Instance request (all instances are terminated, the request is expired, or the maximum price you specified falls below current Spot price), then Amazon EC2 launches the instance in any Availability Zone where the constraint can be met. Consequently, the subsequent set of Spot Instances could be placed in a different zone from the original request, even if you specified the same Availability Zone group.
Default: Instances are launched in any available Availability Zone.
block_duration_minutes(i32)
/set_block_duration_minutes(Option<i32>)
:
required: falseDeprecated.
- On success, responds with
RequestSpotInstancesOutput
with field(s):spot_instance_requests(Option<Vec::<SpotInstanceRequest>>)
:The Spot Instance requests.
- On failure, responds with
SdkError<RequestSpotInstancesError>
Source§impl Client
impl Client
Sourcepub fn reset_address_attribute(&self) -> ResetAddressAttributeFluentBuilder
pub fn reset_address_attribute(&self) -> ResetAddressAttributeFluentBuilder
Constructs a fluent builder for the ResetAddressAttribute
operation.
- The fluent builder is configurable:
allocation_id(impl Into<String>)
/set_allocation_id(Option<String>)
:
required: true[EC2-VPC] The allocation ID.
attribute(AddressAttributeName)
/set_attribute(Option<AddressAttributeName>)
:
required: trueThe attribute of the IP address.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ResetAddressAttributeOutput
with field(s):address(Option<AddressAttribute>)
:Information about the IP address.
- On failure, responds with
SdkError<ResetAddressAttributeError>
Source§impl Client
impl Client
Sourcepub fn reset_ebs_default_kms_key_id(
&self,
) -> ResetEbsDefaultKmsKeyIdFluentBuilder
pub fn reset_ebs_default_kms_key_id( &self, ) -> ResetEbsDefaultKmsKeyIdFluentBuilder
Constructs a fluent builder for the ResetEbsDefaultKmsKeyId
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ResetEbsDefaultKmsKeyIdOutput
with field(s):kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the default KMS key for EBS encryption by default.
- On failure, responds with
SdkError<ResetEbsDefaultKmsKeyIdError>
Source§impl Client
impl Client
Sourcepub fn reset_fpga_image_attribute(&self) -> ResetFpgaImageAttributeFluentBuilder
pub fn reset_fpga_image_attribute(&self) -> ResetFpgaImageAttributeFluentBuilder
Constructs a fluent builder for the ResetFpgaImageAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.fpga_image_id(impl Into<String>)
/set_fpga_image_id(Option<String>)
:
required: trueThe ID of the AFI.
attribute(ResetFpgaImageAttributeName)
/set_attribute(Option<ResetFpgaImageAttributeName>)
:
required: falseThe attribute.
- On success, responds with
ResetFpgaImageAttributeOutput
with field(s):r#return(Option<bool>)
:Is
true
if the request succeeds, and an error otherwise.
- On failure, responds with
SdkError<ResetFpgaImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn reset_image_attribute(&self) -> ResetImageAttributeFluentBuilder
pub fn reset_image_attribute(&self) -> ResetImageAttributeFluentBuilder
Constructs a fluent builder for the ResetImageAttribute
operation.
- The fluent builder is configurable:
attribute(ResetImageAttributeName)
/set_attribute(Option<ResetImageAttributeName>)
:
required: trueThe attribute to reset (currently you can only reset the launch permission attribute).
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ResetImageAttributeOutput
- On failure, responds with
SdkError<ResetImageAttributeError>
Source§impl Client
impl Client
Sourcepub fn reset_instance_attribute(&self) -> ResetInstanceAttributeFluentBuilder
pub fn reset_instance_attribute(&self) -> ResetInstanceAttributeFluentBuilder
Constructs a fluent builder for the ResetInstanceAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
attribute(InstanceAttributeName)
/set_attribute(Option<InstanceAttributeName>)
:
required: trueThe attribute to reset.
You can only reset the following attributes:
kernel
|ramdisk
|sourceDestCheck
.
- On success, responds with
ResetInstanceAttributeOutput
- On failure, responds with
SdkError<ResetInstanceAttributeError>
Source§impl Client
impl Client
Sourcepub fn reset_network_interface_attribute(
&self,
) -> ResetNetworkInterfaceAttributeFluentBuilder
pub fn reset_network_interface_attribute( &self, ) -> ResetNetworkInterfaceAttributeFluentBuilder
Constructs a fluent builder for the ResetNetworkInterfaceAttribute
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
source_dest_check(impl Into<String>)
/set_source_dest_check(Option<String>)
:
required: falseThe source/destination checking attribute. Resets the value to
true
.
- On success, responds with
ResetNetworkInterfaceAttributeOutput
- On failure, responds with
SdkError<ResetNetworkInterfaceAttributeError>
Source§impl Client
impl Client
Sourcepub fn reset_snapshot_attribute(&self) -> ResetSnapshotAttributeFluentBuilder
pub fn reset_snapshot_attribute(&self) -> ResetSnapshotAttributeFluentBuilder
Constructs a fluent builder for the ResetSnapshotAttribute
operation.
- The fluent builder is configurable:
attribute(SnapshotAttributeName)
/set_attribute(Option<SnapshotAttributeName>)
:
required: trueThe attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
ResetSnapshotAttributeOutput
- On failure, responds with
SdkError<ResetSnapshotAttributeError>
Source§impl Client
impl Client
Sourcepub fn restore_address_to_classic(&self) -> RestoreAddressToClassicFluentBuilder
pub fn restore_address_to_classic(&self) -> RestoreAddressToClassicFluentBuilder
Constructs a fluent builder for the RestoreAddressToClassic
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.public_ip(impl Into<String>)
/set_public_ip(Option<String>)
:
required: trueThe Elastic IP address.
- On success, responds with
RestoreAddressToClassicOutput
with field(s):public_ip(Option<String>)
:The Elastic IP address.
status(Option<Status>)
:The move status for the IP address.
- On failure, responds with
SdkError<RestoreAddressToClassicError>
Source§impl Client
impl Client
Sourcepub fn restore_image_from_recycle_bin(
&self,
) -> RestoreImageFromRecycleBinFluentBuilder
pub fn restore_image_from_recycle_bin( &self, ) -> RestoreImageFromRecycleBinFluentBuilder
Constructs a fluent builder for the RestoreImageFromRecycleBin
operation.
- The fluent builder is configurable:
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: trueThe ID of the AMI to restore.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RestoreImageFromRecycleBinOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<RestoreImageFromRecycleBinError>
Source§impl Client
impl Client
Sourcepub fn restore_managed_prefix_list_version(
&self,
) -> RestoreManagedPrefixListVersionFluentBuilder
pub fn restore_managed_prefix_list_version( &self, ) -> RestoreManagedPrefixListVersionFluentBuilder
Constructs a fluent builder for the RestoreManagedPrefixListVersion
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.prefix_list_id(impl Into<String>)
/set_prefix_list_id(Option<String>)
:
required: trueThe ID of the prefix list.
previous_version(i64)
/set_previous_version(Option<i64>)
:
required: trueThe version to restore.
current_version(i64)
/set_current_version(Option<i64>)
:
required: trueThe current version number for the prefix list.
- On success, responds with
RestoreManagedPrefixListVersionOutput
with field(s):prefix_list(Option<ManagedPrefixList>)
:Information about the prefix list.
- On failure, responds with
SdkError<RestoreManagedPrefixListVersionError>
Source§impl Client
impl Client
Sourcepub fn restore_snapshot_from_recycle_bin(
&self,
) -> RestoreSnapshotFromRecycleBinFluentBuilder
pub fn restore_snapshot_from_recycle_bin( &self, ) -> RestoreSnapshotFromRecycleBinFluentBuilder
Constructs a fluent builder for the RestoreSnapshotFromRecycleBin
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot to restore.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RestoreSnapshotFromRecycleBinOutput
with field(s):snapshot_id(Option<String>)
:The ID of the snapshot.
outpost_arn(Option<String>)
:The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
description(Option<String>)
:The description for the snapshot.
encrypted(Option<bool>)
:Indicates whether the snapshot is encrypted.
owner_id(Option<String>)
:The ID of the Amazon Web Services account that owns the EBS snapshot.
progress(Option<String>)
:The progress of the snapshot, as a percentage.
start_time(Option<DateTime>)
:The time stamp when the snapshot was initiated.
state(Option<SnapshotState>)
:The state of the snapshot.
volume_id(Option<String>)
:The ID of the volume that was used to create the snapshot.
volume_size(Option<i32>)
:The size of the volume, in GiB.
sse_type(Option<SseType>)
:Reserved for future use.
- On failure, responds with
SdkError<RestoreSnapshotFromRecycleBinError>
Source§impl Client
impl Client
Sourcepub fn restore_snapshot_tier(&self) -> RestoreSnapshotTierFluentBuilder
pub fn restore_snapshot_tier(&self) -> RestoreSnapshotTierFluentBuilder
Constructs a fluent builder for the RestoreSnapshotTier
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot to restore.
temporary_restore_days(i32)
/set_temporary_restore_days(Option<i32>)
:
required: falseSpecifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
To temporarily restore an archived snapshot, specify the number of days and omit the PermanentRestore parameter or set it to
false
.permanent_restore(bool)
/set_permanent_restore(Option<bool>)
:
required: falseIndicates whether to permanently restore an archived snapshot. To permanently restore an archived snapshot, specify
true
and omit the RestoreSnapshotTierRequest$TemporaryRestoreDays parameter.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RestoreSnapshotTierOutput
with field(s):snapshot_id(Option<String>)
:The ID of the snapshot.
restore_start_time(Option<DateTime>)
:The date and time when the snapshot restore process started.
restore_duration(Option<i32>)
:For temporary restores only. The number of days for which the archived snapshot is temporarily restored.
is_permanent_restore(Option<bool>)
:Indicates whether the snapshot is permanently restored.
true
indicates a permanent restore.false
indicates a temporary restore.
- On failure, responds with
SdkError<RestoreSnapshotTierError>
Source§impl Client
impl Client
Sourcepub fn revoke_client_vpn_ingress(&self) -> RevokeClientVpnIngressFluentBuilder
pub fn revoke_client_vpn_ingress(&self) -> RevokeClientVpnIngressFluentBuilder
Constructs a fluent builder for the RevokeClientVpnIngress
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint with which the authorization rule is associated.
target_network_cidr(impl Into<String>)
/set_target_network_cidr(Option<String>)
:
required: trueThe IPv4 address range, in CIDR notation, of the network for which access is being removed.
access_group_id(impl Into<String>)
/set_access_group_id(Option<String>)
:
required: falseThe ID of the Active Directory group for which to revoke access.
revoke_all_groups(bool)
/set_revoke_all_groups(Option<bool>)
:
required: falseIndicates whether access should be revoked for all groups for a single
TargetNetworkCidr
that earlier authorized ingress for all groups usingAuthorizeAllGroups
. This does not impact other authorization rules that allowed ingress to the sameTargetNetworkCidr
with a specificAccessGroupId
.dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RevokeClientVpnIngressOutput
with field(s):status(Option<ClientVpnAuthorizationRuleStatus>)
:The current state of the authorization rule.
- On failure, responds with
SdkError<RevokeClientVpnIngressError>
Source§impl Client
impl Client
Sourcepub fn revoke_security_group_egress(
&self,
) -> RevokeSecurityGroupEgressFluentBuilder
pub fn revoke_security_group_egress( &self, ) -> RevokeSecurityGroupEgressFluentBuilder
Constructs a fluent builder for the RevokeSecurityGroupEgress
operation.
- The fluent builder is configurable:
security_group_rule_ids(impl Into<String>)
/set_security_group_rule_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security group rules.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: trueThe ID of the security group.
source_security_group_name(impl Into<String>)
/set_source_security_group_name(Option<String>)
:
required: falseNot supported. Use a set of IP permissions to specify a destination security group.
source_security_group_owner_id(impl Into<String>)
/set_source_security_group_owner_id(Option<String>)
:
required: falseNot supported. Use a set of IP permissions to specify a destination security group.
ip_protocol(impl Into<String>)
/set_ip_protocol(Option<String>)
:
required: falseNot supported. Use a set of IP permissions to specify the protocol name or number.
from_port(i32)
/set_from_port(Option<i32>)
:
required: falseNot supported. Use a set of IP permissions to specify the port.
to_port(i32)
/set_to_port(Option<i32>)
:
required: falseNot supported. Use a set of IP permissions to specify the port.
cidr_ip(impl Into<String>)
/set_cidr_ip(Option<String>)
:
required: falseNot supported. Use a set of IP permissions to specify the CIDR.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe sets of IP permissions. You can’t specify a destination security group and a CIDR IP address range in the same set of permissions.
- On success, responds with
RevokeSecurityGroupEgressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.unknown_ip_permissions(Option<Vec::<IpPermission>>)
:The outbound rules that were unknown to the service. In some cases,
unknownIpPermissionSet
might be in a different format from the request parameter.revoked_security_group_rules(Option<Vec::<RevokedSecurityGroupRule>>)
:Details about the revoked security group rules.
- On failure, responds with
SdkError<RevokeSecurityGroupEgressError>
Source§impl Client
impl Client
Sourcepub fn revoke_security_group_ingress(
&self,
) -> RevokeSecurityGroupIngressFluentBuilder
pub fn revoke_security_group_ingress( &self, ) -> RevokeSecurityGroupIngressFluentBuilder
Constructs a fluent builder for the RevokeSecurityGroupIngress
operation.
- The fluent builder is configurable:
cidr_ip(impl Into<String>)
/set_cidr_ip(Option<String>)
:
required: falseThe CIDR IP address range. You can’t specify this parameter when specifying a source security group.
from_port(i32)
/set_from_port(Option<i32>)
:
required: falseIf the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe ID of the security group.
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: false[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe sets of IP permissions. You can’t specify a source security group and a CIDR IP address range in the same set of permissions.
ip_protocol(impl Into<String>)
/set_ip_protocol(Option<String>)
:
required: falseThe IP protocol name (
tcp
,udp
,icmp
) or number (see Protocol Numbers). Use-1
to specify all.source_security_group_name(impl Into<String>)
/set_source_security_group_name(Option<String>)
:
required: false[Default VPC] The name of the source security group. You can’t specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. The source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.
source_security_group_owner_id(impl Into<String>)
/set_source_security_group_owner_id(Option<String>)
:
required: falseNot supported.
to_port(i32)
/set_to_port(Option<i32>)
:
required: falseIf the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
security_group_rule_ids(impl Into<String>)
/set_security_group_rule_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security group rules.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
RevokeSecurityGroupIngressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.unknown_ip_permissions(Option<Vec::<IpPermission>>)
:The inbound rules that were unknown to the service. In some cases,
unknownIpPermissionSet
might be in a different format from the request parameter.revoked_security_group_rules(Option<Vec::<RevokedSecurityGroupRule>>)
:Details about the revoked security group rules.
- On failure, responds with
SdkError<RevokeSecurityGroupIngressError>
Source§impl Client
impl Client
Sourcepub fn run_instances(&self) -> RunInstancesFluentBuilder
pub fn run_instances(&self) -> RunInstancesFluentBuilder
Constructs a fluent builder for the RunInstances
operation.
- The fluent builder is configurable:
block_device_mappings(BlockDeviceMapping)
/set_block_device_mappings(Option<Vec::<BlockDeviceMapping>>)
:
required: falseThe block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
image_id(impl Into<String>)
/set_image_id(Option<String>)
:
required: falseThe ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
instance_type(InstanceType)
/set_instance_type(Option<InstanceType>)
:
required: falseThe instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
ipv6_address_count(i32)
/set_ipv6_address_count(Option<i32>)
:
required: falseThe number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you’ve specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
ipv6_addresses(InstanceIpv6Address)
/set_ipv6_addresses(Option<Vec::<InstanceIpv6Address>>)
:
required: falseThe IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you’ve specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
kernel_id(impl Into<String>)
/set_kernel_id(Option<String>)
:
required: falseThe ID of the kernel.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
key_name(impl Into<String>)
/set_key_name(Option<String>)
:
required: falseThe name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair.
If you do not specify a key pair, you can’t connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
max_count(i32)
/set_max_count(Option<i32>)
:
required: trueThe maximum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above the specified minimum count.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
min_count(i32)
/set_min_count(Option<i32>)
:
required: trueThe minimum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does not launch any instances.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
monitoring(RunInstancesMonitoringEnabled)
/set_monitoring(Option<RunInstancesMonitoringEnabled>)
:
required: falseSpecifies whether detailed monitoring is enabled for the instance.
placement(Placement)
/set_placement(Option<Placement>)
:
required: falseThe placement for the instance.
ramdisk_id(impl Into<String>)
/set_ramdisk_id(Option<String>)
:
required: falseThe ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, go to the Amazon Web Services Resource Center and search for the kernel ID.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
security_group_ids(impl Into<String>)
/set_security_group_ids(Option<Vec::<String>>)
:
required: falseThe IDs of the security groups. You can create a security group using CreateSecurityGroup.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
security_groups(impl Into<String>)
/set_security_groups(Option<Vec::<String>>)
:
required: false[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
subnet_id(impl Into<String>)
/set_subnet_id(Option<String>)
:
required: falseThe ID of the subnet to launch the instance into.
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
user_data(impl Into<String>)
/set_user_data(Option<String>)
:
required: falseThe user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you’re using, the base64-encoding might be performed for you. For more information, see Work with instance user data.
elastic_gpu_specification(ElasticGpuSpecification)
/set_elastic_gpu_specification(Option<Vec::<ElasticGpuSpecification>>)
:
required: falseAn elastic GPU to associate with the instance.
Amazon Elastic Graphics reached end of life on January 8, 2024.
elastic_inference_accelerators(ElasticInferenceAccelerator)
/set_elastic_inference_accelerators(Option<Vec::<ElasticInferenceAccelerator>>)
:
required: falseAn elastic inference accelerator to associate with the instance.
Amazon Elastic Inference is no longer available.
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
-
Instances
-
Volumes
-
Spot Instance requests
-
Network interfaces
To tag a resource after it has been created, see CreateTags.
-
launch_template(LaunchTemplateSpecification)
/set_launch_template(Option<LaunchTemplateSpecification>)
:
required: falseThe launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
instance_market_options(InstanceMarketOptionsRequest)
/set_instance_market_options(Option<InstanceMarketOptionsRequest>)
:
required: falseThe market (purchasing) option for the instances.
For
RunInstances
, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to eitherhibernate
orstop
.credit_specification(CreditSpecificationRequest)
/set_credit_specification(Option<CreditSpecificationRequest>)
:
required: falseThe credit option for CPU usage of the burstable performance instance. Valid values are
standard
andunlimited
. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon EC2 User Guide.Default:
standard
(T2 instances) orunlimited
(T3/T3a/T4g instances)For T3 instances with
host
tenancy, onlystandard
is supported.cpu_options(CpuOptionsRequest)
/set_cpu_options(Option<CpuOptionsRequest>)
:
required: falseThe CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
capacity_reservation_specification(CapacityReservationSpecification)
/set_capacity_reservation_specification(Option<CapacityReservationSpecification>)
:
required: falseInformation about the Capacity Reservation targeting option. If you do not specify this parameter, the instance’s Capacity Reservation preference defaults to
open
, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, and tenancy).hibernation_options(HibernationOptionsRequest)
/set_hibernation_options(Option<HibernationOptionsRequest>)
:
required: falseIndicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
You can’t enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
license_specifications(LicenseConfigurationRequest)
/set_license_specifications(Option<Vec::<LicenseConfigurationRequest>>)
:
required: falseThe license configurations.
metadata_options(InstanceMetadataOptionsRequest)
/set_metadata_options(Option<InstanceMetadataOptionsRequest>)
:
required: falseThe metadata options for the instance. For more information, see Instance metadata and user data.
enclave_options(EnclaveOptionsRequest)
/set_enclave_options(Option<EnclaveOptionsRequest>)
:
required: falseIndicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see What is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro Enclaves User Guide.
You can’t enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
private_dns_name_options(PrivateDnsNameOptionsRequest)
/set_private_dns_name_options(Option<PrivateDnsNameOptionsRequest>)
:
required: falseThe options for the instance hostname. The default values are inherited from the subnet. Applies only if creating a network interface, not attaching an existing one.
maintenance_options(InstanceMaintenanceOptionsRequest)
/set_maintenance_options(Option<InstanceMaintenanceOptionsRequest>)
:
required: falseThe maintenance and recovery options for the instance.
disable_api_stop(bool)
/set_disable_api_stop(Option<bool>)
:
required: falseIndicates whether an instance is enabled for stop protection. For more information, see Stop protection.
enable_primary_ipv6(bool)
/set_enable_primary_ipv6(Option<bool>)
:
required: falseIf you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if an instance relies on its IPv6 address not changing. When you launch the instance, Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
network_performance_options(InstanceNetworkPerformanceOptionsRequest)
/set_network_performance_options(Option<InstanceNetworkPerformanceOptionsRequest>)
:
required: falseContains settings for the network performance options for the instance.
operator(OperatorRequest)
/set_operator(Option<OperatorRequest>)
:
required: falseReserved for internal use.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.disable_api_termination(bool)
/set_disable_api_termination(Option<bool>)
:
required: falseIndicates whether termination protection is enabled for the instance. The default is
false
, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.instance_initiated_shutdown_behavior(ShutdownBehavior)
/set_instance_initiated_shutdown_behavior(Option<ShutdownBehavior>)
:
required: falseIndicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default:
stop
private_ip_address(impl Into<String>)
/set_private_ip_address(Option<String>)
:
required: falseThe primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
Only one private IP address can be designated as primary. You can’t specify this option if you’ve specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you’re launching more than one instance in the request.
You cannot specify this option and the network interfaces option in the same request.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring Idempotency.
Constraints: Maximum 64 ASCII characters
additional_info(impl Into<String>)
/set_additional_info(Option<String>)
:
required: falseReserved.
network_interfaces(InstanceNetworkInterfaceSpecification)
/set_network_interfaces(Option<Vec::<InstanceNetworkInterfaceSpecification>>)
:
required: falseThe network interfaces to associate with the instance.
iam_instance_profile(IamInstanceProfileSpecification)
/set_iam_instance_profile(Option<IamInstanceProfileSpecification>)
:
required: falseThe name or Amazon Resource Name (ARN) of an IAM instance profile.
ebs_optimized(bool)
/set_ebs_optimized(Option<bool>)
:
required: falseIndicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
Default:
false
- On success, responds with
RunInstancesOutput
with field(s):reservation_id(Option<String>)
:The ID of the reservation.
owner_id(Option<String>)
:The ID of the Amazon Web Services account that owns the reservation.
requester_id(Option<String>)
:The ID of the requester that launched the instances on your behalf (for example, Amazon Web Services Management Console or Auto Scaling).
groups(Option<Vec::<GroupIdentifier>>)
:Not supported.
instances(Option<Vec::<Instance>>)
:The instances.
- On failure, responds with
SdkError<RunInstancesError>
Source§impl Client
impl Client
Sourcepub fn run_scheduled_instances(&self) -> RunScheduledInstancesFluentBuilder
pub fn run_scheduled_instances(&self) -> RunScheduledInstancesFluentBuilder
Constructs a fluent builder for the RunScheduledInstances
operation.
- The fluent builder is configurable:
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: falseUnique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.instance_count(i32)
/set_instance_count(Option<i32>)
:
required: falseThe number of instances.
Default: 1
launch_specification(ScheduledInstancesLaunchSpecification)
/set_launch_specification(Option<ScheduledInstancesLaunchSpecification>)
:
required: trueThe launch specification. You must match the instance type, Availability Zone, network, and platform of the schedule that you purchased.
scheduled_instance_id(impl Into<String>)
/set_scheduled_instance_id(Option<String>)
:
required: trueThe Scheduled Instance ID.
- On success, responds with
RunScheduledInstancesOutput
with field(s):instance_id_set(Option<Vec::<String>>)
:The IDs of the newly launched instances.
- On failure, responds with
SdkError<RunScheduledInstancesError>
Source§impl Client
impl Client
Sourcepub fn search_local_gateway_routes(
&self,
) -> SearchLocalGatewayRoutesFluentBuilder
pub fn search_local_gateway_routes( &self, ) -> SearchLocalGatewayRoutesFluentBuilder
Constructs a fluent builder for the SearchLocalGatewayRoutes
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
local_gateway_route_table_id(impl Into<String>)
/set_local_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the local gateway route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters.
-
prefix-list-id
- The ID of the prefix list. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specifysupernet-of-match
as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route. -
type
- The route type.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
SearchLocalGatewayRoutesOutput
with field(s):routes(Option<Vec::<LocalGatewayRoute>>)
:Information about the routes.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<SearchLocalGatewayRoutesError>
Source§impl Client
impl Client
Sourcepub fn search_transit_gateway_multicast_groups(
&self,
) -> SearchTransitGatewayMulticastGroupsFluentBuilder
pub fn search_transit_gateway_multicast_groups( &self, ) -> SearchTransitGatewayMulticastGroupsFluentBuilder
Constructs a fluent builder for the SearchTransitGatewayMulticastGroups
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
transit_gateway_multicast_domain_id(impl Into<String>)
/set_transit_gateway_multicast_domain_id(Option<String>)
:
required: trueThe ID of the transit gateway multicast domain.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: falseOne or more filters. The possible values are:
-
group-ip-address
- The IP address of the transit gateway multicast group. -
is-group-member
- The resource is a group member. Valid values aretrue
|false
. -
is-group-source
- The resource is a group source. Valid values aretrue
|false
. -
member-type
- The member type. Valid values areigmp
|static
. -
resource-id
- The ID of the resource. -
resource-type
- The type of resource. Valid values arevpc
|vpn
|direct-connect-gateway
|tgw-peering
. -
source-type
- The source type. Valid values areigmp
|static
. -
subnet-id
- The ID of the subnet. -
transit-gateway-attachment-id
- The id of the transit gateway attachment.
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseThe token for the next page of results.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
SearchTransitGatewayMulticastGroupsOutput
with field(s):multicast_groups(Option<Vec::<TransitGatewayMulticastGroup>>)
:Information about the transit gateway multicast group.
next_token(Option<String>)
:The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
- On failure, responds with
SdkError<SearchTransitGatewayMulticastGroupsError>
Source§impl Client
impl Client
Sourcepub fn search_transit_gateway_routes(
&self,
) -> SearchTransitGatewayRoutesFluentBuilder
pub fn search_transit_gateway_routes( &self, ) -> SearchTransitGatewayRoutesFluentBuilder
Constructs a fluent builder for the SearchTransitGatewayRoutes
operation.
- The fluent builder is configurable:
transit_gateway_route_table_id(impl Into<String>)
/set_transit_gateway_route_table_id(Option<String>)
:
required: trueThe ID of the transit gateway route table.
filters(Filter)
/set_filters(Option<Vec::<Filter>>)
:
required: trueOne or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
attachment.resource-type
- The attachment resource type. Valid values arevpc
|vpn
|direct-connect-gateway
|peering
|connect
. -
prefix-list-id
- The ID of the prefix list. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
type
- The type of route (propagated
|static
).
-
max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of routes to return. If a value is not provided, the default is 1000.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
SearchTransitGatewayRoutesOutput
with field(s):routes(Option<Vec::<TransitGatewayRoute>>)
:Information about the routes.
additional_routes_available(Option<bool>)
:Indicates whether there are additional routes available.
- On failure, responds with
SdkError<SearchTransitGatewayRoutesError>
Source§impl Client
impl Client
Sourcepub fn send_diagnostic_interrupt(&self) -> SendDiagnosticInterruptFluentBuilder
pub fn send_diagnostic_interrupt(&self) -> SendDiagnosticInterruptFluentBuilder
Constructs a fluent builder for the SendDiagnosticInterrupt
operation.
- The fluent builder is configurable:
instance_id(impl Into<String>)
/set_instance_id(Option<String>)
:
required: trueThe ID of the instance.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
SendDiagnosticInterruptOutput
- On failure, responds with
SdkError<SendDiagnosticInterruptError>
Source§impl Client
impl Client
Sourcepub fn start_declarative_policies_report(
&self,
) -> StartDeclarativePoliciesReportFluentBuilder
pub fn start_declarative_policies_report( &self, ) -> StartDeclarativePoliciesReportFluentBuilder
Constructs a fluent builder for the StartDeclarativePoliciesReport
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.s3_bucket(impl Into<String>)
/set_s3_bucket(Option<String>)
:
required: trueThe name of the S3 bucket where the report will be saved. The bucket must be in the same Region where the report generation request is made.
s3_prefix(impl Into<String>)
/set_s3_prefix(Option<String>)
:
required: falseThe prefix for your S3 object.
target_id(impl Into<String>)
/set_target_id(Option<String>)
:
required: trueThe root ID, organizational unit ID, or account ID.
Format:
-
For root:
r-ab12
-
For OU:
ou-ab12-cdef1234
-
For account:
123456789012
-
tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply.
- On success, responds with
StartDeclarativePoliciesReportOutput
with field(s):report_id(Option<String>)
:The ID of the report.
- On failure, responds with
SdkError<StartDeclarativePoliciesReportError>
Source§impl Client
impl Client
Sourcepub fn start_instances(&self) -> StartInstancesFluentBuilder
pub fn start_instances(&self) -> StartInstancesFluentBuilder
Constructs a fluent builder for the StartInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the instances.
additional_info(impl Into<String>)
/set_additional_info(Option<String>)
:
required: falseReserved.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
StartInstancesOutput
with field(s):starting_instances(Option<Vec::<InstanceStateChange>>)
:Information about the started instances.
- On failure, responds with
SdkError<StartInstancesError>
Source§impl Client
impl Client
Sourcepub fn start_network_insights_access_scope_analysis(
&self,
) -> StartNetworkInsightsAccessScopeAnalysisFluentBuilder
pub fn start_network_insights_access_scope_analysis( &self, ) -> StartNetworkInsightsAccessScopeAnalysisFluentBuilder
Constructs a fluent builder for the StartNetworkInsightsAccessScopeAnalysis
operation.
- The fluent builder is configurable:
network_insights_access_scope_id(impl Into<String>)
/set_network_insights_access_scope_id(Option<String>)
:
required: trueThe ID of the Network Access Scope.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
StartNetworkInsightsAccessScopeAnalysisOutput
with field(s):network_insights_access_scope_analysis(Option<NetworkInsightsAccessScopeAnalysis>)
:The Network Access Scope analysis.
- On failure, responds with
SdkError<StartNetworkInsightsAccessScopeAnalysisError>
Source§impl Client
impl Client
Sourcepub fn start_network_insights_analysis(
&self,
) -> StartNetworkInsightsAnalysisFluentBuilder
pub fn start_network_insights_analysis( &self, ) -> StartNetworkInsightsAnalysisFluentBuilder
Constructs a fluent builder for the StartNetworkInsightsAnalysis
operation.
- The fluent builder is configurable:
network_insights_path_id(impl Into<String>)
/set_network_insights_path_id(Option<String>)
:
required: trueThe ID of the path.
additional_accounts(impl Into<String>)
/set_additional_accounts(Option<Vec::<String>>)
:
required: falseThe member accounts that contain resources that the path can traverse.
filter_in_arns(impl Into<String>)
/set_filter_in_arns(Option<Vec::<String>>)
:
required: falseThe Amazon Resource Names (ARN) of the resources that the path must traverse.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.tag_specifications(TagSpecification)
/set_tag_specifications(Option<Vec::<TagSpecification>>)
:
required: falseThe tags to apply.
client_token(impl Into<String>)
/set_client_token(Option<String>)
:
required: trueUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
- On success, responds with
StartNetworkInsightsAnalysisOutput
with field(s):network_insights_analysis(Option<NetworkInsightsAnalysis>)
:Information about the network insights analysis.
- On failure, responds with
SdkError<StartNetworkInsightsAnalysisError>
Source§impl Client
impl Client
Sourcepub fn start_vpc_endpoint_service_private_dns_verification(
&self,
) -> StartVpcEndpointServicePrivateDnsVerificationFluentBuilder
pub fn start_vpc_endpoint_service_private_dns_verification( &self, ) -> StartVpcEndpointServicePrivateDnsVerificationFluentBuilder
Constructs a fluent builder for the StartVpcEndpointServicePrivateDnsVerification
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.service_id(impl Into<String>)
/set_service_id(Option<String>)
:
required: trueThe ID of the endpoint service.
- On success, responds with
StartVpcEndpointServicePrivateDnsVerificationOutput
with field(s):return_value(Option<bool>)
:Returns
true
if the request succeeds; otherwise, it returns an error.
- On failure, responds with
SdkError<StartVpcEndpointServicePrivateDnsVerificationError>
Source§impl Client
impl Client
Sourcepub fn stop_instances(&self) -> StopInstancesFluentBuilder
pub fn stop_instances(&self) -> StopInstancesFluentBuilder
Constructs a fluent builder for the StopInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the instances.
hibernate(bool)
/set_hibernate(Option<bool>)
:
required: falseHibernates the instance if the instance was enabled for hibernation at launch. If the instance cannot hibernate successfully, a normal shutdown occurs. For more information, see Hibernate your instance in the Amazon EC2 User Guide.
Default:
false
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.force(bool)
/set_force(Option<bool>)
:
required: falseForces the instances to stop. The instances do not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.
Default:
false
- On success, responds with
StopInstancesOutput
with field(s):stopping_instances(Option<Vec::<InstanceStateChange>>)
:Information about the stopped instances.
- On failure, responds with
SdkError<StopInstancesError>
Source§impl Client
impl Client
Sourcepub fn terminate_client_vpn_connections(
&self,
) -> TerminateClientVpnConnectionsFluentBuilder
pub fn terminate_client_vpn_connections( &self, ) -> TerminateClientVpnConnectionsFluentBuilder
Constructs a fluent builder for the TerminateClientVpnConnections
operation.
- The fluent builder is configurable:
client_vpn_endpoint_id(impl Into<String>)
/set_client_vpn_endpoint_id(Option<String>)
:
required: trueThe ID of the Client VPN endpoint to which the client is connected.
connection_id(impl Into<String>)
/set_connection_id(Option<String>)
:
required: falseThe ID of the client connection to be terminated.
username(impl Into<String>)
/set_username(Option<String>)
:
required: falseThe name of the user who initiated the connection. Use this option to terminate all active connections for the specified user. This option can only be used if the user has established up to five connections.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
TerminateClientVpnConnectionsOutput
with field(s):client_vpn_endpoint_id(Option<String>)
:The ID of the Client VPN endpoint.
username(Option<String>)
:The user who established the terminated client connections.
connection_statuses(Option<Vec::<TerminateConnectionStatus>>)
:The current state of the client connections.
- On failure, responds with
SdkError<TerminateClientVpnConnectionsError>
Source§impl Client
impl Client
Sourcepub fn terminate_instances(&self) -> TerminateInstancesFluentBuilder
pub fn terminate_instances(&self) -> TerminateInstancesFluentBuilder
Constructs a fluent builder for the TerminateInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
TerminateInstancesOutput
with field(s):terminating_instances(Option<Vec::<InstanceStateChange>>)
:Information about the terminated instances.
- On failure, responds with
SdkError<TerminateInstancesError>
Source§impl Client
impl Client
Sourcepub fn unassign_ipv6_addresses(&self) -> UnassignIpv6AddressesFluentBuilder
pub fn unassign_ipv6_addresses(&self) -> UnassignIpv6AddressesFluentBuilder
Constructs a fluent builder for the UnassignIpv6Addresses
operation.
- The fluent builder is configurable:
ipv6_prefixes(impl Into<String>)
/set_ipv6_prefixes(Option<Vec::<String>>)
:
required: falseThe IPv6 prefixes to unassign from the network interface.
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
ipv6_addresses(impl Into<String>)
/set_ipv6_addresses(Option<Vec::<String>>)
:
required: falseThe IPv6 addresses to unassign from the network interface.
- On success, responds with
UnassignIpv6AddressesOutput
with field(s):network_interface_id(Option<String>)
:The ID of the network interface.
unassigned_ipv6_addresses(Option<Vec::<String>>)
:The IPv6 addresses that have been unassigned from the network interface.
unassigned_ipv6_prefixes(Option<Vec::<String>>)
:The IPv6 prefixes that have been unassigned from the network interface.
- On failure, responds with
SdkError<UnassignIpv6AddressesError>
Source§impl Client
impl Client
Sourcepub fn unassign_private_ip_addresses(
&self,
) -> UnassignPrivateIpAddressesFluentBuilder
pub fn unassign_private_ip_addresses( &self, ) -> UnassignPrivateIpAddressesFluentBuilder
Constructs a fluent builder for the UnassignPrivateIpAddresses
operation.
- The fluent builder is configurable:
ipv4_prefixes(impl Into<String>)
/set_ipv4_prefixes(Option<Vec::<String>>)
:
required: falseThe IPv4 prefixes to unassign from the network interface.
network_interface_id(impl Into<String>)
/set_network_interface_id(Option<String>)
:
required: trueThe ID of the network interface.
private_ip_addresses(impl Into<String>)
/set_private_ip_addresses(Option<Vec::<String>>)
:
required: falseThe secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
- On success, responds with
UnassignPrivateIpAddressesOutput
- On failure, responds with
SdkError<UnassignPrivateIpAddressesError>
Source§impl Client
impl Client
Sourcepub fn unassign_private_nat_gateway_address(
&self,
) -> UnassignPrivateNatGatewayAddressFluentBuilder
pub fn unassign_private_nat_gateway_address( &self, ) -> UnassignPrivateNatGatewayAddressFluentBuilder
Constructs a fluent builder for the UnassignPrivateNatGatewayAddress
operation.
- The fluent builder is configurable:
nat_gateway_id(impl Into<String>)
/set_nat_gateway_id(Option<String>)
:
required: trueThe ID of the NAT gateway.
private_ip_addresses(impl Into<String>)
/set_private_ip_addresses(Option<Vec::<String>>)
:
required: trueThe private IPv4 addresses you want to unassign.
max_drain_duration_seconds(i32)
/set_max_drain_duration_seconds(Option<i32>)
:
required: falseThe maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
UnassignPrivateNatGatewayAddressOutput
with field(s):nat_gateway_id(Option<String>)
:The ID of the NAT gateway.
nat_gateway_addresses(Option<Vec::<NatGatewayAddress>>)
:Information about the NAT gateway IP addresses.
- On failure, responds with
SdkError<UnassignPrivateNatGatewayAddressError>
Source§impl Client
impl Client
Sourcepub fn unlock_snapshot(&self) -> UnlockSnapshotFluentBuilder
pub fn unlock_snapshot(&self) -> UnlockSnapshotFluentBuilder
Constructs a fluent builder for the UnlockSnapshot
operation.
- The fluent builder is configurable:
snapshot_id(impl Into<String>)
/set_snapshot_id(Option<String>)
:
required: trueThe ID of the snapshot to unlock.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
UnlockSnapshotOutput
with field(s):snapshot_id(Option<String>)
:The ID of the snapshot.
- On failure, responds with
SdkError<UnlockSnapshotError>
Source§impl Client
impl Client
Sourcepub fn unmonitor_instances(&self) -> UnmonitorInstancesFluentBuilder
pub fn unmonitor_instances(&self) -> UnmonitorInstancesFluentBuilder
Constructs a fluent builder for the UnmonitorInstances
operation.
- The fluent builder is configurable:
instance_ids(impl Into<String>)
/set_instance_ids(Option<Vec::<String>>)
:
required: trueThe IDs of the instances.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
- On success, responds with
UnmonitorInstancesOutput
with field(s):instance_monitorings(Option<Vec::<InstanceMonitoring>>)
:The monitoring information.
- On failure, responds with
SdkError<UnmonitorInstancesError>
Source§impl Client
impl Client
Sourcepub fn update_security_group_rule_descriptions_egress(
&self,
) -> UpdateSecurityGroupRuleDescriptionsEgressFluentBuilder
pub fn update_security_group_rule_descriptions_egress( &self, ) -> UpdateSecurityGroupRuleDescriptionsEgressFluentBuilder
Constructs a fluent builder for the UpdateSecurityGroupRuleDescriptionsEgress
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: false[Default VPC] The name of the security group. You must specify either the security group ID or the security group name.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe IP permissions for the security group rule. You must specify either the IP permissions or the description.
security_group_rule_descriptions(SecurityGroupRuleDescription)
/set_security_group_rule_descriptions(Option<Vec::<SecurityGroupRuleDescription>>)
:
required: falseThe description for the egress security group rules. You must specify either the description or the IP permissions.
- On success, responds with
UpdateSecurityGroupRuleDescriptionsEgressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.
- On failure, responds with
SdkError<UpdateSecurityGroupRuleDescriptionsEgressError>
Source§impl Client
impl Client
Sourcepub fn update_security_group_rule_descriptions_ingress(
&self,
) -> UpdateSecurityGroupRuleDescriptionsIngressFluentBuilder
pub fn update_security_group_rule_descriptions_ingress( &self, ) -> UpdateSecurityGroupRuleDescriptionsIngressFluentBuilder
Constructs a fluent builder for the UpdateSecurityGroupRuleDescriptionsIngress
operation.
- The fluent builder is configurable:
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.group_id(impl Into<String>)
/set_group_id(Option<String>)
:
required: falseThe ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
group_name(impl Into<String>)
/set_group_name(Option<String>)
:
required: false[Default VPC] The name of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
ip_permissions(IpPermission)
/set_ip_permissions(Option<Vec::<IpPermission>>)
:
required: falseThe IP permissions for the security group rule. You must specify either IP permissions or a description.
security_group_rule_descriptions(SecurityGroupRuleDescription)
/set_security_group_rule_descriptions(Option<Vec::<SecurityGroupRuleDescription>>)
:
required: falseThe description for the ingress security group rules. You must specify either a description or IP permissions.
- On success, responds with
UpdateSecurityGroupRuleDescriptionsIngressOutput
with field(s):r#return(Option<bool>)
:Returns
true
if the request succeeds; otherwise, returns an error.
- On failure, responds with
SdkError<UpdateSecurityGroupRuleDescriptionsIngressError>
Source§impl Client
impl Client
Sourcepub fn withdraw_byoip_cidr(&self) -> WithdrawByoipCidrFluentBuilder
pub fn withdraw_byoip_cidr(&self) -> WithdrawByoipCidrFluentBuilder
Constructs a fluent builder for the WithdrawByoipCidr
operation.
- The fluent builder is configurable:
cidr(impl Into<String>)
/set_cidr(Option<String>)
:
required: trueThe address range, in CIDR notation.
dry_run(bool)
/set_dry_run(Option<bool>)
:
required: falseChecks 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 isUnauthorizedOperation
.
- On success, responds with
WithdrawByoipCidrOutput
with field(s):byoip_cidr(Option<ByoipCidr>)
:Information about the address pool.
- On failure, responds with
SdkError<WithdrawByoipCidrError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.
Trait Implementations§
Source§impl Waiters for Client
impl Waiters for Client
Source§fn wait_until_bundle_task_complete(&self) -> BundleTaskCompleteFluentBuilder
fn wait_until_bundle_task_complete(&self) -> BundleTaskCompleteFluentBuilder
bundle_task_complete
Source§fn wait_until_conversion_task_cancelled(
&self,
) -> ConversionTaskCancelledFluentBuilder
fn wait_until_conversion_task_cancelled( &self, ) -> ConversionTaskCancelledFluentBuilder
conversion_task_cancelled
Source§fn wait_until_conversion_task_completed(
&self,
) -> ConversionTaskCompletedFluentBuilder
fn wait_until_conversion_task_completed( &self, ) -> ConversionTaskCompletedFluentBuilder
conversion_task_completed
Source§fn wait_until_conversion_task_deleted(
&self,
) -> ConversionTaskDeletedFluentBuilder
fn wait_until_conversion_task_deleted( &self, ) -> ConversionTaskDeletedFluentBuilder
conversion_task_deleted
Source§fn wait_until_customer_gateway_available(
&self,
) -> CustomerGatewayAvailableFluentBuilder
fn wait_until_customer_gateway_available( &self, ) -> CustomerGatewayAvailableFluentBuilder
customer_gateway_available
Source§fn wait_until_export_task_cancelled(&self) -> ExportTaskCancelledFluentBuilder
fn wait_until_export_task_cancelled(&self) -> ExportTaskCancelledFluentBuilder
export_task_cancelled
Source§fn wait_until_export_task_completed(&self) -> ExportTaskCompletedFluentBuilder
fn wait_until_export_task_completed(&self) -> ExportTaskCompletedFluentBuilder
export_task_completed
Source§fn wait_until_image_available(&self) -> ImageAvailableFluentBuilder
fn wait_until_image_available(&self) -> ImageAvailableFluentBuilder
image_available
Source§fn wait_until_image_exists(&self) -> ImageExistsFluentBuilder
fn wait_until_image_exists(&self) -> ImageExistsFluentBuilder
image_exists
Source§fn wait_until_snapshot_imported(&self) -> SnapshotImportedFluentBuilder
fn wait_until_snapshot_imported(&self) -> SnapshotImportedFluentBuilder
snapshot_imported
Source§fn wait_until_instance_exists(&self) -> InstanceExistsFluentBuilder
fn wait_until_instance_exists(&self) -> InstanceExistsFluentBuilder
instance_exists
Source§fn wait_until_instance_running(&self) -> InstanceRunningFluentBuilder
fn wait_until_instance_running(&self) -> InstanceRunningFluentBuilder
instance_running
Source§fn wait_until_instance_stopped(&self) -> InstanceStoppedFluentBuilder
fn wait_until_instance_stopped(&self) -> InstanceStoppedFluentBuilder
instance_stopped
Source§fn wait_until_instance_terminated(&self) -> InstanceTerminatedFluentBuilder
fn wait_until_instance_terminated(&self) -> InstanceTerminatedFluentBuilder
instance_terminated
Source§fn wait_until_instance_status_ok(&self) -> InstanceStatusOkFluentBuilder
fn wait_until_instance_status_ok(&self) -> InstanceStatusOkFluentBuilder
instance_status_ok
Source§fn wait_until_system_status_ok(&self) -> SystemStatusOkFluentBuilder
fn wait_until_system_status_ok(&self) -> SystemStatusOkFluentBuilder
system_status_ok
Source§fn wait_until_internet_gateway_exists(
&self,
) -> InternetGatewayExistsFluentBuilder
fn wait_until_internet_gateway_exists( &self, ) -> InternetGatewayExistsFluentBuilder
internet_gateway_exists
Source§fn wait_until_key_pair_exists(&self) -> KeyPairExistsFluentBuilder
fn wait_until_key_pair_exists(&self) -> KeyPairExistsFluentBuilder
key_pair_exists
Source§fn wait_until_nat_gateway_available(&self) -> NatGatewayAvailableFluentBuilder
fn wait_until_nat_gateway_available(&self) -> NatGatewayAvailableFluentBuilder
nat_gateway_available
Source§fn wait_until_nat_gateway_deleted(&self) -> NatGatewayDeletedFluentBuilder
fn wait_until_nat_gateway_deleted(&self) -> NatGatewayDeletedFluentBuilder
nat_gateway_deleted
Source§fn wait_until_network_interface_available(
&self,
) -> NetworkInterfaceAvailableFluentBuilder
fn wait_until_network_interface_available( &self, ) -> NetworkInterfaceAvailableFluentBuilder
network_interface_available
Source§fn wait_until_security_group_exists(&self) -> SecurityGroupExistsFluentBuilder
fn wait_until_security_group_exists(&self) -> SecurityGroupExistsFluentBuilder
security_group_exists
Source§fn wait_until_snapshot_completed(&self) -> SnapshotCompletedFluentBuilder
fn wait_until_snapshot_completed(&self) -> SnapshotCompletedFluentBuilder
snapshot_completed
Source§fn wait_until_spot_instance_request_fulfilled(
&self,
) -> SpotInstanceRequestFulfilledFluentBuilder
fn wait_until_spot_instance_request_fulfilled( &self, ) -> SpotInstanceRequestFulfilledFluentBuilder
spot_instance_request_fulfilled
Source§fn wait_until_store_image_task_complete(
&self,
) -> StoreImageTaskCompleteFluentBuilder
fn wait_until_store_image_task_complete( &self, ) -> StoreImageTaskCompleteFluentBuilder
store_image_task_complete
Source§fn wait_until_subnet_available(&self) -> SubnetAvailableFluentBuilder
fn wait_until_subnet_available(&self) -> SubnetAvailableFluentBuilder
subnet_available
Source§fn wait_until_volume_available(&self) -> VolumeAvailableFluentBuilder
fn wait_until_volume_available(&self) -> VolumeAvailableFluentBuilder
volume_available
Source§fn wait_until_volume_deleted(&self) -> VolumeDeletedFluentBuilder
fn wait_until_volume_deleted(&self) -> VolumeDeletedFluentBuilder
volume_deleted
Source§fn wait_until_volume_in_use(&self) -> VolumeInUseFluentBuilder
fn wait_until_volume_in_use(&self) -> VolumeInUseFluentBuilder
volume_in_use
Source§fn wait_until_vpc_peering_connection_deleted(
&self,
) -> VpcPeeringConnectionDeletedFluentBuilder
fn wait_until_vpc_peering_connection_deleted( &self, ) -> VpcPeeringConnectionDeletedFluentBuilder
vpc_peering_connection_deleted
Source§fn wait_until_vpc_peering_connection_exists(
&self,
) -> VpcPeeringConnectionExistsFluentBuilder
fn wait_until_vpc_peering_connection_exists( &self, ) -> VpcPeeringConnectionExistsFluentBuilder
vpc_peering_connection_exists
Source§fn wait_until_vpc_available(&self) -> VpcAvailableFluentBuilder
fn wait_until_vpc_available(&self) -> VpcAvailableFluentBuilder
vpc_available
Source§fn wait_until_vpc_exists(&self) -> VpcExistsFluentBuilder
fn wait_until_vpc_exists(&self) -> VpcExistsFluentBuilder
vpc_exists
Source§fn wait_until_vpn_connection_available(
&self,
) -> VpnConnectionAvailableFluentBuilder
fn wait_until_vpn_connection_available( &self, ) -> VpnConnectionAvailableFluentBuilder
vpn_connection_available
Source§fn wait_until_vpn_connection_deleted(&self) -> VpnConnectionDeletedFluentBuilder
fn wait_until_vpn_connection_deleted(&self) -> VpnConnectionDeletedFluentBuilder
vpn_connection_deleted
Source§fn wait_until_password_data_available(
&self,
) -> PasswordDataAvailableFluentBuilder
fn wait_until_password_data_available( &self, ) -> PasswordDataAvailableFluentBuilder
password_data_available
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);