Struct aws_sdk_cloudhsm::operation::describe_hsm::DescribeHsmOutput
source · #[non_exhaustive]pub struct DescribeHsmOutput {Show 21 fields
pub hsm_arn: Option<String>,
pub status: Option<HsmStatus>,
pub status_details: Option<String>,
pub availability_zone: Option<String>,
pub eni_id: Option<String>,
pub eni_ip: Option<String>,
pub subscription_type: Option<SubscriptionType>,
pub subscription_start_date: Option<String>,
pub subscription_end_date: Option<String>,
pub vpc_id: Option<String>,
pub subnet_id: Option<String>,
pub iam_role_arn: Option<String>,
pub serial_number: Option<String>,
pub vendor_name: Option<String>,
pub hsm_type: Option<String>,
pub software_version: Option<String>,
pub ssh_public_key: Option<String>,
pub ssh_key_last_updated: Option<String>,
pub server_cert_uri: Option<String>,
pub server_cert_last_updated: Option<String>,
pub partitions: Option<Vec<String>>,
/* private fields */
}
Expand description
Contains the output of the DescribeHsm
operation.
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.hsm_arn: Option<String>
The ARN of the HSM.
status: Option<HsmStatus>
The status of the HSM.
status_details: Option<String>
Contains additional information about the status of the HSM.
availability_zone: Option<String>
The Availability Zone that the HSM is in.
eni_id: Option<String>
The identifier of the elastic network interface (ENI) attached to the HSM.
eni_ip: Option<String>
The IP address assigned to the HSM's ENI.
subscription_type: Option<SubscriptionType>
Specifies the type of subscription for the HSM.
-
PRODUCTION - The HSM is being used in a production environment.
-
TRIAL - The HSM is being used in a product trial.
subscription_start_date: Option<String>
The subscription start date.
subscription_end_date: Option<String>
The subscription end date.
vpc_id: Option<String>
The identifier of the VPC that the HSM is in.
subnet_id: Option<String>
The identifier of the subnet that the HSM is in.
iam_role_arn: Option<String>
The ARN of the IAM role assigned to the HSM.
serial_number: Option<String>
The serial number of the HSM.
vendor_name: Option<String>
The name of the HSM vendor.
hsm_type: Option<String>
The HSM model type.
software_version: Option<String>
The HSM software version.
ssh_public_key: Option<String>
The public SSH key.
ssh_key_last_updated: Option<String>
The date and time that the SSH key was last updated.
server_cert_uri: Option<String>
The URI of the certificate server.
server_cert_last_updated: Option<String>
The date and time that the server certificate was last updated.
partitions: Option<Vec<String>>
The list of partitions on the HSM.
Implementations§
source§impl DescribeHsmOutput
impl DescribeHsmOutput
sourcepub fn status_details(&self) -> Option<&str>
pub fn status_details(&self) -> Option<&str>
Contains additional information about the status of the HSM.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone that the HSM is in.
sourcepub fn eni_id(&self) -> Option<&str>
pub fn eni_id(&self) -> Option<&str>
The identifier of the elastic network interface (ENI) attached to the HSM.
sourcepub fn subscription_type(&self) -> Option<&SubscriptionType>
pub fn subscription_type(&self) -> Option<&SubscriptionType>
Specifies the type of subscription for the HSM.
-
PRODUCTION - The HSM is being used in a production environment.
-
TRIAL - The HSM is being used in a product trial.
sourcepub fn subscription_start_date(&self) -> Option<&str>
pub fn subscription_start_date(&self) -> Option<&str>
The subscription start date.
sourcepub fn subscription_end_date(&self) -> Option<&str>
pub fn subscription_end_date(&self) -> Option<&str>
The subscription end date.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
The ARN of the IAM role assigned to the HSM.
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
The serial number of the HSM.
sourcepub fn vendor_name(&self) -> Option<&str>
pub fn vendor_name(&self) -> Option<&str>
The name of the HSM vendor.
sourcepub fn software_version(&self) -> Option<&str>
pub fn software_version(&self) -> Option<&str>
The HSM software version.
sourcepub fn ssh_public_key(&self) -> Option<&str>
pub fn ssh_public_key(&self) -> Option<&str>
The public SSH key.
sourcepub fn ssh_key_last_updated(&self) -> Option<&str>
pub fn ssh_key_last_updated(&self) -> Option<&str>
The date and time that the SSH key was last updated.
sourcepub fn server_cert_uri(&self) -> Option<&str>
pub fn server_cert_uri(&self) -> Option<&str>
The URI of the certificate server.
sourcepub fn server_cert_last_updated(&self) -> Option<&str>
pub fn server_cert_last_updated(&self) -> Option<&str>
The date and time that the server certificate was last updated.
sourcepub fn partitions(&self) -> &[String]
pub fn partitions(&self) -> &[String]
The list of partitions on the HSM.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partitions.is_none()
.
source§impl DescribeHsmOutput
impl DescribeHsmOutput
sourcepub fn builder() -> DescribeHsmOutputBuilder
pub fn builder() -> DescribeHsmOutputBuilder
Creates a new builder-style object to manufacture DescribeHsmOutput
.
Trait Implementations§
source§impl Clone for DescribeHsmOutput
impl Clone for DescribeHsmOutput
source§fn clone(&self) -> DescribeHsmOutput
fn clone(&self) -> DescribeHsmOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeHsmOutput
impl Debug for DescribeHsmOutput
source§impl PartialEq for DescribeHsmOutput
impl PartialEq for DescribeHsmOutput
source§fn eq(&self, other: &DescribeHsmOutput) -> bool
fn eq(&self, other: &DescribeHsmOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeHsmOutput
impl RequestId for DescribeHsmOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeHsmOutput
Auto Trait Implementations§
impl Freeze for DescribeHsmOutput
impl RefUnwindSafe for DescribeHsmOutput
impl Send for DescribeHsmOutput
impl Sync for DescribeHsmOutput
impl Unpin for DescribeHsmOutput
impl UnwindSafe for DescribeHsmOutput
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> 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 more