mq

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

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 contact 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 MQ 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 (
	// BrokerStateCreationInProgress is a BrokerState enum value
	BrokerStateCreationInProgress = "CREATION_IN_PROGRESS"

	// BrokerStateCreationFailed is a BrokerState enum value
	BrokerStateCreationFailed = "CREATION_FAILED"

	// BrokerStateDeletionInProgress is a BrokerState enum value
	BrokerStateDeletionInProgress = "DELETION_IN_PROGRESS"

	// BrokerStateRunning is a BrokerState enum value
	BrokerStateRunning = "RUNNING"

	// BrokerStateRebootInProgress is a BrokerState enum value
	BrokerStateRebootInProgress = "REBOOT_IN_PROGRESS"
)

The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS

View Source
const (
	// ChangeTypeCreate is a ChangeType enum value
	ChangeTypeCreate = "CREATE"

	// ChangeTypeUpdate is a ChangeType enum value
	ChangeTypeUpdate = "UPDATE"

	// ChangeTypeDelete is a ChangeType enum value
	ChangeTypeDelete = "DELETE"
)

The type of change pending for the ActiveMQ user. Possible values: CREATE, UPDATE, DELETE

View Source
const (
	// DayOfWeekMonday is a DayOfWeek enum value
	DayOfWeekMonday = "MONDAY"

	// DayOfWeekTuesday is a DayOfWeek enum value
	DayOfWeekTuesday = "TUESDAY"

	// DayOfWeekWednesday is a DayOfWeek enum value
	DayOfWeekWednesday = "WEDNESDAY"

	// DayOfWeekThursday is a DayOfWeek enum value
	DayOfWeekThursday = "THURSDAY"

	// DayOfWeekFriday is a DayOfWeek enum value
	DayOfWeekFriday = "FRIDAY"

	// DayOfWeekSaturday is a DayOfWeek enum value
	DayOfWeekSaturday = "SATURDAY"

	// DayOfWeekSunday is a DayOfWeek enum value
	DayOfWeekSunday = "SUNDAY"
)
View Source
const (
	// DeploymentModeSingleInstance is a DeploymentMode enum value
	DeploymentModeSingleInstance = "SINGLE_INSTANCE"

	// DeploymentModeActiveStandbyMultiAz is a DeploymentMode enum value
	DeploymentModeActiveStandbyMultiAz = "ACTIVE_STANDBY_MULTI_AZ"
)

The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability.

View Source
const (
	// SanitizationWarningReasonDisallowedElementRemoved is a SanitizationWarningReason enum value
	SanitizationWarningReasonDisallowedElementRemoved = "DISALLOWED_ELEMENT_REMOVED"

	// SanitizationWarningReasonDisallowedAttributeRemoved is a SanitizationWarningReason enum value
	SanitizationWarningReasonDisallowedAttributeRemoved = "DISALLOWED_ATTRIBUTE_REMOVED"

	// SanitizationWarningReasonInvalidAttributeValueRemoved is a SanitizationWarningReason enum value
	SanitizationWarningReasonInvalidAttributeValueRemoved = "INVALID_ATTRIBUTE_VALUE_REMOVED"
)

The reason for which the XML elements or attributes were sanitized. Possible values: DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED, INVALID_ATTRIBUTE_VALUE_REMOVED DISALLOWED_ELEMENT_REMOVED shows that the provided element isn't allowed and has been removed. DISALLOWED_ATTRIBUTE_REMOVED shows that the provided attribute isn't allowed and has been removed. INVALID_ATTRIBUTE_VALUE_REMOVED shows that the provided value for the attribute isn't allowed and has been removed.

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"
)
View Source
const (
	ServiceName = "mq"        // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
	ServiceID   = "mq"        // ServiceID is a unique identifer of a specific service
)

Service information constants

View Source
const (
	// EngineTypeActivemq is a EngineType enum value
	EngineTypeActivemq = "ACTIVEMQ"
)

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

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	// contains filtered or unexported fields
}

Returns information about all brokers.

func (BrokerInstance) GoString

func (s BrokerInstance) GoString() string

GoString returns the string representation

func (*BrokerInstance) SetConsoleURL

func (s *BrokerInstance) SetConsoleURL(v string) *BrokerInstance

SetConsoleURL sets the ConsoleURL field's value.

func (*BrokerInstance) SetEndpoints

func (s *BrokerInstance) SetEndpoints(v []*string) *BrokerInstance

SetEndpoints sets the Endpoints field's value.

func (BrokerInstance) String

func (s BrokerInstance) String() string

String returns the string representation

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. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED,
	// DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS
	BrokerState *string `locationName:"brokerState" type:"string" enum:"BrokerState"`

	// Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE,
	// ACTIVE_STANDBY_MULTI_AZ SINGLE_INSTANCE creates a single-instance broker
	// in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby
	// broker for high availability.
	DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"`

	// The broker's instance type. Possible values: mq.t2.micro, mq.m4.large
	HostInstanceType *string `locationName:"hostInstanceType" type:"string"`
	// contains filtered or unexported fields
}

The Amazon Resource Name (ARN) of the broker.

func (BrokerSummary) GoString

func (s BrokerSummary) GoString() string

GoString returns the string representation

func (*BrokerSummary) SetBrokerArn

func (s *BrokerSummary) SetBrokerArn(v string) *BrokerSummary

SetBrokerArn sets the BrokerArn field's value.

func (*BrokerSummary) SetBrokerId

func (s *BrokerSummary) SetBrokerId(v string) *BrokerSummary

SetBrokerId sets the BrokerId field's value.

func (*BrokerSummary) SetBrokerName

func (s *BrokerSummary) SetBrokerName(v string) *BrokerSummary

SetBrokerName sets the BrokerName field's value.

func (*BrokerSummary) SetBrokerState

func (s *BrokerSummary) SetBrokerState(v string) *BrokerSummary

SetBrokerState sets the BrokerState field's value.

func (*BrokerSummary) SetDeploymentMode

func (s *BrokerSummary) SetDeploymentMode(v string) *BrokerSummary

SetDeploymentMode sets the DeploymentMode field's value.

func (*BrokerSummary) SetHostInstanceType

func (s *BrokerSummary) SetHostInstanceType(v string) *BrokerSummary

SetHostInstanceType sets the HostInstanceType field's value.

func (BrokerSummary) String

func (s BrokerSummary) String() string

String returns the string representation

type Configuration

