update_domain_configuration
async
¶
update_domain_configuration(
domain_configuration_name: ReservedDomainConfigurationName,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 | |