Skip to main content

SesState

Struct SesState 

Source
pub struct SesState {
Show 26 fields pub account_id: String, pub region: String, pub identities: HashMap<String, EmailIdentity>, pub configuration_sets: HashMap<String, ConfigurationSet>, pub templates: HashMap<String, EmailTemplate>, pub sent_emails: Vec<SentEmail>, pub contact_lists: HashMap<String, ContactList>, pub contacts: HashMap<String, HashMap<String, Contact>>, pub tags: HashMap<String, HashMap<String, String>>, pub suppressed_destinations: HashMap<String, SuppressedDestination>, pub event_destinations: HashMap<String, Vec<EventDestination>>, pub identity_policies: HashMap<String, HashMap<String, String>>, pub custom_verification_email_templates: HashMap<String, CustomVerificationEmailTemplate>, pub dedicated_ip_pools: HashMap<String, DedicatedIpPool>, pub dedicated_ips: HashMap<String, DedicatedIp>, pub multi_region_endpoints: HashMap<String, MultiRegionEndpoint>, pub account_settings: AccountSettings, pub import_jobs: HashMap<String, ImportJob>, pub export_jobs: HashMap<String, ExportJob>, pub tenants: HashMap<String, Tenant>, pub tenant_resource_associations: HashMap<String, Vec<TenantResourceAssociation>>, pub reputation_entities: HashMap<String, ReputationEntityState>, pub receipt_rule_sets: HashMap<String, ReceiptRuleSet>, pub active_receipt_rule_set: Option<String>, pub receipt_filters: HashMap<String, ReceiptFilter>, pub inbound_emails: Vec<InboundEmail>,
}

Fields§

§account_id: String§region: String§identities: HashMap<String, EmailIdentity>§configuration_sets: HashMap<String, ConfigurationSet>§templates: HashMap<String, EmailTemplate>§sent_emails: Vec<SentEmail>§contact_lists: HashMap<String, ContactList>§contacts: HashMap<String, HashMap<String, Contact>>§tags: HashMap<String, HashMap<String, String>>

Tags keyed by resource ARN, value is key→value tag map.

§suppressed_destinations: HashMap<String, SuppressedDestination>

Suppression list: email → suppressed destination info.

§event_destinations: HashMap<String, Vec<EventDestination>>

Event destinations: config set name → list of event destinations.

§identity_policies: HashMap<String, HashMap<String, String>>

Identity policies: identity name → policy name → policy JSON document.

§custom_verification_email_templates: HashMap<String, CustomVerificationEmailTemplate>

Custom verification email templates: template name → template.

§dedicated_ip_pools: HashMap<String, DedicatedIpPool>

Dedicated IP pools: pool name → pool.

§dedicated_ips: HashMap<String, DedicatedIp>

Dedicated IPs: IP address → dedicated IP info.

§multi_region_endpoints: HashMap<String, MultiRegionEndpoint>

Multi-region endpoints: endpoint name → endpoint.

§account_settings: AccountSettings

Account-level settings (sending, suppression, VDM, details).

§import_jobs: HashMap<String, ImportJob>

Import jobs: job_id → ImportJob.

§export_jobs: HashMap<String, ExportJob>

Export jobs: job_id → ExportJob.

§tenants: HashMap<String, Tenant>

Tenants: tenant_name → Tenant.

§tenant_resource_associations: HashMap<String, Vec<TenantResourceAssociation>>

Tenant resource associations: tenant_name → Vec<resource_arn>.

§reputation_entities: HashMap<String, ReputationEntityState>

Reputation entities: “type/reference” → ReputationEntity.

§receipt_rule_sets: HashMap<String, ReceiptRuleSet>

Receipt rule sets: name → rule set.

§active_receipt_rule_set: Option<String>

Which rule set is active (by name).

§receipt_filters: HashMap<String, ReceiptFilter>

Receipt filters: name → filter.

§inbound_emails: Vec<InboundEmail>

Inbound emails processed by the introspection endpoint.

Implementations§

Source§

impl SesState

Source

pub fn new(account_id: &str, region: &str) -> Self

Source

pub fn reset(&mut self)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,