type Configuration struct {

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

	// 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 *string `locationName:"engineType" type:"string" enum:"EngineType"`

	// Required. The version of the broker engine.
	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"`
	// contains filtered or unexported fields
}

Returns information about all configurations.

func (Configuration) GoString

func (s Configuration) GoString() string

GoString returns the string representation

func (*Configuration) SetArn

func (s *Configuration) SetArn(v string) *Configuration

SetArn sets the Arn field's value.

func (*Configuration) SetDescription

func (s *Configuration) SetDescription(v string) *Configuration

SetDescription sets the Description field's value.

func (*Configuration) SetEngineType

func (s *Configuration) SetEngineType(v string) *Configuration

SetEngineType sets the EngineType field's value.

func (*Configuration) SetEngineVersion

func (s *Configuration) SetEngineVersion(v string) *Configuration

SetEngineVersion sets the EngineVersion field's value.

func (*Configuration) SetId

func (s *Configuration) SetId(v string) *Configuration

SetId sets the Id field's value.

func (*Configuration) SetLatestRevision

func (s *Configuration) SetLatestRevision(v *ConfigurationRevision) *Configuration

SetLatestRevision sets the LatestRevision field's value.

func (*Configuration) SetName

func (s *Configuration) SetName(v string) *Configuration

SetName sets the Name field's value.

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 Universally Unique Identifier (UUID) of the request.
	Revision *int64 `locationName:"revision" type:"integer"`
	// contains filtered or unexported fields
}

A list of information about the configuration.

func (ConfigurationId) GoString

func (s ConfigurationId) GoString() string

GoString returns the string representation

func (*ConfigurationId) SetId

func (s *ConfigurationId) SetId(v string) *ConfigurationId

SetId sets the Id field's value.

func (*ConfigurationId) SetRevision

func (s *ConfigurationId) SetRevision(v int64) *ConfigurationId

SetRevision sets the Revision field's value.

func (ConfigurationId) String

func (s ConfigurationId) String() string

String returns the string representation

type ConfigurationRevision

type ConfigurationRevision struct {

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

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

Returns information about the specified configuration revision.

func (ConfigurationRevision) GoString

func (s ConfigurationRevision) GoString() string

GoString returns the string representation

func (*ConfigurationRevision) SetDescription

func (s *ConfigurationRevision) SetDescription(v string) *ConfigurationRevision

SetDescription sets the Description field's value.

func (*ConfigurationRevision) SetRevision

SetRevision sets the Revision field's value.

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) GoString

func (s Configurations) GoString() string

GoString returns the string representation

func (*Configurations) SetCurrent

func (s *Configurations) SetCurrent(v *ConfigurationId) *Configurations

SetCurrent sets the Current field's value.

func (*Configurations) SetHistory

func (s *Configurations) SetHistory(v []*ConfigurationId) *Configurations

SetHistory sets the History field's value.

func (*Configurations) SetPending

func (s *Configurations) SetPending(v *ConfigurationId) *Configurations

SetPending sets the Pending field's value.

func (Configurations) String

func (s Configurations) String() string

String returns the string representation

type CreateBrokerRequest

type CreateBrokerRequest 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. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
	// SINGLE_INSTANCE creates a single-instance broker in a single Availability
	// Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability.
	DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"`

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

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

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

	// 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"`

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

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

func (CreateBrokerRequest) GoString

func (s CreateBrokerRequest) GoString() string

GoString returns the string representation

func (*CreateBrokerRequest) SetAutoMinorVersionUpgrade

func (s *CreateBrokerRequest) SetAutoMinorVersionUpgrade(v bool) *CreateBrokerRequest

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateBrokerRequest) SetBrokerName

func (s *CreateBrokerRequest) SetBrokerName(v string) *CreateBrokerRequest

SetBrokerName sets the BrokerName field's value.

func (*CreateBrokerRequest) SetConfiguration

func (s *CreateBrokerRequest) SetConfiguration(v *ConfigurationId) *CreateBrokerRequest

SetConfiguration sets the Configuration field's value.

func (*CreateBrokerRequest) SetCreatorRequestId

func (s *CreateBrokerRequest) SetCreatorRequestId(v string) *CreateBrokerRequest

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*CreateBrokerRequest) SetDeploymentMode

func (s *CreateBrokerRequest) SetDeploymentMode(v string) *CreateBrokerRequest

SetDeploymentMode sets the DeploymentMode field's value.

func (*CreateBrokerRequest) SetEngineType

func (s *CreateBrokerRequest) SetEngineType(v string) *CreateBrokerRequest

SetEngineType sets the EngineType field's value.

func (*CreateBrokerRequest) SetEngineVersion

func (s *CreateBrokerRequest) SetEngineVersion(v string) *CreateBrokerRequest

SetEngineVersion sets the EngineVersion field's value.

func (*CreateBrokerRequest) SetHostInstanceType

func (s *CreateBrokerRequest) SetHostInstanceType(v string) *CreateBrokerRequest

SetHostInstanceType sets the HostInstanceType field's value.

func (*CreateBrokerRequest) SetMaintenanceWindowStartTime

func (s *CreateBrokerRequest) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *CreateBrokerRequest

SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value.

func (*CreateBrokerRequest) SetPubliclyAccessible

func (s *CreateBrokerRequest) SetPubliclyAccessible(v bool) *CreateBrokerRequest

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*CreateBrokerRequest) SetSecurityGroups

func (s *CreateBrokerRequest) SetSecurityGroups(v []*string) *CreateBrokerRequest

SetSecurityGroups sets the SecurityGroups field's value.

func (*CreateBrokerRequest) SetSubnetIds

func (s *CreateBrokerRequest) SetSubnetIds(v []*string) *CreateBrokerRequest

SetSubnetIds sets the SubnetIds field's value.

func (*CreateBrokerRequest) SetUsers

func (s *CreateBrokerRequest) SetUsers(v []*User) *CreateBrokerRequest

SetUsers sets the Users field's value.

func (CreateBrokerRequest) String

func (s CreateBrokerRequest) String() string

String returns the string representation

type CreateBrokerResponse

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

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

func (CreateBrokerResponse) GoString

func (s CreateBrokerResponse) GoString() string

GoString returns the string representation

func (*CreateBrokerResponse) SetBrokerArn

func (s *CreateBrokerResponse) SetBrokerArn(v string) *CreateBrokerResponse

SetBrokerArn sets the BrokerArn field's value.

func (*CreateBrokerResponse) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (CreateBrokerResponse) String

