Struct aws_sdk_ec2::operation::create_verified_access_trust_provider::CreateVerifiedAccessTrustProviderInput
source · #[non_exhaustive]pub struct CreateVerifiedAccessTrustProviderInput {
pub trust_provider_type: Option<TrustProviderType>,
pub user_trust_provider_type: Option<UserTrustProviderType>,
pub device_trust_provider_type: Option<DeviceTrustProviderType>,
pub oidc_options: Option<CreateVerifiedAccessTrustProviderOidcOptions>,
pub device_options: Option<CreateVerifiedAccessTrustProviderDeviceOptions>,
pub policy_reference_name: Option<String>,
pub description: Option<String>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub client_token: Option<String>,
pub dry_run: Option<bool>,
pub sse_specification: Option<VerifiedAccessSseSpecificationRequest>,
}
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.trust_provider_type: Option<TrustProviderType>
The type of trust provider.
user_trust_provider_type: Option<UserTrustProviderType>
The type of user-based trust provider. This parameter is required when the provider type is user
.
device_trust_provider_type: Option<DeviceTrustProviderType>
The type of device-based trust provider. This parameter is required when the provider type is device
.
oidc_options: Option<CreateVerifiedAccessTrustProviderOidcOptions>
The options for a OpenID Connect-compatible user-identity trust provider. This parameter is required when the provider type is user
.
device_options: Option<CreateVerifiedAccessTrustProviderDeviceOptions>
The options for a device-based trust provider. This parameter is required when the provider type is device
.
policy_reference_name: Option<String>
The identifier to be used when working with policy rules.
description: Option<String>
A description for the Verified Access trust provider.
tag_specifications: Option<Vec<TagSpecification>>
The tags to assign to the Verified Access trust provider.
client_token: Option<String>
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sse_specification: Option<VerifiedAccessSseSpecificationRequest>
Options for server side encryption.
Implementations§
source§impl CreateVerifiedAccessTrustProviderInput
impl CreateVerifiedAccessTrustProviderInput
sourcepub fn trust_provider_type(&self) -> Option<&TrustProviderType>
pub fn trust_provider_type(&self) -> Option<&TrustProviderType>
The type of trust provider.
sourcepub fn user_trust_provider_type(&self) -> Option<&UserTrustProviderType>
pub fn user_trust_provider_type(&self) -> Option<&UserTrustProviderType>
The type of user-based trust provider. This parameter is required when the provider type is user
.
sourcepub fn device_trust_provider_type(&self) -> Option<&DeviceTrustProviderType>
pub fn device_trust_provider_type(&self) -> Option<&DeviceTrustProviderType>
The type of device-based trust provider. This parameter is required when the provider type is device
.
sourcepub fn oidc_options(
&self
) -> Option<&CreateVerifiedAccessTrustProviderOidcOptions>
pub fn oidc_options( &self ) -> Option<&CreateVerifiedAccessTrustProviderOidcOptions>
The options for a OpenID Connect-compatible user-identity trust provider. This parameter is required when the provider type is user
.
sourcepub fn device_options(
&self
) -> Option<&CreateVerifiedAccessTrustProviderDeviceOptions>
pub fn device_options( &self ) -> Option<&CreateVerifiedAccessTrustProviderDeviceOptions>
The options for a device-based trust provider. This parameter is required when the provider type is device
.
sourcepub fn policy_reference_name(&self) -> Option<&str>
pub fn policy_reference_name(&self) -> Option<&str>
The identifier to be used when working with policy rules.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the Verified Access trust provider.
sourcepub fn tag_specifications(&self) -> &[TagSpecification]
pub fn tag_specifications(&self) -> &[TagSpecification]
The tags to assign to the Verified Access trust provider.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_specifications.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn sse_specification(
&self
) -> Option<&VerifiedAccessSseSpecificationRequest>
pub fn sse_specification( &self ) -> Option<&VerifiedAccessSseSpecificationRequest>
Options for server side encryption.
source§impl CreateVerifiedAccessTrustProviderInput
impl CreateVerifiedAccessTrustProviderInput
sourcepub fn builder() -> CreateVerifiedAccessTrustProviderInputBuilder
pub fn builder() -> CreateVerifiedAccessTrustProviderInputBuilder
Creates a new builder-style object to manufacture CreateVerifiedAccessTrustProviderInput
.
Trait Implementations§
source§impl Clone for CreateVerifiedAccessTrustProviderInput
impl Clone for CreateVerifiedAccessTrustProviderInput
source§fn clone(&self) -> CreateVerifiedAccessTrustProviderInput
fn clone(&self) -> CreateVerifiedAccessTrustProviderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateVerifiedAccessTrustProviderInput
impl PartialEq for CreateVerifiedAccessTrustProviderInput
source§fn eq(&self, other: &CreateVerifiedAccessTrustProviderInput) -> bool
fn eq(&self, other: &CreateVerifiedAccessTrustProviderInput) -> bool
self
and other
values to be equal, and is used
by ==
.