mq

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 44

Documentation

Overview

Package mq provides the client and types for making API requests to AmazonMQ.

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.

See https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27 for more information on this service.

See mq package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mq/

Using the Client

To use AmazonMQ with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AmazonMQ client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mq/#New

Index

Constants

View Source
const (
	ServiceName = "AmazonMQ" // Service's name
	ServiceID   = "Mq"       // Service's identifier
	EndpointsID = "mq"       // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Returns information about an error.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Returns information about an error.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	//
	// Returns information about an error.
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeInternalServerErrorException for service response error code
	// "InternalServerErrorException".
	//
	// Returns information about an error.
	ErrCodeInternalServerErrorException = "InternalServerErrorException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// Returns information about an error.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// Returns information about an error.
	ErrCodeUnauthorizedException = "UnauthorizedException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityZone added in v0.8.0

type AvailabilityZone struct {

	// Id for the availability zone.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Name of the availability zone.

func (AvailabilityZone) MarshalFields added in v0.8.0

func (s AvailabilityZone) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AvailabilityZone) String added in v0.8.0

func (s AvailabilityZone) String() string

String returns the string representation

type BrokerEngineType added in v0.8.0

type BrokerEngineType struct {

	// The type of broker engine.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	// The list of engine versions.
	EngineVersions []EngineVersion `locationName:"engineVersions" type:"list"`
	// contains filtered or unexported fields
}

Types of broker engines.

func (BrokerEngineType) MarshalFields added in v0.8.0

func (s BrokerEngineType) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BrokerEngineType) String added in v0.8.0

func (s BrokerEngineType) String() string

String returns the string representation

type BrokerInstance

type BrokerInstance struct {

	// The URL of the broker's ActiveMQ Web Console.
	ConsoleURL *string `locationName:"consoleURL" type:"string"`

	// The broker's wire-level protocol endpoints.
	Endpoints []string `locationName:"endpoints" type:"list"`

	// The IP address of the Elastic Network Interface (ENI) attached to the broker.
	IpAddress *string `locationName:"ipAddress" type:"string"`
	// contains filtered or unexported fields
}

Returns information about all brokers.

func (BrokerInstance) MarshalFields added in v0.3.0

func (s BrokerInstance) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BrokerInstance) String

func (s BrokerInstance) String() string

String returns the string representation

type BrokerInstanceOption added in v0.8.0

type BrokerInstanceOption struct {

	// The list of available az.
	AvailabilityZones []AvailabilityZone `locationName:"availabilityZones" type:"list"`

	// The type of broker engine.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	// The type of broker instance.
	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`

	// The broker's storage type.
	StorageType BrokerStorageType `locationName:"storageType" type:"string" enum:"true"`

	// The list of supported deployment modes.
	SupportedDeploymentModes []DeploymentMode `locationName:"supportedDeploymentModes" type:"list"`

	// The list of supported engine versions.
	SupportedEngineVersions []string `locationName:"supportedEngineVersions" type:"list"`
	// contains filtered or unexported fields
}

Option for host instance type.

func (BrokerInstanceOption) MarshalFields added in v0.8.0

func (s BrokerInstanceOption) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BrokerInstanceOption) String added in v0.8.0

func (s BrokerInstanceOption) String() string

String returns the string representation

type BrokerState

type BrokerState string

The status of the broker.

const (
	BrokerStateCreationInProgress BrokerState = "CREATION_IN_PROGRESS"
	BrokerStateCreationFailed     BrokerState = "CREATION_FAILED"
	BrokerStateDeletionInProgress BrokerState = "DELETION_IN_PROGRESS"
	BrokerStateRunning            BrokerState = "RUNNING"
	BrokerStateRebootInProgress   BrokerState = "REBOOT_IN_PROGRESS"
)

Enum values for BrokerState

func (BrokerState) MarshalValue added in v0.3.0

func (enum BrokerState) MarshalValue() (string, error)

func (BrokerState) MarshalValueBuf added in v0.3.0

func (enum BrokerState) MarshalValueBuf(b []byte) ([]byte, error)

type BrokerStorageType added in v0.19.0

type BrokerStorageType string

The storage type of the broker.

const (
	BrokerStorageTypeEbs BrokerStorageType = "EBS"
	BrokerStorageTypeEfs BrokerStorageType = "EFS"
)

Enum values for BrokerStorageType

func (BrokerStorageType) MarshalValue added in v0.19.0

func (enum BrokerStorageType) MarshalValue() (string, error)

func (BrokerStorageType) MarshalValueBuf added in v0.19.0

func (enum BrokerStorageType) MarshalValueBuf(b []byte) ([]byte, error)

type BrokerSummary

type BrokerSummary struct {

	// The Amazon Resource Name (ARN) of the broker.
	BrokerArn *string `locationName:"brokerArn" type:"string"`

	// The unique ID that Amazon MQ generates for the broker.
	BrokerId *string `locationName:"brokerId" type:"string"`

	// 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.
	BrokerName *string `locationName:"brokerName" type:"string"`

	// The status of the broker.
	BrokerState BrokerState `locationName:"brokerState" type:"string" enum:"true"`

	// The time when the broker was created.
	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	// Required. The deployment mode of the broker.
	DeploymentMode DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

	// The broker's instance type.
	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`
	// contains filtered or unexported fields
}

The Amazon Resource Name (ARN) of the broker.

func (BrokerSummary) MarshalFields added in v0.3.0

func (s BrokerSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BrokerSummary) String

func (s BrokerSummary) String() string

String returns the string representation

type ChangeType

type ChangeType string

The type of change pending for the ActiveMQ user.

const (
	ChangeTypeCreate ChangeType = "CREATE"
	ChangeTypeUpdate ChangeType = "UPDATE"
	ChangeTypeDelete ChangeType = "DELETE"
)

Enum values for ChangeType

func (ChangeType) MarshalValue added in v0.3.0

func (enum ChangeType) MarshalValue() (string, error)

func (ChangeType) MarshalValueBuf added in v0.3.0

func (enum ChangeType) MarshalValueBuf(b []byte) ([]byte, error)

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AmazonMQ. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := mq.New(myConfig)

func (*Client) CreateBrokerRequest added in v0.9.0

func (c *Client) CreateBrokerRequest(input *CreateBrokerInput) CreateBrokerRequest

CreateBrokerRequest returns a request value for making API operation for AmazonMQ.

Creates a broker. Note: This API is asynchronous.

// Example sending a request using CreateBrokerRequest.
req := client.CreateBrokerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBroker

func (*Client) CreateConfigurationRequest added in v0.9.0

func (c *Client) CreateConfigurationRequest(input *CreateConfigurationInput) CreateConfigurationRequest

CreateConfigurationRequest returns a request value for making API operation for AmazonMQ.

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

// Example sending a request using CreateConfigurationRequest.
req := client.CreateConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfiguration

func (*Client) CreateTagsRequest added in v0.9.0

func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest

CreateTagsRequest returns a request value for making API operation for AmazonMQ.

Add a tag to a resource.

// Example sending a request using CreateTagsRequest.
req := client.CreateTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateTags

func (*Client) CreateUserRequest added in v0.9.0

func (c *Client) CreateUserRequest(input *CreateUserInput) CreateUserRequest

CreateUserRequest returns a request value for making API operation for AmazonMQ.

Creates an ActiveMQ user.

// Example sending a request using CreateUserRequest.
req := client.CreateUserRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser

func (*Client) DeleteBrokerRequest added in v0.9.0

func (c *Client) DeleteBrokerRequest(input *DeleteBrokerInput) DeleteBrokerRequest