func (s CreateBrokerResponse) String() string

String returns the string representation

type CreateConfigurationRequest

type CreateConfigurationRequest struct {

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

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

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

func (CreateConfigurationRequest) GoString

func (s CreateConfigurationRequest) GoString() string

GoString returns the string representation

func (*CreateConfigurationRequest) SetEngineType

SetEngineType sets the EngineType field's value.

func (*CreateConfigurationRequest) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*CreateConfigurationRequest) SetName

SetName sets the Name field's value.

func (CreateConfigurationRequest) String

String returns the string representation

type CreateConfigurationResponse

type CreateConfigurationResponse struct {
	Arn *string `locationName:"arn" 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"`
	// contains filtered or unexported fields
}

func (CreateConfigurationResponse) GoString

func (s CreateConfigurationResponse) GoString() string

GoString returns the string representation

func (*CreateConfigurationResponse) SetArn

SetArn sets the Arn field's value.

func (*CreateConfigurationResponse) SetId

SetId sets the Id field's value.

func (*CreateConfigurationResponse) SetLatestRevision

SetLatestRevision sets the LatestRevision field's value.

func (*CreateConfigurationResponse) SetName

SetName sets the Name field's value.

func (CreateConfigurationResponse) String

String returns the string representation

type CreateUserOutput

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

func (CreateUserOutput) GoString

func (s CreateUserOutput) GoString() string

GoString returns the string representation

func (CreateUserOutput) String

func (s CreateUserOutput) String() string

String returns the string representation

type CreateUserRequest

type CreateUserRequest 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 (CreateUserRequest) GoString

func (s CreateUserRequest) GoString() string

GoString returns the string representation

func (*CreateUserRequest) SetBrokerId

func (s *CreateUserRequest) SetBrokerId(v string) *CreateUserRequest

SetBrokerId sets the BrokerId field's value.

func (*CreateUserRequest) SetConsoleAccess

func (s *CreateUserRequest) SetConsoleAccess(v bool) *CreateUserRequest

SetConsoleAccess sets the ConsoleAccess field's value.

func (*CreateUserRequest) SetGroups

func (s *CreateUserRequest) SetGroups(v []*string) *CreateUserRequest

SetGroups sets the Groups field's value.

func (*CreateUserRequest) SetPassword

func (s *CreateUserRequest) SetPassword(v string) *CreateUserRequest

SetPassword sets the Password field's value.

func (*CreateUserRequest) SetUsername

func (s *CreateUserRequest) SetUsername(v string) *CreateUserRequest

SetUsername sets the Username field's value.

func (CreateUserRequest) String

func (s CreateUserRequest) String() string

String returns the string representation

func (*CreateUserRequest) Validate

func (s *CreateUserRequest) Validate() error

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

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) GoString

func (s DeleteBrokerInput) GoString() string

GoString returns the string representation

func (*DeleteBrokerInput) SetBrokerId

func (s *DeleteBrokerInput) SetBrokerId(v string) *DeleteBrokerInput

SetBrokerId sets the BrokerId field's value.

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 DeleteBrokerResponse

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

func (DeleteBrokerResponse) GoString

func (s DeleteBrokerResponse) GoString() string

GoString returns the string representation

func (*DeleteBrokerResponse) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (DeleteBrokerResponse) String

func (s DeleteBrokerResponse) String() string

String returns the string representation

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) GoString

func (s DeleteUserInput) GoString() string

GoString returns the string representation

func (*DeleteUserInput) SetBrokerId

func (s *DeleteUserInput) SetBrokerId(v string) *DeleteUserInput

SetBrokerId sets the BrokerId field's value.

func (*DeleteUserInput) SetUsername

func (s *DeleteUserInput) SetUsername(v string) *DeleteUserInput

SetUsername sets the Username field's value.

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) GoString

func (s DeleteUserOutput) GoString() string

GoString returns the string representation

func (DeleteUserOutput) String

func (s DeleteUserOutput) String() string

String returns the string representation

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) GoString

func (s DescribeBrokerInput) GoString() string

GoString returns the string representation

func (*DescribeBrokerInput) SetBrokerId

func (s *DescribeBrokerInput) SetBrokerId(v string) *DescribeBrokerInput

SetBrokerId sets the BrokerId field's value.

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 DescribeBrokerResponse

type DescribeBrokerResponse 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. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED,
	// DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS
	BrokerState *string `locationName:"brokerState" type:"string" enum:"BrokerState"`

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

	// The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
	// SINGLE_INSTANCE creates a single-instance broker in a single Availability
	// Zone. ACTIVE_STANDBY_MULTI_AZ creates an active/standby broker for high availability.
	DeploymentMode *string `locationName:"deploymentMode" type:"string" enum:"DeploymentMode"`

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

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

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

	// 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"`

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

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

func (DescribeBrokerResponse) GoString

func (s DescribeBrokerResponse) GoString() string

GoString returns the string representation

func (*DescribeBrokerResponse) SetAutoMinorVersionUpgrade

func (s *DescribeBrokerResponse) SetAutoMinorVersionUpgrade(v bool) *DescribeBrokerResponse

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*DescribeBrokerResponse) SetBrokerArn

SetBrokerArn sets the BrokerArn field's value.

func (*DescribeBrokerResponse) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (*DescribeBrokerResponse) SetBrokerInstances

func (s *DescribeBrokerResponse) SetBrokerInstances(v []*BrokerInstance) *DescribeBrokerResponse

SetBrokerInstances sets the BrokerInstances field's value.

func (*DescribeBrokerResponse) SetBrokerName

SetBrokerName sets the BrokerName field's value.

func (*DescribeBrokerResponse) SetBrokerState

SetBrokerState sets the BrokerState field's value.

func (*DescribeBrokerResponse) SetConfigurations

SetConfigurations sets the Configurations field's value.

func (*DescribeBrokerResponse) SetDeploymentMode

func (s *DescribeBrokerResponse) SetDeploymentMode(v string) *DescribeBrokerResponse

SetDeploymentMode sets the DeploymentMode field's value.

func (*DescribeBrokerResponse) SetEngineType

SetEngineType sets the EngineType field's value.

func (*DescribeBrokerResponse) SetEngineVersion

func (s *DescribeBrokerResponse) SetEngineVersion(v string) *DescribeBrokerResponse

SetEngineVersion sets the EngineVersion field's value.

func (*DescribeBrokerResponse) SetHostInstanceType

func (s *DescribeBrokerResponse) SetHostInstanceType(v string) *DescribeBrokerResponse

