mq

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 4 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 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 (

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

Service information constants

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstance

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 BrokerState

type BrokerState string

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

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

Enum values for BrokerState

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 BrokerState `locationName:"brokerState" type:"string" enum:"true"`

	// 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 DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerSummary

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 BrokerState) *BrokerSummary

SetBrokerState sets the BrokerState field's value.

func (*BrokerSummary) SetDeploymentMode

func (s *BrokerSummary) SetDeploymentMode(v DeploymentMode) *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 ChangeType

type ChangeType string

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

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

Enum values for ChangeType

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

	// 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configuration

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 EngineType) *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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationId

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationRevision

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 Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configurations

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 CreateBrokerInput

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

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

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

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

	// The deployment mode of the broker. 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 DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

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

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

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

	// The 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
}

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

func (CreateBrokerInput) GoString

func (s CreateBrokerInput) GoString() string

GoString returns the string representation

func (*CreateBrokerInput) SetAutoMinorVersionUpgrade

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

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*CreateBrokerInput) SetBrokerName

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

SetBrokerName sets the BrokerName field's value.

func (*CreateBrokerInput) SetConfiguration

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

SetConfiguration sets the Configuration field's value.

func (*CreateBrokerInput) SetCreatorRequestId

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

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*CreateBrokerInput) SetDeploymentMode

func (s *CreateBrokerInput) SetDeploymentMode(v DeploymentMode) *CreateBrokerInput

SetDeploymentMode sets the DeploymentMode field's value.

func (*CreateBrokerInput) SetEngineType

func (s *CreateBrokerInput) SetEngineType(v EngineType) *CreateBrokerInput

SetEngineType sets the EngineType field's value.

func (*CreateBrokerInput) SetEngineVersion

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

SetEngineVersion sets the EngineVersion field's value.

func (*CreateBrokerInput) SetHostInstanceType

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

SetHostInstanceType sets the HostInstanceType field's value.

func (*CreateBrokerInput) SetMaintenanceWindowStartTime

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

SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value.

func (*CreateBrokerInput) SetPubliclyAccessible

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

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*CreateBrokerInput) SetSecurityGroups

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

SetSecurityGroups sets the SecurityGroups field's value.

func (*CreateBrokerInput) SetSubnetIds

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

SetSubnetIds sets the SubnetIds field's value.

func (*CreateBrokerInput) SetUsers

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

SetUsers sets the Users field's value.

func (CreateBrokerInput) String

func (s CreateBrokerInput) String() string

String returns the string representation

type CreateBrokerOutput

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

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

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

func (CreateBrokerOutput) GoString

func (s CreateBrokerOutput) GoString() string

GoString returns the string representation

func (CreateBrokerOutput) SDKResponseMetadata

func (s CreateBrokerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateBrokerOutput) SetBrokerArn

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

SetBrokerArn sets the BrokerArn field's value.