DeleteBrokerRequest returns a request value for making API operation for AmazonMQ.

Deletes a broker. Note: This API is asynchronous.

// Example sending a request using DeleteBrokerRequest.
req := client.DeleteBrokerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBroker

func (*Client) DeleteTagsRequest added in v0.9.0

func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest

DeleteTagsRequest returns a request value for making API operation for AmazonMQ.

Removes a tag from a resource.

// Example sending a request using DeleteTagsRequest.
req := client.DeleteTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteTags

func (*Client) DeleteUserRequest added in v0.9.0

func (c *Client) DeleteUserRequest(input *DeleteUserInput) DeleteUserRequest

DeleteUserRequest returns a request value for making API operation for AmazonMQ.

Deletes an ActiveMQ user.

// Example sending a request using DeleteUserRequest.
req := client.DeleteUserRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUser

func (*Client) DescribeBrokerEngineTypesRequest added in v0.9.0

func (c *Client) DescribeBrokerEngineTypesRequest(input *DescribeBrokerEngineTypesInput) DescribeBrokerEngineTypesRequest

DescribeBrokerEngineTypesRequest returns a request value for making API operation for AmazonMQ.

Describe available engine types and versions.

// Example sending a request using DescribeBrokerEngineTypesRequest.
req := client.DescribeBrokerEngineTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypes

func (*Client) DescribeBrokerInstanceOptionsRequest added in v0.9.0

func (c *Client) DescribeBrokerInstanceOptionsRequest(input *DescribeBrokerInstanceOptionsInput) DescribeBrokerInstanceOptionsRequest

DescribeBrokerInstanceOptionsRequest returns a request value for making API operation for AmazonMQ.

Describe available broker instance options.

// Example sending a request using DescribeBrokerInstanceOptionsRequest.
req := client.DescribeBrokerInstanceOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptions

func (*Client) DescribeBrokerRequest added in v0.9.0

func (c *Client) DescribeBrokerRequest(input *DescribeBrokerInput) DescribeBrokerRequest

DescribeBrokerRequest returns a request value for making API operation for AmazonMQ.

Returns information about the specified broker.

// Example sending a request using DescribeBrokerRequest.
req := client.DescribeBrokerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker

func (*Client) DescribeConfigurationRequest added in v0.9.0

func (c *Client) DescribeConfigurationRequest(input *DescribeConfigurationInput) DescribeConfigurationRequest

DescribeConfigurationRequest returns a request value for making API operation for AmazonMQ.

Returns information about the specified configuration.

// Example sending a request using DescribeConfigurationRequest.
req := client.DescribeConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration

func (*Client) DescribeConfigurationRevisionRequest added in v0.9.0

func (c *Client) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) DescribeConfigurationRevisionRequest

DescribeConfigurationRevisionRequest returns a request value for making API operation for AmazonMQ.

Returns the specified configuration revision for the specified configuration.

// Example sending a request using DescribeConfigurationRevisionRequest.
req := client.DescribeConfigurationRevisionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevision

func (*Client) DescribeUserRequest added in v0.9.0

func (c *Client) DescribeUserRequest(input *DescribeUserInput) DescribeUserRequest

DescribeUserRequest returns a request value for making API operation for AmazonMQ.

Returns information about an ActiveMQ user.

// Example sending a request using DescribeUserRequest.
req := client.DescribeUserRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser

func (*Client) ListBrokersRequest added in v0.9.0

func (c *Client) ListBrokersRequest(input *ListBrokersInput) ListBrokersRequest

ListBrokersRequest returns a request value for making API operation for AmazonMQ.

Returns a list of all brokers.

// Example sending a request using ListBrokersRequest.
req := client.ListBrokersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokers

func (*Client) ListConfigurationRevisionsRequest added in v0.9.0

func (c *Client) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) ListConfigurationRevisionsRequest

ListConfigurationRevisionsRequest returns a request value for making API operation for AmazonMQ.

Returns a list of all revisions for the specified configuration.

// Example sending a request using ListConfigurationRevisionsRequest.
req := client.ListConfigurationRevisionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions

func (*Client) ListConfigurationsRequest added in v0.9.0

func (c *Client) ListConfigurationsRequest(input *ListConfigurationsInput) ListConfigurationsRequest

ListConfigurationsRequest returns a request value for making API operation for AmazonMQ.

Returns a list of all configurations.

// Example sending a request using ListConfigurationsRequest.
req := client.ListConfigurationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurations

func (*Client) ListTagsRequest added in v0.9.0

func (c *Client) ListTagsRequest(input *ListTagsInput) ListTagsRequest

ListTagsRequest returns a request value for making API operation for AmazonMQ.

Lists tags for a resource.

// Example sending a request using ListTagsRequest.
req := client.ListTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTags

func (*Client) ListUsersRequest added in v0.9.0

func (c *Client) ListUsersRequest(input *ListUsersInput) ListUsersRequest

ListUsersRequest returns a request value for making API operation for AmazonMQ.

Returns a list of all ActiveMQ users.

// Example sending a request using ListUsersRequest.
req := client.ListUsersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers

func (*Client) RebootBrokerRequest added in v0.9.0

func (c *Client) RebootBrokerRequest(input *RebootBrokerInput) RebootBrokerRequest

RebootBrokerRequest returns a request value for making API operation for AmazonMQ.

Reboots a broker. Note: This API is asynchronous.

// Example sending a request using RebootBrokerRequest.
req := client.RebootBrokerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBroker

func (*Client) UpdateBrokerRequest added in v0.9.0

func (c *Client) UpdateBrokerRequest(input *UpdateBrokerInput) UpdateBrokerRequest

UpdateBrokerRequest returns a request value for making API operation for AmazonMQ.

Adds a pending configuration change to a broker.

// Example sending a request using UpdateBrokerRequest.
req := client.UpdateBrokerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker

func (*Client) UpdateConfigurationRequest added in v0.9.0

func (c *Client) UpdateConfigurationRequest(input *UpdateConfigurationInput) UpdateConfigurationRequest

UpdateConfigurationRequest returns a request value for making API operation for AmazonMQ.

Updates the specified configuration.

// Example sending a request using UpdateConfigurationRequest.
req := client.UpdateConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfiguration

func (*Client) UpdateUserRequest added in v0.9.0

func (c *Client) UpdateUserRequest(input *UpdateUserInput) UpdateUserRequest

UpdateUserRequest returns a request value for making API operation for AmazonMQ.

Updates the information for an ActiveMQ user.

// Example sending a request using UpdateUserRequest.
req := client.UpdateUserRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser

type Configuration

type Configuration struct {

	// Required. The ARN of the configuration.
	Arn *string `locationName:"arn" type:"string"`

	// Required. The date and time of the configuration revision.
	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	// Required. The description of the configuration.
	Description *string `locationName:"description" type:"string"`

	// Required. The type of broker engine. Note: Currently, Amazon MQ supports
	// only ACTIVEMQ.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	// 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
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// Required. The unique ID that Amazon MQ generates for the configuration.
	Id *string `locationName:"id" type:"string"`

	// Required. The latest revision of the configuration.
	LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"`

	// Required. The name of the configuration. This value can contain only alphanumeric
	// characters, dashes, periods, underscores, and tildes (- . _ ~). This value
	// must be 1-150 characters long.
	Name *string `locationName:"name" type:"string"`

	// The list of all tags associated with this configuration.
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Returns information about all configurations.

func (Configuration) MarshalFields added in v0.3.0

func (s Configuration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Configuration) String

func (s Configuration) String() string

String returns the string representation

type ConfigurationId

type ConfigurationId struct {

	// Required. The unique ID that Amazon MQ generates for the configuration.
	Id *string `locationName:"id" type:"string"`

	// The revision number of the configuration.
	Revision *int64 `locationName:"revision" type:"integer"`
	// contains filtered or unexported fields
}

A list of information about the configuration.

func (ConfigurationId) MarshalFields added in v0.3.0

func (s ConfigurationId) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ConfigurationId) String

