update_domain_configuration
¶
update_domain_configuration(
domain_configuration_name: ReservedDomainConfigurationName,
*,
config_overrides: Optional[IoTClientConfig] = None,
authorizer_config: Optional[AuthorizerConfig] = None,
domain_configuration_status: Optional[DomainConfigurationStatus] = None,
remove_authorizer_config: Optional[RemoveAuthorizerConfig] = None,
tls_config: Optional[TlsConfig] = None,
server_certificate_config: Optional[ServerCertificateConfig] = None,
authentication_type: Optional[AuthenticationType] = None,
application_protocol: Optional[ApplicationProtocol] = None,
client_certificate_config: Optional[ClientCertificateConfig] = None,
) -> UpdateDomainConfigurationResponse
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
Parameters:
-
domain_configuration_name(ReservedDomainConfigurationName) –The name of the domain configuration to be updated.
-
authorizer_config(Optional[AuthorizerConfig], default:None) –An object that specifies the authorization service for a domain.
-
domain_configuration_status(Optional[DomainConfigurationStatus], default:None) –The status to which the domain configuration should be updated.
-
remove_authorizer_config(Optional[RemoveAuthorizerConfig], default:None) –Removes the authorization configuration from a domain.
-
tls_config(Optional[TlsConfig], default:None) –An object that specifies the TLS configuration for a domain.
-
server_certificate_config(Optional[ServerCertificateConfig], default:None) –The server certificate configuration.
-
authentication_type(Optional[AuthenticationType], default:None) –An enumerated string that specifies the authentication type.
-
CUSTOM_AUTH_X509- Use custom authentication and authorization with additional details from the X.509 client certificate.
-
CUSTOM_AUTH- Use custom authentication and authorization. For more information, see Custom authentication and authorization.
-
AWS_X509- Use X.509 client certificates without custom authentication and authorization. For more information, see X.509 client certificates.
-
AWS_SIGV4- Use Amazon Web Services Signature Version 4. For more information, see IAM users, groups, and roles.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify authentication type. For more information, see Device communication protocols.
-
-
application_protocol(Optional[ApplicationProtocol], default:None) –An enumerated string that specifies the application-layer protocol.
-
SECURE_MQTT- MQTT over TLS.
-
MQTT_WSS- MQTT over WebSocket.
-
HTTPS- HTTP over TLS.
-
DEFAULT- Use a combination of port and Application Layer Protocol Negotiation (ALPN) to specify application_layer protocol. For more information, see Device communication protocols.
-
-
client_certificate_config(Optional[ClientCertificateConfig], default:None) –An object that specifies the client certificate configuration for a domain.
Raises:
-
CertificateValidationException–The certificate is invalid.
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 | |