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
4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 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 | |