Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
Synopsis
- data CreateDomainConfiguration = CreateDomainConfiguration' {}
- newCreateDomainConfiguration :: Text -> CreateDomainConfiguration
- createDomainConfiguration_authorizerConfig :: Lens' CreateDomainConfiguration (Maybe AuthorizerConfig)
- createDomainConfiguration_serverCertificateArns :: Lens' CreateDomainConfiguration (Maybe [Text])
- createDomainConfiguration_domainName :: Lens' CreateDomainConfiguration (Maybe Text)
- createDomainConfiguration_serviceType :: Lens' CreateDomainConfiguration (Maybe ServiceType)
- createDomainConfiguration_validationCertificateArn :: Lens' CreateDomainConfiguration (Maybe Text)
- createDomainConfiguration_tags :: Lens' CreateDomainConfiguration (Maybe [Tag])
- createDomainConfiguration_domainConfigurationName :: Lens' CreateDomainConfiguration Text
- data CreateDomainConfigurationResponse = CreateDomainConfigurationResponse' {}
- newCreateDomainConfigurationResponse :: Int -> CreateDomainConfigurationResponse
- createDomainConfigurationResponse_domainConfigurationName :: Lens' CreateDomainConfigurationResponse (Maybe Text)
- createDomainConfigurationResponse_domainConfigurationArn :: Lens' CreateDomainConfigurationResponse (Maybe Text)
- createDomainConfigurationResponse_httpStatus :: Lens' CreateDomainConfigurationResponse Int
Creating a Request
data CreateDomainConfiguration Source #
See: newCreateDomainConfiguration
smart constructor.
CreateDomainConfiguration' | |
|
Instances
newCreateDomainConfiguration Source #
Create a value of CreateDomainConfiguration
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:authorizerConfig:CreateDomainConfiguration'
, createDomainConfiguration_authorizerConfig
- An object that specifies the authorization service for a domain.
$sel:serverCertificateArns:CreateDomainConfiguration'
, createDomainConfiguration_serverCertificateArns
- The ARNs of the certificates that IoT passes to the device during the
TLS handshake. Currently you can specify only one certificate ARN. This
value is not required for Amazon Web Services-managed domains.
$sel:domainName:CreateDomainConfiguration'
, createDomainConfiguration_domainName
- The name of the domain.
$sel:serviceType:CreateDomainConfiguration'
, createDomainConfiguration_serviceType
- The type of service delivered by the endpoint.
Amazon Web Services IoT Core currently supports only the DATA
service
type.
$sel:validationCertificateArn:CreateDomainConfiguration'
, createDomainConfiguration_validationCertificateArn
- The certificate used to validate the server certificate and prove domain
name ownership. This certificate must be signed by a public certificate
authority. This value is not required for Amazon Web Services-managed
domains.
$sel:tags:CreateDomainConfiguration'
, createDomainConfiguration_tags
- Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
$sel:domainConfigurationName:CreateDomainConfiguration'
, createDomainConfiguration_domainConfigurationName
- The name of the domain configuration. This value must be unique to a
region.
Request Lenses
createDomainConfiguration_authorizerConfig :: Lens' CreateDomainConfiguration (Maybe AuthorizerConfig) Source #
An object that specifies the authorization service for a domain.
createDomainConfiguration_serverCertificateArns :: Lens' CreateDomainConfiguration (Maybe [Text]) Source #
The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.
createDomainConfiguration_domainName :: Lens' CreateDomainConfiguration (Maybe Text) Source #
The name of the domain.
createDomainConfiguration_serviceType :: Lens' CreateDomainConfiguration (Maybe ServiceType) Source #
The type of service delivered by the endpoint.
Amazon Web Services IoT Core currently supports only the DATA
service
type.
createDomainConfiguration_validationCertificateArn :: Lens' CreateDomainConfiguration (Maybe Text) Source #
The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for Amazon Web Services-managed domains.
createDomainConfiguration_tags :: Lens' CreateDomainConfiguration (Maybe [Tag]) Source #
Metadata which can be used to manage the domain configuration.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
createDomainConfiguration_domainConfigurationName :: Lens' CreateDomainConfiguration Text Source #
The name of the domain configuration. This value must be unique to a region.
Destructuring the Response
data CreateDomainConfigurationResponse Source #
See: newCreateDomainConfigurationResponse
smart constructor.
CreateDomainConfigurationResponse' | |
|
Instances
newCreateDomainConfigurationResponse Source #
Create a value of CreateDomainConfigurationResponse
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:domainConfigurationName:CreateDomainConfiguration'
, createDomainConfigurationResponse_domainConfigurationName
- The name of the domain configuration.
$sel:domainConfigurationArn:CreateDomainConfigurationResponse'
, createDomainConfigurationResponse_domainConfigurationArn
- The ARN of the domain configuration.
$sel:httpStatus:CreateDomainConfigurationResponse'
, createDomainConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createDomainConfigurationResponse_domainConfigurationName :: Lens' CreateDomainConfigurationResponse (Maybe Text) Source #
The name of the domain configuration.
createDomainConfigurationResponse_domainConfigurationArn :: Lens' CreateDomainConfigurationResponse (Maybe Text) Source #
The ARN of the domain configuration.
createDomainConfigurationResponse_httpStatus :: Lens' CreateDomainConfigurationResponse Int Source #
The response's http status code.