libZSservicesZSamazonka-mqZSamazonka-mq
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Read CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Show CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Generic CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type Rep CreateConfiguration :: Type -> Type #

NFData CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Methods

rnf :: CreateConfiguration -> () #

Hashable CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

ToJSON CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

AWSRequest CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type AWSResponse 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

type Rep CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

type Rep CreateConfiguration = D1 ('MetaData "CreateConfiguration" "Amazonka.MQ.CreateConfiguration" "libZSservicesZSamazonka-mqZSamazonka-mq" '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)))))
type AWSResponse CreateConfiguration Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

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:

$sel:authenticationStrategy:CreateConfiguration', createConfiguration_authenticationStrategy - Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

$sel:tags:CreateConfiguration', createConfiguration_tags - Create tags when creating the configuration.

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

$sel:engineType:CreateConfiguration', createConfiguration_engineType - Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

$sel:name: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
Eq CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Read CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Show CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Generic CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateConfiguration

Associated Types

type Rep CreateConfigurationResponse :: Type -> Type #

NFData 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:

$sel:arn:CreateConfigurationResponse', createConfigurationResponse_arn - Required. The Amazon Resource Name (ARN) of the configuration.

$sel:latestRevision:CreateConfigurationResponse', createConfigurationResponse_latestRevision - The latest revision of the configuration.

$sel:created:CreateConfigurationResponse', createConfigurationResponse_created - Required. The date and time of the configuration.

$sel:authenticationStrategy:CreateConfiguration', createConfigurationResponse_authenticationStrategy - Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

$sel:name: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:id:CreateConfigurationResponse', createConfigurationResponse_id - Required. The unique ID that Amazon MQ generates for the configuration.

$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_created :: Lens' CreateConfigurationResponse (Maybe UTCTime) Source #

Required. The date and time of the configuration.

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

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

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.

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

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