func (s ConfigurationId) String() string

String returns the string representation

type ConfigurationRevision

type ConfigurationRevision struct {

	// Required. The date and time of the configuration revision.
	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	// The description of the configuration revision.
	Description *string `locationName:"description" type:"string"`

	// Required. The revision number of the configuration.
	Revision *int64 `locationName:"revision" type:"integer"`
	// contains filtered or unexported fields
}

Returns information about the specified configuration revision.

func (ConfigurationRevision) MarshalFields added in v0.3.0

func (s ConfigurationRevision) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ConfigurationRevision) String

func (s ConfigurationRevision) String() string

String returns the string representation

type Configurations

type Configurations struct {

	// The current configuration of the broker.
	Current *ConfigurationId `locationName:"current" type:"structure"`

	// The history of configurations applied to the broker.
	History []ConfigurationId `locationName:"history" type:"list"`

	// The pending configuration of the broker.
	Pending *ConfigurationId `locationName:"pending" type:"structure"`
	// contains filtered or unexported fields
}

Broker configuration information

func (Configurations) MarshalFields added in v0.3.0

func (s Configurations) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Configurations) String

func (s Configurations) String() string

String returns the string representation

type CreateBrokerInput

type CreateBrokerInput struct {
	AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"`

	BrokerName *string `locationName:"brokerName" type:"string"`

	// A list of information about the configuration.
	Configuration *ConfigurationId `locationName:"configuration" type:"structure"`

	CreatorRequestId *string `locationName:"creatorRequestId" type:"string" idempotencyToken:"true"`

	// The deployment mode of the broker.
	DeploymentMode DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

	// Encryption options for the broker.
	EncryptionOptions *EncryptionOptions `locationName:"encryptionOptions" type:"structure"`

	// The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`

	// The list of information about logs to be enabled for the specified broker.
	Logs *Logs `locationName:"logs" type:"structure"`

	// The scheduled time period relative to UTC during which Amazon MQ begins to
	// apply pending updates or patches to the broker.
	MaintenanceWindowStartTime *WeeklyStartTime `locationName:"maintenanceWindowStartTime" type:"structure"`

	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	SecurityGroups []string `locationName:"securityGroups" type:"list"`

	// The storage type of the broker.
	StorageType BrokerStorageType `locationName:"storageType" type:"string" enum:"true"`

	SubnetIds []string `locationName:"subnetIds" type:"list"`

	Tags map[string]string `locationName:"tags" type:"map"`

	Users []User `locationName:"users" type:"list"`
	// contains filtered or unexported fields
}

func (CreateBrokerInput) MarshalFields added in v0.3.0

func (s CreateBrokerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBrokerInput) String

func (s CreateBrokerInput) String() string

String returns the string representation

func (*CreateBrokerInput) Validate added in v0.10.0

