#[non_exhaustive]pub struct CreateProfileInput {
pub as2_id: Option<String>,
pub profile_type: Option<ProfileType>,
pub certificate_ids: Option<Vec<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.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.
profile_type: Option<ProfileType>Determines the type of profile to create:
-
Specify
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto create a partner profile. A partner profile represents a remote organization, external to Transfer Family.
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 AS2 profiles.
Implementations§
source§impl CreateProfileInput
impl CreateProfileInput
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 profile_type(&self) -> Option<&ProfileType>
pub fn profile_type(&self) -> Option<&ProfileType>
Determines the type of profile to create:
-
Specify
LOCALto create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. -
Specify
PARTNERto create a partner profile. A partner profile represents a remote organization, external to Transfer Family.
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 AS2 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 CreateProfileInput
impl CreateProfileInput
sourcepub fn builder() -> CreateProfileInputBuilder
pub fn builder() -> CreateProfileInputBuilder
Creates a new builder-style object to manufacture CreateProfileInput.
Trait Implementations§
source§impl Clone for CreateProfileInput
impl Clone for CreateProfileInput
source§fn clone(&self) -> CreateProfileInput
fn clone(&self) -> CreateProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateProfileInput
impl Debug for CreateProfileInput
source§impl PartialEq for CreateProfileInput
impl PartialEq for CreateProfileInput
source§fn eq(&self, other: &CreateProfileInput) -> bool
fn eq(&self, other: &CreateProfileInput) -> bool
self and other values to be equal, and is used
by ==.