SetHostInstanceType sets the HostInstanceType field's value.

func (*DescribeBrokerResponse) SetMaintenanceWindowStartTime

func (s *DescribeBrokerResponse) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *DescribeBrokerResponse

SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value.

func (*DescribeBrokerResponse) SetPubliclyAccessible

func (s *DescribeBrokerResponse) SetPubliclyAccessible(v bool) *DescribeBrokerResponse

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*DescribeBrokerResponse) SetSecurityGroups

func (s *DescribeBrokerResponse) SetSecurityGroups(v []*string) *DescribeBrokerResponse

SetSecurityGroups sets the SecurityGroups field's value.

func (*DescribeBrokerResponse) SetSubnetIds

func (s *DescribeBrokerResponse) SetSubnetIds(v []*string) *DescribeBrokerResponse

SetSubnetIds sets the SubnetIds field's value.

func (*DescribeBrokerResponse) SetUsers

SetUsers sets the Users field's value.

func (DescribeBrokerResponse) String

func (s DescribeBrokerResponse) String() string

String returns the string representation

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) GoString

func (s DescribeConfigurationInput) GoString() string

GoString returns the string representation

func (*DescribeConfigurationInput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

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"`

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

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

	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"`
	// contains filtered or unexported fields
}

func (DescribeConfigurationOutput) GoString

func (s DescribeConfigurationOutput) GoString() string

GoString returns the string representation

func (*DescribeConfigurationOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeConfigurationOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeConfigurationOutput) SetEngineType

SetEngineType sets the EngineType field's value.

func (*DescribeConfigurationOutput) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*DescribeConfigurationOutput) SetId

SetId sets the Id field's value.

func (*DescribeConfigurationOutput) SetLatestRevision

SetLatestRevision sets the LatestRevision field's value.

func (*DescribeConfigurationOutput) SetName

SetName sets the Name field's value.

func (DescribeConfigurationOutput) String

String returns the string representation

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) GoString

GoString returns the string representation

func (*DescribeConfigurationRevisionInput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*DescribeConfigurationRevisionInput) SetConfigurationRevision

SetConfigurationRevision sets the ConfigurationRevision field's value.

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 DescribeConfigurationRevisionResponse

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

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

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

func (DescribeConfigurationRevisionResponse) GoString

GoString returns the string representation

func (*DescribeConfigurationRevisionResponse) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*DescribeConfigurationRevisionResponse) SetData

SetData sets the Data field's value.

func (*DescribeConfigurationRevisionResponse) SetDescription

SetDescription sets the Description field's value.

func (DescribeConfigurationRevisionResponse) String

String returns the string representation

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) GoString

func (s DescribeUserInput) GoString() string

GoString returns the string representation

func (*DescribeUserInput) SetBrokerId

func (s *DescribeUserInput) SetBrokerId(v string) *DescribeUserInput

SetBrokerId sets the BrokerId field's value.

func (*DescribeUserInput) SetUsername

func (s *DescribeUserInput) SetUsername(v string) *DescribeUserInput

SetUsername sets the Username field's value.

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 DescribeUserResponse

type DescribeUserResponse 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 (DescribeUserResponse) GoString

func (s DescribeUserResponse) GoString() string

GoString returns the string representation

func (*DescribeUserResponse) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (*DescribeUserResponse) SetConsoleAccess

func (s *DescribeUserResponse) SetConsoleAccess(v bool) *DescribeUserResponse

SetConsoleAccess sets the ConsoleAccess field's value.

func (*DescribeUserResponse) SetGroups

func (s *DescribeUserResponse) SetGroups(v []*string) *DescribeUserResponse

SetGroups sets the Groups field's value.

func (*DescribeUserResponse) SetPending

SetPending sets the Pending field's value.

func (*DescribeUserResponse) SetUsername

SetUsername sets the Username field's value.

func (DescribeUserResponse) String

func (s DescribeUserResponse) 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) GoString

func (s ListBrokersInput) GoString() string

GoString returns the string representation

func (*ListBrokersInput) SetMaxResults

func (s *ListBrokersInput) SetMaxResults(v int64) *ListBrokersInput

SetMaxResults sets the MaxResults field's value.

func (*ListBrokersInput) SetNextToken

func (s *ListBrokersInput) SetNextToken(v string) *ListBrokersInput

SetNextToken sets the NextToken field's value.

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 ListBrokersResponse

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

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

func (ListBrokersResponse) GoString

func (s ListBrokersResponse) GoString() string

GoString returns the string representation

func (*ListBrokersResponse) SetBrokerSummaries

func (s *ListBrokersResponse) SetBrokerSummaries(v []*BrokerSummary) *ListBrokersResponse

SetBrokerSummaries sets the BrokerSummaries field's value.

func (*ListBrokersResponse) SetNextToken

func (s *ListBrokersResponse) SetNextToken(v string) *ListBrokersResponse

SetNextToken sets the NextToken field's value.

func (ListBrokersResponse) String

func (s ListBrokersResponse) String() string

String returns the string representation

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) GoString

GoString returns the string representation

func (*ListConfigurationRevisionsInput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*ListConfigurationRevisionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationRevisionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

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 ListConfigurationRevisionsResponse

type ListConfigurationRevisionsResponse 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 (ListConfigurationRevisionsResponse) GoString

GoString returns the string representation

func (*ListConfigurationRevisionsResponse) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*ListConfigurationRevisionsResponse) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationRevisionsResponse) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListConfigurationRevisionsResponse) SetRevisions

SetRevisions sets the Revisions field's value.

func (ListConfigurationRevisionsResponse) String

String returns the string representation

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) GoString

func (s ListConfigurationsInput) GoString() string

GoString returns the string representation

func (*ListConfigurationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

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 ListConfigurationsResponse

type ListConfigurationsResponse 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 (ListConfigurationsResponse) GoString

func (s ListConfigurationsResponse) GoString() string

GoString returns the string representation

func (*ListConfigurationsResponse) SetConfigurations

SetConfigurations sets the Configurations field's value.

func (*ListConfigurationsResponse) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationsResponse) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListConfigurationsResponse) String

String returns the string representation

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) GoString

func (s ListUsersInput) GoString() string

GoString returns the string representation

func (*ListUsersInput) SetBrokerId

func (s *ListUsersInput) SetBrokerId(v string) *ListUsersInput

SetBrokerId sets the BrokerId field's value.

func (*ListUsersInput) SetMaxResults

