2024/02/09 - AWS IoT - 3 updated api methods
Changes This release allows AWS IoT Core users to enable Online Certificate Status Protocol (OCSP) Stapling for TLS X.509 Server Certificates when creating and updating AWS IoT Domain Configurations with Custom Domain.
{'serverCertificateConfig': {'enableOCSPCheck': 'boolean'}}
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
See also: AWS API Documentation
Request Syntax
client.create_domain_configuration( domainConfigurationName='string', domainName='string', serverCertificateArns=[ 'string', ], validationCertificateArn='string', authorizerConfig={ 'defaultAuthorizerName': 'string', 'allowAuthorizerOverride': True|False }, serviceType='DATA'|'CREDENTIAL_PROVIDER'|'JOBS', tags=[ { 'Key': 'string', 'Value': 'string' }, ], tlsConfig={ 'securityPolicy': 'string' }, serverCertificateConfig={ 'enableOCSPCheck': True|False } )
string
[REQUIRED]
The name of the domain configuration. This value must be unique to a region.
string
The name of the domain.
list
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.
(string) --
string
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.
dict
An object that specifies the authorization service for a domain.
defaultAuthorizerName (string) --
The name of the authorization service for a domain configuration.
allowAuthorizerOverride (boolean) --
A Boolean that specifies whether the domain configuration's authorization service can be overridden.
string
The type of service delivered by the endpoint.
list
Metadata which can be used to manage the domain configuration.
(dict) --
A set of key/value pairs that are used to manage the resource.
Key (string) -- [REQUIRED]
The tag's key.
Value (string) --
The tag's value.
dict
An object that specifies the TLS configuration for a domain.
securityPolicy (string) --
The security policy for a domain configuration. For more information, see Security policies in the Amazon Web Services IoT Core developer guide.
dict
The server certificate configuration.
enableOCSPCheck (boolean) --
A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Configuring OCSP server-certificate stapling in domain configuration from Amazon Web Services IoT Core Developer Guide.
dict
Response Syntax
{ 'domainConfigurationName': 'string', 'domainConfigurationArn': 'string' }
Response Structure
(dict) --
domainConfigurationName (string) --
The name of the domain configuration.
domainConfigurationArn (string) --
The ARN of the domain configuration.
{'serverCertificateConfig': {'enableOCSPCheck': 'boolean'}}
Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
See also: AWS API Documentation
Request Syntax
client.describe_domain_configuration( domainConfigurationName='string' )
string
[REQUIRED]
The name of the domain configuration.
dict
Response Syntax
{ 'domainConfigurationName': 'string', 'domainConfigurationArn': 'string', 'domainName': 'string', 'serverCertificates': [ { 'serverCertificateArn': 'string', 'serverCertificateStatus': 'INVALID'|'VALID', 'serverCertificateStatusDetail': 'string' }, ], 'authorizerConfig': { 'defaultAuthorizerName': 'string', 'allowAuthorizerOverride': True|False }, 'domainConfigurationStatus': 'ENABLED'|'DISABLED', 'serviceType': 'DATA'|'CREDENTIAL_PROVIDER'|'JOBS', 'domainType': 'ENDPOINT'|'AWS_MANAGED'|'CUSTOMER_MANAGED', 'lastStatusChangeDate': datetime(2015, 1, 1), 'tlsConfig': { 'securityPolicy': 'string' }, 'serverCertificateConfig': { 'enableOCSPCheck': True|False } }
Response Structure
(dict) --
domainConfigurationName (string) --
The name of the domain configuration.
domainConfigurationArn (string) --
The ARN of the domain configuration.
domainName (string) --
The name of the domain.
serverCertificates (list) --
A list containing summary information about the server certificate included in the domain configuration.
(dict) --
An object that contains information about a server certificate.
serverCertificateArn (string) --
The ARN of the server certificate.
serverCertificateStatus (string) --
The status of the server certificate.
serverCertificateStatusDetail (string) --
Details that explain the status of the server certificate.
authorizerConfig (dict) --
An object that specifies the authorization service for a domain.
defaultAuthorizerName (string) --
The name of the authorization service for a domain configuration.
allowAuthorizerOverride (boolean) --
A Boolean that specifies whether the domain configuration's authorization service can be overridden.
domainConfigurationStatus (string) --
A Boolean value that specifies the current state of the domain configuration.
serviceType (string) --
The type of service delivered by the endpoint.
domainType (string) --
The type of the domain.
lastStatusChangeDate (datetime) --
The date and time the domain configuration's status was last changed.
tlsConfig (dict) --
An object that specifies the TLS configuration for a domain.
securityPolicy (string) --
The security policy for a domain configuration. For more information, see Security policies in the Amazon Web Services IoT Core developer guide.
serverCertificateConfig (dict) --
The server certificate configuration.
enableOCSPCheck (boolean) --
A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Configuring OCSP server-certificate stapling in domain configuration from Amazon Web Services IoT Core Developer Guide.
{'serverCertificateConfig': {'enableOCSPCheck': 'boolean'}}
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
See also: AWS API Documentation
Request Syntax
client.update_domain_configuration( domainConfigurationName='string', authorizerConfig={ 'defaultAuthorizerName': 'string', 'allowAuthorizerOverride': True|False }, domainConfigurationStatus='ENABLED'|'DISABLED', removeAuthorizerConfig=True|False, tlsConfig={ 'securityPolicy': 'string' }, serverCertificateConfig={ 'enableOCSPCheck': True|False } )
string
[REQUIRED]
The name of the domain configuration to be updated.
dict
An object that specifies the authorization service for a domain.
defaultAuthorizerName (string) --
The name of the authorization service for a domain configuration.
allowAuthorizerOverride (boolean) --
A Boolean that specifies whether the domain configuration's authorization service can be overridden.
string
The status to which the domain configuration should be updated.
boolean
Removes the authorization configuration from a domain.
dict
An object that specifies the TLS configuration for a domain.
securityPolicy (string) --
The security policy for a domain configuration. For more information, see Security policies in the Amazon Web Services IoT Core developer guide.
dict
The server certificate configuration.
enableOCSPCheck (boolean) --
A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Configuring OCSP server-certificate stapling in domain configuration from Amazon Web Services IoT Core Developer Guide.
dict
Response Syntax
{ 'domainConfigurationName': 'string', 'domainConfigurationArn': 'string' }
Response Structure
(dict) --
domainConfigurationName (string) --
The name of the domain configuration that was updated.
domainConfigurationArn (string) --
The ARN of the domain configuration that was updated.