amazonka-mq-2.0: Amazon MQ SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MQ.CreateConfiguration

Description

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

Synopsis

Creating a Request

data CreateConfiguration Source #

Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).

See: newCreateConfiguration smart constructor.

Constructors

CreateConfiguration' 

Fields

Instances

Instances details
ToJSON CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

ToHeaders CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

ToPath CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

ToQuery CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

AWSRequest CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type AWSResponse CreateConfiguration #

Generic CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type Rep CreateConfiguration :: Type -> Type #

Read CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Show CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

NFData CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Methods

rnf :: CreateConfiguration -> () #

Eq CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Hashable CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

type AWSResponse CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

type Rep CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

type Rep CreateConfiguration = D1 ('MetaData "CreateConfiguration" "Amazonka.MQ.CreateConfiguration" "amazonka-mq-2.0-3ebKNoK022m255Abw9OF0s" 'False) (C1 ('MetaCons "CreateConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationStrategy)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "engineType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EngineType) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateConfiguration Source #

Create a value of CreateConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateConfiguration, createConfiguration_authenticationStrategy - Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

CreateConfiguration, createConfiguration_tags - Create tags when creating the configuration.

CreateConfiguration, createConfiguration_engineVersion - Required. The broker engine's version. For a list of supported engine versions, see Supported engines.

CreateConfiguration, createConfiguration_engineType - Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

CreateConfiguration, createConfiguration_name - 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.

Request Lenses

createConfiguration_authenticationStrategy :: Lens' CreateConfiguration (Maybe AuthenticationStrategy) Source #

Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

createConfiguration_tags :: Lens' CreateConfiguration (Maybe (HashMap Text Text)) Source #

Create tags when creating the configuration.

createConfiguration_engineVersion :: Lens' CreateConfiguration Text Source #

Required. The broker engine's version. For a list of supported engine versions, see Supported engines.

createConfiguration_engineType :: Lens' CreateConfiguration EngineType Source #

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

createConfiguration_name :: Lens' CreateConfiguration Text Source #

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.

Destructuring the Response

data CreateConfigurationResponse Source #

See: newCreateConfigurationResponse smart constructor.

Constructors

CreateConfigurationResponse' 

Fields

Instances

Instances details
Generic CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type Rep CreateConfigurationResponse :: Type -> Type #

Read CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Show CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

NFData CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Eq CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

type Rep CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

newCreateConfigurationResponse Source #

Create a value of CreateConfigurationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateConfigurationResponse, createConfigurationResponse_arn - Required. The Amazon Resource Name (ARN) of the configuration.

CreateConfiguration, createConfigurationResponse_authenticationStrategy - Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

CreateConfigurationResponse, createConfigurationResponse_created - Required. The date and time of the configuration.

CreateConfigurationResponse, createConfigurationResponse_id - Required. The unique ID that Amazon MQ generates for the configuration.

CreateConfigurationResponse, createConfigurationResponse_latestRevision - The latest revision of the configuration.

CreateConfiguration, createConfigurationResponse_name - 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.

$sel:httpStatus:CreateConfigurationResponse', createConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

createConfigurationResponse_arn :: Lens' CreateConfigurationResponse (Maybe Text) Source #

Required. The Amazon Resource Name (ARN) of the configuration.

createConfigurationResponse_authenticationStrategy :: Lens' CreateConfigurationResponse (Maybe AuthenticationStrategy) Source #

Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

createConfigurationResponse_created :: Lens' CreateConfigurationResponse (Maybe UTCTime) Source #

Required. The date and time of the configuration.

createConfigurationResponse_id :: Lens' CreateConfigurationResponse (Maybe Text) Source #

Required. The unique ID that Amazon MQ generates for the configuration.

createConfigurationResponse_name :: Lens' CreateConfigurationResponse (Maybe Text) Source #

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.