register_service
¶
register_service(
service: PostRegisterServiceSupportedService,
service_details: ServiceDetails,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
private_connection_name: Optional[PrivateConnectionName] = None,
target_url_private_connection_name: Optional[PrivateConnectionName] = None,
exchange_url_private_connection_name: Optional[PrivateConnectionName] = None,
name: Optional[ServiceNameInput] = None,
tags: Optional[Tags] = None,
) -> RegisterServiceOutput
This operation registers the specified service
Parameters:
-
service_details(ServiceDetails) –Service-specific authorization configuration parameters
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.
-
private_connection_name(Optional[PrivateConnectionName], default:None) –The name of the private connection to use for VPC connectivity.
-
target_url_private_connection_name(Optional[PrivateConnectionName], default:None) –The name of the private connection to use for API calls (target URL) only. Cannot be specified when privateConnectionName is provided.
-
exchange_url_private_connection_name(Optional[PrivateConnectionName], default:None) –The name of the private connection to use for OAuth token exchange requests only. Cannot be specified when privateConnectionName is provided.
-
name(Optional[ServiceNameInput], default:None) –The display name for the service registration.
-
tags(Optional[Tags], default:None) –Tags to add to the Service at registration time.
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/dev_ops_agent.py
4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 | |