#[non_exhaustive]pub struct CreateAppAuthorizationInput {
pub app_bundle_identifier: Option<String>,
pub app: Option<String>,
pub credential: Option<Credential>,
pub tenant: Option<Tenant>,
pub auth_type: Option<AuthType>,
pub client_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.app_bundle_identifier: Option<String>
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
app: Option<String>
The name of the application.
Valid values are:
-
SLACK
-
ASANA
-
JIRA
-
M365
-
M365AUDITLOGS
-
ZOOM
-
ZENDESK
-
OKTA
-
GOOGLE
-
DROPBOX
-
SMARTSHEET
-
CISCO
credential: Option<Credential>
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization type for your request is OAuth2 (oauth2
), then you should provide only the OAuth2 credentials.
tenant: Option<Tenant>
Contains information about an application tenant, such as the application display name and identifier.
auth_type: Option<AuthType>
The authorization type for the app authorization.
client_token: Option<String>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
A map of the key-value pairs of the tag or tags to assign to the resource.
Implementations§
source§impl CreateAppAuthorizationInput
impl CreateAppAuthorizationInput
sourcepub fn app_bundle_identifier(&self) -> Option<&str>
pub fn app_bundle_identifier(&self) -> Option<&str>
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
sourcepub fn app(&self) -> Option<&str>
pub fn app(&self) -> Option<&str>
The name of the application.
Valid values are:
-
SLACK
-
ASANA
-
JIRA
-
M365
-
M365AUDITLOGS
-
ZOOM
-
ZENDESK
-
OKTA
-
GOOGLE
-
DROPBOX
-
SMARTSHEET
-
CISCO
sourcepub fn credential(&self) -> Option<&Credential>
pub fn credential(&self) -> Option<&Credential>
Contains credentials for the application, such as an API key or OAuth2 client ID and secret.
Specify credentials that match the authorization type for your request. For example, if the authorization type for your request is OAuth2 (oauth2
), then you should provide only the OAuth2 credentials.
sourcepub fn tenant(&self) -> Option<&Tenant>
pub fn tenant(&self) -> Option<&Tenant>
Contains information about an application tenant, such as the application display name and identifier.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
A map of the key-value pairs of the tag or tags to assign to the resource.
source§impl CreateAppAuthorizationInput
impl CreateAppAuthorizationInput
sourcepub fn builder() -> CreateAppAuthorizationInputBuilder
pub fn builder() -> CreateAppAuthorizationInputBuilder
Creates a new builder-style object to manufacture CreateAppAuthorizationInput
.
Trait Implementations§
source§impl Clone for CreateAppAuthorizationInput
impl Clone for CreateAppAuthorizationInput
source§fn clone(&self) -> CreateAppAuthorizationInput
fn clone(&self) -> CreateAppAuthorizationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppAuthorizationInput
impl Debug for CreateAppAuthorizationInput
source§impl PartialEq<CreateAppAuthorizationInput> for CreateAppAuthorizationInput
impl PartialEq<CreateAppAuthorizationInput> for CreateAppAuthorizationInput
source§fn eq(&self, other: &CreateAppAuthorizationInput) -> bool
fn eq(&self, other: &CreateAppAuthorizationInput) -> bool
self
and other
values to be equal, and is used
by ==
.