Skip to content

Commit

Permalink
fix: added missing endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyJohnes committed Sep 14, 2023
1 parent 87fb622 commit d3ce81d
Showing 1 changed file with 52 additions and 2 deletions.
54 changes: 52 additions & 2 deletions src/service-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
serviceIds: ['yandex.cloud.operation.OperationService'],
endpoint: 'operation.api.cloud.yandex.net:443',
},
{
serviceIds: [
'yandex.cloud.backup.v1.BackupService',
'yandex.cloud.backup.v1.PolicyService',
'yandex.cloud.backup.v1.ProviderService',
'yandex.cloud.backup.v1.ResourceService',
],
endpoint: 'backup.api.cloud.yandex.net:443',
},
{
serviceIds: [
'yandex.cloud.compute.v1.DiskPlacementGroupService',
Expand All @@ -32,6 +41,7 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.compute.v1.ZoneService',
'yandex.cloud.compute.v1.instancegroup.InstanceGroupService',
'yandex.cloud.compute.v1.SnapshotScheduleService',
'yandex.cloud.compute.v1.GpuClusterService',
],
endpoint: 'compute.api.cloud.yandex.net:443',
},
Expand Down Expand Up @@ -94,6 +104,7 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.mdb.postgresql.v1.DatabaseService',
'yandex.cloud.mdb.postgresql.v1.ResourcePresetService',
'yandex.cloud.mdb.postgresql.v1.UserService',
'yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService',
'yandex.cloud.mdb.redis.v1.BackupService',
'yandex.cloud.mdb.redis.v1.ClusterService',
'yandex.cloud.mdb.redis.v1.ResourcePresetService',
Expand All @@ -102,6 +113,9 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.mdb.sqlserver.v1.DatabaseService',
'yandex.cloud.mdb.sqlserver.v1.ResourcePresetService',
'yandex.cloud.mdb.sqlserver.v1.UserService',
'yandex.cloud.mdb.opensearch.v1.BackupService',
'yandex.cloud.mdb.opensearch.v1.ClusterService',
'yandex.cloud.mdb.opensearch.v1.ResourcePresetService',
],
endpoint: 'mdb.api.cloud.yandex.net:443',
},
Expand Down Expand Up @@ -132,6 +146,7 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.containerregistry.v1.RegistryService',
'yandex.cloud.containerregistry.v1.RepositoryService',
'yandex.cloud.containerregistry.v1.ScannerService',
'yandex.cloud.containerregistry.v1.ScanPolicyService',
],
endpoint: 'container-registry.api.cloud.yandex.net:443',
},
Expand Down Expand Up @@ -177,6 +192,8 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
{
serviceIds: [
'yandex.cloud.logging.v1.LogGroupService',
'yandex.cloud.logging.v1.ExportService',
'yandex.cloud.logging.v1.SinkService',
],
endpoint: 'logging.api.cloud.yandex.net:443',
},
Expand Down Expand Up @@ -237,11 +254,19 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
endpoint: 'dataproc-manager.api.cloud.yandex.net:443',
},
{
serviceIds: ['yandex.cloud.kms.v1.SymmetricKeyService'],
serviceIds: [
'yandex.cloud.kms.v1.SymmetricKeyService',
'yandex.cloud.kms.v1.asymmetricencryption.AsymmetricEncryptionKeyService',
'yandex.cloud.kms.v1.asymmetricsignature.AsymmetricSignatureKeyService',
],
endpoint: 'kms.api.cloud.yandex.net:443',
},
{
serviceIds: ['yandex.cloud.kms.v1.SymmetricCryptoService'],
serviceIds: [
'yandex.cloud.kms.v1.SymmetricCryptoService',
'yandex.cloud.kms.v1.asymmetricencryption.AsymmetricEncryptionCryptoService',
'yandex.cloud.kms.v1.asymmetricsignature.AsymmetricSignatureCryptoService',
],
endpoint: 'kms.yandex:443',
},
{
Expand All @@ -259,6 +284,12 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
],
endpoint: 'vision.api.cloud.yandex.net:443',
},
{
serviceIds: [
'yandex.cloud.ai.ocr.v1.TextRecognitionService',
],
endpoint: 'ocr.api.cloud.yandex.net:443',
},
{
serviceIds: ['yandex.cloud.ai.stt.v2.SttService'],
endpoint: 'transcribe.api.cloud.yandex.net:443',
Expand Down Expand Up @@ -312,6 +343,8 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.datasphere.v1.NodeService',
'yandex.cloud.datasphere.v1.ProjectDataService',
'yandex.cloud.datasphere.v1.ProjectService',
'yandex.cloud.datasphere.v2.ProjectService',
'yandex.cloud.datasphere.v2.CommunityService',
],
endpoint: 'datasphere.api.cloud.yandex.net:443',
},
Expand Down Expand Up @@ -343,6 +376,9 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
{
serviceIds: [
'yandex.cloud.marketplace.v1.metering.ImageProductUsageService',
'yandex.cloud.marketplace.licensemanager.v1.InstanceService',
'yandex.cloud.marketplace.licensemanager.v1.LockService',
'yandex.cloud.marketplace.metering.v1.ImageProductUsageService',
],
endpoint: 'marketplace.api.cloud.yandex.net:443',
},
Expand All @@ -353,6 +389,8 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
'yandex.cloud.organizationmanager.v1.saml.CertificateService',
'yandex.cloud.organizationmanager.v1.saml.FederationService',
'yandex.cloud.organizationmanager.v1.GroupService',
'yandex.cloud.organizationmanager.v1.GroupMappingService',
'yandex.cloud.organizationmanager.v1.SshCertificateService',
],
endpoint: 'organization-manager.api.cloud.yandex.net:443',
},
Expand All @@ -362,6 +400,18 @@ const SERVICE_ENDPOINTS_LIST: ServiceEndpointsList = [
],
endpoint: 'storage.api.cloud.yandex.net:443',
},
{
serviceIds: [
'yandex.cloud.loadtesting.agent.v1.AgentRegistrationService',
'yandex.cloud.loadtesting.agent.v1.AgentService',
'yandex.cloud.loadtesting.agent.v1.JobService',
'yandex.cloud.loadtesting.agent.v1.MonitoringService',
'yandex.cloud.loadtesting.agent.v1.TestService',
'yandex.cloud.loadtesting.agent.v1.TrailService',
'yandex.cloud.loadtesting.api.v1.AgentService',
],
endpoint: 'loadtesting.api.cloud.yandex.net:443',
},
];

export const getServiceClientEndpoint = <T extends ServiceDefinition>(generatedClientCtor: GeneratedServiceClientCtor<T>): string => {
Expand Down

0 comments on commit d3ce81d

Please # to comment.