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
- type BrokerInstance
- type BrokerSummary
- func (s BrokerSummary) GoString() string
- func (s *BrokerSummary) SetBrokerArn(v string) *BrokerSummary
- func (s *BrokerSummary) SetBrokerId(v string) *BrokerSummary
- func (s *BrokerSummary) SetBrokerName(v string) *BrokerSummary
- func (s *BrokerSummary) SetBrokerState(v string) *BrokerSummary
- func (s *BrokerSummary) SetDeploymentMode(v string) *BrokerSummary
- func (s *BrokerSummary) SetHostInstanceType(v string) *BrokerSummary
- func (s BrokerSummary) String() string
- type Configuration
- func (s Configuration) GoString() string
- func (s *Configuration) SetArn(v string) *Configuration
- func (s *Configuration) SetDescription(v string) *Configuration
- func (s *Configuration) SetEngineType(v string) *Configuration
- func (s *Configuration) SetEngineVersion(v string) *Configuration
- func (s *Configuration) SetId(v string) *Configuration
- func (s *Configuration) SetLatestRevision(v *ConfigurationRevision) *Configuration
- func (s *Configuration) SetName(v string) *Configuration
- func (s Configuration) String() string
- type ConfigurationId
- type ConfigurationRevision
- type Configurations
- type CreateBrokerRequest
- func (s CreateBrokerRequest) GoString() string
- func (s *CreateBrokerRequest) SetAutoMinorVersionUpgrade(v bool) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetBrokerName(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetConfiguration(v *ConfigurationId) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetCreatorRequestId(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetDeploymentMode(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetEngineType(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetEngineVersion(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetHostInstanceType(v string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetPubliclyAccessible(v bool) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetSecurityGroups(v []*string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetSubnetIds(v []*string) *CreateBrokerRequest
- func (s *CreateBrokerRequest) SetUsers(v []*User) *CreateBrokerRequest
- func (s CreateBrokerRequest) String() string
- type CreateBrokerResponse
- type CreateConfigurationRequest
- func (s CreateConfigurationRequest) GoString() string
- func (s *CreateConfigurationRequest) SetEngineType(v string) *CreateConfigurationRequest
- func (s *CreateConfigurationRequest) SetEngineVersion(v string) *CreateConfigurationRequest
- func (s *CreateConfigurationRequest) SetName(v string) *CreateConfigurationRequest
- func (s CreateConfigurationRequest) String() string
- type CreateConfigurationResponse
- func (s CreateConfigurationResponse) GoString() string
- func (s *CreateConfigurationResponse) SetArn(v string) *CreateConfigurationResponse
- func (s *CreateConfigurationResponse) SetId(v string) *CreateConfigurationResponse
- func (s *CreateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *CreateConfigurationResponse
- func (s *CreateConfigurationResponse) SetName(v string) *CreateConfigurationResponse
- func (s CreateConfigurationResponse) String() string
- type CreateUserOutput
- type CreateUserRequest
- func (s CreateUserRequest) GoString() string
- func (s *CreateUserRequest) SetBrokerId(v string) *CreateUserRequest
- func (s *CreateUserRequest) SetConsoleAccess(v bool) *CreateUserRequest
- func (s *CreateUserRequest) SetGroups(v []*string) *CreateUserRequest
- func (s *CreateUserRequest) SetPassword(v string) *CreateUserRequest
- func (s *CreateUserRequest) SetUsername(v string) *CreateUserRequest
- func (s CreateUserRequest) String() string
- func (s *CreateUserRequest) Validate() error
- type DeleteBrokerInput
- type DeleteBrokerResponse
- type DeleteUserInput
- type DeleteUserOutput
- type DescribeBrokerInput
- type DescribeBrokerResponse
- func (s DescribeBrokerResponse) GoString() string
- func (s *DescribeBrokerResponse) SetAutoMinorVersionUpgrade(v bool) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetBrokerArn(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetBrokerId(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetBrokerInstances(v []*BrokerInstance) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetBrokerName(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetBrokerState(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetConfigurations(v *Configurations) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetDeploymentMode(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetEngineType(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetEngineVersion(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetHostInstanceType(v string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetPubliclyAccessible(v bool) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetSecurityGroups(v []*string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetSubnetIds(v []*string) *DescribeBrokerResponse
- func (s *DescribeBrokerResponse) SetUsers(v []*UserSummary) *DescribeBrokerResponse
- func (s DescribeBrokerResponse) String() string
- type DescribeConfigurationInput
- type DescribeConfigurationOutput
- func (s DescribeConfigurationOutput) GoString() string
- func (s *DescribeConfigurationOutput) SetArn(v string) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetDescription(v string) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetEngineType(v string) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetEngineVersion(v string) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetId(v string) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *DescribeConfigurationOutput
- func (s *DescribeConfigurationOutput) SetName(v string) *DescribeConfigurationOutput
- func (s DescribeConfigurationOutput) String() string
- type DescribeConfigurationRevisionInput
- func (s DescribeConfigurationRevisionInput) GoString() string
- func (s *DescribeConfigurationRevisionInput) SetConfigurationId(v string) *DescribeConfigurationRevisionInput
- func (s *DescribeConfigurationRevisionInput) SetConfigurationRevision(v string) *DescribeConfigurationRevisionInput
- func (s DescribeConfigurationRevisionInput) String() string
- func (s *DescribeConfigurationRevisionInput) Validate() error
- type DescribeConfigurationRevisionResponse
- func (s DescribeConfigurationRevisionResponse) GoString() string
- func (s *DescribeConfigurationRevisionResponse) SetConfigurationId(v string) *DescribeConfigurationRevisionResponse
- func (s *DescribeConfigurationRevisionResponse) SetData(v string) *DescribeConfigurationRevisionResponse
- func (s *DescribeConfigurationRevisionResponse) SetDescription(v string) *DescribeConfigurationRevisionResponse
- func (s DescribeConfigurationRevisionResponse) String() string
- type DescribeUserInput
- type DescribeUserResponse
- func (s DescribeUserResponse) GoString() string
- func (s *DescribeUserResponse) SetBrokerId(v string) *DescribeUserResponse
- func (s *DescribeUserResponse) SetConsoleAccess(v bool) *DescribeUserResponse
- func (s *DescribeUserResponse) SetGroups(v []*string) *DescribeUserResponse
- func (s *DescribeUserResponse) SetPending(v *UserPendingChanges) *DescribeUserResponse
- func (s *DescribeUserResponse) SetUsername(v string) *DescribeUserResponse
- func (s DescribeUserResponse) String() string
- type ListBrokersInput
- type ListBrokersResponse
- type ListConfigurationRevisionsInput
- func (s ListConfigurationRevisionsInput) GoString() string
- func (s *ListConfigurationRevisionsInput) SetConfigurationId(v string) *ListConfigurationRevisionsInput
- func (s *ListConfigurationRevisionsInput) SetMaxResults(v int64) *ListConfigurationRevisionsInput
- func (s *ListConfigurationRevisionsInput) SetNextToken(v string) *ListConfigurationRevisionsInput
- func (s ListConfigurationRevisionsInput) String() string
- func (s *ListConfigurationRevisionsInput) Validate() error
- type ListConfigurationRevisionsResponse
- func (s ListConfigurationRevisionsResponse) GoString() string
- func (s *ListConfigurationRevisionsResponse) SetConfigurationId(v string) *ListConfigurationRevisionsResponse
- func (s *ListConfigurationRevisionsResponse) SetMaxResults(v int64) *ListConfigurationRevisionsResponse
- func (s *ListConfigurationRevisionsResponse) SetNextToken(v string) *ListConfigurationRevisionsResponse
- func (s *ListConfigurationRevisionsResponse) SetRevisions(v []*ConfigurationRevision) *ListConfigurationRevisionsResponse
- func (s ListConfigurationRevisionsResponse) String() string
- type ListConfigurationsInput
- func (s ListConfigurationsInput) GoString() string
- func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput
- func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput
- func (s ListConfigurationsInput) String() string
- func (s *ListConfigurationsInput) Validate() error
- type ListConfigurationsResponse
- func (s ListConfigurationsResponse) GoString() string
- func (s *ListConfigurationsResponse) SetConfigurations(v []*Configuration) *ListConfigurationsResponse
- func (s *ListConfigurationsResponse) SetMaxResults(v int64) *ListConfigurationsResponse
- func (s *ListConfigurationsResponse) SetNextToken(v string) *ListConfigurationsResponse
- func (s ListConfigurationsResponse) String() string
- type ListUsersInput
- func (s ListUsersInput) GoString() string
- func (s *ListUsersInput) SetBrokerId(v string) *ListUsersInput
- func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput
- func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput
- func (s ListUsersInput) String() string
- func (s *ListUsersInput) Validate() error
- type ListUsersResponse
- func (s ListUsersResponse) GoString() string
- func (s *ListUsersResponse) SetBrokerId(v string) *ListUsersResponse
- func (s *ListUsersResponse) SetMaxResults(v int64) *ListUsersResponse
- func (s *ListUsersResponse) SetNextToken(v string) *ListUsersResponse
- func (s *ListUsersResponse) SetUsers(v []*UserSummary) *ListUsersResponse
- func (s ListUsersResponse) String() string
- type MQ
- func (c *MQ) CreateBroker(input *CreateBrokerRequest) (*CreateBrokerResponse, error)
- func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Request, output *CreateBrokerResponse)
- func (c *MQ) CreateBrokerWithContext(ctx aws.Context, input *CreateBrokerRequest, opts ...request.Option) (*CreateBrokerResponse, error)
- func (c *MQ) CreateConfiguration(input *CreateConfigurationRequest) (*CreateConfigurationResponse, error)
- func (c *MQ) CreateConfigurationRequest(input *CreateConfigurationRequest) (req *request.Request, output *CreateConfigurationResponse)
- func (c *MQ) CreateConfigurationWithContext(ctx aws.Context, input *CreateConfigurationRequest, opts ...request.Option) (*CreateConfigurationResponse, error)
- func (c *MQ) CreateUser(input *CreateUserRequest) (*CreateUserOutput, error)
- func (c *MQ) CreateUserRequest(input *CreateUserRequest) (req *request.Request, output *CreateUserOutput)
- func (c *MQ) CreateUserWithContext(ctx aws.Context, input *CreateUserRequest, opts ...request.Option) (*CreateUserOutput, error)
- func (c *MQ) DeleteBroker(input *DeleteBrokerInput) (*DeleteBrokerResponse, error)
- func (c *MQ) DeleteBrokerRequest(input *DeleteBrokerInput) (req *request.Request, output *DeleteBrokerResponse)
- func (c *MQ) DeleteBrokerWithContext(ctx aws.Context, input *DeleteBrokerInput, opts ...request.Option) (*DeleteBrokerResponse, error)
- func (c *MQ) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)
- func (c *MQ) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)
- func (c *MQ) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)
- func (c *MQ) DescribeBroker(input *DescribeBrokerInput) (*DescribeBrokerResponse, error)
- func (c *MQ) DescribeBrokerRequest(input *DescribeBrokerInput) (req *request.Request, output *DescribeBrokerResponse)
- func (c *MQ) DescribeBrokerWithContext(ctx aws.Context, input *DescribeBrokerInput, opts ...request.Option) (*DescribeBrokerResponse, error)
- func (c *MQ) DescribeConfiguration(input *DescribeConfigurationInput) (*DescribeConfigurationOutput, error)
- func (c *MQ) DescribeConfigurationRequest(input *DescribeConfigurationInput) (req *request.Request, output *DescribeConfigurationOutput)
- func (c *MQ) DescribeConfigurationRevision(input *DescribeConfigurationRevisionInput) (*DescribeConfigurationRevisionResponse, error)
- func (c *MQ) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) (req *request.Request, output *DescribeConfigurationRevisionResponse)
- func (c *MQ) DescribeConfigurationRevisionWithContext(ctx aws.Context, input *DescribeConfigurationRevisionInput, ...) (*DescribeConfigurationRevisionResponse, error)
- func (c *MQ) DescribeConfigurationWithContext(ctx aws.Context, input *DescribeConfigurationInput, opts ...request.Option) (*DescribeConfigurationOutput, error)
- func (c *MQ) DescribeUser(input *DescribeUserInput) (*DescribeUserResponse, error)
- func (c *MQ) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserResponse)
- func (c *MQ) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserResponse, error)
- func (c *MQ) ListBrokers(input *ListBrokersInput) (*ListBrokersResponse, error)
- func (c *MQ) ListBrokersRequest(input *ListBrokersInput) (req *request.Request, output *ListBrokersResponse)
- func (c *MQ) ListBrokersWithContext(ctx aws.Context, input *ListBrokersInput, opts ...request.Option) (*ListBrokersResponse, error)
- func (c *MQ) ListConfigurationRevisions(input *ListConfigurationRevisionsInput) (*ListConfigurationRevisionsResponse, error)
- func (c *MQ) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) (req *request.Request, output *ListConfigurationRevisionsResponse)
- func (c *MQ) ListConfigurationRevisionsWithContext(ctx aws.Context, input *ListConfigurationRevisionsInput, ...) (*ListConfigurationRevisionsResponse, error)
- func (c *MQ) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsResponse, error)
- func (c *MQ) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsResponse)
- func (c *MQ) ListConfigurationsWithContext(ctx aws.Context, input *ListConfigurationsInput, opts ...request.Option) (*ListConfigurationsResponse, error)
- func (c *MQ) ListUsers(input *ListUsersInput) (*ListUsersResponse, error)
- func (c *MQ) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersResponse)
- func (c *MQ) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersResponse, error)
- func (c *MQ) RebootBroker(input *RebootBrokerInput) (*RebootBrokerOutput, error)
- func (c *MQ) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request, output *RebootBrokerOutput)
- func (c *MQ) RebootBrokerWithContext(ctx aws.Context, input *RebootBrokerInput, opts ...request.Option) (*RebootBrokerOutput, error)
- func (c *MQ) UpdateBroker(input *UpdateBrokerRequest) (*UpdateBrokerResponse, error)
- func (c *MQ) UpdateBrokerRequest(input *UpdateBrokerRequest) (req *request.Request, output *UpdateBrokerResponse)
- func (c *MQ) UpdateBrokerWithContext(ctx aws.Context, input *UpdateBrokerRequest, opts ...request.Option) (*UpdateBrokerResponse, error)
- func (c *MQ) UpdateConfiguration(input *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error)
- func (c *MQ) UpdateConfigurationRequest(input *UpdateConfigurationRequest) (req *request.Request, output *UpdateConfigurationResponse)
- func (c *MQ) UpdateConfigurationWithContext(ctx aws.Context, input *UpdateConfigurationRequest, opts ...request.Option) (*UpdateConfigurationResponse, error)
- func (c *MQ) UpdateUser(input *UpdateUserRequest) (*UpdateUserOutput, error)
- func (c *MQ) UpdateUserRequest(input *UpdateUserRequest) (req *request.Request, output *UpdateUserOutput)
- func (c *MQ) UpdateUserWithContext(ctx aws.Context, input *UpdateUserRequest, opts ...request.Option) (*UpdateUserOutput, error)
- type RebootBrokerInput
- type RebootBrokerOutput
- type SanitizationWarning
- func (s SanitizationWarning) GoString() string
- func (s *SanitizationWarning) SetAttributeName(v string) *SanitizationWarning
- func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning
- func (s *SanitizationWarning) SetReason(v string) *SanitizationWarning
- func (s SanitizationWarning) String() string
- type UpdateBrokerRequest
- type UpdateBrokerResponse
- type UpdateConfigurationRequest
- func (s UpdateConfigurationRequest) GoString() string
- func (s *UpdateConfigurationRequest) SetConfigurationId(v string) *UpdateConfigurationRequest
- func (s *UpdateConfigurationRequest) SetData(v string) *UpdateConfigurationRequest
- func (s *UpdateConfigurationRequest) SetDescription(v string) *UpdateConfigurationRequest
- func (s UpdateConfigurationRequest) String() string
- func (s *UpdateConfigurationRequest) Validate() error
- type UpdateConfigurationResponse
- func (s UpdateConfigurationResponse) GoString() string
- func (s *UpdateConfigurationResponse) SetArn(v string) *UpdateConfigurationResponse
- func (s *UpdateConfigurationResponse) SetId(v string) *UpdateConfigurationResponse
- func (s *UpdateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *UpdateConfigurationResponse
- func (s *UpdateConfigurationResponse) SetName(v string) *UpdateConfigurationResponse
- func (s *UpdateConfigurationResponse) SetWarnings(v []*SanitizationWarning) *UpdateConfigurationResponse
- func (s UpdateConfigurationResponse) String() string
- type UpdateUserOutput
- type UpdateUserRequest
- func (s UpdateUserRequest) GoString() string
- func (s *UpdateUserRequest) SetBrokerId(v string) *UpdateUserRequest
- func (s *UpdateUserRequest) SetConsoleAccess(v bool) *UpdateUserRequest
- func (s *UpdateUserRequest) SetGroups(v []*string) *UpdateUserRequest
- func (s *UpdateUserRequest) SetPassword(v string) *UpdateUserRequest
- func (s *UpdateUserRequest) SetUsername(v string) *UpdateUserRequest
- func (s UpdateUserRequest) String() string
- func (s *UpdateUserRequest) Validate() error
- type User
- type UserPendingChanges
- func (s UserPendingChanges) GoString() string
- func (s *UserPendingChanges) SetConsoleAccess(v bool) *UserPendingChanges
- func (s *UserPendingChanges) SetGroups(v []*string) *UserPendingChanges
- func (s *UserPendingChanges) SetPendingChange(v string) *UserPendingChanges
- func (s UserPendingChanges) String() string
- type UserSummary
- type WeeklyStartTime
Constants ¶
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
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
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" )
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.
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.
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" // "UnauthorizedException". // // Returns information about an error. ErrCodeUnauthorizedException = "UnauthorizedException" )
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
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 ¶
func (s *ConfigurationRevision) SetRevision(v int64) *ConfigurationRevision
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 ¶
func (s *CreateBrokerResponse) SetBrokerId(v string) *CreateBrokerResponse
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 ¶
func (s *CreateConfigurationRequest) SetEngineType(v string) *CreateConfigurationRequest
SetEngineType sets the EngineType field's value.
func (*CreateConfigurationRequest) SetEngineVersion ¶
func (s *CreateConfigurationRequest) SetEngineVersion(v string) *CreateConfigurationRequest
SetEngineVersion sets the EngineVersion field's value.
func (*CreateConfigurationRequest) SetName ¶
func (s *CreateConfigurationRequest) SetName(v string) *CreateConfigurationRequest
SetName sets the Name field's value.
func (CreateConfigurationRequest) String ¶
func (s CreateConfigurationRequest) String() 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 ¶
func (s *CreateConfigurationResponse) SetArn(v string) *CreateConfigurationResponse
SetArn sets the Arn field's value.
func (*CreateConfigurationResponse) SetId ¶
func (s *CreateConfigurationResponse) SetId(v string) *CreateConfigurationResponse
SetId sets the Id field's value.
func (*CreateConfigurationResponse) SetLatestRevision ¶
func (s *CreateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *CreateConfigurationResponse
SetLatestRevision sets the LatestRevision field's value.
func (*CreateConfigurationResponse) SetName ¶
func (s *CreateConfigurationResponse) SetName(v string) *CreateConfigurationResponse
SetName sets the Name field's value.
func (CreateConfigurationResponse) String ¶
func (s CreateConfigurationResponse) String() 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 ¶
func (s *DeleteBrokerResponse) SetBrokerId(v string) *DeleteBrokerResponse
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 ¶
func (s *DescribeBrokerResponse) SetBrokerArn(v string) *DescribeBrokerResponse
SetBrokerArn sets the BrokerArn field's value.
func (*DescribeBrokerResponse) SetBrokerId ¶
func (s *DescribeBrokerResponse) SetBrokerId(v string) *DescribeBrokerResponse
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 ¶
func (s *DescribeBrokerResponse) SetBrokerName(v string) *DescribeBrokerResponse
SetBrokerName sets the BrokerName field's value.
func (*DescribeBrokerResponse) SetBrokerState ¶
func (s *DescribeBrokerResponse) SetBrokerState(v string) *DescribeBrokerResponse
SetBrokerState sets the BrokerState field's value.
func (*DescribeBrokerResponse) SetConfigurations ¶
func (s *DescribeBrokerResponse) SetConfigurations(v *Configurations) *DescribeBrokerResponse
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 ¶
func (s *DescribeBrokerResponse) SetEngineType(v string) *DescribeBrokerResponse
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 ¶
func (s *DescribeBrokerResponse) SetUsers(v []*UserSummary) *DescribeBrokerResponse
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 ¶
func (s *DescribeConfigurationInput) SetConfigurationId(v string) *DescribeConfigurationInput
SetConfigurationId sets the ConfigurationId field's value.
func (DescribeConfigurationInput) String ¶
func (s DescribeConfigurationInput) String() 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 ¶
func (s *DescribeConfigurationOutput) SetArn(v string) *DescribeConfigurationOutput
SetArn sets the Arn field's value.
func (*DescribeConfigurationOutput) SetDescription ¶
func (s *DescribeConfigurationOutput) SetDescription(v string) *DescribeConfigurationOutput
SetDescription sets the Description field's value.
func (*DescribeConfigurationOutput) SetEngineType ¶
func (s *DescribeConfigurationOutput) SetEngineType(v string) *DescribeConfigurationOutput
SetEngineType sets the EngineType field's value.
func (*DescribeConfigurationOutput) SetEngineVersion ¶
func (s *DescribeConfigurationOutput) SetEngineVersion(v string) *DescribeConfigurationOutput
SetEngineVersion sets the EngineVersion field's value.
func (*DescribeConfigurationOutput) SetId ¶
func (s *DescribeConfigurationOutput) SetId(v string) *DescribeConfigurationOutput
SetId sets the Id field's value.
func (*DescribeConfigurationOutput) SetLatestRevision ¶
func (s *DescribeConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *DescribeConfigurationOutput
SetLatestRevision sets the LatestRevision field's value.
func (*DescribeConfigurationOutput) SetName ¶
func (s *DescribeConfigurationOutput) SetName(v string) *DescribeConfigurationOutput
SetName sets the Name field's value.
func (DescribeConfigurationOutput) String ¶
func (s DescribeConfigurationOutput) String() 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 ¶
func (s DescribeConfigurationRevisionInput) GoString() string
GoString returns the string representation
func (*DescribeConfigurationRevisionInput) SetConfigurationId ¶
func (s *DescribeConfigurationRevisionInput) SetConfigurationId(v string) *DescribeConfigurationRevisionInput
SetConfigurationId sets the ConfigurationId field's value.
func (*DescribeConfigurationRevisionInput) SetConfigurationRevision ¶
func (s *DescribeConfigurationRevisionInput) SetConfigurationRevision(v string) *DescribeConfigurationRevisionInput
SetConfigurationRevision sets the ConfigurationRevision field's value.
func (DescribeConfigurationRevisionInput) String ¶
func (s DescribeConfigurationRevisionInput) String() string
String returns the string representation
func (*DescribeConfigurationRevisionInput) Validate ¶
func (s *DescribeConfigurationRevisionInput) Validate() error
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 ¶
func (s DescribeConfigurationRevisionResponse) GoString() string
GoString returns the string representation
func (*DescribeConfigurationRevisionResponse) SetConfigurationId ¶
func (s *DescribeConfigurationRevisionResponse) SetConfigurationId(v string) *DescribeConfigurationRevisionResponse
SetConfigurationId sets the ConfigurationId field's value.
func (*DescribeConfigurationRevisionResponse) SetData ¶
func (s *DescribeConfigurationRevisionResponse) SetData(v string) *DescribeConfigurationRevisionResponse
SetData sets the Data field's value.
func (*DescribeConfigurationRevisionResponse) SetDescription ¶
func (s *DescribeConfigurationRevisionResponse) SetDescription(v string) *DescribeConfigurationRevisionResponse
SetDescription sets the Description field's value.
func (DescribeConfigurationRevisionResponse) String ¶
func (s DescribeConfigurationRevisionResponse) String() 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 ¶
func (s *DescribeUserResponse) SetBrokerId(v string) *DescribeUserResponse
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 ¶
func (s *DescribeUserResponse) SetPending(v *UserPendingChanges) *DescribeUserResponse
SetPending sets the Pending field's value.
func (*DescribeUserResponse) SetUsername ¶
func (s *DescribeUserResponse) SetUsername(v string) *DescribeUserResponse
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 ¶
func (s ListConfigurationRevisionsInput) GoString() string
GoString returns the string representation
func (*ListConfigurationRevisionsInput) SetConfigurationId ¶
func (s *ListConfigurationRevisionsInput) SetConfigurationId(v string) *ListConfigurationRevisionsInput
SetConfigurationId sets the ConfigurationId field's value.
func (*ListConfigurationRevisionsInput) SetMaxResults ¶
func (s *ListConfigurationRevisionsInput) SetMaxResults(v int64) *ListConfigurationRevisionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListConfigurationRevisionsInput) SetNextToken ¶
func (s *ListConfigurationRevisionsInput) SetNextToken(v string) *ListConfigurationRevisionsInput
SetNextToken sets the NextToken field's value.
func (ListConfigurationRevisionsInput) String ¶
func (s ListConfigurationRevisionsInput) String() 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 ¶
func (s ListConfigurationRevisionsResponse) GoString() string
GoString returns the string representation
func (*ListConfigurationRevisionsResponse) SetConfigurationId ¶
func (s *ListConfigurationRevisionsResponse) SetConfigurationId(v string) *ListConfigurationRevisionsResponse
SetConfigurationId sets the ConfigurationId field's value.
func (*ListConfigurationRevisionsResponse) SetMaxResults ¶
func (s *ListConfigurationRevisionsResponse) SetMaxResults(v int64) *ListConfigurationRevisionsResponse
SetMaxResults sets the MaxResults field's value.
func (*ListConfigurationRevisionsResponse) SetNextToken ¶
func (s *ListConfigurationRevisionsResponse) SetNextToken(v string) *ListConfigurationRevisionsResponse
SetNextToken sets the NextToken field's value.
func (*ListConfigurationRevisionsResponse) SetRevisions ¶
func (s *ListConfigurationRevisionsResponse) SetRevisions(v []*ConfigurationRevision) *ListConfigurationRevisionsResponse
SetRevisions sets the Revisions field's value.
func (ListConfigurationRevisionsResponse) String ¶
func (s ListConfigurationRevisionsResponse) String() 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 ¶
func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListConfigurationsInput) SetNextToken ¶
func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput
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 ¶
func (s *ListConfigurationsResponse) SetConfigurations(v []*Configuration) *ListConfigurationsResponse
SetConfigurations sets the Configurations field's value.
func (*ListConfigurationsResponse) SetMaxResults ¶
func (s *ListConfigurationsResponse) SetMaxResults(v int64) *ListConfigurationsResponse
SetMaxResults sets the MaxResults field's value.
func (*ListConfigurationsResponse) SetNextToken ¶
func (s *ListConfigurationsResponse) SetNextToken(v string) *ListConfigurationsResponse
SetNextToken sets the NextToken field's value.
func (ListConfigurationsResponse) String ¶
func (s ListConfigurationsResponse) String() 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 ¶
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 ¶
func (s *SanitizationWarning) SetReason(v string) *SanitizationWarning
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 ¶
func (s *UpdateBrokerResponse) SetBrokerId(v string) *UpdateBrokerResponse
SetBrokerId sets the BrokerId field's value.
func (*UpdateBrokerResponse) SetConfiguration ¶
func (s *UpdateBrokerResponse) SetConfiguration(v *ConfigurationId) *UpdateBrokerResponse
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 ¶
func (s *UpdateConfigurationRequest) SetConfigurationId(v string) *UpdateConfigurationRequest
SetConfigurationId sets the ConfigurationId field's value.
func (*UpdateConfigurationRequest) SetData ¶
func (s *UpdateConfigurationRequest) SetData(v string) *UpdateConfigurationRequest
SetData sets the Data field's value.
func (*UpdateConfigurationRequest) SetDescription ¶
func (s *UpdateConfigurationRequest) SetDescription(v string) *UpdateConfigurationRequest
SetDescription sets the Description field's value.
func (UpdateConfigurationRequest) String ¶
func (s UpdateConfigurationRequest) String() 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 ¶
func (s *UpdateConfigurationResponse) SetArn(v string) *UpdateConfigurationResponse
SetArn sets the Arn field's value.
func (*UpdateConfigurationResponse) SetId ¶
func (s *UpdateConfigurationResponse) SetId(v string) *UpdateConfigurationResponse
SetId sets the Id field's value.
func (*UpdateConfigurationResponse) SetLatestRevision ¶
func (s *UpdateConfigurationResponse) SetLatestRevision(v *ConfigurationRevision) *UpdateConfigurationResponse
SetLatestRevision sets the LatestRevision field's value.
func (*UpdateConfigurationResponse) SetName ¶
func (s *UpdateConfigurationResponse) SetName(v string) *UpdateConfigurationResponse
SetName sets the Name field's value.
func (*UpdateConfigurationResponse) SetWarnings ¶
func (s *UpdateConfigurationResponse) SetWarnings(v []*SanitizationWarning) *UpdateConfigurationResponse
SetWarnings sets the Warnings field's value.
func (UpdateConfigurationResponse) String ¶
func (s UpdateConfigurationResponse) String() 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) SetConsoleAccess ¶
SetConsoleAccess sets the ConsoleAccess field's value.
func (*User) SetPassword ¶
SetPassword sets the Password field's value.
func (*User) SetUsername ¶
SetUsername sets the Username field's value.
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