func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput

SetMaxResults sets the MaxResults field's value.

func (*ListUsersInput) SetNextToken

func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput

SetNextToken sets the NextToken field's value.

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 ListUsersResponse

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

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

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

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

func (ListUsersResponse) GoString

func (s ListUsersResponse) GoString() string

GoString returns the string representation

func (*ListUsersResponse) SetBrokerId

func (s *ListUsersResponse) SetBrokerId(v string) *ListUsersResponse

SetBrokerId sets the BrokerId field's value.

func (*ListUsersResponse) SetMaxResults

func (s *ListUsersResponse) SetMaxResults(v int64) *ListUsersResponse

SetMaxResults sets the MaxResults field's value.

func (*ListUsersResponse) SetNextToken

func (s *ListUsersResponse) SetNextToken(v string) *ListUsersResponse

SetNextToken sets the NextToken field's value.

func (*ListUsersResponse) SetUsers

func (s *ListUsersResponse) SetUsers(v []*UserSummary) *ListUsersResponse

SetUsers sets the Users field's value.

func (ListUsersResponse) String

func (s ListUsersResponse) String() string

String returns the string representation

type MQ

type MQ struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *MQ

New creates a new instance of the MQ client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a MQ client from just a session.
svc := mq.New(mySession)

// Create a MQ client with additional configuration
svc := mq.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*MQ) CreateBroker

func (c *MQ) CreateBroker(input *CreateBrokerRequest) (*CreateBrokerResponse, error)

CreateBroker API operation for AmazonMQ.

Creates a broker. Note: This API is asynchronous.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation CreateBroker for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeUnauthorizedException "UnauthorizedException" Returns information about an error.

  • ErrCodeConflictException "ConflictException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) CreateBrokerRequest

func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Request, output *CreateBrokerResponse)

CreateBrokerRequest generates a "aws/request.Request" representing the client's request for the CreateBroker operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBroker for more information on using the CreateBroker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBrokerRequest method.
req, resp := client.CreateBrokerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) CreateBrokerWithContext

func (c *MQ) CreateBrokerWithContext(ctx aws.Context, input *CreateBrokerRequest, opts ...request.Option) (*CreateBrokerResponse, error)

CreateBrokerWithContext is the same as CreateBroker with the addition of the ability to pass a context and additional request options.

See CreateBroker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) CreateConfiguration

func (c *MQ) CreateConfiguration(input *CreateConfigurationRequest) (*CreateConfigurationResponse, error)

CreateConfiguration API operation for AmazonMQ.

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation CreateConfiguration for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeConflictException "ConflictException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) CreateConfigurationRequest

func (c *MQ) CreateConfigurationRequest(input *CreateConfigurationRequest) (req *request.Request, output *CreateConfigurationResponse)

CreateConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConfiguration for more information on using the CreateConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConfigurationRequest method.
req, resp := client.CreateConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) CreateConfigurationWithContext

func (c *MQ) CreateConfigurationWithContext(ctx aws.Context, input *CreateConfigurationRequest, opts ...request.Option) (*CreateConfigurationResponse, error)

CreateConfigurationWithContext is the same as CreateConfiguration with the addition of the ability to pass a context and additional request options.

See CreateConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) CreateUser

func (c *MQ) CreateUser(input *CreateUserRequest) (*CreateUserOutput, error)

CreateUser API operation for AmazonMQ.

Creates an ActiveMQ user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation CreateUser for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeConflictException "ConflictException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) CreateUserRequest

func (c *MQ) CreateUserRequest(input *CreateUserRequest) (req *request.Request, output *CreateUserOutput)

CreateUserRequest generates a "aws/request.Request" representing the client's request for the CreateUser operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUser for more information on using the CreateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUserRequest method.
req, resp := client.CreateUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) CreateUserWithContext

func (c *MQ) CreateUserWithContext(ctx aws.Context, input *CreateUserRequest, opts ...request.Option) (*CreateUserOutput, error)

CreateUserWithContext is the same as CreateUser with the addition of the ability to pass a context and additional request options.

See CreateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DeleteBroker

func (c *MQ) DeleteBroker(input *DeleteBrokerInput) (*DeleteBrokerResponse, error)

DeleteBroker API operation for AmazonMQ.

Deletes a broker. Note: This API is asynchronous.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DeleteBroker for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DeleteBrokerRequest

func (c *MQ) DeleteBrokerRequest(input *DeleteBrokerInput) (req *request.Request, output *DeleteBrokerResponse)

DeleteBrokerRequest generates a "aws/request.Request" representing the client's request for the DeleteBroker operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBroker for more information on using the DeleteBroker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBrokerRequest method.
req, resp := client.DeleteBrokerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DeleteBrokerWithContext

func (c *MQ) DeleteBrokerWithContext(ctx aws.Context, input *DeleteBrokerInput, opts ...request.Option) (*DeleteBrokerResponse, error)

DeleteBrokerWithContext is the same as DeleteBroker with the addition of the ability to pass a context and additional request options.

See DeleteBroker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DeleteUser

func (c *MQ) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)

DeleteUser API operation for AmazonMQ.

Deletes an ActiveMQ user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DeleteUser for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DeleteUserRequest

func (c *MQ) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)

DeleteUserRequest generates a "aws/request.Request" representing the client's request for the DeleteUser operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUser for more information on using the DeleteUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUserRequest method.
req, resp := client.DeleteUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DeleteUserWithContext

func (c *MQ) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)

DeleteUserWithContext is the same as DeleteUser with the addition of the ability to pass a context and additional request options.

See DeleteUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DescribeBroker

func (c *MQ) DescribeBroker(input *DescribeBrokerInput) (*DescribeBrokerResponse, error)

DescribeBroker API operation for AmazonMQ.

Returns information about the specified broker.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DescribeBroker for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DescribeBrokerRequest

func (c *MQ) DescribeBrokerRequest(input *DescribeBrokerInput) (req *request.Request, output *DescribeBrokerResponse)

DescribeBrokerRequest generates a "aws/request.Request" representing the client's request for the DescribeBroker operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeBroker for more information on using the DescribeBroker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeBrokerRequest method.
req, resp := client.DescribeBrokerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DescribeBrokerWithContext

func (c *MQ) DescribeBrokerWithContext(ctx aws.Context, input *DescribeBrokerInput, opts ...request.Option) (*DescribeBrokerResponse, error)

DescribeBrokerWithContext is the same as DescribeBroker with the addition of the ability to pass a context and additional request options.

