Struct aws_sdk_eks::operation::create_eks_anywhere_subscription::CreateEksAnywhereSubscriptionInput
source · #[non_exhaustive]pub struct CreateEksAnywhereSubscriptionInput {
pub name: Option<String>,
pub term: Option<EksAnywhereSubscriptionTerm>,
pub license_quantity: Option<i32>,
pub license_type: Option<EksAnywhereSubscriptionLicenseType>,
pub auto_renew: Option<bool>,
pub client_request_token: Option<String>,
pub tags: Option<HashMap<String, 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.name: Option<String>The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
term: Option<EksAnywhereSubscriptionTerm>An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
license_quantity: Option<i32>The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
license_type: Option<EksAnywhereSubscriptionLicenseType>The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
auto_renew: Option<bool>A boolean indicating whether the subscription auto renews at the end of the term.
client_request_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
Implementations§
source§impl CreateEksAnywhereSubscriptionInput
impl CreateEksAnywhereSubscriptionInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The unique name for your subscription. It must be unique in your Amazon Web Services account in the Amazon Web Services Region you're creating the subscription in. The name can contain only alphanumeric characters (case-sensitive), hyphens, and underscores. It must start with an alphabetic character and can't be longer than 100 characters.
sourcepub fn term(&self) -> Option<&EksAnywhereSubscriptionTerm>
pub fn term(&self) -> Option<&EksAnywhereSubscriptionTerm>
An object representing the term duration and term unit type of your subscription. This determines the term length of your subscription. Valid values are MONTHS for term unit and 12 or 36 for term duration, indicating a 12 month or 36 month subscription. This value cannot be changed after creating the subscription.
sourcepub fn license_quantity(&self) -> Option<i32>
pub fn license_quantity(&self) -> Option<i32>
The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.
sourcepub fn license_type(&self) -> Option<&EksAnywhereSubscriptionLicenseType>
pub fn license_type(&self) -> Option<&EksAnywhereSubscriptionLicenseType>
The license type for all licenses in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
sourcepub fn auto_renew(&self) -> Option<bool>
pub fn auto_renew(&self) -> Option<bool>
A boolean indicating whether the subscription auto renews at the end of the term.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags don't propagate to any other resources associated with the subscription.
source§impl CreateEksAnywhereSubscriptionInput
impl CreateEksAnywhereSubscriptionInput
sourcepub fn builder() -> CreateEksAnywhereSubscriptionInputBuilder
pub fn builder() -> CreateEksAnywhereSubscriptionInputBuilder
Creates a new builder-style object to manufacture CreateEksAnywhereSubscriptionInput.
Trait Implementations§
source§impl Clone for CreateEksAnywhereSubscriptionInput
impl Clone for CreateEksAnywhereSubscriptionInput
source§fn clone(&self) -> CreateEksAnywhereSubscriptionInput
fn clone(&self) -> CreateEksAnywhereSubscriptionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateEksAnywhereSubscriptionInput
impl PartialEq for CreateEksAnywhereSubscriptionInput
source§fn eq(&self, other: &CreateEksAnywhereSubscriptionInput) -> bool
fn eq(&self, other: &CreateEksAnywhereSubscriptionInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateEksAnywhereSubscriptionInput
Auto Trait Implementations§
impl Freeze for CreateEksAnywhereSubscriptionInput
impl RefUnwindSafe for CreateEksAnywhereSubscriptionInput
impl Send for CreateEksAnywhereSubscriptionInput
impl Sync for CreateEksAnywhereSubscriptionInput
impl Unpin for CreateEksAnywhereSubscriptionInput
impl UnwindSafe for CreateEksAnywhereSubscriptionInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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