Struct aws_sdk_transfer::types::DescribedProfile
source · #[non_exhaustive]pub struct DescribedProfile {
pub arn: String,
pub profile_id: Option<String>,
pub profile_type: Option<ProfileType>,
pub as2_id: Option<String>,
pub certificate_ids: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The details for a local or partner AS2 profile.
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.arn: String
The unique Amazon Resource Name (ARN) for the profile.
profile_id: Option<String>
A unique identifier for the local or partner AS2 profile.
profile_type: Option<ProfileType>
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If not supplied in the request, the command lists all types of profiles.
as2_id: Option<String>
The As2Id
is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From
header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To
header for the AS2 messages sent to the partner using the StartFileTransfer
API operation. This ID cannot include spaces.
certificate_ids: Option<Vec<String>>
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
Key-value pairs that can be used to group and search for profiles.
Implementations§
source§impl DescribedProfile
impl DescribedProfile
sourcepub fn profile_id(&self) -> Option<&str>
pub fn profile_id(&self) -> Option<&str>
A unique identifier for the local or partner AS2 profile.
sourcepub fn profile_type(&self) -> Option<&ProfileType>
pub fn profile_type(&self) -> Option<&ProfileType>
Indicates whether to list only LOCAL
type profiles or only PARTNER
type profiles. If not supplied in the request, the command lists all types of profiles.
sourcepub fn as2_id(&self) -> Option<&str>
pub fn as2_id(&self) -> Option<&str>
The As2Id
is the AS2-name, as defined in the RFC 4130. For inbound transfers, this is the AS2-From
header for the AS2 messages sent from the partner. For outbound connectors, this is the AS2-To
header for the AS2 messages sent to the partner using the StartFileTransfer
API operation. This ID cannot include spaces.
sourcepub fn certificate_ids(&self) -> &[String]
pub fn certificate_ids(&self) -> &[String]
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .certificate_ids.is_none()
.
Key-value pairs that can be used to group and search for profiles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl DescribedProfile
impl DescribedProfile
sourcepub fn builder() -> DescribedProfileBuilder
pub fn builder() -> DescribedProfileBuilder
Creates a new builder-style object to manufacture DescribedProfile
.
Trait Implementations§
source§impl Clone for DescribedProfile
impl Clone for DescribedProfile
source§fn clone(&self) -> DescribedProfile
fn clone(&self) -> DescribedProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribedProfile
impl Debug for DescribedProfile
source§impl PartialEq for DescribedProfile
impl PartialEq for DescribedProfile
source§fn eq(&self, other: &DescribedProfile) -> bool
fn eq(&self, other: &DescribedProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribedProfile
Auto Trait Implementations§
impl Freeze for DescribedProfile
impl RefUnwindSafe for DescribedProfile
impl Send for DescribedProfile
impl Sync for DescribedProfile
impl Unpin for DescribedProfile
impl UnwindSafe for DescribedProfile
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> 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