See DescribeBroker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DescribeConfiguration

func (c *MQ) DescribeConfiguration(input *DescribeConfigurationInput) (*DescribeConfigurationOutput, error)

DescribeConfiguration API operation for AmazonMQ.

Returns information about the specified configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DescribeConfiguration for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DescribeConfigurationRequest

func (c *MQ) DescribeConfigurationRequest(input *DescribeConfigurationInput) (req *request.Request, output *DescribeConfigurationOutput)

DescribeConfigurationRequest generates a "aws/request.Request" representing the client's request for the DescribeConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfiguration for more information on using the DescribeConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationRequest method.
req, resp := client.DescribeConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DescribeConfigurationRevision

func (c *MQ) DescribeConfigurationRevision(input *DescribeConfigurationRevisionInput) (*DescribeConfigurationRevisionResponse, error)

DescribeConfigurationRevision API operation for AmazonMQ.

Returns the specified configuration revision for the specified configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DescribeConfigurationRevision for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DescribeConfigurationRevisionRequest

func (c *MQ) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) (req *request.Request, output *DescribeConfigurationRevisionResponse)

DescribeConfigurationRevisionRequest generates a "aws/request.Request" representing the client's request for the DescribeConfigurationRevision operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConfigurationRevision for more information on using the DescribeConfigurationRevision API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConfigurationRevisionRequest method.
req, resp := client.DescribeConfigurationRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DescribeConfigurationRevisionWithContext

func (c *MQ) DescribeConfigurationRevisionWithContext(ctx aws.Context, input *DescribeConfigurationRevisionInput, opts ...request.Option) (*DescribeConfigurationRevisionResponse, error)

DescribeConfigurationRevisionWithContext is the same as DescribeConfigurationRevision with the addition of the ability to pass a context and additional request options.

See DescribeConfigurationRevision for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DescribeConfigurationWithContext

func (c *MQ) DescribeConfigurationWithContext(ctx aws.Context, input *DescribeConfigurationInput, opts ...request.Option) (*DescribeConfigurationOutput, error)

DescribeConfigurationWithContext is the same as DescribeConfiguration with the addition of the ability to pass a context and additional request options.

See DescribeConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) DescribeUser

func (c *MQ) DescribeUser(input *DescribeUserInput) (*DescribeUserResponse, error)

DescribeUser API operation for AmazonMQ.

Returns information about an ActiveMQ user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation DescribeUser for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) DescribeUserRequest

func (c *MQ) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserResponse)

DescribeUserRequest generates a "aws/request.Request" representing the client's request for the DescribeUser operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeUser for more information on using the DescribeUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeUserRequest method.
req, resp := client.DescribeUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) DescribeUserWithContext

func (c *MQ) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserResponse, error)

DescribeUserWithContext is the same as DescribeUser with the addition of the ability to pass a context and additional request options.

See DescribeUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) ListBrokers

func (c *MQ) ListBrokers(input *ListBrokersInput) (*ListBrokersResponse, error)

ListBrokers API operation for AmazonMQ.

Returns a list of all brokers.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation ListBrokers for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) ListBrokersRequest

func (c *MQ) ListBrokersRequest(input *ListBrokersInput) (req *request.Request, output *ListBrokersResponse)

ListBrokersRequest generates a "aws/request.Request" representing the client's request for the ListBrokers operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBrokers for more information on using the ListBrokers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBrokersRequest method.
req, resp := client.ListBrokersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) ListBrokersWithContext

func (c *MQ) ListBrokersWithContext(ctx aws.Context, input *ListBrokersInput, opts ...request.Option) (*ListBrokersResponse, error)

ListBrokersWithContext is the same as ListBrokers with the addition of the ability to pass a context and additional request options.

See ListBrokers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) ListConfigurationRevisions

func (c *MQ) ListConfigurationRevisions(input *ListConfigurationRevisionsInput) (*ListConfigurationRevisionsResponse, error)

ListConfigurationRevisions API operation for AmazonMQ.

Returns a list of all revisions for the specified configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation ListConfigurationRevisions for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) ListConfigurationRevisionsRequest

func (c *MQ) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) (req *request.Request, output *ListConfigurationRevisionsResponse)

ListConfigurationRevisionsRequest generates a "aws/request.Request" representing the client's request for the ListConfigurationRevisions operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListConfigurationRevisions for more information on using the ListConfigurationRevisions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListConfigurationRevisionsRequest method.
req, resp := client.ListConfigurationRevisionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) ListConfigurationRevisionsWithContext

func (c *MQ) ListConfigurationRevisionsWithContext(ctx aws.Context, input *ListConfigurationRevisionsInput, opts ...request.Option) (*ListConfigurationRevisionsResponse, error)

ListConfigurationRevisionsWithContext is the same as ListConfigurationRevisions with the addition of the ability to pass a context and additional request options.

See ListConfigurationRevisions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) ListConfigurations

func (c *MQ) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsResponse, error)

ListConfigurations API operation for AmazonMQ.

Returns a list of all configurations.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation ListConfigurations for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) ListConfigurationsRequest

func (c *MQ) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsResponse)

ListConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListConfigurations for more information on using the ListConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListConfigurationsRequest method.
req, resp := client.ListConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) ListConfigurationsWithContext

func (c *MQ) ListConfigurationsWithContext(ctx aws.Context, input *ListConfigurationsInput, opts ...request.Option) (*ListConfigurationsResponse, error)

ListConfigurationsWithContext is the same as ListConfigurations with the addition of the ability to pass a context and additional request options.

See ListConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) ListUsers

func (c *MQ) ListUsers(input *ListUsersInput) (*ListUsersResponse, error)

ListUsers API operation for AmazonMQ.

Returns a list of all ActiveMQ users.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation ListUsers for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) ListUsersRequest

func (c *MQ) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersResponse)

ListUsersRequest generates a "aws/request.Request" representing the client's request for the ListUsers operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListUsers for more information on using the ListUsers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListUsersRequest method.
req, resp := client.ListUsersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) ListUsersWithContext

func (c *MQ) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersResponse, error)

ListUsersWithContext is the same as ListUsers with the addition of the ability to pass a context and additional request options.

See ListUsers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) RebootBroker

func (c *MQ) RebootBroker(input *RebootBrokerInput) (*RebootBrokerOutput, error)

RebootBroker API operation for AmazonMQ.

