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
4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 | |