types

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationStrategy

type AuthenticationStrategy string
const (
	AuthenticationStrategySimple AuthenticationStrategy = "SIMPLE"
	AuthenticationStrategyLdap   AuthenticationStrategy = "LDAP"
)

Enum values for AuthenticationStrategy

type AvailabilityZone

type AvailabilityZone struct {

	// Id for the availability zone.
	Name *string
}

Name of the availability zone.

type BadRequestException

type BadRequestException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*BadRequestException) Error

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

type BrokerEngineType

type BrokerEngineType struct {

	// The type of broker engine.
	EngineType EngineType

	// The list of engine versions.
	EngineVersions []*EngineVersion
}

Types of broker engines.

type BrokerInstance

type BrokerInstance struct {

	// The URL of the broker's ActiveMQ Web Console.
	ConsoleURL *string

	// The broker's wire-level protocol endpoints.
	Endpoints []*string

	// The IP address of the Elastic Network Interface (ENI) attached to the broker.
	IpAddress *string
}

Returns information about all brokers.

type BrokerInstanceOption

type BrokerInstanceOption struct {

	// The list of available az.
	AvailabilityZones []*AvailabilityZone

	// The broker's storage type.
	StorageType BrokerStorageType

	// The list of supported engine versions.
	SupportedEngineVersions []*string

	// The type of broker instance.
	HostInstanceType *string

	// The list of supported deployment modes.
	SupportedDeploymentModes []DeploymentMode

	// The type of broker engine.
	EngineType EngineType
}

Option for host instance type.

type BrokerState

type BrokerState string
const (
	BrokerStateCreation_in_progress BrokerState = "CREATION_IN_PROGRESS"
	BrokerStateCreation_failed      BrokerState = "CREATION_FAILED"
	BrokerStateDeletion_in_progress BrokerState = "DELETION_IN_PROGRESS"
	BrokerStateRunning              BrokerState = "RUNNING"
	BrokerStateReboot_in_progress   BrokerState = "REBOOT_IN_PROGRESS"
)

Enum values for BrokerState

type BrokerStorageType

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

Enum values for BrokerStorageType

type BrokerSummary

type BrokerSummary struct {

	// The unique ID that Amazon MQ generates for the broker.
	BrokerId *string

	// The time when the broker was created.
	Created *time.Time

	// The broker's instance type.
	HostInstanceType *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

	// The status of the broker.
	BrokerState BrokerState

	// The Amazon Resource Name (ARN) of the broker.
	BrokerArn *string

	// Required. The deployment mode of the broker.
	DeploymentMode DeploymentMode
}

The Amazon Resource Name (ARN) of the broker.

type ChangeType

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

Enum values for ChangeType

type Configuration

type Configuration struct {

	// Required. The date and time of the configuration revision.
	Created *time.Time

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

	// The list of all tags associated with this configuration.
	Tags map[string]*string

	// Required. The type of broker engine. Note: Currently, Amazon MQ supports only
	// ACTIVEMQ.
	EngineType EngineType

	// Required. The unique ID that Amazon MQ generates for the configuration.
	Id *string

	// Required. The latest revision of the configuration.
	LatestRevision *ConfigurationRevision

	// Required. The ARN of the configuration.
	Arn *string

	// The authentication strategy associated with the configuration.
	AuthenticationStrategy AuthenticationStrategy

	// Required. The version of the broker engine. For a list of supported engine
	// versions, see
	// https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
	EngineVersion *string

	// Required. The description of the configuration.
	Description *string
}

Returns information about all configurations.

type ConfigurationId

type ConfigurationId struct {

	// Required. The unique ID that Amazon MQ generates for the configuration.
	Id *string

	// The revision number of the configuration.
	Revision *int32
}

A list of information about the configuration.

type ConfigurationRevision

type ConfigurationRevision struct {

	// Required. The revision number of the configuration.
	Revision *int32

	// The description of the configuration revision.
	Description *string

	// Required. The date and time of the configuration revision.
	Created *time.Time
}

Returns information about the specified configuration revision.

type Configurations

type Configurations struct {

	// The current configuration of the broker.
	Current *ConfigurationId

	// The history of configurations applied to the broker.
	History []*ConfigurationId

	// The pending configuration of the broker.
	Pending *ConfigurationId
}

Broker configuration information

type ConflictException

type ConflictException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

func (e *ConflictException) ErrorFault() smithy.ErrorFault

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type DayOfWeek

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

Enum values for DayOfWeek

type DeploymentMode

type DeploymentMode string
const (
	DeploymentModeSingle_instance         DeploymentMode = "SINGLE_INSTANCE"
	DeploymentModeActive_standby_multi_az DeploymentMode = "ACTIVE_STANDBY_MULTI_AZ"
)

Enum values for DeploymentMode

type EncryptionOptions

type EncryptionOptions struct {

	// Enables the use of an AWS owned CMK using AWS Key Management Service (KMS).
	//
	// This member is required.
	UseAwsOwnedKey *bool

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

Encryption options for the broker.

type EngineType

type EngineType string
const (
	EngineTypeActivemq EngineType = "ACTIVEMQ"
)

Enum values for EngineType

type EngineVersion

type EngineVersion struct {

	// Id for the version.
	Name *string
}

Id of the engine version.

type ForbiddenException

type ForbiddenException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*ForbiddenException) Error

func (e *ForbiddenException) Error() string

func (*ForbiddenException) ErrorCode

func (e *ForbiddenException) ErrorCode() string

func (*ForbiddenException) ErrorFault

func (e *ForbiddenException) ErrorFault() smithy.ErrorFault