func (*CreateBrokerOutput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (CreateBrokerOutput) String

func (s CreateBrokerOutput) String() string

String returns the string representation

type CreateBrokerRequest

type CreateBrokerRequest struct {
	*aws.Request
	Input *CreateBrokerInput
}

CreateBrokerRequest is a API request type for the CreateBroker API operation.

func (CreateBrokerRequest) Send

Send marshals and sends the CreateBroker API request.

type CreateConfigurationInput

type CreateConfigurationInput struct {

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

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

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

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

func (CreateConfigurationInput) GoString

func (s CreateConfigurationInput) GoString() string

GoString returns the string representation

func (*CreateConfigurationInput) SetEngineType

SetEngineType sets the EngineType field's value.

func (*CreateConfigurationInput) SetEngineVersion

SetEngineVersion sets the EngineVersion field's value.

func (*CreateConfigurationInput) SetName

SetName sets the Name field's value.

func (CreateConfigurationInput) String

func (s CreateConfigurationInput) String() string

String returns the string representation

type CreateConfigurationOutput

type CreateConfigurationOutput 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
}

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

func (CreateConfigurationOutput) GoString

func (s CreateConfigurationOutput) GoString() string

GoString returns the string representation

func (CreateConfigurationOutput) SDKResponseMetadata

func (s CreateConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateConfigurationOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateConfigurationOutput) SetId

SetId sets the Id field's value.

func (*CreateConfigurationOutput) SetLatestRevision

SetLatestRevision sets the LatestRevision field's value.

func (*CreateConfigurationOutput) SetName

SetName sets the Name field's value.

func (CreateConfigurationOutput) String

func (s CreateConfigurationOutput) String() string

String returns the string representation

type CreateConfigurationRequest

type CreateConfigurationRequest struct {
	*aws.Request
	Input *CreateConfigurationInput
}

CreateConfigurationRequest is a API request type for the CreateConfiguration API operation.

func (CreateConfigurationRequest) Send

Send marshals and sends the CreateConfiguration API request.

type CreateUserInput

type CreateUserInput struct {

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

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

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

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

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

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

func (CreateUserInput) GoString

func (s CreateUserInput) GoString() string

GoString returns the string representation

func (*CreateUserInput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*CreateUserInput) SetConsoleAccess

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

SetConsoleAccess sets the ConsoleAccess field's value.

func (*CreateUserInput) SetGroups

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

SetGroups sets the Groups field's value.

func (*CreateUserInput) SetPassword

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

SetPassword sets the Password field's value.

func (*CreateUserInput) SetUsername

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

SetUsername sets the Username field's value.

func (CreateUserInput) String

func (s CreateUserInput) String() string

String returns the string representation

func (*CreateUserInput) Validate

func (s *CreateUserInput) Validate() error

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

type CreateUserOutput

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

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

func (CreateUserOutput) GoString

func (s CreateUserOutput) GoString() string

GoString returns the string representation

func (CreateUserOutput) SDKResponseMetadata

func (s CreateUserOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateUserOutput) String

func (s CreateUserOutput) String() string

String returns the string representation

type CreateUserRequest

type CreateUserRequest struct {
	*aws.Request
	Input *CreateUserInput
}

CreateUserRequest is a API request type for the CreateUser API operation.

func (CreateUserRequest) Send

Send marshals and sends the CreateUser API request.

type DayOfWeek

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

Enum values for DayOfWeek

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
}

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

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 DeleteBrokerOutput

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

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

func (DeleteBrokerOutput) GoString

func (s DeleteBrokerOutput) GoString() string

GoString returns the string representation

func (DeleteBrokerOutput) SDKResponseMetadata

func (s DeleteBrokerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DeleteBrokerOutput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (DeleteBrokerOutput) String

func (s DeleteBrokerOutput) String() string

String returns the string representation

type DeleteBrokerRequest

type DeleteBrokerRequest struct {
	*aws.Request
	Input *DeleteBrokerInput
}

DeleteBrokerRequest is a API request type for the DeleteBroker API operation.

func (DeleteBrokerRequest) Send

Send marshals and sends the DeleteBroker API request.

type DeleteUserInput

type DeleteUserInput struct {

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

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

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

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
}

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

func (DeleteUserOutput) GoString

func (s DeleteUserOutput) GoString() string

GoString returns the string representation

func (DeleteUserOutput) SDKResponseMetadata

func (s DeleteUserOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteUserOutput) String

func (s DeleteUserOutput) String() string

String returns the string representation

type DeleteUserRequest

type DeleteUserRequest struct {
	*aws.Request
	Input *DeleteUserInput
}

DeleteUserRequest is a API request type for the DeleteUser API operation.

func (DeleteUserRequest) Send

Send marshals and sends the DeleteUser API request.

type DeploymentMode

type DeploymentMode string

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.

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

Enum values for DeploymentMode

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
}

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

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 DescribeBrokerOutput

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

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

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

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

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

	// The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED,
	// DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS
	BrokerState BrokerState `locationName:"brokerState" type:"string" enum:"true"`

	// 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 DeploymentMode `locationName:"deploymentMode" type:"string" enum:"true"`

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

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

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

	// The 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
}

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

func (DescribeBrokerOutput) GoString

func (s DescribeBrokerOutput) GoString() string

GoString returns the string representation

func (DescribeBrokerOutput) SDKResponseMetadata

func (s DescribeBrokerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeBrokerOutput) SetAutoMinorVersionUpgrade

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

SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.

func (*DescribeBrokerOutput) SetBrokerArn

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

SetBrokerArn sets the BrokerArn field's value.

func (*DescribeBrokerOutput) SetBrokerId

SetBrokerId sets the BrokerId field's value.

func (*DescribeBrokerOutput) SetBrokerInstances

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

SetBrokerInstances sets the BrokerInstances field's value.

