libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
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.IoTWireless.CreateServiceProfile

Description

Creates a new service profile.

Synopsis

Creating a Request

data CreateServiceProfile Source #

See: newCreateServiceProfile smart constructor.

Constructors

CreateServiceProfile' 

Fields

  • loRaWAN :: Maybe LoRaWANServiceProfile

    The service profile information to use to create the service profile.

  • name :: Maybe Text

    The name of the new resource.

  • clientRequestToken :: Maybe Text

    Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

  • tags :: Maybe [Tag]

    The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.

Instances

Instances details
Eq CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Read CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Show CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Generic CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type Rep CreateServiceProfile :: Type -> Type #

NFData CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Methods

rnf :: CreateServiceProfile -> () #

Hashable CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

ToJSON CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

AWSRequest CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type AWSResponse CreateServiceProfile #

ToHeaders CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

ToPath CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

ToQuery CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

type Rep CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

type Rep CreateServiceProfile = D1 ('MetaData "CreateServiceProfile" "Amazonka.IoTWireless.CreateServiceProfile" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "CreateServiceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoRaWANServiceProfile)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))
type AWSResponse CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

newCreateServiceProfile :: CreateServiceProfile Source #

Create a value of CreateServiceProfile 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:loRaWAN:CreateServiceProfile', createServiceProfile_loRaWAN - The service profile information to use to create the service profile.

$sel:name:CreateServiceProfile', createServiceProfile_name - The name of the new resource.

$sel:clientRequestToken:CreateServiceProfile', createServiceProfile_clientRequestToken - Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

$sel:tags:CreateServiceProfile', createServiceProfile_tags - The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.

Request Lenses

createServiceProfile_loRaWAN :: Lens' CreateServiceProfile (Maybe LoRaWANServiceProfile) Source #

The service profile information to use to create the service profile.

createServiceProfile_clientRequestToken :: Lens' CreateServiceProfile (Maybe Text) Source #

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

createServiceProfile_tags :: Lens' CreateServiceProfile (Maybe [Tag]) Source #

The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.

Destructuring the Response

data CreateServiceProfileResponse Source #

See: newCreateServiceProfileResponse smart constructor.

Constructors

CreateServiceProfileResponse' 

Fields

Instances

Instances details
Eq CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Read CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Show CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Generic CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type Rep CreateServiceProfileResponse :: Type -> Type #

NFData CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

type Rep CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

type Rep CreateServiceProfileResponse = D1 ('MetaData "CreateServiceProfileResponse" "Amazonka.IoTWireless.CreateServiceProfile" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "CreateServiceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateServiceProfileResponse Source #

Create a value of CreateServiceProfileResponse 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:CreateServiceProfileResponse', createServiceProfileResponse_arn - The Amazon Resource Name of the new resource.

$sel:id:CreateServiceProfileResponse', createServiceProfileResponse_id - The ID of the new service profile.

$sel:httpStatus:CreateServiceProfileResponse', createServiceProfileResponse_httpStatus - The response's http status code.

Response Lenses

createServiceProfileResponse_arn :: Lens' CreateServiceProfileResponse (Maybe Text) Source #

The Amazon Resource Name of the new resource.