amazonka-iotwireless-2.0: Amazon IoT Wireless 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.IoTWireless.CreateServiceProfile

Description

Creates a new service profile.

Synopsis

Creating a Request

data CreateServiceProfile Source #

See: newCreateServiceProfile smart constructor.

Constructors

CreateServiceProfile' 

Fields

  • 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.

  • loRaWAN :: Maybe LoRaWANServiceProfile

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

  • name :: Maybe Text

    The name of the new resource.

  • 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
ToJSON CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.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

AWSRequest CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type AWSResponse CreateServiceProfile #

Generic CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type Rep CreateServiceProfile :: Type -> Type #

Read CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Show CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

NFData CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Methods

rnf :: CreateServiceProfile -> () #

Eq CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Hashable CreateServiceProfile Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

type AWSResponse 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" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "CreateServiceProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loRaWAN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoRaWANServiceProfile))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))

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

CreateServiceProfile, createServiceProfile_loRaWAN - The service profile information to use to create the service profile.

CreateServiceProfile, createServiceProfile_name - The name of the new resource.

$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_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_loRaWAN :: Lens' CreateServiceProfile (Maybe LoRaWANServiceProfile) Source #

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

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
Generic CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Associated Types

type Rep CreateServiceProfileResponse :: Type -> Type #

Read CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Show CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

NFData CreateServiceProfileResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.CreateServiceProfile

Eq 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" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" '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:

CreateServiceProfileResponse, createServiceProfileResponse_arn - The Amazon Resource Name of the new resource.

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.