func (*DescribeBrokerOutput) SetBrokerName

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

SetBrokerName sets the BrokerName field's value.

func (*DescribeBrokerOutput) SetBrokerState

SetBrokerState sets the BrokerState field's value.

func (*DescribeBrokerOutput) SetConfigurations

func (s *DescribeBrokerOutput) SetConfigurations(v *Configurations) *DescribeBrokerOutput

SetConfigurations sets the Configurations field's value.

func (*DescribeBrokerOutput) SetDeploymentMode

func (s *DescribeBrokerOutput) SetDeploymentMode(v DeploymentMode) *DescribeBrokerOutput

SetDeploymentMode sets the DeploymentMode field's value.

func (*DescribeBrokerOutput) SetEngineType

SetEngineType sets the EngineType field's value.

func (*DescribeBrokerOutput) SetEngineVersion

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

SetEngineVersion sets the EngineVersion field's value.

func (*DescribeBrokerOutput) SetHostInstanceType

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

SetHostInstanceType sets the HostInstanceType field's value.

func (*DescribeBrokerOutput) SetMaintenanceWindowStartTime

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

SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value.

func (*DescribeBrokerOutput) SetPubliclyAccessible

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

SetPubliclyAccessible sets the PubliclyAccessible field's value.

func (*DescribeBrokerOutput) SetSecurityGroups

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

SetSecurityGroups sets the SecurityGroups field's value.

func (*DescribeBrokerOutput) SetSubnetIds

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

SetSubnetIds sets the SubnetIds field's value.

func (*DescribeBrokerOutput) SetUsers

SetUsers sets the Users field's value.

func (DescribeBrokerOutput) String

func (s DescribeBrokerOutput) String() string

String returns the string representation

type DescribeBrokerRequest

type DescribeBrokerRequest struct {
	*aws.Request
	Input *DescribeBrokerInput
}

DescribeBrokerRequest is a API request type for the DescribeBroker API operation.

func (DescribeBrokerRequest) Send

Send marshals and sends the DescribeBroker API request.

type DescribeConfigurationInput

