Struct aws_sdk_ec2::input::DescribeInstanceTypesInput
source · [−]#[non_exhaustive]pub struct DescribeInstanceTypesInput {
pub dry_run: Option<bool>,
pub instance_types: Option<Vec<InstanceType>>,
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_types: Option<Vec<InstanceType>>
The instance types. For more information, see Instance types in the Amazon EC2 User Guide.
filters: Option<Vec<Filter>>
One or more filters. Filter names and values are case-sensitive.
-
auto-recovery-supported
- Indicates whether auto recovery is supported (true
|false
). -
bare-metal
- Indicates whether it is a bare metal instance type (true
|false
). -
burstable-performance-supported
- Indicates whether it is a burstable performance instance type (true
|false
). -
current-generation
- Indicates whether this instance type is the latest generation instance type of an instance family (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.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"). -
processor-info.supported-architecture
- The CPU architecture (arm64
|i386
|x86_64
). -
processor-info.sustained-clock-speed-in-ghz
- The CPU clock speed, in GHz. -
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
). -
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: Option<i32>
The 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 next token value.
next_token: Option<String>
The token to retrieve the next page of results.
Implementations
sourceimpl DescribeInstanceTypesInput
impl DescribeInstanceTypesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceTypes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeInstanceTypes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeInstanceTypes
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeInstanceTypesInput
.
sourceimpl DescribeInstanceTypesInput
impl DescribeInstanceTypesInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn instance_types(&self) -> Option<&[InstanceType]>
pub fn instance_types(&self) -> Option<&[InstanceType]>
The instance types. For more information, see Instance types in the Amazon EC2 User Guide.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
One or more filters. Filter names and values are case-sensitive.
-
auto-recovery-supported
- Indicates whether auto recovery is supported (true
|false
). -
bare-metal
- Indicates whether it is a bare metal instance type (true
|false
). -
burstable-performance-supported
- Indicates whether it is a burstable performance instance type (true
|false
). -
current-generation
- Indicates whether this instance type is the latest generation instance type of an instance family (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.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"). -
processor-info.supported-architecture
- The CPU architecture (arm64
|i386
|x86_64
). -
processor-info.sustained-clock-speed-in-ghz
- The CPU clock speed, in GHz. -
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
). -
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".
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The 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 next token value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to retrieve the next page of results.
Trait Implementations
sourceimpl Clone for DescribeInstanceTypesInput
impl Clone for DescribeInstanceTypesInput
sourcefn clone(&self) -> DescribeInstanceTypesInput
fn clone(&self) -> DescribeInstanceTypesInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeInstanceTypesInput
impl Debug for DescribeInstanceTypesInput
sourceimpl PartialEq<DescribeInstanceTypesInput> for DescribeInstanceTypesInput
impl PartialEq<DescribeInstanceTypesInput> for DescribeInstanceTypesInput
sourcefn eq(&self, other: &DescribeInstanceTypesInput) -> bool
fn eq(&self, other: &DescribeInstanceTypesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeInstanceTypesInput) -> bool
fn ne(&self, other: &DescribeInstanceTypesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeInstanceTypesInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeInstanceTypesInput
impl Send for DescribeInstanceTypesInput
impl Sync for DescribeInstanceTypesInput
impl Unpin for DescribeInstanceTypesInput
impl UnwindSafe for DescribeInstanceTypesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more