export interface ConfigurationId {
    /** Required. The unique ID that Amazon MQ generates for the configuration. */
    Id: string;
    /** The revision number of the configuration. */
    Revision?: number;
}
export interface EncryptionOptions {
    /** The customer master key (CMK) to use for the A KMS (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;
    /** Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers. */
    UseAwsOwnedKey: boolean;
}
export interface LdapServerMetadataInput {
    /** Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server. */
    Hosts: string[];
    /** The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp, dc=example, dc=com. */
    RoleBase: string;
    /** Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query. */
    RoleName?: string;
    /** The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client */
    RoleSearchMatching: string;
    /** The directory search scope for the role. If set to true, scope is to search the entire subtree. */
    RoleSearchSubtree?: boolean;
    /** Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com. */
    ServiceAccountPassword: string;
    /** Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example, dc=com. */
    ServiceAccountUsername: string;
    /** Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting  */
    UserBase: string;
    /** Specifies the name of the LDAP attribute for the user group membership. */
    UserRoleName?: string;
    /** The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and t */
    UserSearchMatching: string;
    /** The directory search scope for the user. If set to true, scope is to search the entire subtree. */
    UserSearchSubtree?: boolean;
}
export interface Logs {
    /** Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers. */
    Audit?: boolean;
    /** Enables general logging. */
    General?: boolean;
}
export interface WeeklyStartTime {
    /** Required. The day of the week. */
    DayOfWeek: 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
    /** 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;
}
export interface User {
    /** Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers. */
    ConsoleAccess?: 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 ch */
    Groups?: any[];
    /** 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 (,:=). */
    Password: string;
    /** The username of the broker user. The following restrictions apply to broker usernames: For Amazon MQ for ActiveMQ brokers, this value can contain only alphanumeric characters, dashes, periods, undersc */
    Username: string;
    /** Defines if this user is intended for CRDR replication purposes. */
    ReplicationUser?: boolean;
}
/** Creates a broker using the specified properties. */
export interface CreateBrokerInput {
    /** 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 whit */
    BrokerName: string;
    /** Required. The broker's deployment mode. */
    DeploymentMode: 'SINGLE_INSTANCE' | 'ACTIVE_STANDBY_MULTI_AZ' | 'CLUSTER_MULTI_AZ';
    /** Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. */
    EngineType: 'ACTIVEMQ' | 'RABBITMQ';
    /** Required. The broker's instance type. */
    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. */
    PubliclyAccessible: boolean;
    /** Optional. The authentication strategy used to secure the broker. The default is SIMPLE. */
    AuthenticationStrategy?: 'SIMPLE' | 'LDAP' | 'CONFIG_MANAGED';
    /** Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual */
    AutoMinorVersionUpgrade?: boolean;
    /** A list of information about the configuration. */
    Configuration?: 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  */
    CreatorRequestId?: string;
    /** Defines whether this broker is a part of a data replication pair. */
    DataReplicationMode?: 'NONE' | 'CRDR';
    /** 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 t */
    DataReplicationPrimaryBrokerArn?: string;
    /** Encryption options for the broker. */
    EncryptionOptions?: EncryptionOptions;
    /** The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management  */
    EngineVersion?: string;
    /** Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers. */
    LdapServerMetadata?: LdapServerMetadataInput;
    /** Enables Amazon CloudWatch logging for brokers. */
    Logs?: Logs;
    /** The parameters that determine the WeeklyStartTime. */
    MaintenanceWindowStartTime?: WeeklyStartTime;
    /** The list of rules (1 minimum, 125 maximum) that authorize connections to brokers. */
    SecurityGroups?: string[];
    /** The broker's storage type. */
    StorageType?: 'EBS' | 'EFS';
    /** 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 Zone */
    SubnetIds?: string[];
    /** Create tags when creating the broker. */
    Tags?: Record<string, string>;
    /** The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, an administrative user is required if using simple authentication and authoriza */
    Users?: User[];
}
/** Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version). */
export interface CreateConfigurationInput {
    /** Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ. */
    EngineType: 'ACTIVEMQ' | 'RABBITMQ';
    /** 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;
    /** Optional. The authentication strategy associated with the configuration. The default is SIMPLE. */
    AuthenticationStrategy?: 'SIMPLE' | 'LDAP' | 'CONFIG_MANAGED';
    /** The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, see the ActiveMQ version management and the RabbitMQ version management  */
    EngineVersion?: string;
    /** Create tags when creating the configuration. */
    Tags?: Record<string, string>;
}
/** A map of the key-value pairs for the resource tag. */
export interface CreateTagsInput {
    /** The Amazon Resource Name (ARN) of the resource tag. */
    ResourceArn: string;
    /** The key-value pair for the resource tag. */
    Tags?: Record<string, string>;
}
/** Creates a new ActiveMQ user. */
export interface CreateUserInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    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 (,:=). */
    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. */
    Username: string;
    /** Enables access to the ActiveMQ Web Console for the ActiveMQ user. */
    ConsoleAccess?: 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 ch */
    Groups?: string[];
    /** Defines if this user is intended for CRDR replication purposes. */
    ReplicationUser?: boolean;
}
export interface DeleteBrokerInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    BrokerId: string;
}
export interface DeleteConfigurationInput {
    /** The unique ID that Amazon MQ generates for the configuration. */
    ConfigurationId: string;
}
export interface DeleteTagsInput {
    /** The Amazon Resource Name (ARN) of the resource tag. */
    ResourceArn: string;
    /** An array of tag keys to delete */
    TagKeys: string[];
}
export interface DeleteUserInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    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. */
    Username: string;
}
export interface DescribeBrokerInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    BrokerId: string;
}
export interface DescribeBrokerEngineTypesInput {
    /** 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?: number;
    /** The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. */
    NextToken?: string;
}
export interface DescribeBrokerInstanceOptionsInput {
    /** 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?: number;
    /** 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;
}
export interface DescribeConfigurationInput {
    /** The unique ID that Amazon MQ generates for the configuration. */
    ConfigurationId: string;
}
export interface DescribeConfigurationRevisionInput {
    /** The unique ID that Amazon MQ generates for the configuration. */
    ConfigurationId: string;
    /** The revision of the configuration. */
    ConfigurationRevision: string;
}
export interface DescribeUserInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    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. */
    Username: string;
}
export interface ListBrokersInput {
    /** 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?: number;
    /** The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. */
    NextToken?: string;
}
export interface ListConfigurationRevisionsInput {
    /** The unique ID that Amazon MQ generates for the configuration. */
    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?: number;
    /** The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. */
    NextToken?: string;
}
export interface ListConfigurationsInput {
    /** 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?: number;
    /** The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. */
    NextToken?: string;
}
export interface ListTagsInput {
    /** The Amazon Resource Name (ARN) of the resource tag. */
    ResourceArn: string;
}
export interface ListUsersInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    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?: number;
    /** The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty. */
    NextToken?: string;
}
/** Promotes a data replication replica broker to the primary broker role. */
export interface PromoteInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    BrokerId: string;
    /** The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER. */
    Mode: 'SWITCHOVER' | 'FAILOVER';
}
export interface RebootBrokerInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    BrokerId: string;
}
/** Updates the broker using the specified properties. */
export interface UpdateBrokerInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    BrokerId: string;
    /** Optional. The authentication strategy used to secure the broker. The default is SIMPLE. */
    AuthenticationStrategy?: 'SIMPLE' | 'LDAP' | 'CONFIG_MANAGED';
    /** Enables automatic upgrades to new patch versions for brokers as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window or after a manual */
    AutoMinorVersionUpgrade?: boolean;
    /** A list of information about the configuration. */
    Configuration?: ConfigurationId;
    /** Defines whether this broker is a part of a data replication pair. */
    DataReplicationMode?: 'NONE' | 'CRDR';
    /** The broker engine version. For more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide. When upgrading to ActiveMQ version 5 */
    EngineVersion?: string;
    /** The broker's host instance type to upgrade to. For a list of supported instance types, see 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?: LdapServerMetadataInput;
    /** Enables Amazon CloudWatch logging for brokers. */
    Logs?: Logs;
    /** The parameters that determine the WeeklyStartTime. */
    MaintenanceWindowStartTime?: WeeklyStartTime;
    /** The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers. */
    SecurityGroups?: string[];
}
/** Updates the specified configuration. */
export interface UpdateConfigurationInput {
    /** The unique ID that Amazon MQ generates for the configuration. */
    ConfigurationId: string;
    /** Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration. */
    Data: string;
    /** The description of the configuration. */
    Description?: string;
}
/** Updates the information for an ActiveMQ user. */
export interface UpdateUserInput {
    /** The unique ID that Amazon MQ generates for the broker. */
    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. */
    Username: string;
    /** Enables access to the the ActiveMQ Web Console for the ActiveMQ user. */
    ConsoleAccess?: 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 ch */
    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?: boolean;
}
/** mq service binding for Step Functions SDK integrations. */
export declare class mq {
    constructor();
    createBroker<T>(params: CreateBrokerInput): Promise<T>;
    createConfiguration<T>(params: CreateConfigurationInput): Promise<T>;
    createTags<T>(params: CreateTagsInput): Promise<T>;
    createUser<T>(params: CreateUserInput): Promise<T>;
    deleteBroker<T>(params: DeleteBrokerInput): Promise<T>;
    deleteConfiguration<T>(params: DeleteConfigurationInput): Promise<T>;
    deleteTags<T>(params: DeleteTagsInput): Promise<T>;
    deleteUser<T>(params: DeleteUserInput): Promise<T>;
    describeBroker<T>(params: DescribeBrokerInput): Promise<T>;
    describeBrokerEngineTypes<T>(params: DescribeBrokerEngineTypesInput): Promise<T>;
    describeBrokerInstanceOptions<T>(params: DescribeBrokerInstanceOptionsInput): Promise<T>;
    describeConfiguration<T>(params: DescribeConfigurationInput): Promise<T>;
    describeConfigurationRevision<T>(params: DescribeConfigurationRevisionInput): Promise<T>;
    describeUser<T>(params: DescribeUserInput): Promise<T>;
    listBrokers<T>(params: ListBrokersInput): Promise<T>;
    listConfigurationRevisions<T>(params: ListConfigurationRevisionsInput): Promise<T>;
    listConfigurations<T>(params: ListConfigurationsInput): Promise<T>;
    listTags<T>(params: ListTagsInput): Promise<T>;
    listUsers<T>(params: ListUsersInput): Promise<T>;
    promote<T>(params: PromoteInput): Promise<T>;
    rebootBroker<T>(params: RebootBrokerInput): Promise<T>;
    updateBroker<T>(params: UpdateBrokerInput): Promise<T>;
    updateConfiguration<T>(params: UpdateConfigurationInput): Promise<T>;
    updateUser<T>(params: UpdateUserInput): Promise<T>;
}
//# sourceMappingURL=mq.d.ts.map