type DescribeConfigurationInput struct {

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

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

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

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

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

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

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

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

func (DescribeConfigurationOutput) GoString

func (s DescribeConfigurationOutput) GoString() string

GoString returns the string representation

func (DescribeConfigurationOutput) SDKResponseMetadata

func (s DescribeConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

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 DescribeConfigurationRequest

type DescribeConfigurationRequest struct {
	*aws.Request
	Input *DescribeConfigurationInput
}

DescribeConfigurationRequest is a API request type for the DescribeConfiguration API operation.

func (DescribeConfigurationRequest) Send

Send marshals and sends the DescribeConfiguration API request.

type DescribeConfigurationRevisionInput

type DescribeConfigurationRevisionInput struct {

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

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

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

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 DescribeConfigurationRevisionOutput

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

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

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

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

func (DescribeConfigurationRevisionOutput) GoString

GoString returns the string representation

func (DescribeConfigurationRevisionOutput) SDKResponseMetadata

func (s DescribeConfigurationRevisionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeConfigurationRevisionOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*DescribeConfigurationRevisionOutput) SetData

SetData sets the Data field's value.

func (*DescribeConfigurationRevisionOutput) SetDescription

SetDescription sets the Description field's value.

func (DescribeConfigurationRevisionOutput) String

String returns the string representation

type DescribeConfigurationRevisionRequest

type DescribeConfigurationRevisionRequest struct {
	*aws.Request
	Input *DescribeConfigurationRevisionInput
}

DescribeConfigurationRevisionRequest is a API request type for the DescribeConfigurationRevision API operation.

func (DescribeConfigurationRevisionRequest) Send

Send marshals and sends the DescribeConfigurationRevision API request.

type DescribeUserInput

type DescribeUserInput struct {

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

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

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

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 DescribeUserOutput

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

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

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

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

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

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

func (DescribeUserOutput) GoString

func (s DescribeUserOutput) GoString() string

GoString returns the string representation

func (DescribeUserOutput) SDKResponseMetadata

func (s DescribeUserOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeUserOutput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*DescribeUserOutput) SetConsoleAccess

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

SetConsoleAccess sets the ConsoleAccess field's value.

func (*DescribeUserOutput) SetGroups

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

SetGroups sets the Groups field's value.

func (*DescribeUserOutput) SetPending

SetPending sets the Pending field's value.

func (*DescribeUserOutput) SetUsername

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

SetUsername sets the Username field's value.

func (DescribeUserOutput) String

func (s DescribeUserOutput) String() string

String returns the string representation

type DescribeUserRequest

type DescribeUserRequest struct {
	*aws.Request
	Input *DescribeUserInput
}

DescribeUserRequest is a API request type for the DescribeUser API operation.

func (DescribeUserRequest) Send

Send marshals and sends the DescribeUser API request.

type EngineType

type EngineType string

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

const (
	EngineTypeActivemq EngineType = "ACTIVEMQ"
)

Enum values for EngineType

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
}

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

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 ListBrokersOutput

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

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

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

func (ListBrokersOutput) GoString

func (s ListBrokersOutput) GoString() string

GoString returns the string representation

func (ListBrokersOutput) SDKResponseMetadata

func (s ListBrokersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListBrokersOutput) SetBrokerSummaries

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

SetBrokerSummaries sets the BrokerSummaries field's value.

func (*ListBrokersOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListBrokersOutput) String

func (s ListBrokersOutput) String() string

String returns the string representation

type ListBrokersRequest

type ListBrokersRequest struct {
	*aws.Request
	Input *ListBrokersInput
}

ListBrokersRequest is a API request type for the ListBrokers API operation.

func (ListBrokersRequest) Send

Send marshals and sends the ListBrokers API request.

type ListConfigurationRevisionsInput

type ListConfigurationRevisionsInput struct {

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

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

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

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

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 ListConfigurationRevisionsOutput

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

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

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

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

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

func (ListConfigurationRevisionsOutput) GoString

GoString returns the string representation

func (ListConfigurationRevisionsOutput) SDKResponseMetadata

func (s ListConfigurationRevisionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListConfigurationRevisionsOutput) SetConfigurationId

SetConfigurationId sets the ConfigurationId field's value.

func (*ListConfigurationRevisionsOutput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationRevisionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListConfigurationRevisionsOutput) SetRevisions

SetRevisions sets the Revisions field's value.

func (ListConfigurationRevisionsOutput) String

String returns the string representation

type ListConfigurationRevisionsRequest

type ListConfigurationRevisionsRequest struct {
	*aws.Request
	Input *ListConfigurationRevisionsInput
}

ListConfigurationRevisionsRequest is a API request type for the ListConfigurationRevisions API operation.

func (ListConfigurationRevisionsRequest) Send

Send marshals and sends the ListConfigurationRevisions API request.

type ListConfigurationsInput

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

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

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

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 ListConfigurationsOutput

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

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

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

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

func (ListConfigurationsOutput) GoString

func (s ListConfigurationsOutput) GoString() string

GoString returns the string representation

func (ListConfigurationsOutput) SDKResponseMetadata

func (s ListConfigurationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListConfigurationsOutput) SetConfigurations

SetConfigurations sets the Configurations field's value.

func (*ListConfigurationsOutput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListConfigurationsOutput) String

func (s ListConfigurationsOutput) String() string

String returns the string representation

type ListConfigurationsRequest

type ListConfigurationsRequest struct {
	*aws.Request
	Input *ListConfigurationsInput
}

ListConfigurationsRequest is a API request type for the ListConfigurations API operation.

func (ListConfigurationsRequest) Send

Send marshals and sends the ListConfigurations API request.

type ListUsersInput

type ListUsersInput struct {

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

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

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

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

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 ListUsersOutput

type ListUsersOutput 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
}

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

func (ListUsersOutput) GoString

func (s ListUsersOutput) GoString() string

GoString returns the string representation

func (ListUsersOutput) SDKResponseMetadata

func (s ListUsersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListUsersOutput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*ListUsersOutput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListUsersOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListUsersOutput) SetUsers

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

SetUsers sets the Users field's value.

func (ListUsersOutput) String

func (s ListUsersOutput) String() string

String returns the string representation

type ListUsersRequest

type ListUsersRequest struct {
	*aws.Request
	Input *ListUsersInput
}

ListUsersRequest is a API request type for the ListUsers API operation.

func (ListUsersRequest) Send

func (r ListUsersRequest) Send() (*ListUsersOutput, error)

Send marshals and sends the ListUsers API request.

type MQ

type MQ struct {
	*aws.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(config aws.Config) *MQ

New creates a new instance of the MQ client with a config. 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 config.
svc := mq.New(myConfig)

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

func (*MQ) CreateBrokerRequest

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

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

Creates a broker. Note: This API is asynchronous.

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

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

func (*MQ) CreateConfigurationRequest

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

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

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

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

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

func (*MQ) CreateUserRequest

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

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

Creates an ActiveMQ user.

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

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

func (*MQ) DeleteBrokerRequest

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

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

Deletes a broker. Note: This API is asynchronous.

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

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

func (*MQ) DeleteUserRequest

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

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

Deletes an ActiveMQ user.

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

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

func (*MQ) DescribeBrokerRequest

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

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

Returns information about the specified broker.

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

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

func (*MQ) DescribeConfigurationRequest

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

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

Returns information about the specified configuration.

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

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

func (*MQ) DescribeConfigurationRevisionRequest

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

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

Returns the specified configuration revision for the specified configuration.

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

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

func (*MQ) DescribeUserRequest

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

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

Returns information about an ActiveMQ user.

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

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

func (*MQ) ListBrokersRequest

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

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

Returns a list of all brokers.

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

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

func (*MQ) ListConfigurationRevisionsRequest

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

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

Returns a list of all revisions for the specified configuration.

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

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

func (*MQ) ListConfigurationsRequest

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

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

Returns a list of all configurations.

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

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

func (*MQ) ListUsersRequest

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

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

Returns a list of all ActiveMQ users.

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

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

func (*MQ) RebootBrokerRequest

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

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

Reboots a broker. Note: This API is asynchronous.

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

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

func (*MQ) UpdateBrokerRequest

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

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

Adds a pending configuration change to a broker.

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

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

func (*MQ) UpdateConfigurationRequest

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

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

Updates the specified configuration.

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

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

func (*MQ) UpdateUserRequest

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

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

Updates the information for an ActiveMQ user.

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

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

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
}

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

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
}

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

func (RebootBrokerOutput) GoString

func (s RebootBrokerOutput) GoString() string

GoString returns the string representation

func (RebootBrokerOutput) SDKResponseMetadata

func (s RebootBrokerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RebootBrokerOutput) String

func (s RebootBrokerOutput) String() string

String returns the string representation

type RebootBrokerRequest

type RebootBrokerRequest struct {
	*aws.Request
	Input *RebootBrokerInput
}

RebootBrokerRequest is a API request type for the RebootBroker API operation.

func (RebootBrokerRequest) Send

Send marshals and sends the RebootBroker API request.

type SanitizationWarning

type SanitizationWarning struct {

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

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

	// Required. The reason for which the XML elements or attributes were sanitized.
	// 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 SanitizationWarningReason `locationName:"reason" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Returns information about the XML element or attribute that was sanitized in the configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/SanitizationWarning

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 SanitizationWarningReason

type SanitizationWarningReason string

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.

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

Enum values for SanitizationWarningReason

type UpdateBrokerInput

type UpdateBrokerInput 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
}

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

func (UpdateBrokerInput) GoString

func (s UpdateBrokerInput) GoString() string

GoString returns the string representation

func (*UpdateBrokerInput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*UpdateBrokerInput) SetConfiguration

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

SetConfiguration sets the Configuration field's value.

func (UpdateBrokerInput) String

func (s UpdateBrokerInput) String() string

String returns the string representation

func (*UpdateBrokerInput) Validate

func (s *UpdateBrokerInput) Validate() error

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

type UpdateBrokerOutput

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

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

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

func (UpdateBrokerOutput) GoString

func (s UpdateBrokerOutput) GoString() string

GoString returns the string representation

func (UpdateBrokerOutput) SDKResponseMetadata

func (s UpdateBrokerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateBrokerOutput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*UpdateBrokerOutput) SetConfiguration

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

SetConfiguration sets the Configuration field's value.

func (UpdateBrokerOutput) String

func (s UpdateBrokerOutput) String() string

String returns the string representation

type UpdateBrokerRequest

type UpdateBrokerRequest struct {
	*aws.Request
	Input *UpdateBrokerInput
}

UpdateBrokerRequest is a API request type for the UpdateBroker API operation.

func (UpdateBrokerRequest) Send

Send marshals and sends the UpdateBroker API request.

type UpdateConfigurationInput

type UpdateConfigurationInput struct {

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

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

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

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

func (UpdateConfigurationInput) GoString

func (s UpdateConfigurationInput) GoString() string

GoString returns the string representation

func (*UpdateConfigurationInput) SetConfigurationId

func (s *UpdateConfigurationInput) SetConfigurationId(v string) *UpdateConfigurationInput

SetConfigurationId sets the ConfigurationId field's value.

func (*UpdateConfigurationInput) SetData

SetData sets the Data field's value.

func (*UpdateConfigurationInput) SetDescription

SetDescription sets the Description field's value.

func (UpdateConfigurationInput) String

func (s UpdateConfigurationInput) String() string

String returns the string representation

func (*UpdateConfigurationInput) Validate

func (s *UpdateConfigurationInput) Validate() error

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

type UpdateConfigurationOutput

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

	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
}

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

func (UpdateConfigurationOutput) GoString

func (s UpdateConfigurationOutput) GoString() string

GoString returns the string representation

func (UpdateConfigurationOutput) SDKResponseMetadata

func (s UpdateConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateConfigurationOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateConfigurationOutput) SetId

SetId sets the Id field's value.

func (*UpdateConfigurationOutput) SetLatestRevision

SetLatestRevision sets the LatestRevision field's value.

func (*UpdateConfigurationOutput) SetName

SetName sets the Name field's value.

func (*UpdateConfigurationOutput) SetWarnings

SetWarnings sets the Warnings field's value.

func (UpdateConfigurationOutput) String

func (s UpdateConfigurationOutput) String() string

String returns the string representation

type UpdateConfigurationRequest

type UpdateConfigurationRequest struct {
	*aws.Request
	Input *UpdateConfigurationInput
}

UpdateConfigurationRequest is a API request type for the UpdateConfiguration API operation.

func (UpdateConfigurationRequest) Send

Send marshals and sends the UpdateConfiguration API request.

type UpdateUserInput

type UpdateUserInput struct {

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

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

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

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

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

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

func (UpdateUserInput) GoString

func (s UpdateUserInput) GoString() string

GoString returns the string representation

func (*UpdateUserInput) SetBrokerId

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

SetBrokerId sets the BrokerId field's value.

func (*UpdateUserInput) SetConsoleAccess

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

SetConsoleAccess sets the ConsoleAccess field's value.

func (*UpdateUserInput) SetGroups

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

SetGroups sets the Groups field's value.

func (*UpdateUserInput) SetPassword

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

SetPassword sets the Password field's value.

func (*UpdateUserInput) SetUsername

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

SetUsername sets the Username field's value.

func (UpdateUserInput) String

func (s UpdateUserInput) String() string

String returns the string representation

func (*UpdateUserInput) Validate

func (s *UpdateUserInput) Validate() error

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

type UpdateUserOutput

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

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

func (UpdateUserOutput) GoString

func (s UpdateUserOutput) GoString() string

GoString returns the string representation

func (UpdateUserOutput) SDKResponseMetadata

func (s UpdateUserOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateUserOutput) String

func (s UpdateUserOutput) String() string

String returns the string representation

type UpdateUserRequest

type UpdateUserRequest struct {
	*aws.Request
	Input *UpdateUserInput
}

UpdateUserRequest is a API request type for the UpdateUser API operation.

func (UpdateUserRequest) Send

Send marshals and sends the UpdateUser API request.

type User

type User struct {

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

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

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

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

An ActiveMQ user associated with the broker. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/User

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 ChangeType `locationName:"pendingChange" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Returns information about the status of the changes pending for the ActiveMQ user. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserPendingChanges

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 ChangeType) *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 ChangeType `locationName:"pendingChange" type:"string" enum:"true"`

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

Returns a list of all ActiveMQ users. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserSummary

func (UserSummary) GoString

func (s UserSummary) GoString() string

GoString returns the string representation

func (*UserSummary) SetPendingChange

func (s *UserSummary) SetPendingChange(v ChangeType) *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 DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

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

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

The scheduled time period relative to UTC during which Amazon MQ begins to apply pending updates or patches to the broker. Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/WeeklyStartTime

func (WeeklyStartTime) GoString

func (s WeeklyStartTime) GoString() string

GoString returns the string representation

func (*WeeklyStartTime) SetDayOfWeek

func (s *WeeklyStartTime) SetDayOfWeek(v DayOfWeek) *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