register_service
async
¶
register_service(
service: PostRegisterServiceSupportedService,
service_details: ServiceDetails,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = 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/async_dev_ops_agent.py
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 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 | |