func (*ForbiddenException) ErrorMessage

func (e *ForbiddenException) ErrorMessage() string

type InternalServerErrorException

type InternalServerErrorException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*InternalServerErrorException) Error

func (*InternalServerErrorException) ErrorCode

func (e *InternalServerErrorException) ErrorCode() string

func (*InternalServerErrorException) ErrorFault

func (*InternalServerErrorException) ErrorMessage

func (e *InternalServerErrorException) ErrorMessage() string

type LdapServerMetadataInput

type LdapServerMetadataInput struct {

	// Service account username.
	ServiceAccountUsername *string

	// Service account password.
	ServiceAccountPassword *string

	// Specifies the name of the LDAP attribute for the user group membership.
	UserRoleName *string

	// Fully qualified name of the directory where you want to search for users.
	UserBase *string

	// Specifies the LDAP attribute that identifies the group name attribute in the
	// object returned from the group membership query.
	RoleName *string

	// The search criteria for groups.
	RoleSearchMatching *string

	// The directory search scope for the role. If set to true, scope is to search the
	// entire sub-tree.
	RoleSearchSubtree *bool

	// Fully qualified domain name of the LDAP server. Optional failover server.
	Hosts []*string

	// Fully qualified name of the directory to search for a user’s groups.
	RoleBase *string

	// The directory search scope for the user. If set to true, scope is to search the
	// entire sub-tree.
	UserSearchSubtree *bool

	// The search criteria for users.
	UserSearchMatching *string
}

The metadata of the LDAP server used to authenticate and authorize connections to the broker.

type LdapServerMetadataOutput

type LdapServerMetadataOutput struct {

	// Fully qualified domain name of the LDAP server. Optional failover server.
	Hosts []*string

	// The directory search scope for the role. If set to true, scope is to search the
	// entire sub-tree.
	RoleSearchSubtree *bool

	// Fully qualified name of the directory where you want to search for users.
	UserBase *string

	// The search criteria for groups.
	RoleSearchMatching *string

	// Specifies the name of the LDAP attribute for the user group membership.
	UserRoleName *string

	// Fully qualified name of the directory to search for a user’s groups.
	RoleBase *string

	// Service account username.
	ServiceAccountUsername *string

	// The search criteria for users.
	UserSearchMatching *string

	// The directory search scope for the user. If set to true, scope is to search the
	// entire sub-tree.
	UserSearchSubtree *bool

	// Specifies the LDAP attribute that identifies the group name attribute in the
	// object returned from the group membership query.
	RoleName *string
}

The metadata of the LDAP server used to authenticate and authorize connections to the broker.

type Logs

type Logs struct {

	// Enables general logging.
	General *bool

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool
}

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

type LogsSummary

type LogsSummary struct {

	// Enables general logging.
	General *bool

	// The list of information about logs pending to be deployed for the specified
	// broker.
	Pending *PendingLogs

	// The location of the CloudWatch Logs log group where general logs are sent.
	GeneralLogGroup *string

	// The location of the CloudWatch Logs log group where audit logs are sent.
	AuditLogGroup *string

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool
}

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

type NotFoundException

type NotFoundException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

type PendingLogs

type PendingLogs struct {

	// Enables audit logging. Every user management action made using JMX or the
	// ActiveMQ Web Console is logged.
	Audit *bool

	// Enables general logging.
	General *bool
}

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

type SanitizationWarning

type SanitizationWarning struct {

	// The name of the XML element that has been sanitized.
	ElementName *string

	// The name of the XML attribute that has been sanitized.
	AttributeName *string

	// Required. The reason for which the XML elements or attributes were sanitized.
	Reason SanitizationWarningReason
}

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

type SanitizationWarningReason

type SanitizationWarningReason string
const (
	SanitizationWarningReasonDisallowed_element_removed      SanitizationWarningReason = "DISALLOWED_ELEMENT_REMOVED"
	SanitizationWarningReasonDisallowed_attribute_removed    SanitizationWarningReason = "DISALLOWED_ATTRIBUTE_REMOVED"
	SanitizationWarningReasonInvalid_attribute_value_removed SanitizationWarningReason = "INVALID_ATTRIBUTE_VALUE_REMOVED"
)

Enum values for SanitizationWarningReason

type UnauthorizedException

type UnauthorizedException struct {
	Message *string

	ErrorAttribute *string
}

Returns information about an error.

func (*UnauthorizedException) Error

func (e *UnauthorizedException) Error() string

func (*UnauthorizedException) ErrorCode

func (e *UnauthorizedException) ErrorCode() string

func (*UnauthorizedException) ErrorFault

func (e *UnauthorizedException) ErrorFault() smithy.ErrorFault

func (*UnauthorizedException) ErrorMessage

func (e *UnauthorizedException) ErrorMessage() string

type User

type User struct {

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

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

	// Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
	ConsoleAccess *bool

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

An ActiveMQ user associated with the broker.

type UserPendingChanges

type UserPendingChanges struct {

	// Required. The type of change pending for the ActiveMQ user.
	PendingChange ChangeType

	// Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
	ConsoleAccess *bool

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

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

type UserSummary

type UserSummary struct {

	// The type of change pending for the ActiveMQ user.
	PendingChange 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
}

Returns a list of all ActiveMQ users.

type WeeklyStartTime

type WeeklyStartTime struct {

	// Required. The day of the week.
	DayOfWeek DayOfWeek

	// Required. The time, in 24-hour format.
	TimeOfDay *string

	// The time zone, UTC by default, in either the Country/City format, or the UTC
	// offset format.
	TimeZone *string
}

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

Jump to

Keyboard shortcuts

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