Documentation ¶
Overview ¶
Package mq provides the API client, operations, and parameter types for AmazonMQ.
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ 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.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateBroker(ctx context.Context, params *CreateBrokerInput, optFns ...func(*Options)) (*CreateBrokerOutput, error)
- func (c *Client) CreateConfiguration(ctx context.Context, params *CreateConfigurationInput, ...) (*CreateConfigurationOutput, error)
- func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
- func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)
- func (c *Client) DeleteBroker(ctx context.Context, params *DeleteBrokerInput, optFns ...func(*Options)) (*DeleteBrokerOutput, error)
- func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
- func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)
- func (c *Client) DescribeBroker(ctx context.Context, params *DescribeBrokerInput, optFns ...func(*Options)) (*DescribeBrokerOutput, error)
- func (c *Client) DescribeBrokerEngineTypes(ctx context.Context, params *DescribeBrokerEngineTypesInput, ...) (*DescribeBrokerEngineTypesOutput, error)
- func (c *Client) DescribeBrokerInstanceOptions(ctx context.Context, params *DescribeBrokerInstanceOptionsInput, ...) (*DescribeBrokerInstanceOptionsOutput, error)
- func (c *Client) DescribeConfiguration(ctx context.Context, params *DescribeConfigurationInput, ...) (*DescribeConfigurationOutput, error)
- func (c *Client) DescribeConfigurationRevision(ctx context.Context, params *DescribeConfigurationRevisionInput, ...) (*DescribeConfigurationRevisionOutput, error)
- func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
- func (c *Client) ListBrokers(ctx context.Context, params *ListBrokersInput, optFns ...func(*Options)) (*ListBrokersOutput, error)
- func (c *Client) ListConfigurationRevisions(ctx context.Context, params *ListConfigurationRevisionsInput, ...) (*ListConfigurationRevisionsOutput, error)
- func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsInput, optFns ...func(*Options)) (*ListConfigurationsOutput, error)
- func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)
- func (c *Client) Options() Options
- func (c *Client) Promote(ctx context.Context, params *PromoteInput, optFns ...func(*Options)) (*PromoteOutput, error)
- func (c *Client) RebootBroker(ctx context.Context, params *RebootBrokerInput, optFns ...func(*Options)) (*RebootBrokerOutput, error)
- func (c *Client) UpdateBroker(ctx context.Context, params *UpdateBrokerInput, optFns ...func(*Options)) (*UpdateBrokerOutput, error)
- func (c *Client) UpdateConfiguration(ctx context.Context, params *UpdateConfigurationInput, ...) (*UpdateConfigurationOutput, error)
- func (c *Client) UpdateUser(ctx context.Context, params *UpdateUserInput, optFns ...func(*Options)) (*UpdateUserOutput, error)
- type CreateBrokerInput
- type CreateBrokerOutput
- type CreateConfigurationInput
- type CreateConfigurationOutput
- type CreateTagsInput
- type CreateTagsOutput
- type CreateUserInput
- type CreateUserOutput
- type DeleteBrokerInput
- type DeleteBrokerOutput
- type DeleteTagsInput
- type DeleteTagsOutput
- type DeleteUserInput
- type DeleteUserOutput
- type DescribeBrokerEngineTypesInput
- type DescribeBrokerEngineTypesOutput
- type DescribeBrokerInput
- type DescribeBrokerInstanceOptionsInput
- type DescribeBrokerInstanceOptionsOutput
- type DescribeBrokerOutput
- type DescribeConfigurationInput
- type DescribeConfigurationOutput
- type DescribeConfigurationRevisionInput
- type DescribeConfigurationRevisionOutput
- type DescribeUserInput
- type DescribeUserOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListBrokersAPIClient
- type ListBrokersInput
- type ListBrokersOutput
- type ListBrokersPaginator
- type ListBrokersPaginatorOptions
- type ListConfigurationRevisionsInput
- type ListConfigurationRevisionsOutput
- type ListConfigurationsInput
- type ListConfigurationsOutput
- type ListTagsInput
- type ListTagsOutput
- type ListUsersInput
- type ListUsersOutput
- type Options
- type PromoteInput
- type PromoteOutput
- type RebootBrokerInput
- type RebootBrokerOutput
- type ResolveEndpoint
- type UpdateBrokerInput
- type UpdateBrokerOutput
- type UpdateConfigurationInput
- type UpdateConfigurationOutput
- type UpdateUserInput
- type UpdateUserOutput
Constants ¶
const ServiceAPIVersion = "2017-11-27"
const ServiceID = "mq"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.16.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.19.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.19.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.19.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.19.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AmazonMQ.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateBroker ¶
func (c *Client) CreateBroker(ctx context.Context, params *CreateBrokerInput, optFns ...func(*Options)) (*CreateBrokerOutput, error)
Creates a broker. Note: This API is asynchronous. To create a broker, you must either use the AmazonMQFullAccess IAM policy or include the following EC2 permissions in your IAM policy.
- ec2:CreateNetworkInterface This permission is required to allow Amazon MQ to create an elastic network interface (ENI) on behalf of your account.
- ec2:CreateNetworkInterfacePermission This permission is required to attach the ENI to the broker instance.
- ec2:DeleteNetworkInterface
- ec2:DeleteNetworkInterfacePermission
- ec2:DetachNetworkInterface
- ec2:DescribeInternetGateways
- ec2:DescribeNetworkInterfaces
- ec2:DescribeNetworkInterfacePermissions
- ec2:DescribeRouteTables
- ec2:DescribeSecurityGroups
- ec2:DescribeSubnets
- ec2:DescribeVpcs
For more information, see Create an IAM User and Get Your Amazon Web Services Credentials (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/amazon-mq-setting-up.html#create-iam-user) and Never Modify or Delete the Amazon MQ Elastic Network Interface (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/connecting-to-amazon-mq.html#never-modify-delete-elastic-network-interface) in the Amazon MQ Developer Guide.
func (*Client) CreateConfiguration ¶
func (c *Client) CreateConfiguration(ctx context.Context, params *CreateConfigurationInput, optFns ...func(*Options)) (*CreateConfigurationOutput, error)
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
func (*Client) CreateTags ¶
func (c *Client) CreateTags(ctx context.Context, params *CreateTagsInput, optFns ...func(*Options)) (*CreateTagsOutput, error)
Add a tag to a resource.
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)
Creates an ActiveMQ user. Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.
func (*Client) DeleteBroker ¶
func (c *Client) DeleteBroker(ctx context.Context, params *DeleteBrokerInput, optFns ...func(*Options)) (*DeleteBrokerOutput, error)
Deletes a broker. Note: This API is asynchronous.
func (*Client) DeleteTags ¶
func (c *Client) DeleteTags(ctx context.Context, params *DeleteTagsInput, optFns ...func(*Options)) (*DeleteTagsOutput, error)
Removes a tag from a resource.
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)
Deletes an ActiveMQ user.
func (*Client) DescribeBroker ¶
func (c *Client) DescribeBroker(ctx context.Context, params *DescribeBrokerInput, optFns ...func(*Options)) (*DescribeBrokerOutput, error)
Returns information about the specified broker.
func (*Client) DescribeBrokerEngineTypes ¶
func (c *Client) DescribeBrokerEngineTypes(ctx context.Context, params *DescribeBrokerEngineTypesInput, optFns ...func(*Options)) (*DescribeBrokerEngineTypesOutput, error)
Describe available engine types and versions.
func (*Client) DescribeBrokerInstanceOptions ¶
func (c *Client) DescribeBrokerInstanceOptions(ctx context.Context, params *DescribeBrokerInstanceOptionsInput, optFns ...func(*Options)) (*DescribeBrokerInstanceOptionsOutput, error)
Describe available broker instance options.
func (*Client) DescribeConfiguration ¶
func (c *Client) DescribeConfiguration(ctx context.Context, params *DescribeConfigurationInput, optFns ...func(*Options)) (*DescribeConfigurationOutput, error)
Returns information about the specified configuration.
func (*Client) DescribeConfigurationRevision ¶
func (c *Client) DescribeConfigurationRevision(ctx context.Context, params *DescribeConfigurationRevisionInput, optFns ...func(*Options)) (*DescribeConfigurationRevisionOutput, error)
Returns the specified configuration revision for the specified configuration.
func (*Client) DescribeUser ¶
func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
Returns information about an ActiveMQ user.
func (*Client) ListBrokers ¶
func (c *Client) ListBrokers(ctx context.Context, params *ListBrokersInput, optFns ...func(*Options)) (*ListBrokersOutput, error)
Returns a list of all brokers.
func (*Client) ListConfigurationRevisions ¶
func (c *Client) ListConfigurationRevisions(ctx context.Context, params *ListConfigurationRevisionsInput, optFns ...func(*Options)) (*ListConfigurationRevisionsOutput, error)
Returns a list of all revisions for the specified configuration.
func (*Client) ListConfigurations ¶
func (c *Client) ListConfigurations(ctx context.Context, params *ListConfigurationsInput, optFns ...func(*Options)) (*ListConfigurationsOutput, error)
Returns a list of all configurations.
func (*Client) ListTags ¶
func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
Lists tags for a resource.
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)
Returns a list of all ActiveMQ users.
func (*Client) Options ¶ added in v1.20.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) Promote ¶ added in v1.15.0
func (c *Client) Promote(ctx context.Context, params *PromoteInput, optFns ...func(*Options)) (*PromoteOutput, error)
Promotes a data replication replica broker to the primary broker role.
func (*Client) RebootBroker ¶
func (c *Client) RebootBroker(ctx context.Context, params *RebootBrokerInput, optFns ...func(*Options)) (*RebootBrokerOutput, error)
Reboots a broker. Note: This API is asynchronous.
func (*Client) UpdateBroker ¶
func (c *Client) UpdateBroker(ctx context.Context, params *UpdateBrokerInput, optFns ...func(*Options)) (*UpdateBrokerOutput, error)
Adds a pending configuration change to a broker.
func (*Client) UpdateConfiguration ¶
func (c *Client) UpdateConfiguration(ctx context.Context, params *UpdateConfigurationInput, optFns ...func(*Options)) (*UpdateConfigurationOutput, error)
Updates the specified configuration.
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(ctx context.Context, params *UpdateUserInput, optFns ...func(*Options)) (*UpdateUserOutput, error)
Updates the information for an ActiveMQ user.
type CreateBrokerInput ¶
type CreateBrokerInput struct { // Enables automatic upgrades to new minor versions for brokers, as new versions // are released and supported by Amazon MQ. Automatic upgrades occur during the // scheduled maintenance window of the broker or after a manual broker reboot. Set // to true by default, if no value is specified. // // This member is required. AutoMinorVersionUpgrade *bool // Required. The broker's name. This value must be unique in your Amazon Web // Services account, 1-50 characters long, must contain only letters, numbers, // dashes, and underscores, and must not contain white spaces, brackets, wildcard // characters, or special characters. Do not add personally identifiable // information (PII) or other confidential or sensitive information in broker // names. Broker names are accessible to other Amazon Web Services services, // including CloudWatch Logs. Broker names are not intended to be used for private // or sensitive data. // // This member is required. BrokerName *string // Required. The broker's deployment mode. // // This member is required. DeploymentMode types.DeploymentMode // Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and // RABBITMQ. // // This member is required. EngineType types.EngineType // Required. The broker engine's version. For a list of supported engine versions, // see Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . // // This member is required. EngineVersion *string // Required. The broker's instance type. // // This member is required. HostInstanceType *string // Enables connections from applications outside of the VPC that hosts the // broker's subnets. Set to false by default, if no value is provided. // // This member is required. PubliclyAccessible *bool // The list of broker users (persons or applications) who can access queues and // topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user // is accepted and created when a broker is first provisioned. All subsequent // broker users are created by making RabbitMQ API calls directly to brokers or via // the RabbitMQ web console. // // This member is required. Users []types.User // Optional. The authentication strategy used to secure the broker. The default is // SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // A list of information about the configuration. Configuration *types.ConfigurationId // The unique ID that the requester receives for the created broker. Amazon MQ // passes your ID with the API action. We recommend using a Universally Unique // Identifier (UUID) for the creatorRequestId. You may omit the creatorRequestId if // your application doesn't require idempotency. CreatorRequestId *string // Defines whether this broker is a part of a data replication pair. DataReplicationMode types.DataReplicationMode // The Amazon Resource Name (ARN) of the primary broker that is used to replicate // data from in a data replication pair, and is applied to the replica broker. Must // be set when dataReplicationMode is set to CRDR. DataReplicationPrimaryBrokerArn *string // Encryption options for the broker. EncryptionOptions *types.EncryptionOptions // Optional. The metadata of the LDAP server used to authenticate and authorize // connections to the broker. Does not apply to RabbitMQ brokers. LdapServerMetadata *types.LdapServerMetadataInput // Enables Amazon CloudWatch logging for brokers. Logs *types.Logs // The parameters that determine the WeeklyStartTime. MaintenanceWindowStartTime *types.WeeklyStartTime // The list of rules (1 minimum, 125 maximum) that authorize connections to // brokers. SecurityGroups []string // The broker's storage type. StorageType types.BrokerStorageType // The list of groups that define which subnets and IP ranges the broker can use // from different Availability Zones. If you specify more than one subnet, the // subnets must be in different Availability Zones. Amazon MQ will not be able to // create VPC endpoints for your broker with multiple subnets in the same // Availability Zone. A SINGLE_INSTANCE deployment requires one subnet (for // example, the default subnet). An ACTIVE_STANDBY_MULTI_AZ Amazon MQ for ActiveMQ // deployment requires two subnets. A CLUSTER_MULTI_AZ Amazon MQ for RabbitMQ // deployment has no subnet requirements when deployed with public accessibility. // Deployment without public accessibility requires at least one subnet. If you // specify subnets in a shared VPC (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html) // for a RabbitMQ broker, the associated VPC to which the specified subnets belong // must be owned by your Amazon Web Services account. Amazon MQ will not be able to // create VPC endpoints in VPCs that are not owned by your Amazon Web Services // account. SubnetIds []string // Create tags when creating the broker. Tags map[string]string // contains filtered or unexported fields }
Creates a broker using the specified properties.
type CreateBrokerOutput ¶
type CreateBrokerOutput struct { // The broker's Amazon Resource Name (ARN). BrokerArn *string // The unique ID that Amazon MQ generates for the broker. BrokerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateConfigurationInput ¶
type CreateConfigurationInput struct { // Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and // RABBITMQ. // // This member is required. EngineType types.EngineType // Required. The broker engine's version. For a list of supported engine versions, // see Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . // // This member is required. EngineVersion *string // 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. // // This member is required. Name *string // Optional. The authentication strategy associated with the configuration. The // default is SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // Create tags when creating the configuration. Tags map[string]string // contains filtered or unexported fields }
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
type CreateConfigurationOutput ¶
type CreateConfigurationOutput struct { // Required. The Amazon Resource Name (ARN) of the configuration. Arn *string // Optional. The authentication strategy associated with the configuration. The // default is SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // Required. The date and time of the configuration. Created *time.Time // Required. The unique ID that Amazon MQ generates for the configuration. Id *string // The latest revision of the configuration. LatestRevision *types.ConfigurationRevision // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateTagsInput ¶
type CreateTagsInput struct { // The Amazon Resource Name (ARN) of the resource tag. // // This member is required. ResourceArn *string // The key-value pair for the resource tag. Tags map[string]string // contains filtered or unexported fields }
A map of the key-value pairs for the resource tag.
type CreateTagsOutput ¶
type CreateTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateUserInput ¶
type CreateUserInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // Required. The password of the user. This value must be at least 12 characters // long, must contain at least 4 unique characters, and must not contain commas, // colons, or equal signs (,:=). // // This member is required. Password *string // 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. // // This member is required. Username *string // Enables access to 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 // Defines if this user is intended for CRDR replication purposes. ReplicationUser *bool // contains filtered or unexported fields }
Creates a new ActiveMQ user.
type CreateUserOutput ¶
type CreateUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteBrokerInput ¶
type DeleteBrokerInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // contains filtered or unexported fields }
type DeleteBrokerOutput ¶
type DeleteBrokerOutput struct { // The unique ID that Amazon MQ generates for the broker. BrokerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteTagsInput ¶
type DeleteTagsOutput ¶
type DeleteTagsOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteUserInput ¶
type DeleteUserInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // 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. // // This member is required. Username *string // contains filtered or unexported fields }
type DeleteUserOutput ¶
type DeleteUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBrokerEngineTypesInput ¶
type DescribeBrokerEngineTypesInput struct { // Filter response by engine type. EngineType *string // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // contains filtered or unexported fields }
type DescribeBrokerEngineTypesOutput ¶
type DescribeBrokerEngineTypesOutput struct { // List of available engine types and versions. BrokerEngineTypes []types.BrokerEngineType // Required. The maximum number of engine types that can be returned per page (20 // by default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBrokerInput ¶
type DescribeBrokerInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // contains filtered or unexported fields }
type DescribeBrokerInstanceOptionsInput ¶
type DescribeBrokerInstanceOptionsInput struct { // Filter response by engine type. EngineType *string // Filter response by host instance type. HostInstanceType *string // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Filter response by storage type. StorageType *string // contains filtered or unexported fields }
type DescribeBrokerInstanceOptionsOutput ¶
type DescribeBrokerInstanceOptionsOutput struct { // List of available broker instance options. BrokerInstanceOptions []types.BrokerInstanceOption // Required. The maximum number of instance options that can be returned per page // (20 by default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeBrokerOutput ¶
type DescribeBrokerOutput struct { // Actions required for a broker. ActionsRequired []types.ActionRequired // The authentication strategy used to secure the broker. The default is SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // Enables automatic upgrades to new minor versions for brokers, as new versions // are released and supported by Amazon MQ. Automatic upgrades occur during the // scheduled maintenance window of the broker or after a manual broker reboot. AutoMinorVersionUpgrade *bool // The broker's Amazon Resource Name (ARN). BrokerArn *string // The unique ID that Amazon MQ generates for the broker. BrokerId *string // A list of information about allocated brokers. BrokerInstances []types.BrokerInstance // The broker's name. This value must be unique in your Amazon Web Services // account account, 1-50 characters long, must contain only letters, numbers, // dashes, and underscores, and must not contain white spaces, brackets, wildcard // characters, or special characters. BrokerName *string // The broker's status. BrokerState types.BrokerState // The list of all revisions for the specified configuration. Configurations *types.Configurations // The time when the broker was created. Created *time.Time // The replication details of the data replication-enabled broker. Only returned // if dataReplicationMode is set to CRDR. DataReplicationMetadata *types.DataReplicationMetadataOutput // Describes whether this broker is a part of a data replication pair. DataReplicationMode types.DataReplicationMode // The broker's deployment mode. DeploymentMode types.DeploymentMode // Encryption options for the broker. EncryptionOptions *types.EncryptionOptions // The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. EngineType types.EngineType // The broker engine's version. For a list of supported engine versions, see // Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . EngineVersion *string // The broker's instance type. HostInstanceType *string // The metadata of the LDAP server used to authenticate and authorize connections // to the broker. LdapServerMetadata *types.LdapServerMetadataOutput // The list of information about logs currently enabled and pending to be deployed // for the specified broker. Logs *types.LogsSummary // The parameters that determine the WeeklyStartTime. MaintenanceWindowStartTime *types.WeeklyStartTime // The authentication strategy that will be applied when the broker is rebooted. // The default is SIMPLE. PendingAuthenticationStrategy types.AuthenticationStrategy // The pending replication details of the data replication-enabled broker. Only // returned if pendingDataReplicationMode is set to CRDR. PendingDataReplicationMetadata *types.DataReplicationMetadataOutput // Describes whether this broker will be a part of a data replication pair after // reboot. PendingDataReplicationMode types.DataReplicationMode // The broker engine version to upgrade to. For a list of supported engine // versions, see Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . PendingEngineVersion *string // The broker's host instance type to upgrade to. For a list of supported instance // types, see Broker instance types (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types) // . PendingHostInstanceType *string // The metadata of the LDAP server that will be used to authenticate and authorize // connections to the broker after it is rebooted. PendingLdapServerMetadata *types.LdapServerMetadataOutput // The list of pending security groups to authorize connections to brokers. PendingSecurityGroups []string // Enables connections from applications outside of the VPC that hosts the // broker's subnets. PubliclyAccessible *bool // The list of rules (1 minimum, 125 maximum) that authorize connections to // brokers. SecurityGroups []string // The broker's storage type. StorageType types.BrokerStorageType // The list of groups that define which subnets and IP ranges the broker can use // from different Availability Zones. SubnetIds []string // The list of all tags associated with this broker. Tags map[string]string // The list of all broker usernames for the specified broker. Users []types.UserSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeConfigurationInput ¶
type DescribeConfigurationInput struct { // The unique ID that Amazon MQ generates for the configuration. // // This member is required. ConfigurationId *string // contains filtered or unexported fields }
type DescribeConfigurationOutput ¶
type DescribeConfigurationOutput struct { // Required. The ARN of the configuration. Arn *string // Optional. The authentication strategy associated with the configuration. The // default is SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // Required. The date and time of the configuration revision. Created *time.Time // Required. The description of the configuration. Description *string // Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and // RABBITMQ. EngineType types.EngineType // Required. The broker engine's version. For a list of supported engine versions, // see, Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . EngineVersion *string // Required. The unique ID that Amazon MQ generates for the configuration. Id *string // Required. The latest revision of the configuration. LatestRevision *types.ConfigurationRevision // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeConfigurationRevisionInput ¶
type DescribeConfigurationRevisionInput struct { // The unique ID that Amazon MQ generates for the configuration. // // This member is required. ConfigurationId *string // The revision of the configuration. // // This member is required. ConfigurationRevision *string // contains filtered or unexported fields }
type DescribeConfigurationRevisionOutput ¶
type DescribeConfigurationRevisionOutput struct { // Required. The unique ID that Amazon MQ generates for the configuration. ConfigurationId *string // Required. The date and time of the configuration. Created *time.Time // Amazon MQ for ActiveMQ: the base64-encoded XML configuration. Amazon MQ for // RabbitMQ: base64-encoded Cuttlefish. Data *string // The description of the configuration. Description *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeUserInput ¶
type DescribeUserInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // 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. // // This member is required. Username *string // contains filtered or unexported fields }
type DescribeUserOutput ¶
type DescribeUserOutput struct { // Required. The unique ID that Amazon MQ generates for the broker. BrokerId *string // 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 // The status of the changes pending for the ActiveMQ user. Pending *types.UserPendingChanges // Describes whether the user is intended for data replication ReplicationUser *bool // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.16.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.16.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.16.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.16.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.16.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListBrokersAPIClient ¶ added in v0.30.0
type ListBrokersAPIClient interface {
ListBrokers(context.Context, *ListBrokersInput, ...func(*Options)) (*ListBrokersOutput, error)
}
ListBrokersAPIClient is a client that implements the ListBrokers operation.
type ListBrokersInput ¶
type ListBrokersInput struct { // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // contains filtered or unexported fields }
type ListBrokersOutput ¶
type ListBrokersOutput struct { // A list of information about all brokers. BrokerSummaries []types.BrokerSummary // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListBrokersPaginator ¶ added in v0.30.0
type ListBrokersPaginator struct {
// contains filtered or unexported fields
}
ListBrokersPaginator is a paginator for ListBrokers
func NewListBrokersPaginator ¶ added in v0.30.0
func NewListBrokersPaginator(client ListBrokersAPIClient, params *ListBrokersInput, optFns ...func(*ListBrokersPaginatorOptions)) *ListBrokersPaginator
NewListBrokersPaginator returns a new ListBrokersPaginator
func (*ListBrokersPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListBrokersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListBrokersPaginator) NextPage ¶ added in v0.30.0
func (p *ListBrokersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBrokersOutput, error)
NextPage retrieves the next ListBrokers page.
type ListBrokersPaginatorOptions ¶ added in v0.30.0
type ListBrokersPaginatorOptions struct { // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListBrokersPaginatorOptions is the paginator options for ListBrokers
type ListConfigurationRevisionsInput ¶
type ListConfigurationRevisionsInput struct { // The unique ID that Amazon MQ generates for the configuration. // // This member is required. ConfigurationId *string // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // contains filtered or unexported fields }
type ListConfigurationRevisionsOutput ¶
type ListConfigurationRevisionsOutput struct { // The unique ID that Amazon MQ generates for the configuration. ConfigurationId *string // The maximum number of configuration revisions that can be returned per page (20 // by default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // The list of all revisions for the specified configuration. Revisions []types.ConfigurationRevision // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListConfigurationsInput ¶
type ListConfigurationsInput struct { // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // contains filtered or unexported fields }
type ListConfigurationsOutput ¶
type ListConfigurationsOutput struct { // The list of all revisions for the specified configuration. Configurations []types.Configuration // The maximum number of configurations that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsInput ¶
type ListTagsInput struct { // The Amazon Resource Name (ARN) of the resource tag. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsOutput ¶
type ListTagsOutput struct { // The key-value pair for the resource tag. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListUsersInput ¶
type ListUsersInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // The maximum number of brokers that Amazon MQ can return per page (20 by // default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // contains filtered or unexported fields }
type ListUsersOutput ¶
type ListUsersOutput struct { // Required. The unique ID that Amazon MQ generates for the broker. BrokerId *string // Required. The maximum number of ActiveMQ users that can be returned per page // (20 by default). This value must be an integer from 5 to 100. MaxResults *int32 // The token that specifies the next page of results Amazon MQ should return. To // request the first page, leave nextToken empty. NextToken *string // Required. The list of all ActiveMQ usernames for the specified broker. Does not // apply to RabbitMQ brokers. Users []types.UserSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom // endpoint, set the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.19.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PromoteInput ¶ added in v1.15.0
type PromoteInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // The Promote mode requested. Note: Valid values for the parameter are // SWITCHOVER, FAILOVER. // // This member is required. Mode types.PromoteMode // contains filtered or unexported fields }
Promotes a data replication replica broker to the primary broker role.
type PromoteOutput ¶ added in v1.15.0
type PromoteOutput struct { // The unique ID that Amazon MQ generates for the broker. BrokerId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RebootBrokerInput ¶
type RebootBrokerInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // contains filtered or unexported fields }
type RebootBrokerOutput ¶
type RebootBrokerOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type UpdateBrokerInput ¶
type UpdateBrokerInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // Optional. The authentication strategy used to secure the broker. The default is // SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // Enables automatic upgrades to new minor versions for brokers, as new versions // are released and supported by Amazon MQ. Automatic upgrades occur during the // scheduled maintenance window of the broker or after a manual broker reboot. AutoMinorVersionUpgrade *bool // A list of information about the configuration. Configuration *types.ConfigurationId // Defines whether this broker is a part of a data replication pair. DataReplicationMode types.DataReplicationMode // The broker engine version. For a list of supported engine versions, see // Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . EngineVersion *string // The broker's host instance type to upgrade to. For a list of supported instance // types, see Broker instance types (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types) // . HostInstanceType *string // Optional. The metadata of the LDAP server used to authenticate and authorize // connections to the broker. Does not apply to RabbitMQ brokers. LdapServerMetadata *types.LdapServerMetadataInput // Enables Amazon CloudWatch logging for brokers. Logs *types.Logs // The parameters that determine the WeeklyStartTime. MaintenanceWindowStartTime *types.WeeklyStartTime // The list of security groups (1 minimum, 5 maximum) that authorizes connections // to brokers. SecurityGroups []string // contains filtered or unexported fields }
Updates the broker using the specified properties.
type UpdateBrokerOutput ¶
type UpdateBrokerOutput struct { // Optional. The authentication strategy used to secure the broker. The default is // SIMPLE. AuthenticationStrategy types.AuthenticationStrategy // The new boolean value that specifies whether broker engines automatically // upgrade to new minor versions as new versions are released and supported by // Amazon MQ. AutoMinorVersionUpgrade *bool // Required. The unique ID that Amazon MQ generates for the broker. BrokerId *string // The ID of the updated configuration. Configuration *types.ConfigurationId // The replication details of the data replication-enabled broker. Only returned // if dataReplicationMode is set to CRDR. DataReplicationMetadata *types.DataReplicationMetadataOutput // Describes whether this broker is a part of a data replication pair. DataReplicationMode types.DataReplicationMode // The broker engine version to upgrade to. For a list of supported engine // versions, see Supported engines (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker-engine.html) // . EngineVersion *string // The broker's host instance type to upgrade to. For a list of supported instance // types, see Broker instance types (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/broker.html#broker-instance-types) // . HostInstanceType *string // Optional. The metadata of the LDAP server used to authenticate and authorize // connections to the broker. Does not apply to RabbitMQ brokers. LdapServerMetadata *types.LdapServerMetadataOutput // The list of information about logs to be enabled for the specified broker. Logs *types.Logs // The parameters that determine the WeeklyStartTime. MaintenanceWindowStartTime *types.WeeklyStartTime // The pending replication details of the data replication-enabled broker. Only // returned if pendingDataReplicationMode is set to CRDR. PendingDataReplicationMetadata *types.DataReplicationMetadataOutput // Describes whether this broker will be a part of a data replication pair after // reboot. PendingDataReplicationMode types.DataReplicationMode // The list of security groups (1 minimum, 5 maximum) that authorizes connections // to brokers. SecurityGroups []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateConfigurationInput ¶
type UpdateConfigurationInput struct { // The unique ID that Amazon MQ generates for the configuration. // // This member is required. ConfigurationId *string // Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for // RabbitMQ: the base64-encoded Cuttlefish configuration. // // This member is required. Data *string // The description of the configuration. Description *string // contains filtered or unexported fields }
Updates the specified configuration.
type UpdateConfigurationOutput ¶
type UpdateConfigurationOutput struct { // The Amazon Resource Name (ARN) of the configuration. Arn *string // Required. The date and time of the configuration. Created *time.Time // The unique ID that Amazon MQ generates for the configuration. Id *string // The latest revision of the configuration. LatestRevision *types.ConfigurationRevision // 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 the first 20 warnings about the configuration elements or // attributes that were sanitized. Warnings []types.SanitizationWarning // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateUserInput ¶
type UpdateUserInput struct { // The unique ID that Amazon MQ generates for the broker. // // This member is required. BrokerId *string // 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. // // This member is required. Username *string // 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 // The password of the user. This value must be at least 12 characters long, must // contain at least 4 unique characters, and must not contain commas, colons, or // equal signs (,:=). Password *string // Defines whether the user is intended for data replication. ReplicationUser *bool // contains filtered or unexported fields }
Updates the information for an ActiveMQ user.
type UpdateUserOutput ¶
type UpdateUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateBroker.go
- api_op_CreateConfiguration.go
- api_op_CreateTags.go
- api_op_CreateUser.go
- api_op_DeleteBroker.go
- api_op_DeleteTags.go
- api_op_DeleteUser.go
- api_op_DescribeBroker.go
- api_op_DescribeBrokerEngineTypes.go
- api_op_DescribeBrokerInstanceOptions.go
- api_op_DescribeConfiguration.go
- api_op_DescribeConfigurationRevision.go
- api_op_DescribeUser.go
- api_op_ListBrokers.go
- api_op_ListConfigurationRevisions.go
- api_op_ListConfigurations.go
- api_op_ListTags.go
- api_op_ListUsers.go
- api_op_Promote.go
- api_op_RebootBroker.go
- api_op_UpdateBroker.go
- api_op_UpdateConfiguration.go
- api_op_UpdateUser.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go