Reboots a broker. Note: This API is asynchronous.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation RebootBroker for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) RebootBrokerRequest

func (c *MQ) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request, output *RebootBrokerOutput)

RebootBrokerRequest generates a "aws/request.Request" representing the client's request for the RebootBroker operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RebootBroker for more information on using the RebootBroker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RebootBrokerRequest method.
req, resp := client.RebootBrokerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) RebootBrokerWithContext

func (c *MQ) RebootBrokerWithContext(ctx aws.Context, input *RebootBrokerInput, opts ...request.Option) (*RebootBrokerOutput, error)

RebootBrokerWithContext is the same as RebootBroker with the addition of the ability to pass a context and additional request options.

See RebootBroker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) UpdateBroker

func (c *MQ) UpdateBroker(input *UpdateBrokerRequest) (*UpdateBrokerResponse, error)

UpdateBroker API operation for AmazonMQ.

Adds a pending configuration change to a broker.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation UpdateBroker for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) UpdateBrokerRequest

func (c *MQ) UpdateBrokerRequest(input *UpdateBrokerRequest) (req *request.Request, output *UpdateBrokerResponse)

UpdateBrokerRequest generates a "aws/request.Request" representing the client's request for the UpdateBroker operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateBroker for more information on using the UpdateBroker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateBrokerRequest method.
req, resp := client.UpdateBrokerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) UpdateBrokerWithContext

func (c *MQ) UpdateBrokerWithContext(ctx aws.Context, input *UpdateBrokerRequest, opts ...request.Option) (*UpdateBrokerResponse, error)

UpdateBrokerWithContext is the same as UpdateBroker with the addition of the ability to pass a context and additional request options.

See UpdateBroker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) UpdateConfiguration

func (c *MQ) UpdateConfiguration(input *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error)

UpdateConfiguration API operation for AmazonMQ.

Updates the specified configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation UpdateConfiguration for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeConflictException "ConflictException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) UpdateConfigurationRequest

func (c *MQ) UpdateConfigurationRequest(input *UpdateConfigurationRequest) (req *request.Request, output *UpdateConfigurationResponse)

UpdateConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateConfiguration for more information on using the UpdateConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateConfigurationRequest method.
req, resp := client.UpdateConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) UpdateConfigurationWithContext

func (c *MQ) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationRequest, opts ...request.Option) (*UpdateConfigurationResponse, error)

UpdateConfigurationWithContext is the same as UpdateConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*MQ) UpdateUser

func (c *MQ) UpdateUser(input *UpdateUserRequest) (*UpdateUserOutput, error)

UpdateUser API operation for AmazonMQ.

Updates the information for an ActiveMQ user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AmazonMQ's API operation UpdateUser for usage and error information.

Returned Error Codes:

  • ErrCodeNotFoundException "NotFoundException" Returns information about an error.

  • ErrCodeBadRequestException "BadRequestException" Returns information about an error.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Returns information about an error.

  • ErrCodeConflictException "ConflictException" Returns information about an error.

  • ErrCodeForbiddenException "ForbiddenException" Returns information about an error.

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

func (*MQ) UpdateUserRequest

func (c *MQ) UpdateUserRequest(input *UpdateUserRequest) (req *request.Request, output *UpdateUserOutput)

UpdateUserRequest generates a "aws/request.Request" representing the client's request for the UpdateUser operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateUser for more information on using the UpdateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateUserRequest method.
req, resp := client.UpdateUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*MQ) UpdateUserWithContext

func (c *MQ) UpdateUserWithContext(ctx aws.Context, input *UpdateUserRequest, opts ...request.Option) (*UpdateUserOutput, error)

UpdateUserWithContext is the same as UpdateUser with the addition of the ability to pass a context and additional request options.

See UpdateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

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) GoString

func (s RebootBrokerInput) GoString() string

GoString returns the string representation

func (*RebootBrokerInput) SetBrokerId

func (s *RebootBrokerInput) SetBrokerId(v string) *RebootBrokerInput

SetBrokerId sets the BrokerId field's value.

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) GoString

func (s RebootBrokerOutput) GoString() string

GoString returns the string representation

func (RebootBrokerOutput) String

func (s RebootBrokerOutput) String() string

String returns the string representation

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.
	// Possible values: DISALLOWED_ELEMENT_REMOVED, DISALLOWED_ATTRIBUTE_REMOVED,
	// INVALID_ATTRIBUTE_VALUE_REMOVED DISALLOWED_ELEMENT_REMOVED shows that the
	// provided element isn't allowed and has been removed. DISALLOWED_ATTRIBUTE_REMOVED
	// shows that the provided attribute isn't allowed and has been removed. INVALID_ATTRIBUTE_VALUE_REMOVED
	// shows that the provided value for the attribute isn't allowed and has been
	// removed.
	Reason *string `locationName:"reason" type:"string" enum:"SanitizationWarningReason"`
	// contains filtered or unexported fields
}

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

func (SanitizationWarning) GoString

func (s SanitizationWarning) GoString() string

GoString returns the string representation

func (*SanitizationWarning) SetAttributeName

func (s *SanitizationWarning) SetAttributeName(v string) *SanitizationWarning

SetAttributeName sets the AttributeName field's value.

func (*SanitizationWarning) SetElementName

func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning

SetElementName sets the ElementName field's value.

func (*SanitizationWarning) SetReason

SetReason sets the Reason field's value.

func (SanitizationWarning) String

func (s SanitizationWarning) String() string

String returns the string representation

type UpdateBrokerRequest

type UpdateBrokerRequest struct {

	// 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"`
	// contains filtered or unexported fields
}

func (UpdateBrokerRequest) GoString

func (s UpdateBrokerRequest) GoString() string

GoString returns the string representation

func (*UpdateBrokerRequest) SetBrokerId

func (s *UpdateBrokerRequest) SetBrokerId(v string) *UpdateBrokerRequest

SetBrokerId sets the BrokerId field's value.

func (*UpdateBrokerRequest) SetConfiguration

func (s *UpdateBrokerRequest) SetConfiguration(v *ConfigurationId) *UpdateBrokerRequest

SetConfiguration sets the Configuration field's value.

func (UpdateBrokerRequest) String

func (s UpdateBrokerRequest) String() string

String returns the string representation

func (*UpdateBrokerRequest) Validate

func (s *UpdateBrokerRequest) Validate() error

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

