CreateBrokerRequest

Struct CreateBrokerRequest 

Source
pub struct CreateBrokerRequest {
Show 17 fields pub auto_minor_version_upgrade: Option<bool>, pub broker_name: Option<String>, pub configuration: Option<ConfigurationId>, pub creator_request_id: Option<String>, pub deployment_mode: Option<String>, pub encryption_options: Option<EncryptionOptions>, pub engine_type: Option<String>, pub engine_version: Option<String>, pub host_instance_type: Option<String>, pub logs: Option<Logs>, pub maintenance_window_start_time: Option<WeeklyStartTime>, pub publicly_accessible: Option<bool>, pub security_groups: Option<Vec<String>>, pub storage_type: Option<String>, pub subnet_ids: Option<Vec<String>>, pub tags: Option<HashMap<String, String>>, pub users: Option<Vec<User>>,
}
Expand description

Creates a broker using the specified properties.

Fields§

§auto_minor_version_upgrade: Option<bool>

Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions. The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.

§broker_name: Option<String>

Required. The name of the broker. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets, wildcard characters, or special characters.

§configuration: Option<ConfigurationId>

A list of information about the configuration.

§creator_request_id: Option<String>

The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if your application doesn't require idempotency.

§deployment_mode: Option<String>

Required. The deployment mode of the broker.

§encryption_options: Option<EncryptionOptions>

Encryption options for the broker.

§engine_type: Option<String>

Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.

§engine_version: Option<String>

Required. The version of the broker engine. For a list of supported engine versions, see https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html

§host_instance_type: Option<String>

Required. The broker's instance type.

§logs: Option<Logs>

Enables Amazon CloudWatch logging for brokers.

§maintenance_window_start_time: Option<WeeklyStartTime>

The parameters that determine the WeeklyStartTime.

§publicly_accessible: Option<bool>

Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.

§security_groups: Option<Vec<String>>

The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.

§storage_type: Option<String>

The broker's storage type.

§subnet_ids: Option<Vec<String>>

The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different Availability Zones. A SINGLEINSTANCE deployment requires one subnet (for example, the default subnet). An ACTIVESTANDBYMULTIAZ deployment requires two subnets.

§tags: Option<HashMap<String, String>>

Create tags when creating the broker.

§users: Option<Vec<User>>

Required. The list of ActiveMQ users (persons or applications) who can access queues and topics. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

Trait Implementations§

Source§

impl Clone for CreateBrokerRequest

Source§

fn clone(&self) -> CreateBrokerRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateBrokerRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreateBrokerRequest

Source§

fn default() -> CreateBrokerRequest

Returns the “default value” for a type. Read more
Source§

impl PartialEq for CreateBrokerRequest

Source§

fn eq(&self, other: &CreateBrokerRequest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CreateBrokerRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CreateBrokerRequest

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> 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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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