#[non_exhaustive]pub struct CreateAccountSubscriptionInput {Show 15 fields
pub edition: Option<Edition>,
pub authentication_method: Option<AuthenticationMethodOption>,
pub aws_account_id: Option<String>,
pub account_name: Option<String>,
pub notification_email: Option<String>,
pub active_directory_name: Option<String>,
pub realm: Option<String>,
pub directory_id: Option<String>,
pub admin_group: Option<Vec<String>>,
pub author_group: Option<Vec<String>>,
pub reader_group: Option<Vec<String>>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email_address: Option<String>,
pub contact_number: 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.edition: Option<Edition>The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from ENTERPRISE or ENTERPRISE_AND_Q.
If you choose ENTERPRISE_AND_Q, the following parameters are required:
-
FirstName -
LastName -
EmailAddress -
ContactNumber
authentication_method: Option<AuthenticationMethodOption>The method that you want to use to authenticate your Amazon QuickSight account. Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT, IAM_ONLY, and ACTIVE_DIRECTORY.
If you choose ACTIVE_DIRECTORY, provide an ActiveDirectoryName and an AdminGroup associated with your Active Directory.
aws_account_id: Option<String>The Amazon Web Services account ID of the account that you're using to create your Amazon QuickSight account.
account_name: Option<String>The name of your Amazon QuickSight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can't change AccountName value after the Amazon QuickSight account is created.
notification_email: Option<String>The email address that you want Amazon QuickSight to send notifications to regarding your Amazon QuickSight account or Amazon QuickSight subscription.
active_directory_name: Option<String>The name of your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account.
realm: Option<String>The realm of the Active Directory that is associated with your Amazon QuickSight account. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account.
directory_id: Option<String>The ID of the Active Directory that is associated with your Amazon QuickSight account.
admin_group: Option<Vec<String>>The admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
reader_group: Option<Vec<String>>The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
first_name: Option<String>The first name of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
last_name: Option<String>The last name of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
email_address: Option<String>The email address of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
contact_number: Option<String>A 10-digit phone number for the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
Implementations
sourceimpl CreateAccountSubscriptionInput
impl CreateAccountSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAccountSubscription, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAccountSubscription, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateAccountSubscription>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateAccountSubscriptionInput.
sourceimpl CreateAccountSubscriptionInput
impl CreateAccountSubscriptionInput
sourcepub fn edition(&self) -> Option<&Edition>
pub fn edition(&self) -> Option<&Edition>
The edition of Amazon QuickSight that you want your account to have. Currently, you can choose from ENTERPRISE or ENTERPRISE_AND_Q.
If you choose ENTERPRISE_AND_Q, the following parameters are required:
-
FirstName -
LastName -
EmailAddress -
ContactNumber
sourcepub fn authentication_method(&self) -> Option<&AuthenticationMethodOption>
pub fn authentication_method(&self) -> Option<&AuthenticationMethodOption>
The method that you want to use to authenticate your Amazon QuickSight account. Currently, the valid values for this parameter are IAM_AND_QUICKSIGHT, IAM_ONLY, and ACTIVE_DIRECTORY.
If you choose ACTIVE_DIRECTORY, provide an ActiveDirectoryName and an AdminGroup associated with your Active Directory.
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the account that you're using to create your Amazon QuickSight account.
sourcepub fn account_name(&self) -> Option<&str>
pub fn account_name(&self) -> Option<&str>
The name of your Amazon QuickSight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can't change AccountName value after the Amazon QuickSight account is created.
sourcepub fn notification_email(&self) -> Option<&str>
pub fn notification_email(&self) -> Option<&str>
The email address that you want Amazon QuickSight to send notifications to regarding your Amazon QuickSight account or Amazon QuickSight subscription.
sourcepub fn active_directory_name(&self) -> Option<&str>
pub fn active_directory_name(&self) -> Option<&str>
The name of your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account.
sourcepub fn realm(&self) -> Option<&str>
pub fn realm(&self) -> Option<&str>
The realm of the Active Directory that is associated with your Amazon QuickSight account. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account.
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The ID of the Active Directory that is associated with your Amazon QuickSight account.
sourcepub fn admin_group(&self) -> Option<&[String]>
pub fn admin_group(&self) -> Option<&[String]>
The admin group associated with your Active Directory. This field is required if ACTIVE_DIRECTORY is the selected authentication method of the new Amazon QuickSight account. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
The author group associated with your Active Directory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
sourcepub fn reader_group(&self) -> Option<&[String]>
pub fn reader_group(&self) -> Option<&[String]>
The reader group associated with your Active Direcrtory. For more information about using Active Directory in Amazon QuickSight, see Using Active Directory with Amazon QuickSight Enterprise Edition in the Amazon QuickSight User Guide.
sourcepub fn first_name(&self) -> Option<&str>
pub fn first_name(&self) -> Option<&str>
The first name of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
sourcepub fn last_name(&self) -> Option<&str>
pub fn last_name(&self) -> Option<&str>
The last name of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
sourcepub fn email_address(&self) -> Option<&str>
pub fn email_address(&self) -> Option<&str>
The email address of the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
sourcepub fn contact_number(&self) -> Option<&str>
pub fn contact_number(&self) -> Option<&str>
A 10-digit phone number for the author of the Amazon QuickSight account to use for future communications. This field is required if ENTERPPRISE_AND_Q is the selected edition of the new Amazon QuickSight account.
Trait Implementations
sourceimpl Clone for CreateAccountSubscriptionInput
impl Clone for CreateAccountSubscriptionInput
sourcefn clone(&self) -> CreateAccountSubscriptionInput
fn clone(&self) -> CreateAccountSubscriptionInput
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 PartialEq<CreateAccountSubscriptionInput> for CreateAccountSubscriptionInput
impl PartialEq<CreateAccountSubscriptionInput> for CreateAccountSubscriptionInput
sourcefn eq(&self, other: &CreateAccountSubscriptionInput) -> bool
fn eq(&self, other: &CreateAccountSubscriptionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateAccountSubscriptionInput) -> bool
fn ne(&self, other: &CreateAccountSubscriptionInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateAccountSubscriptionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateAccountSubscriptionInput
impl Send for CreateAccountSubscriptionInput
impl Sync for CreateAccountSubscriptionInput
impl Unpin for CreateAccountSubscriptionInput
impl UnwindSafe for CreateAccountSubscriptionInput
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