type UpdateBrokerResponse

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

	// A list of information about the configuration.
	Configuration *ConfigurationId `locationName:"configuration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateBrokerResponse) GoString

func (s UpdateBrokerResponse) GoString() string

GoString returns the string representation

func (*UpdateBrokerResponse) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (*UpdateBrokerResponse) SetConfiguration

SetConfiguration sets the Configuration field's value.

func (UpdateBrokerResponse) String

func (s UpdateBrokerResponse) String() string

String returns the string representation

type UpdateConfigurationRequest

type UpdateConfigurationRequest 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 (UpdateConfigurationRequest) GoString

func (s UpdateConfigurationRequest) GoString() string

GoString returns the string representation

func (*UpdateConfigurationRequest) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*UpdateConfigurationRequest) SetData

SetData sets the Data field's value.

func (*UpdateConfigurationRequest) SetDescription

SetDescription sets the Description field's value.

func (UpdateConfigurationRequest) String

String returns the string representation

func (*UpdateConfigurationRequest) Validate

func (s *UpdateConfigurationRequest) Validate() error

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

type UpdateConfigurationResponse

type UpdateConfigurationResponse struct {
	Arn *string `locationName:"arn" 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"`

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

func (UpdateConfigurationResponse) GoString

func (s UpdateConfigurationResponse) GoString() string

GoString returns the string representation

func (*UpdateConfigurationResponse) SetArn

SetArn sets the Arn field's value.

func (*UpdateConfigurationResponse) SetId

SetId sets the Id field's value.

func (*UpdateConfigurationResponse) SetLatestRevision

SetLatestRevision sets the LatestRevision field's value.

func (*UpdateConfigurationResponse) SetName

SetName sets the Name field's value.

func (*UpdateConfigurationResponse) SetWarnings

SetWarnings sets the Warnings field's value.

func (UpdateConfigurationResponse) String

String returns the string representation

type UpdateUserOutput

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

func (UpdateUserOutput) GoString

func (s UpdateUserOutput) GoString() string

GoString returns the string representation

func (UpdateUserOutput) String

func (s UpdateUserOutput) String() string

String returns the string representation

type UpdateUserRequest

type UpdateUserRequest 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 (UpdateUserRequest) GoString

func (s UpdateUserRequest) GoString() string

GoString returns the string representation

func (*UpdateUserRequest) SetBrokerId

func (s *UpdateUserRequest) SetBrokerId(v string) *UpdateUserRequest

SetBrokerId sets the BrokerId field's value.

func (*UpdateUserRequest) SetConsoleAccess

func (s *UpdateUserRequest) SetConsoleAccess(v bool) *UpdateUserRequest

SetConsoleAccess sets the ConsoleAccess field's value.

func (*UpdateUserRequest) SetGroups

func (s *UpdateUserRequest) SetGroups(v []*string) *UpdateUserRequest

SetGroups sets the Groups field's value.

func (*UpdateUserRequest) SetPassword

func (s *UpdateUserRequest) SetPassword(v string) *UpdateUserRequest

SetPassword sets the Password field's value.

func (*UpdateUserRequest) SetUsername

func (s *UpdateUserRequest) SetUsername(v string) *UpdateUserRequest

SetUsername sets the Username field's value.

func (UpdateUserRequest) String

func (s UpdateUserRequest) String() string

String returns the string representation

func (*UpdateUserRequest) Validate

func (s *UpdateUserRequest) Validate() error

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

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) GoString

func (s User) GoString() string

GoString returns the string representation

func (*User) SetConsoleAccess

func (s *User) SetConsoleAccess(v bool) *User

SetConsoleAccess sets the ConsoleAccess field's value.

func (*User) SetGroups

func (s *User) SetGroups(v []*string) *User

SetGroups sets the Groups field's value.

func (*User) SetPassword

func (s *User) SetPassword(v string) *User

SetPassword sets the Password field's value.

func (*User) SetUsername

func (s *User) SetUsername(v string) *User

SetUsername sets the Username field's value.

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. Possible values:
	// CREATE, UPDATE, DELETE
	PendingChange *string `locationName:"pendingChange" type:"string" enum:"ChangeType"`
	// contains filtered or unexported fields
}

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

func (UserPendingChanges) GoString

func (s UserPendingChanges) GoString() string

GoString returns the string representation

func (*UserPendingChanges) SetConsoleAccess

func (s *UserPendingChanges) SetConsoleAccess(v bool) *UserPendingChanges

SetConsoleAccess sets the ConsoleAccess field's value.

func (*UserPendingChanges) SetGroups

func (s *UserPendingChanges) SetGroups(v []*string) *UserPendingChanges

SetGroups sets the Groups field's value.

func (*UserPendingChanges) SetPendingChange

func (s *UserPendingChanges) SetPendingChange(v string) *UserPendingChanges

SetPendingChange sets the PendingChange field's value.

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. Possible values: CREATE,
	// UPDATE, DELETE
	PendingChange *string `locationName:"pendingChange" type:"string" enum:"ChangeType"`

	// 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) GoString

func (s UserSummary) GoString() string

GoString returns the string representation

func (*UserSummary) SetPendingChange

func (s *UserSummary) SetPendingChange(v string) *UserSummary

SetPendingChange sets the PendingChange field's value.

func (*UserSummary) SetUsername

func (s *UserSummary) SetUsername(v string) *UserSummary

SetUsername sets the Username field's value.

func (UserSummary) String

func (s UserSummary) String() string

String returns the string representation

type WeeklyStartTime

type WeeklyStartTime struct {

	// Required. The day of the week. Possible values: MONDAY, TUESDAY, WEDNESDAY,
	// THURSDAY, FRIDAY, SATURDAY, SUNDAY
	DayOfWeek *string `locationName:"dayOfWeek" type:"string" enum:"DayOfWeek"`

	// 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) GoString

func (s WeeklyStartTime) GoString() string

GoString returns the string representation

func (*WeeklyStartTime) SetDayOfWeek

func (s *WeeklyStartTime) SetDayOfWeek(v string) *WeeklyStartTime

SetDayOfWeek sets the DayOfWeek field's value.

func (*WeeklyStartTime) SetTimeOfDay

func (s *WeeklyStartTime) SetTimeOfDay(v string) *WeeklyStartTime

SetTimeOfDay sets the TimeOfDay field's value.

func (*WeeklyStartTime) SetTimeZone

func (s *WeeklyStartTime) SetTimeZone(v string) *WeeklyStartTime

SetTimeZone sets the TimeZone field's value.

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