MQ
public struct MQ
Client object for interacting with AWS MQ service.
Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the MQ client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Creates a broker. Note: This API is asynchronous.
Declaration
Swift
public func createBroker(_ input: CreateBrokerRequest) -> EventLoopFuture<CreateBrokerResponse>
-
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
Declaration
Swift
public func createConfiguration(_ input: CreateConfigurationRequest) -> EventLoopFuture<CreateConfigurationResponse>
-
Add a tag to a resource.
Declaration
Swift
@discardableResult public func createTags(_ input: CreateTagsRequest) -> EventLoopFuture<Void>
-
Creates an ActiveMQ user.
Declaration
Swift
public func createUser(_ input: CreateUserRequest) -> EventLoopFuture<CreateUserResponse>
-
Deletes a broker. Note: This API is asynchronous.
Declaration
Swift
public func deleteBroker(_ input: DeleteBrokerRequest) -> EventLoopFuture<DeleteBrokerResponse>
-
Removes a tag from a resource.
Declaration
Swift
@discardableResult public func deleteTags(_ input: DeleteTagsRequest) -> EventLoopFuture<Void>
-
Deletes an ActiveMQ user.
Declaration
Swift
public func deleteUser(_ input: DeleteUserRequest) -> EventLoopFuture<DeleteUserResponse>
-
Returns information about the specified broker.
Declaration
Swift
public func describeBroker(_ input: DescribeBrokerRequest) -> EventLoopFuture<DescribeBrokerResponse>
-
Describe available engine types and versions.
Declaration
Swift
public func describeBrokerEngineTypes(_ input: DescribeBrokerEngineTypesRequest) -> EventLoopFuture<DescribeBrokerEngineTypesResponse>
-
Describe available broker instance options.
Declaration
Swift
public func describeBrokerInstanceOptions(_ input: DescribeBrokerInstanceOptionsRequest) -> EventLoopFuture<DescribeBrokerInstanceOptionsResponse>
-
Returns information about the specified configuration.
Declaration
Swift
public func describeConfiguration(_ input: DescribeConfigurationRequest) -> EventLoopFuture<DescribeConfigurationResponse>
-
Returns the specified configuration revision for the specified configuration.
Declaration
Swift
public func describeConfigurationRevision(_ input: DescribeConfigurationRevisionRequest) -> EventLoopFuture<DescribeConfigurationRevisionResponse>
-
Returns information about an ActiveMQ user.
Declaration
Swift
public func describeUser(_ input: DescribeUserRequest) -> EventLoopFuture<DescribeUserResponse>
-
Returns a list of all brokers.
Declaration
Swift
public func listBrokers(_ input: ListBrokersRequest) -> EventLoopFuture<ListBrokersResponse>
-
Returns a list of all revisions for the specified configuration.
Declaration
Swift
public func listConfigurationRevisions(_ input: ListConfigurationRevisionsRequest) -> EventLoopFuture<ListConfigurationRevisionsResponse>
-
Returns a list of all configurations.
Declaration
Swift
public func listConfigurations(_ input: ListConfigurationsRequest) -> EventLoopFuture<ListConfigurationsResponse>
-
Lists tags for a resource.
Declaration
Swift
public func listTags(_ input: ListTagsRequest) -> EventLoopFuture<ListTagsResponse>
-
Returns a list of all ActiveMQ users.
Declaration
Swift
public func listUsers(_ input: ListUsersRequest) -> EventLoopFuture<ListUsersResponse>
-
Reboots a broker. Note: This API is asynchronous.
Declaration
Swift
public func rebootBroker(_ input: RebootBrokerRequest) -> EventLoopFuture<RebootBrokerResponse>
-
Adds a pending configuration change to a broker.
Declaration
Swift
public func updateBroker(_ input: UpdateBrokerRequest) -> EventLoopFuture<UpdateBrokerResponse>
-
Updates the specified configuration.
Declaration
Swift
public func updateConfiguration(_ input: UpdateConfigurationRequest) -> EventLoopFuture<UpdateConfigurationResponse>
-
Updates the information for an ActiveMQ user.
Declaration
Swift
public func updateUser(_ input: UpdateUserRequest) -> EventLoopFuture<UpdateUserResponse>
-
Returns a list of all brokers.
Declaration
Swift
public func listBrokersPaginator(_ input: ListBrokersRequest, onPage: @escaping (ListBrokersResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct ListBrokersRequest : AWSShape
extension MQ.ListBrokersRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum AuthenticationStrategy : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum BrokerState : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum BrokerStorageType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum ChangeType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DayOfWeek : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DeploymentMode : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum EngineType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SanitizationWarningReason : String, CustomStringConvertible, Codable