func (s *CreateBrokerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBrokerOutput

type CreateBrokerOutput struct {
	BrokerArn *string `locationName:"brokerArn" type:"string"`

	BrokerId *string `locationName:"brokerId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBrokerOutput) MarshalFields added in v0.3.0

func (s CreateBrokerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBrokerOutput) String

func (s CreateBrokerOutput) String() string

String returns the string representation

type CreateBrokerRequest

type CreateBrokerRequest struct {
	*aws.Request
	Input *CreateBrokerInput
	Copy  func(*CreateBrokerInput) CreateBrokerRequest
}

CreateBrokerRequest is the request type for the CreateBroker API operation.

func (CreateBrokerRequest) Send

Send marshals and sends the CreateBroker API request.

type CreateBrokerResponse added in v0.9.0

type CreateBrokerResponse struct {
	*CreateBrokerOutput
	// contains filtered or unexported fields
}

CreateBrokerResponse is the response type for the CreateBroker API operation.

func (*CreateBrokerResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateBrokerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBroker request.

type CreateConfigurationInput

type CreateConfigurationInput struct {

	// The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	Name *string `locationName:"name" type:"string"`

	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateConfigurationInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationInput) String

func (s CreateConfigurationInput) String() string

String returns the string representation

type CreateConfigurationOutput

type CreateConfigurationOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	Id *string `locationName:"id" type:"string"`

	// Returns information about the specified configuration revision.
	LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"`

	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

func (CreateConfigurationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationOutput) String

func (s CreateConfigurationOutput) String() string

String returns the string representation

type CreateConfigurationRequest

type CreateConfigurationRequest struct {
	*aws.Request
	Input *CreateConfigurationInput
	Copy  func(*CreateConfigurationInput) CreateConfigurationRequest
}

CreateConfigurationRequest is the request type for the CreateConfiguration API operation.

func (CreateConfigurationRequest) Send

Send marshals and sends the CreateConfiguration API request.

type CreateConfigurationResponse added in v0.9.0

type CreateConfigurationResponse struct {
	*CreateConfigurationOutput
	// contains filtered or unexported fields
}

CreateConfigurationResponse is the response type for the CreateConfiguration API operation.

func (*CreateConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateConfiguration request.

type CreateTagsInput added in v0.7.0

type CreateTagsInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (CreateTagsInput) MarshalFields added in v0.7.0

func (s CreateTagsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateTagsInput) String added in v0.7.0

func (s CreateTagsInput) String() string

String returns the string representation

func (*CreateTagsInput) Validate added in v0.7.0

func (s *CreateTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTagsOutput added in v0.7.0

type CreateTagsOutput struct {
	// contains filtered or unexported fields
}

func (CreateTagsOutput) MarshalFields added in v0.7.0

func (s CreateTagsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateTagsOutput) String added in v0.7.0

func (s CreateTagsOutput) String() string

String returns the string representation

type CreateTagsRequest added in v0.7.0

type CreateTagsRequest struct {
	*aws.Request
	Input *CreateTagsInput
	Copy  func(*CreateTagsInput) CreateTagsRequest
}

CreateTagsRequest is the request type for the CreateTags API operation.

func (CreateTagsRequest) Send added in v0.7.0

Send marshals and sends the CreateTags API request.

type CreateTagsResponse added in v0.9.0

type CreateTagsResponse struct {
	*CreateTagsOutput
	// contains filtered or unexported fields
}

CreateTagsResponse is the response type for the CreateTags API operation.

func (*CreateTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateTags request.

type CreateUserInput

type CreateUserInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"`

	Groups []string `locationName:"groups" type:"list"`

	Password *string `locationName:"password" type:"string"`

	// Username is a required field
	Username *string `location:"uri" locationName:"username" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateUserInput) MarshalFields added in v0.3.0

func (s CreateUserInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateUserInput) String

func (s CreateUserInput) String() string

String returns the string representation

func (*CreateUserInput) Validate

func (s *CreateUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserOutput

type CreateUserOutput struct {
	// contains filtered or unexported fields
}

func (CreateUserOutput) MarshalFields added in v0.3.0

func (s CreateUserOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateUserOutput) String

func (s CreateUserOutput) String() string

String returns the string representation

type CreateUserRequest

type CreateUserRequest struct {
	*aws.Request
	Input *CreateUserInput
	Copy  func(*CreateUserInput) CreateUserRequest
}

CreateUserRequest is the request type for the CreateUser API operation.

func (CreateUserRequest) Send

Send marshals and sends the CreateUser API request.

type CreateUserResponse added in v0.9.0

type CreateUserResponse struct {
	*CreateUserOutput
	// contains filtered or unexported fields
}

CreateUserResponse is the response type for the CreateUser API operation.

func (*CreateUserResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateUserResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateUser request.

type DayOfWeek

type DayOfWeek string
const (
	DayOfWeekMonday    DayOfWeek = "MONDAY"
	DayOfWeekTuesday   DayOfWeek = "TUESDAY"
	DayOfWeekWednesday DayOfWeek = "WEDNESDAY"
	DayOfWeekThursday  DayOfWeek = "THURSDAY"
	DayOfWeekFriday    DayOfWeek = "FRIDAY"
	DayOfWeekSaturday  DayOfWeek = "SATURDAY"
	DayOfWeekSunday    DayOfWeek = "SUNDAY"
)

Enum values for DayOfWeek

func (DayOfWeek) MarshalValue added in v0.3.0

func (enum DayOfWeek) MarshalValue() (string, error)

func (DayOfWeek) MarshalValueBuf added in v0.3.0

func (enum DayOfWeek) MarshalValueBuf(b []byte) ([]byte, error)

type DeleteBrokerInput

type DeleteBrokerInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBrokerInput) MarshalFields added in v0.3.0

func (s DeleteBrokerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBrokerInput) String

func (s DeleteBrokerInput) String() string

String returns the string representation

func (*DeleteBrokerInput) Validate

func (s *DeleteBrokerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBrokerOutput

type DeleteBrokerOutput struct {
	BrokerId *string `locationName:"brokerId" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBrokerOutput) MarshalFields added in v0.3.0

func (s DeleteBrokerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBrokerOutput) String

func (s DeleteBrokerOutput) String() string

String returns the string representation

type DeleteBrokerRequest

type DeleteBrokerRequest struct {
	*aws.Request
	Input *DeleteBrokerInput
	Copy  func(*DeleteBrokerInput) DeleteBrokerRequest
}

DeleteBrokerRequest is the request type for the DeleteBroker API operation.

func (DeleteBrokerRequest) Send

Send marshals and sends the DeleteBroker API request.

type DeleteBrokerResponse added in v0.9.0

type DeleteBrokerResponse struct {
	*DeleteBrokerOutput
	// contains filtered or unexported fields
}

DeleteBrokerResponse is the response type for the DeleteBroker API operation.

func (*DeleteBrokerResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteBrokerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBroker request.

type DeleteTagsInput added in v0.7.0

type DeleteTagsInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTagsInput) MarshalFields added in v0.7.0

func (s DeleteTagsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteTagsInput) String added in v0.7.0

func (s DeleteTagsInput) String() string

String returns the string representation

func (*DeleteTagsInput) Validate added in v0.7.0

func (s *DeleteTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTagsOutput added in v0.7.0

type DeleteTagsOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTagsOutput) MarshalFields added in v0.7.0

func (s DeleteTagsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteTagsOutput) String added in v0.7.0

func (s DeleteTagsOutput) String() string

String returns the string representation

type DeleteTagsRequest added in v0.7.0

type DeleteTagsRequest struct {
	*aws.Request
	Input *DeleteTagsInput
	Copy  func(*DeleteTagsInput) DeleteTagsRequest
}

DeleteTagsRequest is the request type for the DeleteTags API operation.

func (DeleteTagsRequest) Send added in v0.7.0

Send marshals and sends the DeleteTags API request.

type DeleteTagsResponse added in v0.9.0

type DeleteTagsResponse struct {
	*DeleteTagsOutput
	// contains filtered or unexported fields
}

DeleteTagsResponse is the response type for the DeleteTags API operation.

func (*DeleteTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteTags request.

type DeleteUserInput

type DeleteUserInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	// Username is a required field
	Username *string `location:"uri" locationName:"username" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteUserInput) MarshalFields added in v0.3.0

func (s DeleteUserInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteUserInput) String

func (s DeleteUserInput) String() string

String returns the string representation

func (*DeleteUserInput) Validate

func (s *DeleteUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserOutput

type DeleteUserOutput struct {
	// contains filtered or unexported fields
}

func (DeleteUserOutput) MarshalFields added in v0.3.0

func (s DeleteUserOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteUserOutput) String

func (s DeleteUserOutput) String() string

String returns the string representation

type DeleteUserRequest

type DeleteUserRequest struct {
	*aws.Request
	Input *DeleteUserInput
	Copy  func(*DeleteUserInput) DeleteUserRequest
}

DeleteUserRequest is the request type for the DeleteUser API operation.

func (DeleteUserRequest) Send

Send marshals and sends the DeleteUser API request.

type DeleteUserResponse added in v0.9.0

type DeleteUserResponse struct {
	*DeleteUserOutput
	// contains filtered or unexported fields
}

DeleteUserResponse is the response type for the DeleteUser API operation.

func (*DeleteUserResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteUserResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteUser request.

type DeploymentMode

type DeploymentMode string

The deployment mode of the broker.

const (
	DeploymentModeSingleInstance       DeploymentMode = "SINGLE_INSTANCE"
	DeploymentModeActiveStandbyMultiAz DeploymentMode = "ACTIVE_STANDBY_MULTI_AZ"
)

Enum values for DeploymentMode

func (DeploymentMode) MarshalValue added in v0.3.0

func (enum DeploymentMode) MarshalValue() (string, error)

func (DeploymentMode) MarshalValueBuf added in v0.3.0

func (enum DeploymentMode) MarshalValueBuf(b []byte) ([]byte, error)

type DescribeBrokerEngineTypesInput added in v0.8.0

type DescribeBrokerEngineTypesInput struct {
	EngineType *string `location:"querystring" locationName:"engineType" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBrokerEngineTypesInput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerEngineTypesInput) String added in v0.8.0

String returns the string representation

func (*DescribeBrokerEngineTypesInput) Validate added in v0.8.0

func (s *DescribeBrokerEngineTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBrokerEngineTypesOutput added in v0.8.0

type DescribeBrokerEngineTypesOutput struct {
	BrokerEngineTypes []BrokerEngineType `locationName:"brokerEngineTypes" type:"list"`

	MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBrokerEngineTypesOutput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerEngineTypesOutput) String added in v0.8.0

String returns the string representation

type DescribeBrokerEngineTypesRequest added in v0.8.0

type DescribeBrokerEngineTypesRequest struct {
	*aws.Request
	Input *DescribeBrokerEngineTypesInput
	Copy  func(*DescribeBrokerEngineTypesInput) DescribeBrokerEngineTypesRequest
}

DescribeBrokerEngineTypesRequest is the request type for the DescribeBrokerEngineTypes API operation.

func (DescribeBrokerEngineTypesRequest) Send added in v0.8.0

Send marshals and sends the DescribeBrokerEngineTypes API request.

type DescribeBrokerEngineTypesResponse added in v0.9.0

type DescribeBrokerEngineTypesResponse struct {
	*DescribeBrokerEngineTypesOutput
	// contains filtered or unexported fields
}

DescribeBrokerEngineTypesResponse is the response type for the DescribeBrokerEngineTypes API operation.

func (*DescribeBrokerEngineTypesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeBrokerEngineTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBrokerEngineTypes request.

type DescribeBrokerInput

type DescribeBrokerInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBrokerInput) MarshalFields added in v0.3.0

func (s DescribeBrokerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerInput) String

func (s DescribeBrokerInput) String() string

String returns the string representation

func (*DescribeBrokerInput) Validate

func (s *DescribeBrokerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBrokerInstanceOptionsInput added in v0.8.0

type DescribeBrokerInstanceOptionsInput struct {
	EngineType *string `location:"querystring" locationName:"engineType" type:"string"`

	HostInstanceType *string `location:"querystring" locationName:"hostInstanceType" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	StorageType *string `location:"querystring" locationName:"storageType" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBrokerInstanceOptionsInput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerInstanceOptionsInput) String added in v0.8.0

String returns the string representation

func (*DescribeBrokerInstanceOptionsInput) Validate added in v0.8.0

Validate inspects the fields of the type to determine if they are valid.

type DescribeBrokerInstanceOptionsOutput added in v0.8.0

type DescribeBrokerInstanceOptionsOutput struct {
	BrokerInstanceOptions []BrokerInstanceOption `locationName:"brokerInstanceOptions" type:"list"`

	MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeBrokerInstanceOptionsOutput) MarshalFields added in v0.8.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerInstanceOptionsOutput) String added in v0.8.0

String returns the string representation

type DescribeBrokerInstanceOptionsRequest added in v0.8.0

type DescribeBrokerInstanceOptionsRequest struct {
	*aws.Request
	Input *DescribeBrokerInstanceOptionsInput
	Copy  func(*DescribeBrokerInstanceOptionsInput) DescribeBrokerInstanceOptionsRequest
}

DescribeBrokerInstanceOptionsRequest is the request type for the DescribeBrokerInstanceOptions API operation.

func (DescribeBrokerInstanceOptionsRequest) Send added in v0.8.0

Send marshals and sends the DescribeBrokerInstanceOptions API request.

type DescribeBrokerInstanceOptionsResponse added in v0.9.0

type DescribeBrokerInstanceOptionsResponse struct {
	*DescribeBrokerInstanceOptionsOutput
	// contains filtered or unexported fields
}

DescribeBrokerInstanceOptionsResponse is the response type for the DescribeBrokerInstanceOptions API operation.

func (*DescribeBrokerInstanceOptionsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeBrokerInstanceOptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBrokerInstanceOptions request.

type DescribeBrokerOutput

type DescribeBrokerOutput struct {
	AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"`

	BrokerArn *string `locationName:"brokerArn" type:"string"`

	BrokerId *string `locationName:"brokerId" type:"string"`

	BrokerInstances []BrokerInstance `locationName:"brokerInstances" type:"list"`

	BrokerName *string `locationName:"brokerName" type:"string"`

	// The status of the broker.
	BrokerState BrokerState `locationName:"brokerState" type:"string" enum:"true"`

	// Broker configuration information
	Configurations *Configurations `locationName:"configurations" type:"structure"`

	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	// The deployment mode of the broker.
	DeploymentMode DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

	// Encryption options for the broker.
	EncryptionOptions *EncryptionOptions `locationName:"encryptionOptions" type:"structure"`

	// The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`

	// The list of information about logs currently enabled and pending to be deployed
	// for the specified broker.
	Logs *LogsSummary `locationName:"logs" type:"structure"`

	// The scheduled time period relative to UTC during which Amazon MQ begins to
	// apply pending updates or patches to the broker.
	MaintenanceWindowStartTime *WeeklyStartTime `locationName:"maintenanceWindowStartTime" type:"structure"`

	PendingEngineVersion *string `locationName:"pendingEngineVersion" type:"string"`

	PendingHostInstanceType *string `locationName:"pendingHostInstanceType" type:"string"`

	PendingSecurityGroups []string `locationName:"pendingSecurityGroups" type:"list"`

	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	SecurityGroups []string `locationName:"securityGroups" type:"list"`

	// The storage type of the broker.
	StorageType BrokerStorageType `locationName:"storageType" type:"string" enum:"true"`

	SubnetIds []string `locationName:"subnetIds" type:"list"`

	Tags map[string]string `locationName:"tags" type:"map"`

	Users []UserSummary `locationName:"users" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeBrokerOutput) MarshalFields added in v0.3.0

func (s DescribeBrokerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBrokerOutput) String

func (s DescribeBrokerOutput) String() string

String returns the string representation

type DescribeBrokerRequest

type DescribeBrokerRequest struct {
	*aws.Request
	Input *DescribeBrokerInput
	Copy  func(*DescribeBrokerInput) DescribeBrokerRequest
}

DescribeBrokerRequest is the request type for the DescribeBroker API operation.

func (DescribeBrokerRequest) Send

Send marshals and sends the DescribeBroker API request.

type DescribeBrokerResponse added in v0.9.0

type DescribeBrokerResponse struct {
	*DescribeBrokerOutput
	// contains filtered or unexported fields
}

DescribeBrokerResponse is the response type for the DescribeBroker API operation.

func (*DescribeBrokerResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeBrokerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBroker request.

type DescribeConfigurationInput

type DescribeConfigurationInput struct {

	// ConfigurationId is a required field
	ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeConfigurationInput) String

String returns the string representation

func (*DescribeConfigurationInput) Validate

func (s *DescribeConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeConfigurationOutput

type DescribeConfigurationOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	Description *string `locationName:"description" type:"string"`

	// The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ.
	EngineType EngineType `locationName:"engineType" type:"string" enum:"true"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	Id *string `locationName:"id" type:"string"`

	// Returns information about the specified configuration revision.
	LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"`

	Name *string `locationName:"name" type:"string"`

	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeConfigurationOutput) String

String returns the string representation

type DescribeConfigurationRequest

type DescribeConfigurationRequest struct {
	*aws.Request
	Input *DescribeConfigurationInput
	Copy  func(*DescribeConfigurationInput) DescribeConfigurationRequest
}

DescribeConfigurationRequest is the request type for the DescribeConfiguration API operation.

func (DescribeConfigurationRequest) Send

Send marshals and sends the DescribeConfiguration API request.

type DescribeConfigurationResponse added in v0.9.0

type DescribeConfigurationResponse struct {
	*DescribeConfigurationOutput
	// contains filtered or unexported fields
}

DescribeConfigurationResponse is the response type for the DescribeConfiguration API operation.

func (*DescribeConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeConfiguration request.

type DescribeConfigurationRevisionInput

type DescribeConfigurationRevisionInput struct {

	// ConfigurationId is a required field
	ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"`

	// ConfigurationRevision is a required field
	ConfigurationRevision *string `location:"uri" locationName:"configuration-revision" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationRevisionInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeConfigurationRevisionInput) String

String returns the string representation

func (*DescribeConfigurationRevisionInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeConfigurationRevisionOutput

type DescribeConfigurationRevisionOutput struct {
	ConfigurationId *string `locationName:"configurationId" type:"string"`

	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	Data *string `locationName:"data" type:"string"`

	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationRevisionOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeConfigurationRevisionOutput) String

String returns the string representation

type DescribeConfigurationRevisionRequest

type DescribeConfigurationRevisionRequest struct {
	*aws.Request
	Input *DescribeConfigurationRevisionInput
	Copy  func(*DescribeConfigurationRevisionInput) DescribeConfigurationRevisionRequest
}

DescribeConfigurationRevisionRequest is the request type for the DescribeConfigurationRevision API operation.

func (DescribeConfigurationRevisionRequest) Send

Send marshals and sends the DescribeConfigurationRevision API request.

type DescribeConfigurationRevisionResponse added in v0.9.0

type DescribeConfigurationRevisionResponse struct {
	*DescribeConfigurationRevisionOutput
	// contains filtered or unexported fields
}

DescribeConfigurationRevisionResponse is the response type for the DescribeConfigurationRevision API operation.

func (*DescribeConfigurationRevisionResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeConfigurationRevisionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeConfigurationRevision request.

type DescribeUserInput

type DescribeUserInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	// Username is a required field
	Username *string `location:"uri" locationName:"username" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeUserInput) MarshalFields added in v0.3.0

func (s DescribeUserInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeUserInput) String

func (s DescribeUserInput) String() string

String returns the string representation

func (*DescribeUserInput) Validate

func (s *DescribeUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeUserOutput

type DescribeUserOutput struct {
	BrokerId *string `locationName:"brokerId" type:"string"`

	ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"`

	Groups []string `locationName:"groups" type:"list"`

	// Returns information about the status of the changes pending for the ActiveMQ
	// user.
	Pending *UserPendingChanges `locationName:"pending" type:"structure"`

	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeUserOutput) MarshalFields added in v0.3.0

func (s DescribeUserOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeUserOutput) String

func (s DescribeUserOutput) String() string

String returns the string representation

type DescribeUserRequest

type DescribeUserRequest struct {
	*aws.Request
	Input *DescribeUserInput
	Copy  func(*DescribeUserInput) DescribeUserRequest
}

DescribeUserRequest is the request type for the DescribeUser API operation.

func (DescribeUserRequest) Send

Send marshals and sends the DescribeUser API request.

type DescribeUserResponse added in v0.9.0

type DescribeUserResponse struct {
	*DescribeUserOutput
	// contains filtered or unexported fields
}

DescribeUserResponse is the response type for the DescribeUser API operation.

func (*DescribeUserResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeUserResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeUser request.

type EncryptionOptions added in v0.10.0

type EncryptionOptions struct {

	// The customer master key (CMK) to use for the AWS Key Management Service (KMS).
	// This key is used to encrypt your data at rest. If not provided, Amazon MQ
	// will use a default CMK to encrypt your data.
	KmsKeyId *string `locationName:"kmsKeyId" type:"string"`

	// Enables the use of an AWS owned CMK using AWS Key Management Service (KMS).
	//
	// UseAwsOwnedKey is a required field
	UseAwsOwnedKey *bool `locationName:"useAwsOwnedKey" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

Encryption options for the broker.

func (EncryptionOptions) MarshalFields added in v0.10.0

func (s EncryptionOptions) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EncryptionOptions) String added in v0.10.0

func (s EncryptionOptions) String() string

String returns the string representation

func (*EncryptionOptions) Validate added in v0.10.0

func (s *EncryptionOptions) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EngineType

type EngineType string

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

const (
	EngineTypeActivemq EngineType = "ACTIVEMQ"
)

Enum values for EngineType

func (EngineType) MarshalValue added in v0.3.0

func (enum EngineType) MarshalValue() (string, error)

func (EngineType) MarshalValueBuf added in v0.3.0

func (enum EngineType) MarshalValueBuf(b []byte) ([]byte, error)

type EngineVersion added in v0.8.0

type EngineVersion struct {

	// Id for the version.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Id of the engine version.

func (EngineVersion) MarshalFields added in v0.8.0

func (s EngineVersion) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EngineVersion) String added in v0.8.0

func (s EngineVersion) String() string

String returns the string representation

type ListBrokersInput

type ListBrokersInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBrokersInput) MarshalFields added in v0.3.0

func (s ListBrokersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBrokersInput) String

func (s ListBrokersInput) String() string

String returns the string representation

func (*ListBrokersInput) Validate

func (s *ListBrokersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBrokersOutput

type ListBrokersOutput struct {
	BrokerSummaries []BrokerSummary `locationName:"brokerSummaries" type:"list"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBrokersOutput) MarshalFields added in v0.3.0

func (s ListBrokersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBrokersOutput) String

func (s ListBrokersOutput) String() string

String returns the string representation

type ListBrokersRequest

type ListBrokersRequest struct {
	*aws.Request
	Input *ListBrokersInput
	Copy  func(*ListBrokersInput) ListBrokersRequest
}

ListBrokersRequest is the request type for the ListBrokers API operation.

func (ListBrokersRequest) Send

Send marshals and sends the ListBrokers API request.

type ListBrokersResponse added in v0.9.0

type ListBrokersResponse struct {
	*ListBrokersOutput
	// contains filtered or unexported fields
}

ListBrokersResponse is the response type for the ListBrokers API operation.

func (*ListBrokersResponse) SDKResponseMetdata added in v0.9.0

func (r *ListBrokersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBrokers request.

type ListConfigurationRevisionsInput

type ListConfigurationRevisionsInput struct {

	// ConfigurationId is a required field
	ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationRevisionsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationRevisionsInput) String

String returns the string representation

func (*ListConfigurationRevisionsInput) Validate

func (s *ListConfigurationRevisionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListConfigurationRevisionsOutput

type ListConfigurationRevisionsOutput struct {
	ConfigurationId *string `locationName:"configurationId" type:"string"`

	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`

	Revisions []ConfigurationRevision `locationName:"revisions" type:"list"`
	// contains filtered or unexported fields
}

func (ListConfigurationRevisionsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationRevisionsOutput) String

String returns the string representation

type ListConfigurationRevisionsRequest

type ListConfigurationRevisionsRequest struct {
	*aws.Request
	Input *ListConfigurationRevisionsInput
	Copy  func(*ListConfigurationRevisionsInput) ListConfigurationRevisionsRequest
}

ListConfigurationRevisionsRequest is the request type for the ListConfigurationRevisions API operation.

func (ListConfigurationRevisionsRequest) Send

Send marshals and sends the ListConfigurationRevisions API request.

type ListConfigurationRevisionsResponse added in v0.9.0

type ListConfigurationRevisionsResponse struct {
	*ListConfigurationRevisionsOutput
	// contains filtered or unexported fields
}

ListConfigurationRevisionsResponse is the response type for the ListConfigurationRevisions API operation.

func (*ListConfigurationRevisionsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListConfigurationRevisionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListConfigurationRevisions request.

type ListConfigurationsInput

type ListConfigurationsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationsInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationsInput) String

func (s ListConfigurationsInput) String() string

String returns the string representation

func (*ListConfigurationsInput) Validate

func (s *ListConfigurationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListConfigurationsOutput

type ListConfigurationsOutput struct {
	Configurations []Configuration `locationName:"configurations" type:"list"`

	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationsOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationsOutput) String

func (s ListConfigurationsOutput) String() string

String returns the string representation

type ListConfigurationsRequest

type ListConfigurationsRequest struct {
	*aws.Request
	Input *ListConfigurationsInput
	Copy  func(*ListConfigurationsInput) ListConfigurationsRequest
}

ListConfigurationsRequest is the request type for the ListConfigurations API operation.

func (ListConfigurationsRequest) Send

Send marshals and sends the ListConfigurations API request.

type ListConfigurationsResponse added in v0.9.0

type ListConfigurationsResponse struct {
	*ListConfigurationsOutput
	// contains filtered or unexported fields
}

ListConfigurationsResponse is the response type for the ListConfigurations API operation.

func (*ListConfigurationsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListConfigurationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListConfigurations request.

type ListTagsInput added in v0.7.0

type ListTagsInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsInput) MarshalFields added in v0.7.0

func (s ListTagsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsInput) String added in v0.7.0

func (s ListTagsInput) String() string

String returns the string representation

func (*ListTagsInput) Validate added in v0.7.0

func (s *ListTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsOutput added in v0.7.0

type ListTagsOutput struct {
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsOutput) MarshalFields added in v0.7.0

func (s ListTagsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsOutput) String added in v0.7.0

func (s ListTagsOutput) String() string

String returns the string representation

type ListTagsRequest added in v0.7.0

type ListTagsRequest struct {
	*aws.Request
	Input *ListTagsInput
	Copy  func(*ListTagsInput) ListTagsRequest
}

ListTagsRequest is the request type for the ListTags API operation.

func (ListTagsRequest) Send added in v0.7.0

Send marshals and sends the ListTags API request.

type ListTagsResponse added in v0.9.0

type ListTagsResponse struct {
	*ListTagsOutput
	// contains filtered or unexported fields
}

ListTagsResponse is the response type for the ListTags API operation.

func (*ListTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTags request.

type ListUsersInput

type ListUsersInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListUsersInput) MarshalFields added in v0.3.0

func (s ListUsersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListUsersInput) String

func (s ListUsersInput) String() string

String returns the string representation

func (*ListUsersInput) Validate

func (s *ListUsersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListUsersOutput

type ListUsersOutput struct {
	BrokerId *string `locationName:"brokerId" type:"string"`

	MaxResults *int64 `locationName:"maxResults" min:"5" type:"integer"`

	NextToken *string `locationName:"nextToken" type:"string"`

	Users []UserSummary `locationName:"users" type:"list"`
	// contains filtered or unexported fields
}

func (ListUsersOutput) MarshalFields added in v0.3.0

func (s ListUsersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListUsersOutput) String

func (s ListUsersOutput) String() string

String returns the string representation

type ListUsersRequest

type ListUsersRequest struct {
	*aws.Request
	Input *ListUsersInput
	Copy  func(*ListUsersInput) ListUsersRequest
}

ListUsersRequest is the request type for the ListUsers API operation.

func (ListUsersRequest) Send

Send marshals and sends the ListUsers API request.

type ListUsersResponse added in v0.9.0

type ListUsersResponse struct {
	*ListUsersOutput
	// contains filtered or unexported fields
}

ListUsersResponse is the response type for the ListUsers API operation.

func (*ListUsersResponse) SDKResponseMetdata added in v0.9.0

func (r *ListUsersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListUsers request.

type Logs added in v0.5.0

type Logs struct {

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool `locationName:"audit" type:"boolean"`

	// Enables general logging.
	General *bool `locationName:"general" type:"boolean"`
	// contains filtered or unexported fields
}

The list of information about logs to be enabled for the specified broker.

func (Logs) MarshalFields added in v0.5.0

func (s Logs) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Logs) String added in v0.5.0

func (s Logs) String() string

String returns the string representation

type LogsSummary added in v0.5.0

type LogsSummary struct {

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool `locationName:"audit" type:"boolean"`

	// The location of the CloudWatch Logs log group where audit logs are sent.
	AuditLogGroup *string `locationName:"auditLogGroup" type:"string"`

	// Enables general logging.
	General *bool `locationName:"general" type:"boolean"`

	// The location of the CloudWatch Logs log group where general logs are sent.
	GeneralLogGroup *string `locationName:"generalLogGroup" type:"string"`

	// The list of information about logs pending to be deployed for the specified
	// broker.
	Pending *PendingLogs `locationName:"pending" type:"structure"`
	// contains filtered or unexported fields
}

The list of information about logs currently enabled and pending to be deployed for the specified broker.

func (LogsSummary) MarshalFields added in v0.5.0

func (s LogsSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogsSummary) String added in v0.5.0

func (s LogsSummary) String() string

String returns the string representation

type PendingLogs added in v0.5.0

type PendingLogs struct {

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool `locationName:"audit" type:"boolean"`

	// Enables general logging.
	General *bool `locationName:"general" type:"boolean"`
	// contains filtered or unexported fields
}

The list of information about logs to be enabled for the specified broker.

func (PendingLogs) MarshalFields added in v0.5.0

func (s PendingLogs) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PendingLogs) String added in v0.5.0

func (s PendingLogs) String() string

String returns the string representation

type RebootBrokerInput

type RebootBrokerInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RebootBrokerInput) MarshalFields added in v0.3.0

func (s RebootBrokerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RebootBrokerInput) String

func (s RebootBrokerInput) String() string

String returns the string representation

func (*RebootBrokerInput) Validate

func (s *RebootBrokerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootBrokerOutput

type RebootBrokerOutput struct {
	// contains filtered or unexported fields
}

func (RebootBrokerOutput) MarshalFields added in v0.3.0

func (s RebootBrokerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RebootBrokerOutput) String

func (s RebootBrokerOutput) String() string

String returns the string representation

type RebootBrokerRequest

type RebootBrokerRequest struct {
	*aws.Request
	Input *RebootBrokerInput
	Copy  func(*RebootBrokerInput) RebootBrokerRequest
}

RebootBrokerRequest is the request type for the RebootBroker API operation.

func (RebootBrokerRequest) Send

Send marshals and sends the RebootBroker API request.

type RebootBrokerResponse added in v0.9.0

type RebootBrokerResponse struct {
	*RebootBrokerOutput
	// contains filtered or unexported fields
}

RebootBrokerResponse is the response type for the RebootBroker API operation.

func (*RebootBrokerResponse) SDKResponseMetdata added in v0.9.0

func (r *RebootBrokerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebootBroker request.

type SanitizationWarning

type SanitizationWarning struct {

	// The name of the XML attribute that has been sanitized.
	AttributeName *string `locationName:"attributeName" type:"string"`

	// The name of the XML element that has been sanitized.
	ElementName *string `locationName:"elementName" type:"string"`

	// Required. The reason for which the XML elements or attributes were sanitized.
	Reason SanitizationWarningReason `locationName:"reason" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Returns information about the XML element or attribute that was sanitized in the configuration.

func (SanitizationWarning) MarshalFields added in v0.3.0

func (s SanitizationWarning) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SanitizationWarning) String

func (s SanitizationWarning) String() string

String returns the string representation

type SanitizationWarningReason

type SanitizationWarningReason string

The reason for which the XML elements or attributes were sanitized.

const (
	SanitizationWarningReasonDisallowedElementRemoved     SanitizationWarningReason = "DISALLOWED_ELEMENT_REMOVED"
	SanitizationWarningReasonDisallowedAttributeRemoved   SanitizationWarningReason = "DISALLOWED_ATTRIBUTE_REMOVED"
	SanitizationWarningReasonInvalidAttributeValueRemoved SanitizationWarningReason = "INVALID_ATTRIBUTE_VALUE_REMOVED"
)

Enum values for SanitizationWarningReason

func (SanitizationWarningReason) MarshalValue added in v0.3.0

func (enum SanitizationWarningReason) MarshalValue() (string, error)

func (SanitizationWarningReason) MarshalValueBuf added in v0.3.0

func (enum SanitizationWarningReason) MarshalValueBuf(b []byte) ([]byte, error)

type UpdateBrokerInput

type UpdateBrokerInput struct {
	AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"`

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	// A list of information about the configuration.
	Configuration *ConfigurationId `locationName:"configuration" type:"structure"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`

	// The list of information about logs to be enabled for the specified broker.
	Logs *Logs `locationName:"logs" type:"structure"`

	SecurityGroups []string `locationName:"securityGroups" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateBrokerInput) MarshalFields added in v0.3.0

func (s UpdateBrokerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBrokerInput) String

func (s UpdateBrokerInput) String() string

String returns the string representation

func (*UpdateBrokerInput) Validate

func (s *UpdateBrokerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateBrokerOutput

type UpdateBrokerOutput struct {
	AutoMinorVersionUpgrade *bool `locationName:"autoMinorVersionUpgrade" type:"boolean"`

	BrokerId *string `locationName:"brokerId" type:"string"`

	// A list of information about the configuration.
	Configuration *ConfigurationId `locationName:"configuration" type:"structure"`

	EngineVersion *string `locationName:"engineVersion" type:"string"`

	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`

	// The list of information about logs to be enabled for the specified broker.
	Logs *Logs `locationName:"logs" type:"structure"`

	SecurityGroups []string `locationName:"securityGroups" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateBrokerOutput) MarshalFields added in v0.3.0

func (s UpdateBrokerOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBrokerOutput) String

func (s UpdateBrokerOutput) String() string

String returns the string representation

type UpdateBrokerRequest

type UpdateBrokerRequest struct {
	*aws.Request
	Input *UpdateBrokerInput
	Copy  func(*UpdateBrokerInput) UpdateBrokerRequest
}

UpdateBrokerRequest is the request type for the UpdateBroker API operation.

func (UpdateBrokerRequest) Send

Send marshals and sends the UpdateBroker API request.

type UpdateBrokerResponse added in v0.9.0

type UpdateBrokerResponse struct {
	*UpdateBrokerOutput
	// contains filtered or unexported fields
}

UpdateBrokerResponse is the response type for the UpdateBroker API operation.

func (*UpdateBrokerResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateBrokerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateBroker request.

type UpdateConfigurationInput

type UpdateConfigurationInput struct {

	// ConfigurationId is a required field
	ConfigurationId *string `location:"uri" locationName:"configuration-id" type:"string" required:"true"`

	Data *string `locationName:"data" type:"string"`

	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationInput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationInput) String

func (s UpdateConfigurationInput) String() string

String returns the string representation

func (*UpdateConfigurationInput) Validate

func (s *UpdateConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConfigurationOutput

type UpdateConfigurationOutput struct {
	Arn *string `locationName:"arn" type:"string"`

	Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"iso8601"`

	Id *string `locationName:"id" type:"string"`

	// Returns information about the specified configuration revision.
	LatestRevision *ConfigurationRevision `locationName:"latestRevision" type:"structure"`

	Name *string `locationName:"name" type:"string"`

	Warnings []SanitizationWarning `locationName:"warnings" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationOutput) MarshalFields added in v0.3.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationOutput) String

func (s UpdateConfigurationOutput) String() string

String returns the string representation

type UpdateConfigurationRequest

type UpdateConfigurationRequest struct {
	*aws.Request
	Input *UpdateConfigurationInput
	Copy  func(*UpdateConfigurationInput) UpdateConfigurationRequest
}

UpdateConfigurationRequest is the request type for the UpdateConfiguration API operation.

func (UpdateConfigurationRequest) Send

Send marshals and sends the UpdateConfiguration API request.

type UpdateConfigurationResponse added in v0.9.0

type UpdateConfigurationResponse struct {
	*UpdateConfigurationOutput
	// contains filtered or unexported fields
}

UpdateConfigurationResponse is the response type for the UpdateConfiguration API operation.

func (*UpdateConfigurationResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateConfiguration request.

type UpdateUserInput

type UpdateUserInput struct {

	// BrokerId is a required field
	BrokerId *string `location:"uri" locationName:"broker-id" type:"string" required:"true"`

	ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"`

	Groups []string `locationName:"groups" type:"list"`

	Password *string `locationName:"password" type:"string"`

	// Username is a required field
	Username *string `location:"uri" locationName:"username" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateUserInput) MarshalFields added in v0.3.0

func (s UpdateUserInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateUserInput) String

func (s UpdateUserInput) String() string

String returns the string representation

func (*UpdateUserInput) Validate

func (s *UpdateUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateUserOutput

type UpdateUserOutput struct {
	// contains filtered or unexported fields
}

func (UpdateUserOutput) MarshalFields added in v0.3.0

func (s UpdateUserOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateUserOutput) String

func (s UpdateUserOutput) String() string

String returns the string representation

type UpdateUserRequest

type UpdateUserRequest struct {
	*aws.Request
	Input *UpdateUserInput
	Copy  func(*UpdateUserInput) UpdateUserRequest
}

UpdateUserRequest is the request type for the UpdateUser API operation.

func (UpdateUserRequest) Send

Send marshals and sends the UpdateUser API request.

type UpdateUserResponse added in v0.9.0

type UpdateUserResponse struct {
	*UpdateUserOutput
	// contains filtered or unexported fields
}

UpdateUserResponse is the response type for the UpdateUser API operation.

func (*UpdateUserResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateUserResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateUser request.

type User

type User struct {

	// Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
	ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"`

	// The list of groups (20 maximum) to which the ActiveMQ user belongs. This
	// value can contain only alphanumeric characters, dashes, periods, underscores,
	// and tildes (- . _ ~). This value must be 2-100 characters long.
	Groups []string `locationName:"groups" type:"list"`

	// Required. The password of the ActiveMQ user. This value must be at least
	// 12 characters long, must contain at least 4 unique characters, and must not
	// contain commas.
	Password *string `locationName:"password" type:"string"`

	// Required. The username of the ActiveMQ user. This value can contain only
	// alphanumeric characters, dashes, periods, underscores, and tildes (- . _
	// ~). This value must be 2-100 characters long.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

An ActiveMQ user associated with the broker.

func (User) MarshalFields added in v0.3.0

func (s User) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (User) String

func (s User) String() string

String returns the string representation

type UserPendingChanges

type UserPendingChanges struct {

	// Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
	ConsoleAccess *bool `locationName:"consoleAccess" type:"boolean"`

	// The list of groups (20 maximum) to which the ActiveMQ user belongs. This
	// value can contain only alphanumeric characters, dashes, periods, underscores,
	// and tildes (- . _ ~). This value must be 2-100 characters long.
	Groups []string `locationName:"groups" type:"list"`

	// Required. The type of change pending for the ActiveMQ user.
	PendingChange ChangeType `locationName:"pendingChange" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Returns information about the status of the changes pending for the ActiveMQ user.

func (UserPendingChanges) MarshalFields added in v0.3.0

func (s UserPendingChanges) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UserPendingChanges) String

func (s UserPendingChanges) String() string

String returns the string representation

type UserSummary

type UserSummary struct {

	// The type of change pending for the ActiveMQ user.
	PendingChange ChangeType `locationName:"pendingChange" type:"string" enum:"true"`

	// Required. The username of the ActiveMQ user. This value can contain only
	// alphanumeric characters, dashes, periods, underscores, and tildes (- . _
	// ~). This value must be 2-100 characters long.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

Returns a list of all ActiveMQ users.

func (UserSummary) MarshalFields added in v0.3.0

func (s UserSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UserSummary) String

func (s UserSummary) String() string

String returns the string representation

type WeeklyStartTime

type WeeklyStartTime struct {

	// Required. The day of the week.
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

	// Required. The time, in 24-hour format.
	TimeOfDay *string `locationName:"timeOfDay" type:"string"`

	// The time zone, UTC by default, in either the Country/City format, or the
	// UTC offset format.
	TimeZone *string `locationName:"timeZone" type:"string"`
	// contains filtered or unexported fields
}

The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker.

func (WeeklyStartTime) MarshalFields added in v0.3.0

func (s WeeklyStartTime) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (WeeklyStartTime) String

func (s WeeklyStartTime) String() string

String returns the string representation

Directories

Path Synopsis
Package mqiface provides an interface to enable mocking the AmazonMQ service client for testing your code.
Package mqiface provides an interface to enable mocking the AmazonMQ service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL