DevOpsAgentService / Client / update_private_connection_certificate
update_private_connection_certificate¶
- DevOpsAgentService.Client.update_private_connection_certificate(**kwargs)¶
Updates the certificate associated with a Private Connection.
See also: AWS API Documentation
Request Syntax
response = client.update_private_connection_certificate( name='string', certificate='string' )
- Parameters:
name (string) –
[REQUIRED]
The name of the Private Connection.
certificate (string) –
[REQUIRED]
The new certificate for the Private Connection.
- Return type:
dict
- Returns:
Response Syntax
{ 'name': 'string', 'type': 'SELF_MANAGED'|'SERVICE_MANAGED', 'resourceGatewayId': 'string', 'hostAddress': 'string', 'vpcId': 'string', 'resourceConfigurationId': 'string', 'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'CREATE_FAILED'|'DELETE_IN_PROGRESS'|'DELETE_FAILED', 'certificateExpiryTime': datetime(2015, 1, 1) }
Response Structure
(dict) –
Output containing the updated Private Connection summary.
name (string) –
The name of the Private Connection.
type (string) –
The type of the Private Connection.
resourceGatewayId (string) –
The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.
hostAddress (string) –
IP address or DNS name of the target resource. Only present for service-managed Private Connections.
vpcId (string) –
VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.
resourceConfigurationId (string) –
The Resource Configuration ARN. Only present for self-managed Private Connections.
status (string) –
The status of the Private Connection.
certificateExpiryTime (datetime) –
The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.
Exceptions
DevOpsAgentService.Client.exceptions.ValidationExceptionDevOpsAgentService.Client.exceptions.ContentSizeExceededExceptionDevOpsAgentService.Client.exceptions.ServiceQuotaExceededExceptionDevOpsAgentService.Client.exceptions.ConflictExceptionDevOpsAgentService.Client.exceptions.InternalServerExceptionDevOpsAgentService.Client.exceptions.AccessDeniedExceptionDevOpsAgentService.Client.exceptions.ResourceNotFoundExceptionDevOpsAgentService.Client.exceptions.ThrottlingExceptionDevOpsAgentService.Client.exceptions.InvalidParameterException