nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct TimestreamConnectionDetails {
    #[builder(into)]
    #[serde(rename = "nominalRoleArn")]
    nominal_role_arn: String,
    #[builder(into)]
    #[serde(rename = "nominalRoleRegion")]
    nominal_role_region: String,
    #[builder(into)]
    #[serde(rename = "externalRegion")]
    external_region: String,
    #[builder(into)]
    #[serde(rename = "externalRoleArn")]
    external_role_arn: String,
    #[builder(into)]
    #[serde(rename = "database")]
    database: String,
}
impl TimestreamConnectionDetails {
    /// The role ARN owned by Nominal that has permission to assume the externalRoleArn.
    #[inline]
    pub fn nominal_role_arn(&self) -> &str {
        &*self.nominal_role_arn
    }
    /// AWS region that contains the Nominal role.
    #[inline]
    pub fn nominal_role_region(&self) -> &str {
        &*self.nominal_role_region
    }
    /// AWS region that contains the Timestream instance.
    #[inline]
    pub fn external_region(&self) -> &str {
        &*self.external_region
    }
    /// The role ARN used to make queries to Timestream. This role is owned by the AWS account that owns the Timestream instance.
    #[inline]
    pub fn external_role_arn(&self) -> &str {
        &*self.external_role_arn
    }
    /// Database inside of the Timestream instance to connect to.
    #[inline]
    pub fn database(&self) -> &str {
        &*self.database
    }
}