Struct aws_sdk_computeoptimizer::operation::get_license_recommendations::GetLicenseRecommendationsInput
source · #[non_exhaustive]pub struct GetLicenseRecommendationsInput {
pub resource_arns: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<LicenseRecommendationFilter>>,
pub account_ids: Option<Vec<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.resource_arns: Option<Vec<String>>The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
next_token: Option<String>The token to advance to the next page of license recommendations.
max_results: Option<i32>The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
filters: Option<Vec<LicenseRecommendationFilter>>An array of objects to specify a filter that returns a more specific list of license recommendations.
account_ids: Option<Vec<String>>The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
Implementations§
source§impl GetLicenseRecommendationsInput
impl GetLicenseRecommendationsInput
sourcepub fn resource_arns(&self) -> &[String]
pub fn resource_arns(&self) -> &[String]
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_arns.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to advance to the next page of license recommendations.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
sourcepub fn filters(&self) -> &[LicenseRecommendationFilter]
pub fn filters(&self) -> &[LicenseRecommendationFilter]
An array of objects to specify a filter that returns a more specific list of license recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
sourcepub fn account_ids(&self) -> &[String]
pub fn account_ids(&self) -> &[String]
The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .account_ids.is_none().
source§impl GetLicenseRecommendationsInput
impl GetLicenseRecommendationsInput
sourcepub fn builder() -> GetLicenseRecommendationsInputBuilder
pub fn builder() -> GetLicenseRecommendationsInputBuilder
Creates a new builder-style object to manufacture GetLicenseRecommendationsInput.
Trait Implementations§
source§impl Clone for GetLicenseRecommendationsInput
impl Clone for GetLicenseRecommendationsInput
source§fn clone(&self) -> GetLicenseRecommendationsInput
fn clone(&self) -> GetLicenseRecommendationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetLicenseRecommendationsInput
impl PartialEq for GetLicenseRecommendationsInput
source§fn eq(&self, other: &GetLicenseRecommendationsInput) -> bool
fn eq(&self, other: &GetLicenseRecommendationsInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetLicenseRecommendationsInput
Auto Trait Implementations§
impl Freeze for GetLicenseRecommendationsInput
impl RefUnwindSafe for GetLicenseRecommendationsInput
impl Send for GetLicenseRecommendationsInput
impl Sync for GetLicenseRecommendationsInput
impl Unpin for GetLicenseRecommendationsInput
impl UnwindSafe for GetLicenseRecommendationsInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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