arthur-client 1.4.0__py3-none-any.whl → 1.4.1055__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- arthur_client/__version__.py +1 -0
- arthur_client/api_bindings/__init__.py +330 -0
- arthur_client/api_bindings/api/__init__.py +30 -0
- arthur_client/api_bindings/api/alert_rules_v1_api.py +1627 -0
- arthur_client/api_bindings/api/alerts_v1_api.py +1042 -0
- arthur_client/api_bindings/api/authorization_v1_api.py +3926 -0
- arthur_client/api_bindings/api/connector_schemas_v1_api.py +559 -0
- arthur_client/api_bindings/api/connectors_v1_api.py +2165 -0
- arthur_client/api_bindings/api/data_plane_associations_v1_api.py +1699 -0
- arthur_client/api_bindings/api/data_planes_v1_api.py +1832 -0
- arthur_client/api_bindings/api/data_retrieval_v1_api.py +2403 -0
- arthur_client/api_bindings/api/datasets_v1_api.py +4343 -0
- arthur_client/api_bindings/api/default_api.py +284 -0
- arthur_client/api_bindings/api/feature_flags_v1_api.py +284 -0
- arthur_client/api_bindings/api/groups_v1_api.py +2803 -0
- arthur_client/api_bindings/api/jobs_v1_api.py +3809 -0
- arthur_client/api_bindings/api/metric_functions_v1_api.py +285 -0
- arthur_client/api_bindings/api/metrics_v1_api.py +1297 -0
- arthur_client/api_bindings/api/models_v1_api.py +2739 -0
- arthur_client/api_bindings/api/o_auth_v1_api.py +284 -0
- arthur_client/api_bindings/api/organizations_v1_api.py +827 -0
- arthur_client/api_bindings/api/projects_v1_api.py +1541 -0
- arthur_client/api_bindings/api/registration_v1_api.py +319 -0
- arthur_client/api_bindings/api/roles_v1_api.py +307 -0
- arthur_client/api_bindings/api/tasks_v1_api.py +3173 -0
- arthur_client/api_bindings/api/upsolve_v1_api.py +320 -0
- arthur_client/api_bindings/api/users_v1_api.py +2930 -0
- arthur_client/api_bindings/api/webhooks_v1_api.py +1843 -0
- arthur_client/api_bindings/api/workspaces_v1_api.py +1511 -0
- arthur_client/api_bindings/api_client.py +797 -0
- arthur_client/api_bindings/api_response.py +21 -0
- arthur_client/api_bindings/configuration.py +458 -0
- arthur_client/api_bindings/docs/AggregationMetricType.md +12 -0
- arthur_client/api_bindings/docs/AggregationSpec.md +31 -0
- arthur_client/api_bindings/docs/AggregationSpecSchema.md +34 -0
- arthur_client/api_bindings/docs/AggregationSpecSchemaInitArgsInner.md +39 -0
- arthur_client/api_bindings/docs/Alert.md +43 -0
- arthur_client/api_bindings/docs/AlertBound.md +12 -0
- arthur_client/api_bindings/docs/AlertCheckJobSpec.md +32 -0
- arthur_client/api_bindings/docs/AlertRule.md +40 -0
- arthur_client/api_bindings/docs/AlertRuleNotificationWebhook.md +30 -0
- arthur_client/api_bindings/docs/AlertRuleSort.md +12 -0
- arthur_client/api_bindings/docs/AlertRulesV1Api.md +431 -0
- arthur_client/api_bindings/docs/AlertSort.md +12 -0
- arthur_client/api_bindings/docs/AlertWebhookCalled.md +31 -0
- arthur_client/api_bindings/docs/AlertsV1Api.md +268 -0
- arthur_client/api_bindings/docs/AuthorizationV1Api.md +1039 -0
- arthur_client/api_bindings/docs/AvailableDataset.md +39 -0
- arthur_client/api_bindings/docs/AvailableDatasetsSort.md +14 -0
- arthur_client/api_bindings/docs/BadRequestError.md +29 -0
- arthur_client/api_bindings/docs/BaseRole.md +31 -0
- arthur_client/api_bindings/docs/BoundMember.md +30 -0
- arthur_client/api_bindings/docs/BoundMemberKind.md +12 -0
- arthur_client/api_bindings/docs/BoundResource.md +31 -0
- arthur_client/api_bindings/docs/BoundResourceKind.md +16 -0
- arthur_client/api_bindings/docs/BoundRole.md +30 -0
- arthur_client/api_bindings/docs/Config.md +37 -0
- arthur_client/api_bindings/docs/ConflictError.md +29 -0
- arthur_client/api_bindings/docs/ConnectorCheckJobSpec.md +30 -0
- arthur_client/api_bindings/docs/ConnectorCheckOutcome.md +12 -0
- arthur_client/api_bindings/docs/ConnectorCheckResult.md +30 -0
- arthur_client/api_bindings/docs/ConnectorFieldDataType.md +16 -0
- arthur_client/api_bindings/docs/ConnectorPaginationOptions.md +30 -0
- arthur_client/api_bindings/docs/ConnectorSchemasV1Api.md +161 -0
- arthur_client/api_bindings/docs/ConnectorSpec.md +39 -0
- arthur_client/api_bindings/docs/ConnectorSpecField.md +30 -0
- arthur_client/api_bindings/docs/ConnectorSpecFieldWithMetadata.md +32 -0
- arthur_client/api_bindings/docs/ConnectorSpecSchema.md +34 -0
- arthur_client/api_bindings/docs/ConnectorSpecSchemaField.md +34 -0
- arthur_client/api_bindings/docs/ConnectorType.md +18 -0
- arthur_client/api_bindings/docs/ConnectorsSort.md +14 -0
- arthur_client/api_bindings/docs/ConnectorsV1Api.md +586 -0
- arthur_client/api_bindings/docs/CreateModelLinkTaskJobSpec.md +32 -0
- arthur_client/api_bindings/docs/CreateModelTaskJobSpec.md +33 -0
- arthur_client/api_bindings/docs/CreatedAlerts.md +30 -0
- arthur_client/api_bindings/docs/Credentials.md +32 -0
- arthur_client/api_bindings/docs/DType.md +26 -0
- arthur_client/api_bindings/docs/DataPlane.md +37 -0
- arthur_client/api_bindings/docs/DataPlaneAssociation.md +35 -0
- arthur_client/api_bindings/docs/DataPlaneAssociationSort.md +12 -0
- arthur_client/api_bindings/docs/DataPlaneAssociationsV1Api.md +443 -0
- arthur_client/api_bindings/docs/DataPlaneCapabilities.md +29 -0
- arthur_client/api_bindings/docs/DataPlaneSort.md +14 -0
- arthur_client/api_bindings/docs/DataPlanesV1Api.md +502 -0
- arthur_client/api_bindings/docs/DataResultFilter.md +31 -0
- arthur_client/api_bindings/docs/DataResultFilterOp.md +24 -0
- arthur_client/api_bindings/docs/DataRetrievalData.md +30 -0
- arthur_client/api_bindings/docs/DataRetrievalOperation.md +32 -0
- arthur_client/api_bindings/docs/DataRetrievalStatus.md +14 -0
- arthur_client/api_bindings/docs/DataRetrievalV1Api.md +656 -0
- arthur_client/api_bindings/docs/Dataset.md +39 -0
- arthur_client/api_bindings/docs/DatasetColumn.md +31 -0
- arthur_client/api_bindings/docs/DatasetConnector.md +31 -0
- arthur_client/api_bindings/docs/DatasetJoinKind.md +16 -0
- arthur_client/api_bindings/docs/DatasetJoinSpec.md +31 -0
- arthur_client/api_bindings/docs/DatasetListType.md +32 -0
- arthur_client/api_bindings/docs/DatasetLocator.md +29 -0
- arthur_client/api_bindings/docs/DatasetLocatorField.md +30 -0
- arthur_client/api_bindings/docs/DatasetLocatorFieldDataType.md +14 -0
- arthur_client/api_bindings/docs/DatasetLocatorSchema.md +29 -0
- arthur_client/api_bindings/docs/DatasetLocatorSchemaField.md +33 -0
- arthur_client/api_bindings/docs/DatasetObjectType.md +32 -0
- arthur_client/api_bindings/docs/DatasetReference.md +31 -0
- arthur_client/api_bindings/docs/DatasetScalarType.md +32 -0
- arthur_client/api_bindings/docs/DatasetSchema.md +31 -0
- arthur_client/api_bindings/docs/DatasetsSort.md +12 -0
- arthur_client/api_bindings/docs/DatasetsV1Api.md +1174 -0
- arthur_client/api_bindings/docs/DefaultApi.md +74 -0
- arthur_client/api_bindings/docs/Definition.md +34 -0
- arthur_client/api_bindings/docs/DeleteGroupMembership.md +29 -0
- arthur_client/api_bindings/docs/DeleteModelTaskJobSpec.md +30 -0
- arthur_client/api_bindings/docs/Dimension.md +30 -0
- arthur_client/api_bindings/docs/ExampleConfig.md +30 -0
- arthur_client/api_bindings/docs/ExamplesConfig.md +30 -0
- arthur_client/api_bindings/docs/ExtendedRole.md +39 -0
- arthur_client/api_bindings/docs/FeatureFlagsV1Api.md +73 -0
- arthur_client/api_bindings/docs/FetchDataJobSpec.md +36 -0
- arthur_client/api_bindings/docs/FetchModelTaskJobSpec.md +30 -0
- arthur_client/api_bindings/docs/GenerateMetricsSpecRequest.md +29 -0
- arthur_client/api_bindings/docs/Group.md +35 -0
- arthur_client/api_bindings/docs/GroupMembership.md +33 -0
- arthur_client/api_bindings/docs/GroupSort.md +14 -0
- arthur_client/api_bindings/docs/GroupsV1Api.md +756 -0
- arthur_client/api_bindings/docs/HTTPValidationError.md +29 -0
- arthur_client/api_bindings/docs/HealthStatus.md +29 -0
- arthur_client/api_bindings/docs/InfinitePagination.md +30 -0
- arthur_client/api_bindings/docs/InfiniteResourceListAlert.md +30 -0
- arthur_client/api_bindings/docs/InfiniteResourceListJob.md +30 -0
- arthur_client/api_bindings/docs/InternalServerError.md +29 -0
- arthur_client/api_bindings/docs/InviteNewUser.md +31 -0
- arthur_client/api_bindings/docs/Items.md +34 -0
- arthur_client/api_bindings/docs/Items1.md +31 -0
- arthur_client/api_bindings/docs/Job.md +48 -0
- arthur_client/api_bindings/docs/JobDequeueParameters.md +29 -0
- arthur_client/api_bindings/docs/JobError.md +29 -0
- arthur_client/api_bindings/docs/JobErrors.md +29 -0
- arthur_client/api_bindings/docs/JobKind.md +34 -0
- arthur_client/api_bindings/docs/JobLog.md +31 -0
- arthur_client/api_bindings/docs/JobLogLevel.md +18 -0
- arthur_client/api_bindings/docs/JobLogs.md +29 -0
- arthur_client/api_bindings/docs/JobPriority.md +16 -0
- arthur_client/api_bindings/docs/JobRun.md +34 -0
- arthur_client/api_bindings/docs/JobSpec.md +49 -0
- arthur_client/api_bindings/docs/JobState.md +18 -0
- arthur_client/api_bindings/docs/JobTrigger.md +14 -0
- arthur_client/api_bindings/docs/JobsBatch.md +29 -0
- arthur_client/api_bindings/docs/JobsSort.md +14 -0
- arthur_client/api_bindings/docs/JobsV1Api.md +960 -0
- arthur_client/api_bindings/docs/JoinedDataset.md +32 -0
- arthur_client/api_bindings/docs/KeywordsConfig.md +29 -0
- arthur_client/api_bindings/docs/ListDatasetsJobSpec.md +30 -0
- arthur_client/api_bindings/docs/ListType.md +29 -0
- arthur_client/api_bindings/docs/MetricFunctionsV1Api.md +81 -0
- arthur_client/api_bindings/docs/MetricsArgSpec.md +30 -0
- arthur_client/api_bindings/docs/MetricsCalculationJobSpec.md +32 -0
- arthur_client/api_bindings/docs/MetricsColumnListParameterSchema.md +33 -0
- arthur_client/api_bindings/docs/MetricsColumnParameterSchema.md +37 -0
- arthur_client/api_bindings/docs/MetricsColumnParameterSchemaAllowedColumnTypesInner.md +31 -0
- arthur_client/api_bindings/docs/MetricsDatasetParameterSchema.md +34 -0
- arthur_client/api_bindings/docs/MetricsLiteralParameterSchema.md +34 -0
- arthur_client/api_bindings/docs/MetricsQueryResult.md +29 -0
- arthur_client/api_bindings/docs/MetricsResultFilterOp.md +24 -0
- arthur_client/api_bindings/docs/MetricsUpload.md +30 -0
- arthur_client/api_bindings/docs/MetricsUploadMetricsInner.md +31 -0
- arthur_client/api_bindings/docs/MetricsUploadResult.md +32 -0
- arthur_client/api_bindings/docs/MetricsV1Api.md +346 -0
- arthur_client/api_bindings/docs/MetricsVersion.md +34 -0
- arthur_client/api_bindings/docs/MetricsVersionsSort.md +16 -0
- arthur_client/api_bindings/docs/Model.md +41 -0
- arthur_client/api_bindings/docs/ModelMetricSpec.md +30 -0
- arthur_client/api_bindings/docs/ModelMetricsSchedule.md +32 -0
- arthur_client/api_bindings/docs/ModelProblemType.md +18 -0
- arthur_client/api_bindings/docs/ModelsSort.md +14 -0
- arthur_client/api_bindings/docs/ModelsV1Api.md +742 -0
- arthur_client/api_bindings/docs/NewRuleRequest.md +33 -0
- arthur_client/api_bindings/docs/NotFoundError.md +29 -0
- arthur_client/api_bindings/docs/NumericMetric.md +30 -0
- arthur_client/api_bindings/docs/NumericPoint.md +30 -0
- arthur_client/api_bindings/docs/NumericTimeSeries.md +30 -0
- arthur_client/api_bindings/docs/OAuthV1Api.md +73 -0
- arthur_client/api_bindings/docs/ObjectType.md +29 -0
- arthur_client/api_bindings/docs/ObjectValue.md +34 -0
- arthur_client/api_bindings/docs/Organization.md +32 -0
- arthur_client/api_bindings/docs/OrganizationsV1Api.md +234 -0
- arthur_client/api_bindings/docs/PIIConfig.md +31 -0
- arthur_client/api_bindings/docs/Pagination.md +32 -0
- arthur_client/api_bindings/docs/PatchAlertRule.md +35 -0
- arthur_client/api_bindings/docs/PatchConnectorSpec.md +31 -0
- arthur_client/api_bindings/docs/PatchDataPlane.md +31 -0
- arthur_client/api_bindings/docs/PatchDataPlaneCapabilities.md +29 -0
- arthur_client/api_bindings/docs/PatchDataset.md +31 -0
- arthur_client/api_bindings/docs/PatchDatasetLocator.md +29 -0
- arthur_client/api_bindings/docs/PatchGroup.md +30 -0
- arthur_client/api_bindings/docs/PatchJob.md +29 -0
- arthur_client/api_bindings/docs/PatchModel.md +31 -0
- arthur_client/api_bindings/docs/PatchOrganization.md +29 -0
- arthur_client/api_bindings/docs/PatchProject.md +30 -0
- arthur_client/api_bindings/docs/PatchServiceAccountUser.md +29 -0
- arthur_client/api_bindings/docs/PatchTaskRequest.md +32 -0
- arthur_client/api_bindings/docs/PatchUser.md +32 -0
- arthur_client/api_bindings/docs/PatchWebhook.md +32 -0
- arthur_client/api_bindings/docs/PatchWorkspace.md +29 -0
- arthur_client/api_bindings/docs/Permission.md +31 -0
- arthur_client/api_bindings/docs/PermissionName.md +272 -0
- arthur_client/api_bindings/docs/PermissionRequestItem.md +31 -0
- arthur_client/api_bindings/docs/PermissionResponseItem.md +32 -0
- arthur_client/api_bindings/docs/PermissionsRequest.md +29 -0
- arthur_client/api_bindings/docs/PermissionsResponse.md +29 -0
- arthur_client/api_bindings/docs/PostAlert.md +36 -0
- arthur_client/api_bindings/docs/PostAlertRule.md +35 -0
- arthur_client/api_bindings/docs/PostAlerts.md +29 -0
- arthur_client/api_bindings/docs/PostConnectorSpec.md +33 -0
- arthur_client/api_bindings/docs/PostDataPlane.md +31 -0
- arthur_client/api_bindings/docs/PostDataPlaneAssociation.md +30 -0
- arthur_client/api_bindings/docs/PostDataRetrievalOperation.md +32 -0
- arthur_client/api_bindings/docs/PostDataset.md +33 -0
- arthur_client/api_bindings/docs/PostDatasetJoinSpec.md +33 -0
- arthur_client/api_bindings/docs/PostEndUser.md +33 -0
- arthur_client/api_bindings/docs/PostGlobalRoleBinding.md +31 -0
- arthur_client/api_bindings/docs/PostGroup.md +30 -0
- arthur_client/api_bindings/docs/PostGroupMembership.md +29 -0
- arthur_client/api_bindings/docs/PostJob.md +34 -0
- arthur_client/api_bindings/docs/PostJobBatch.md +29 -0
- arthur_client/api_bindings/docs/PostJobKind.md +21 -0
- arthur_client/api_bindings/docs/PostJobSpec.md +37 -0
- arthur_client/api_bindings/docs/PostLinkTaskRequest.md +31 -0
- arthur_client/api_bindings/docs/PostMetricsQuery.md +32 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilter.md +31 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterAndGroup.md +29 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterAndGroupAndInner.md +33 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterOrGroup.md +29 -0
- arthur_client/api_bindings/docs/PostMetricsQueryResultFilterOrGroupOrInner.md +33 -0
- arthur_client/api_bindings/docs/PostMetricsQueryTimeRange.md +30 -0
- arthur_client/api_bindings/docs/PostMetricsVersions.md +30 -0
- arthur_client/api_bindings/docs/PostModel.md +33 -0
- arthur_client/api_bindings/docs/PostProject.md +30 -0
- arthur_client/api_bindings/docs/PostRoleBinding.md +31 -0
- arthur_client/api_bindings/docs/PostServiceAccount.md +29 -0
- arthur_client/api_bindings/docs/PostTaskRequest.md +32 -0
- arthur_client/api_bindings/docs/PostTaskValidationAPIKey.md +31 -0
- arthur_client/api_bindings/docs/PostUpsolveTenant.md +30 -0
- arthur_client/api_bindings/docs/PostWebhook.md +32 -0
- arthur_client/api_bindings/docs/PostWorkspace.md +29 -0
- arthur_client/api_bindings/docs/Project.md +35 -0
- arthur_client/api_bindings/docs/ProjectBoundResourceMetadata.md +30 -0
- arthur_client/api_bindings/docs/ProjectSort.md +14 -0
- arthur_client/api_bindings/docs/ProjectsV1Api.md +420 -0
- arthur_client/api_bindings/docs/PutAvailableDataset.md +33 -0
- arthur_client/api_bindings/docs/PutAvailableDatasets.md +29 -0
- arthur_client/api_bindings/docs/PutDatasetSchema.md +30 -0
- arthur_client/api_bindings/docs/PutJobState.md +29 -0
- arthur_client/api_bindings/docs/PutModelMetricSpec.md +29 -0
- arthur_client/api_bindings/docs/PutModelMetricsSchedule.md +31 -0
- arthur_client/api_bindings/docs/PutRetrievedData.md +29 -0
- arthur_client/api_bindings/docs/PutTaskConnectionInfo.md +30 -0
- arthur_client/api_bindings/docs/PutTaskStateCacheRequest.md +29 -0
- arthur_client/api_bindings/docs/RegenerateTaskValidationKeyJobSpec.md +30 -0
- arthur_client/api_bindings/docs/RegexConfig.md +29 -0
- arthur_client/api_bindings/docs/RegisterUser.md +29 -0
- arthur_client/api_bindings/docs/RegistrationV1Api.md +80 -0
- arthur_client/api_bindings/docs/ResourceKind.md +40 -0
- arthur_client/api_bindings/docs/ResourceListAggregationSpecSchema.md +30 -0
- arthur_client/api_bindings/docs/ResourceListAlertRule.md +30 -0
- arthur_client/api_bindings/docs/ResourceListAvailableDataset.md +30 -0
- arthur_client/api_bindings/docs/ResourceListConnectorSpec.md +30 -0
- arthur_client/api_bindings/docs/ResourceListConnectorType.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataPlane.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataPlaneAssociation.md +30 -0
- arthur_client/api_bindings/docs/ResourceListDataset.md +30 -0
- arthur_client/api_bindings/docs/ResourceListGroup.md +30 -0
- arthur_client/api_bindings/docs/ResourceListGroupMembership.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobError.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobLog.md +30 -0
- arthur_client/api_bindings/docs/ResourceListJobRun.md +30 -0
- arthur_client/api_bindings/docs/ResourceListMetricsVersion.md +30 -0
- arthur_client/api_bindings/docs/ResourceListModel.md +30 -0
- arthur_client/api_bindings/docs/ResourceListPermission.md +30 -0
- arthur_client/api_bindings/docs/ResourceListProject.md +30 -0
- arthur_client/api_bindings/docs/ResourceListRole.md +30 -0
- arthur_client/api_bindings/docs/ResourceListRoleBinding.md +30 -0
- arthur_client/api_bindings/docs/ResourceListUser.md +30 -0
- arthur_client/api_bindings/docs/ResourceListWebhook.md +30 -0
- arthur_client/api_bindings/docs/ResourceListWorkspace.md +30 -0
- arthur_client/api_bindings/docs/ResultFilter.md +34 -0
- arthur_client/api_bindings/docs/Role.md +39 -0
- arthur_client/api_bindings/docs/RoleBinding.md +36 -0
- arthur_client/api_bindings/docs/RoleSort.md +14 -0
- arthur_client/api_bindings/docs/RolesV1Api.md +87 -0
- arthur_client/api_bindings/docs/RuleResponse.md +38 -0
- arthur_client/api_bindings/docs/RuleResponseConfig.md +37 -0
- arthur_client/api_bindings/docs/RuleScope.md +12 -0
- arthur_client/api_bindings/docs/RuleType.md +26 -0
- arthur_client/api_bindings/docs/ScalarType.md +29 -0
- arthur_client/api_bindings/docs/ScheduleJobsJobSpec.md +31 -0
- arthur_client/api_bindings/docs/SchemaInspectionJobSpec.md +31 -0
- arthur_client/api_bindings/docs/ScopeSchemaTag.md +26 -0
- arthur_client/api_bindings/docs/SensitiveDataPlane.md +39 -0
- arthur_client/api_bindings/docs/SensitiveUser.md +41 -0
- arthur_client/api_bindings/docs/ServiceAccountCredentials.md +30 -0
- arthur_client/api_bindings/docs/SketchMetric.md +30 -0
- arthur_client/api_bindings/docs/SketchPoint.md +30 -0
- arthur_client/api_bindings/docs/SketchTimeSeries.md +30 -0
- arthur_client/api_bindings/docs/SortOrder.md +12 -0
- arthur_client/api_bindings/docs/TaskConnectionInfo.md +32 -0
- arthur_client/api_bindings/docs/TaskMutationResponse.md +29 -0
- arthur_client/api_bindings/docs/TaskReadResponse.md +31 -0
- arthur_client/api_bindings/docs/TaskResponse.md +33 -0
- arthur_client/api_bindings/docs/TaskValidationAPIKey.md +31 -0
- arthur_client/api_bindings/docs/TaskValidationKeyRegenerationResponse.md +29 -0
- arthur_client/api_bindings/docs/TasksV1Api.md +892 -0
- arthur_client/api_bindings/docs/ToxicityConfig.md +29 -0
- arthur_client/api_bindings/docs/UpdateModelTaskRulesJobSpec.md +34 -0
- arthur_client/api_bindings/docs/UpsolveToken.md +29 -0
- arthur_client/api_bindings/docs/UpsolveV1Api.md +88 -0
- arthur_client/api_bindings/docs/User.md +40 -0
- arthur_client/api_bindings/docs/UserCredentials.md +29 -0
- arthur_client/api_bindings/docs/UserServiceAccountCredentials.md +41 -0
- arthur_client/api_bindings/docs/UserSort.md +16 -0
- arthur_client/api_bindings/docs/UserType.md +14 -0
- arthur_client/api_bindings/docs/UsersV1Api.md +810 -0
- arthur_client/api_bindings/docs/ValidationError.md +31 -0
- arthur_client/api_bindings/docs/ValidationErrorLocInner.md +28 -0
- arthur_client/api_bindings/docs/Webhook.md +37 -0
- arthur_client/api_bindings/docs/WebhookResponse.md +30 -0
- arthur_client/api_bindings/docs/WebhookResult.md +30 -0
- arthur_client/api_bindings/docs/WebhookSort.md +14 -0
- arthur_client/api_bindings/docs/WebhooksV1Api.md +503 -0
- arthur_client/api_bindings/docs/Workspace.md +33 -0
- arthur_client/api_bindings/docs/WorkspaceSort.md +14 -0
- arthur_client/api_bindings/docs/WorkspacesV1Api.md +416 -0
- arthur_client/api_bindings/exceptions.py +199 -0
- arthur_client/api_bindings/models/__init__.py +288 -0
- arthur_client/api_bindings/models/aggregation_metric_type.py +37 -0
- arthur_client/api_bindings/models/aggregation_spec.py +106 -0
- arthur_client/api_bindings/models/aggregation_spec_schema.py +113 -0
- arthur_client/api_bindings/models/aggregation_spec_schema_init_args_inner.py +164 -0
- arthur_client/api_bindings/models/alert.py +137 -0
- arthur_client/api_bindings/models/alert_bound.py +37 -0
- arthur_client/api_bindings/models/alert_check_job_spec.py +104 -0
- arthur_client/api_bindings/models/alert_rule.py +133 -0
- arthur_client/api_bindings/models/alert_rule_notification_webhook.py +89 -0
- arthur_client/api_bindings/models/alert_rule_sort.py +37 -0
- arthur_client/api_bindings/models/alert_sort.py +37 -0
- arthur_client/api_bindings/models/alert_webhook_called.py +95 -0
- arthur_client/api_bindings/models/available_dataset.py +151 -0
- arthur_client/api_bindings/models/available_datasets_sort.py +38 -0
- arthur_client/api_bindings/models/bad_request_error.py +87 -0
- arthur_client/api_bindings/models/base_role.py +96 -0
- arthur_client/api_bindings/models/bound_member.py +89 -0
- arthur_client/api_bindings/models/bound_member_kind.py +37 -0
- arthur_client/api_bindings/models/bound_resource.py +100 -0
- arthur_client/api_bindings/models/bound_resource_kind.py +39 -0
- arthur_client/api_bindings/models/bound_role.py +89 -0
- arthur_client/api_bindings/models/config.py +185 -0
- arthur_client/api_bindings/models/conflict_error.py +87 -0
- arthur_client/api_bindings/models/connector_check_job_spec.py +99 -0
- arthur_client/api_bindings/models/connector_check_outcome.py +37 -0
- arthur_client/api_bindings/models/connector_check_result.py +95 -0
- arthur_client/api_bindings/models/connector_field_data_type.py +39 -0
- arthur_client/api_bindings/models/connector_pagination_options.py +90 -0
- arthur_client/api_bindings/models/connector_spec.py +135 -0
- arthur_client/api_bindings/models/connector_spec_field.py +89 -0
- arthur_client/api_bindings/models/connector_spec_field_with_metadata.py +94 -0
- arthur_client/api_bindings/models/connector_spec_schema.py +111 -0
- arthur_client/api_bindings/models/connector_spec_schema_field.py +103 -0
- arthur_client/api_bindings/models/connector_type.py +40 -0
- arthur_client/api_bindings/models/connectors_sort.py +38 -0
- arthur_client/api_bindings/models/create_model_link_task_job_spec.py +108 -0
- arthur_client/api_bindings/models/create_model_task_job_spec.py +118 -0
- arthur_client/api_bindings/models/created_alerts.py +110 -0
- arthur_client/api_bindings/models/credentials.py +134 -0
- arthur_client/api_bindings/models/d_type.py +44 -0
- arthur_client/api_bindings/models/data_plane.py +113 -0
- arthur_client/api_bindings/models/data_plane_association.py +118 -0
- arthur_client/api_bindings/models/data_plane_association_sort.py +37 -0
- arthur_client/api_bindings/models/data_plane_capabilities.py +87 -0
- arthur_client/api_bindings/models/data_plane_sort.py +38 -0
- arthur_client/api_bindings/models/data_result_filter.py +97 -0
- arthur_client/api_bindings/models/data_result_filter_op.py +43 -0
- arthur_client/api_bindings/models/data_retrieval_data.py +94 -0
- arthur_client/api_bindings/models/data_retrieval_operation.py +103 -0
- arthur_client/api_bindings/models/data_retrieval_status.py +38 -0
- arthur_client/api_bindings/models/dataset.py +145 -0
- arthur_client/api_bindings/models/dataset_column.py +95 -0
- arthur_client/api_bindings/models/dataset_connector.py +92 -0
- arthur_client/api_bindings/models/dataset_join_kind.py +39 -0
- arthur_client/api_bindings/models/dataset_join_spec.py +99 -0
- arthur_client/api_bindings/models/dataset_list_type.py +105 -0
- arthur_client/api_bindings/models/dataset_locator.py +95 -0
- arthur_client/api_bindings/models/dataset_locator_field.py +89 -0
- arthur_client/api_bindings/models/dataset_locator_field_data_type.py +38 -0
- arthur_client/api_bindings/models/dataset_locator_schema.py +95 -0
- arthur_client/api_bindings/models/dataset_locator_schema_field.py +101 -0
- arthur_client/api_bindings/models/dataset_object_type.py +114 -0
- arthur_client/api_bindings/models/dataset_reference.py +97 -0
- arthur_client/api_bindings/models/dataset_scalar_type.py +100 -0
- arthur_client/api_bindings/models/dataset_schema.py +101 -0
- arthur_client/api_bindings/models/datasets_sort.py +37 -0
- arthur_client/api_bindings/models/definition.py +149 -0
- arthur_client/api_bindings/models/delete_group_membership.py +87 -0
- arthur_client/api_bindings/models/delete_model_task_job_spec.py +99 -0
- arthur_client/api_bindings/models/dimension.py +89 -0
- arthur_client/api_bindings/models/example_config.py +89 -0
- arthur_client/api_bindings/models/examples_config.py +102 -0
- arthur_client/api_bindings/models/extended_role.py +129 -0
- arthur_client/api_bindings/models/fetch_data_job_spec.py +134 -0
- arthur_client/api_bindings/models/fetch_model_task_job_spec.py +99 -0
- arthur_client/api_bindings/models/generate_metrics_spec_request.py +87 -0
- arthur_client/api_bindings/models/group.py +105 -0
- arthur_client/api_bindings/models/group_membership.py +100 -0
- arthur_client/api_bindings/models/group_sort.py +38 -0
- arthur_client/api_bindings/models/health_status.py +87 -0
- arthur_client/api_bindings/models/http_validation_error.py +95 -0
- arthur_client/api_bindings/models/infinite_pagination.py +89 -0
- arthur_client/api_bindings/models/infinite_resource_list_alert.py +101 -0
- arthur_client/api_bindings/models/infinite_resource_list_job.py +101 -0
- arthur_client/api_bindings/models/internal_server_error.py +87 -0
- arthur_client/api_bindings/models/invite_new_user.py +105 -0
- arthur_client/api_bindings/models/items.py +151 -0
- arthur_client/api_bindings/models/items1.py +151 -0
- arthur_client/api_bindings/models/job.py +178 -0
- arthur_client/api_bindings/models/job_dequeue_parameters.py +87 -0
- arthur_client/api_bindings/models/job_error.py +87 -0
- arthur_client/api_bindings/models/job_errors.py +95 -0
- arthur_client/api_bindings/models/job_kind.py +48 -0
- arthur_client/api_bindings/models/job_log.py +93 -0
- arthur_client/api_bindings/models/job_log_level.py +40 -0
- arthur_client/api_bindings/models/job_logs.py +95 -0
- arthur_client/api_bindings/models/job_priority.py +39 -0
- arthur_client/api_bindings/models/job_run.py +104 -0
- arthur_client/api_bindings/models/job_spec.py +299 -0
- arthur_client/api_bindings/models/job_state.py +40 -0
- arthur_client/api_bindings/models/job_trigger.py +38 -0
- arthur_client/api_bindings/models/jobs_batch.py +95 -0
- arthur_client/api_bindings/models/jobs_sort.py +38 -0
- arthur_client/api_bindings/models/joined_dataset.py +98 -0
- arthur_client/api_bindings/models/keywords_config.py +87 -0
- arthur_client/api_bindings/models/list_datasets_job_spec.py +99 -0
- arthur_client/api_bindings/models/list_type.py +93 -0
- arthur_client/api_bindings/models/metrics_arg_spec.py +94 -0
- arthur_client/api_bindings/models/metrics_calculation_job_spec.py +104 -0
- arthur_client/api_bindings/models/metrics_column_list_parameter_schema.py +105 -0
- arthur_client/api_bindings/models/metrics_column_parameter_schema.py +127 -0
- arthur_client/api_bindings/models/metrics_column_parameter_schema_allowed_column_types_inner.py +151 -0
- arthur_client/api_bindings/models/metrics_dataset_parameter_schema.py +113 -0
- arthur_client/api_bindings/models/metrics_literal_parameter_schema.py +108 -0
- arthur_client/api_bindings/models/metrics_query_result.py +87 -0
- arthur_client/api_bindings/models/metrics_result_filter_op.py +43 -0
- arthur_client/api_bindings/models/metrics_upload.py +95 -0
- arthur_client/api_bindings/models/metrics_upload_metrics_inner.py +134 -0
- arthur_client/api_bindings/models/metrics_upload_result.py +93 -0
- arthur_client/api_bindings/models/metrics_version.py +98 -0
- arthur_client/api_bindings/models/metrics_versions_sort.py +39 -0
- arthur_client/api_bindings/models/model.py +153 -0
- arthur_client/api_bindings/models/model_metric_spec.py +97 -0
- arthur_client/api_bindings/models/model_metrics_schedule.py +98 -0
- arthur_client/api_bindings/models/model_problem_type.py +40 -0
- arthur_client/api_bindings/models/models_sort.py +38 -0
- arthur_client/api_bindings/models/new_rule_request.py +104 -0
- arthur_client/api_bindings/models/not_found_error.py +87 -0
- arthur_client/api_bindings/models/numeric_metric.py +97 -0
- arthur_client/api_bindings/models/numeric_point.py +90 -0
- arthur_client/api_bindings/models/numeric_time_series.py +105 -0
- arthur_client/api_bindings/models/object_type.py +102 -0
- arthur_client/api_bindings/models/object_value.py +151 -0
- arthur_client/api_bindings/models/organization.py +94 -0
- arthur_client/api_bindings/models/pagination.py +93 -0
- arthur_client/api_bindings/models/patch_alert_rule.py +135 -0
- arthur_client/api_bindings/models/patch_connector_spec.py +109 -0
- arthur_client/api_bindings/models/patch_data_plane.py +110 -0
- arthur_client/api_bindings/models/patch_data_plane_capabilities.py +92 -0
- arthur_client/api_bindings/models/patch_dataset.py +111 -0
- arthur_client/api_bindings/models/patch_dataset_locator.py +100 -0
- arthur_client/api_bindings/models/patch_group.py +99 -0
- arthur_client/api_bindings/models/patch_job.py +92 -0
- arthur_client/api_bindings/models/patch_model.py +106 -0
- arthur_client/api_bindings/models/patch_organization.py +92 -0
- arthur_client/api_bindings/models/patch_project.py +99 -0
- arthur_client/api_bindings/models/patch_service_account_user.py +92 -0
- arthur_client/api_bindings/models/patch_task_request.py +101 -0
- arthur_client/api_bindings/models/patch_user.py +113 -0
- arthur_client/api_bindings/models/patch_webhook.py +113 -0
- arthur_client/api_bindings/models/patch_workspace.py +87 -0
- arthur_client/api_bindings/models/permission.py +93 -0
- arthur_client/api_bindings/models/permission_name.py +167 -0
- arthur_client/api_bindings/models/permission_request_item.py +93 -0
- arthur_client/api_bindings/models/permission_response_item.py +95 -0
- arthur_client/api_bindings/models/permissions_request.py +96 -0
- arthur_client/api_bindings/models/permissions_response.py +95 -0
- arthur_client/api_bindings/models/pii_config.py +106 -0
- arthur_client/api_bindings/models/post_alert.py +118 -0
- arthur_client/api_bindings/models/post_alert_rule.py +105 -0
- arthur_client/api_bindings/models/post_alerts.py +96 -0
- arthur_client/api_bindings/models/post_connector_spec.py +104 -0
- arthur_client/api_bindings/models/post_data_plane.py +95 -0
- arthur_client/api_bindings/models/post_data_plane_association.py +89 -0
- arthur_client/api_bindings/models/post_data_retrieval_operation.py +106 -0
- arthur_client/api_bindings/models/post_dataset.py +128 -0
- arthur_client/api_bindings/models/post_dataset_join_spec.py +96 -0
- arthur_client/api_bindings/models/post_end_user.py +105 -0
- arthur_client/api_bindings/models/post_global_role_binding.py +92 -0
- arthur_client/api_bindings/models/post_group.py +94 -0
- arthur_client/api_bindings/models/post_group_membership.py +87 -0
- arthur_client/api_bindings/models/post_job.py +124 -0
- arthur_client/api_bindings/models/post_job_batch.py +95 -0
- arthur_client/api_bindings/models/post_job_kind.py +41 -0
- arthur_client/api_bindings/models/post_job_spec.py +194 -0
- arthur_client/api_bindings/models/post_link_task_request.py +96 -0
- arthur_client/api_bindings/models/post_metrics_query.py +106 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_and_group.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_and_group_and_inner.py +151 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_or_group.py +97 -0
- arthur_client/api_bindings/models/post_metrics_query_result_filter_or_group_or_inner.py +151 -0
- arthur_client/api_bindings/models/post_metrics_query_time_range.py +90 -0
- arthur_client/api_bindings/models/post_metrics_versions.py +90 -0
- arthur_client/api_bindings/models/post_model.py +115 -0
- arthur_client/api_bindings/models/post_project.py +94 -0
- arthur_client/api_bindings/models/post_role_binding.py +101 -0
- arthur_client/api_bindings/models/post_service_account.py +87 -0
- arthur_client/api_bindings/models/post_task_request.py +107 -0
- arthur_client/api_bindings/models/post_task_validation_api_key.py +91 -0
- arthur_client/api_bindings/models/post_upsolve_tenant.py +90 -0
- arthur_client/api_bindings/models/post_webhook.py +93 -0
- arthur_client/api_bindings/models/post_workspace.py +87 -0
- arthur_client/api_bindings/models/project.py +105 -0
- arthur_client/api_bindings/models/project_bound_resource_metadata.py +89 -0
- arthur_client/api_bindings/models/project_sort.py +38 -0
- arthur_client/api_bindings/models/put_available_dataset.py +133 -0
- arthur_client/api_bindings/models/put_available_datasets.py +95 -0
- arthur_client/api_bindings/models/put_dataset_schema.py +97 -0
- arthur_client/api_bindings/models/put_job_state.py +88 -0
- arthur_client/api_bindings/models/put_model_metric_spec.py +95 -0
- arthur_client/api_bindings/models/put_model_metrics_schedule.py +96 -0
- arthur_client/api_bindings/models/put_retrieved_data.py +87 -0
- arthur_client/api_bindings/models/put_task_connection_info.py +93 -0
- arthur_client/api_bindings/models/put_task_state_cache_request.py +91 -0
- arthur_client/api_bindings/models/regenerate_task_validation_key_job_spec.py +99 -0
- arthur_client/api_bindings/models/regex_config.py +87 -0
- arthur_client/api_bindings/models/register_user.py +87 -0
- arthur_client/api_bindings/models/resource_kind.py +51 -0
- arthur_client/api_bindings/models/resource_list_aggregation_spec_schema.py +101 -0
- arthur_client/api_bindings/models/resource_list_alert_rule.py +101 -0
- arthur_client/api_bindings/models/resource_list_available_dataset.py +101 -0
- arthur_client/api_bindings/models/resource_list_connector_spec.py +101 -0
- arthur_client/api_bindings/models/resource_list_connector_type.py +94 -0
- arthur_client/api_bindings/models/resource_list_data_plane.py +101 -0
- arthur_client/api_bindings/models/resource_list_data_plane_association.py +101 -0
- arthur_client/api_bindings/models/resource_list_dataset.py +101 -0
- arthur_client/api_bindings/models/resource_list_group.py +101 -0
- arthur_client/api_bindings/models/resource_list_group_membership.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_error.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_log.py +101 -0
- arthur_client/api_bindings/models/resource_list_job_run.py +101 -0
- arthur_client/api_bindings/models/resource_list_metrics_version.py +101 -0
- arthur_client/api_bindings/models/resource_list_model.py +101 -0
- arthur_client/api_bindings/models/resource_list_permission.py +101 -0
- arthur_client/api_bindings/models/resource_list_project.py +101 -0
- arthur_client/api_bindings/models/resource_list_role.py +101 -0
- arthur_client/api_bindings/models/resource_list_role_binding.py +101 -0
- arthur_client/api_bindings/models/resource_list_user.py +101 -0
- arthur_client/api_bindings/models/resource_list_webhook.py +101 -0
- arthur_client/api_bindings/models/resource_list_workspace.py +101 -0
- arthur_client/api_bindings/models/result_filter.py +155 -0
- arthur_client/api_bindings/models/role.py +114 -0
- arthur_client/api_bindings/models/role_binding.py +116 -0
- arthur_client/api_bindings/models/role_sort.py +38 -0
- arthur_client/api_bindings/models/rule_response.py +121 -0
- arthur_client/api_bindings/models/rule_response_config.py +185 -0
- arthur_client/api_bindings/models/rule_scope.py +37 -0
- arthur_client/api_bindings/models/rule_type.py +44 -0
- arthur_client/api_bindings/models/scalar_type.py +88 -0
- arthur_client/api_bindings/models/schedule_jobs_job_spec.py +102 -0
- arthur_client/api_bindings/models/schema_inspection_job_spec.py +101 -0
- arthur_client/api_bindings/models/scope_schema_tag.py +44 -0
- arthur_client/api_bindings/models/sensitive_data_plane.py +117 -0
- arthur_client/api_bindings/models/sensitive_user.py +142 -0
- arthur_client/api_bindings/models/service_account_credentials.py +89 -0
- arthur_client/api_bindings/models/sketch_metric.py +97 -0
- arthur_client/api_bindings/models/sketch_point.py +90 -0
- arthur_client/api_bindings/models/sketch_time_series.py +105 -0
- arthur_client/api_bindings/models/sort_order.py +37 -0
- arthur_client/api_bindings/models/task_connection_info.py +98 -0
- arthur_client/api_bindings/models/task_mutation_response.py +87 -0
- arthur_client/api_bindings/models/task_read_response.py +106 -0
- arthur_client/api_bindings/models/task_response.py +103 -0
- arthur_client/api_bindings/models/task_validation_api_key.py +91 -0
- arthur_client/api_bindings/models/task_validation_key_regeneration_response.py +87 -0
- arthur_client/api_bindings/models/toxicity_config.py +100 -0
- arthur_client/api_bindings/models/update_model_task_rules_job_spec.py +115 -0
- arthur_client/api_bindings/models/upsolve_token.py +87 -0
- arthur_client/api_bindings/models/user.py +136 -0
- arthur_client/api_bindings/models/user_credentials.py +87 -0
- arthur_client/api_bindings/models/user_service_account_credentials.py +142 -0
- arthur_client/api_bindings/models/user_sort.py +39 -0
- arthur_client/api_bindings/models/user_type.py +38 -0
- arthur_client/api_bindings/models/validation_error.py +99 -0
- arthur_client/api_bindings/models/validation_error_loc_inner.py +138 -0
- arthur_client/api_bindings/models/webhook.py +113 -0
- arthur_client/api_bindings/models/webhook_response.py +99 -0
- arthur_client/api_bindings/models/webhook_result.py +103 -0
- arthur_client/api_bindings/models/webhook_sort.py +38 -0
- arthur_client/api_bindings/models/workspace.py +96 -0
- arthur_client/api_bindings/models/workspace_sort.py +38 -0
- arthur_client/api_bindings/rest.py +257 -0
- arthur_client/api_bindings/test/test_aggregation_metric_type.py +33 -0
- arthur_client/api_bindings/test/test_aggregation_spec.py +72 -0
- arthur_client/api_bindings/test/test_aggregation_spec_schema.py +70 -0
- arthur_client/api_bindings/test/test_aggregation_spec_schema_init_args_inner.py +70 -0
- arthur_client/api_bindings/test/test_alert.py +78 -0
- arthur_client/api_bindings/test/test_alert_bound.py +33 -0
- arthur_client/api_bindings/test/test_alert_check_job_spec.py +57 -0
- arthur_client/api_bindings/test/test_alert_rule.py +92 -0
- arthur_client/api_bindings/test/test_alert_rule_notification_webhook.py +54 -0
- arthur_client/api_bindings/test/test_alert_rule_sort.py +33 -0
- arthur_client/api_bindings/test/test_alert_rules_v1_api.py +66 -0
- arthur_client/api_bindings/test/test_alert_sort.py +33 -0
- arthur_client/api_bindings/test/test_alert_webhook_called.py +64 -0
- arthur_client/api_bindings/test/test_alerts_v1_api.py +52 -0
- arthur_client/api_bindings/test/test_authorization_v1_api.py +115 -0
- arthur_client/api_bindings/test/test_available_dataset.py +94 -0
- arthur_client/api_bindings/test/test_available_datasets_sort.py +33 -0
- arthur_client/api_bindings/test/test_bad_request_error.py +51 -0
- arthur_client/api_bindings/test/test_base_role.py +56 -0
- arthur_client/api_bindings/test/test_bound_member.py +54 -0
- arthur_client/api_bindings/test/test_bound_member_kind.py +33 -0
- arthur_client/api_bindings/test/test_bound_resource.py +57 -0
- arthur_client/api_bindings/test/test_bound_resource_kind.py +33 -0
- arthur_client/api_bindings/test/test_bound_role.py +54 -0
- arthur_client/api_bindings/test/test_config.py +77 -0
- arthur_client/api_bindings/test/test_conflict_error.py +51 -0
- arthur_client/api_bindings/test/test_connector_check_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_connector_check_outcome.py +33 -0
- arthur_client/api_bindings/test/test_connector_check_result.py +53 -0
- arthur_client/api_bindings/test/test_connector_field_data_type.py +33 -0
- arthur_client/api_bindings/test/test_connector_pagination_options.py +52 -0
- arthur_client/api_bindings/test/test_connector_schemas_v1_api.py +45 -0
- arthur_client/api_bindings/test/test_connector_spec.py +96 -0
- arthur_client/api_bindings/test/test_connector_spec_field.py +54 -0
- arthur_client/api_bindings/test/test_connector_spec_field_with_metadata.py +58 -0
- arthur_client/api_bindings/test/test_connector_spec_schema.py +102 -0
- arthur_client/api_bindings/test/test_connector_spec_schema_field.py +63 -0
- arthur_client/api_bindings/test/test_connector_type.py +33 -0
- arthur_client/api_bindings/test/test_connectors_sort.py +33 -0
- arthur_client/api_bindings/test/test_connectors_v1_api.py +80 -0
- arthur_client/api_bindings/test/test_create_model_link_task_job_spec.py +56 -0
- arthur_client/api_bindings/test/test_create_model_task_job_spec.py +72 -0
- arthur_client/api_bindings/test/test_created_alerts.py +96 -0
- arthur_client/api_bindings/test/test_credentials.py +56 -0
- arthur_client/api_bindings/test/test_d_type.py +33 -0
- arthur_client/api_bindings/test/test_data_plane.py +70 -0
- arthur_client/api_bindings/test/test_data_plane_association.py +79 -0
- arthur_client/api_bindings/test/test_data_plane_association_sort.py +33 -0
- arthur_client/api_bindings/test/test_data_plane_associations_v1_api.py +66 -0
- arthur_client/api_bindings/test/test_data_plane_capabilities.py +51 -0
- arthur_client/api_bindings/test/test_data_plane_sort.py +33 -0
- arthur_client/api_bindings/test/test_data_planes_v1_api.py +73 -0
- arthur_client/api_bindings/test/test_data_result_filter.py +56 -0
- arthur_client/api_bindings/test/test_data_result_filter_op.py +33 -0
- arthur_client/api_bindings/test/test_data_retrieval_data.py +54 -0
- arthur_client/api_bindings/test/test_data_retrieval_operation.py +59 -0
- arthur_client/api_bindings/test/test_data_retrieval_status.py +33 -0
- arthur_client/api_bindings/test/test_data_retrieval_v1_api.py +87 -0
- arthur_client/api_bindings/test/test_dataset.py +117 -0
- arthur_client/api_bindings/test/test_dataset_column.py +55 -0
- arthur_client/api_bindings/test/test_dataset_connector.py +56 -0
- arthur_client/api_bindings/test/test_dataset_join_kind.py +33 -0
- arthur_client/api_bindings/test/test_dataset_join_spec.py +71 -0
- arthur_client/api_bindings/test/test_dataset_list_type.py +57 -0
- arthur_client/api_bindings/test/test_dataset_locator.py +60 -0
- arthur_client/api_bindings/test/test_dataset_locator_field.py +54 -0
- arthur_client/api_bindings/test/test_dataset_locator_field_data_type.py +33 -0
- arthur_client/api_bindings/test/test_dataset_locator_schema.py +70 -0
- arthur_client/api_bindings/test/test_dataset_locator_schema_field.py +61 -0
- arthur_client/api_bindings/test/test_dataset_object_type.py +61 -0
- arthur_client/api_bindings/test/test_dataset_reference.py +56 -0
- arthur_client/api_bindings/test/test_dataset_scalar_type.py +57 -0
- arthur_client/api_bindings/test/test_dataset_schema.py +74 -0
- arthur_client/api_bindings/test/test_datasets_sort.py +33 -0
- arthur_client/api_bindings/test/test_datasets_v1_api.py +129 -0
- arthur_client/api_bindings/test/test_default_api.py +38 -0
- arthur_client/api_bindings/test/test_definition.py +65 -0
- arthur_client/api_bindings/test/test_delete_group_membership.py +56 -0
- arthur_client/api_bindings/test/test_delete_model_task_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_dimension.py +54 -0
- arthur_client/api_bindings/test/test_example_config.py +54 -0
- arthur_client/api_bindings/test/test_examples_config.py +57 -0
- arthur_client/api_bindings/test/test_extended_role.py +92 -0
- arthur_client/api_bindings/test/test_feature_flags_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_fetch_data_job_spec.py +77 -0
- arthur_client/api_bindings/test/test_fetch_model_task_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_generate_metrics_spec_request.py +56 -0
- arthur_client/api_bindings/test/test_group.py +63 -0
- arthur_client/api_bindings/test/test_group_membership.py +74 -0
- arthur_client/api_bindings/test/test_group_sort.py +33 -0
- arthur_client/api_bindings/test/test_groups_v1_api.py +94 -0
- arthur_client/api_bindings/test/test_health_status.py +51 -0
- arthur_client/api_bindings/test/test_http_validation_error.py +58 -0
- arthur_client/api_bindings/test/test_infinite_pagination.py +52 -0
- arthur_client/api_bindings/test/test_infinite_resource_list_alert.py +92 -0
- arthur_client/api_bindings/test/test_infinite_resource_list_job.py +126 -0
- arthur_client/api_bindings/test/test_internal_server_error.py +51 -0
- arthur_client/api_bindings/test/test_invite_new_user.py +59 -0
- arthur_client/api_bindings/test/test_items.py +65 -0
- arthur_client/api_bindings/test/test_items1.py +60 -0
- arthur_client/api_bindings/test/test_job.py +94 -0
- arthur_client/api_bindings/test/test_job_dequeue_parameters.py +52 -0
- arthur_client/api_bindings/test/test_job_error.py +52 -0
- arthur_client/api_bindings/test/test_job_errors.py +58 -0
- arthur_client/api_bindings/test/test_job_kind.py +33 -0
- arthur_client/api_bindings/test/test_job_log.py +56 -0
- arthur_client/api_bindings/test/test_job_log_level.py +33 -0
- arthur_client/api_bindings/test/test_job_logs.py +62 -0
- arthur_client/api_bindings/test/test_job_priority.py +33 -0
- arthur_client/api_bindings/test/test_job_run.py +61 -0
- arthur_client/api_bindings/test/test_job_spec.py +124 -0
- arthur_client/api_bindings/test/test_job_state.py +33 -0
- arthur_client/api_bindings/test/test_job_trigger.py +33 -0
- arthur_client/api_bindings/test/test_jobs_batch.py +120 -0
- arthur_client/api_bindings/test/test_jobs_sort.py +33 -0
- arthur_client/api_bindings/test/test_jobs_v1_api.py +108 -0
- arthur_client/api_bindings/test/test_joined_dataset.py +58 -0
- arthur_client/api_bindings/test/test_keywords_config.py +56 -0
- arthur_client/api_bindings/test/test_list_datasets_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_list_type.py +52 -0
- arthur_client/api_bindings/test/test_metric_functions_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_metrics_arg_spec.py +54 -0
- arthur_client/api_bindings/test/test_metrics_calculation_job_spec.py +57 -0
- arthur_client/api_bindings/test/test_metrics_column_list_parameter_schema.py +58 -0
- arthur_client/api_bindings/test/test_metrics_column_parameter_schema.py +67 -0
- arthur_client/api_bindings/test/test_metrics_column_parameter_schema_allowed_column_types_inner.py +60 -0
- arthur_client/api_bindings/test/test_metrics_dataset_parameter_schema.py +59 -0
- arthur_client/api_bindings/test/test_metrics_literal_parameter_schema.py +60 -0
- arthur_client/api_bindings/test/test_metrics_query_result.py +56 -0
- arthur_client/api_bindings/test/test_metrics_result_filter_op.py +33 -0
- arthur_client/api_bindings/test/test_metrics_upload.py +56 -0
- arthur_client/api_bindings/test/test_metrics_upload_metrics_inner.py +104 -0
- arthur_client/api_bindings/test/test_metrics_upload_result.py +58 -0
- arthur_client/api_bindings/test/test_metrics_v1_api.py +59 -0
- arthur_client/api_bindings/test/test_metrics_version.py +62 -0
- arthur_client/api_bindings/test/test_metrics_versions_sort.py +33 -0
- arthur_client/api_bindings/test/test_model.py +133 -0
- arthur_client/api_bindings/test/test_model_metric_spec.py +80 -0
- arthur_client/api_bindings/test/test_model_metrics_schedule.py +57 -0
- arthur_client/api_bindings/test/test_model_problem_type.py +33 -0
- arthur_client/api_bindings/test/test_models_sort.py +33 -0
- arthur_client/api_bindings/test/test_models_v1_api.py +94 -0
- arthur_client/api_bindings/test/test_new_rule_request.py +59 -0
- arthur_client/api_bindings/test/test_not_found_error.py +51 -0
- arthur_client/api_bindings/test/test_numeric_metric.py +78 -0
- arthur_client/api_bindings/test/test_numeric_point.py +54 -0
- arthur_client/api_bindings/test/test_numeric_time_series.py +70 -0
- arthur_client/api_bindings/test/test_o_auth_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_object_type.py +56 -0
- arthur_client/api_bindings/test/test_object_value.py +65 -0
- arthur_client/api_bindings/test/test_organization.py +58 -0
- arthur_client/api_bindings/test/test_organizations_v1_api.py +52 -0
- arthur_client/api_bindings/test/test_pagination.py +56 -0
- arthur_client/api_bindings/test/test_patch_alert_rule.py +59 -0
- arthur_client/api_bindings/test/test_patch_connector_spec.py +57 -0
- arthur_client/api_bindings/test/test_patch_data_plane.py +54 -0
- arthur_client/api_bindings/test/test_patch_data_plane_capabilities.py +51 -0
- arthur_client/api_bindings/test/test_patch_dataset.py +58 -0
- arthur_client/api_bindings/test/test_patch_dataset_locator.py +55 -0
- arthur_client/api_bindings/test/test_patch_group.py +52 -0
- arthur_client/api_bindings/test/test_patch_job.py +52 -0
- arthur_client/api_bindings/test/test_patch_model.py +55 -0
- arthur_client/api_bindings/test/test_patch_organization.py +51 -0
- arthur_client/api_bindings/test/test_patch_project.py +52 -0
- arthur_client/api_bindings/test/test_patch_service_account_user.py +51 -0
- arthur_client/api_bindings/test/test_patch_task_request.py +67 -0
- arthur_client/api_bindings/test/test_patch_user.py +54 -0
- arthur_client/api_bindings/test/test_patch_webhook.py +58 -0
- arthur_client/api_bindings/test/test_patch_workspace.py +52 -0
- arthur_client/api_bindings/test/test_permission.py +56 -0
- arthur_client/api_bindings/test/test_permission_name.py +33 -0
- arthur_client/api_bindings/test/test_permission_request_item.py +56 -0
- arthur_client/api_bindings/test/test_permission_response_item.py +58 -0
- arthur_client/api_bindings/test/test_permissions_request.py +62 -0
- arthur_client/api_bindings/test/test_permissions_response.py +64 -0
- arthur_client/api_bindings/test/test_pii_config.py +57 -0
- arthur_client/api_bindings/test/test_post_alert.py +65 -0
- arthur_client/api_bindings/test/test_post_alert_rule.py +64 -0
- arthur_client/api_bindings/test/test_post_alerts.py +72 -0
- arthur_client/api_bindings/test/test_post_connector_spec.py +67 -0
- arthur_client/api_bindings/test/test_post_data_plane.py +56 -0
- arthur_client/api_bindings/test/test_post_data_plane_association.py +54 -0
- arthur_client/api_bindings/test/test_post_data_retrieval_operation.py +63 -0
- arthur_client/api_bindings/test/test_post_dataset.py +75 -0
- arthur_client/api_bindings/test/test_post_dataset_join_spec.py +59 -0
- arthur_client/api_bindings/test/test_post_end_user.py +58 -0
- arthur_client/api_bindings/test/test_post_global_role_binding.py +56 -0
- arthur_client/api_bindings/test/test_post_group.py +53 -0
- arthur_client/api_bindings/test/test_post_group_membership.py +56 -0
- arthur_client/api_bindings/test/test_post_job.py +58 -0
- arthur_client/api_bindings/test/test_post_job_batch.py +68 -0
- arthur_client/api_bindings/test/test_post_job_kind.py +33 -0
- arthur_client/api_bindings/test/test_post_job_spec.py +65 -0
- arthur_client/api_bindings/test/test_post_link_task_request.py +55 -0
- arthur_client/api_bindings/test/test_post_metrics_query.py +60 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_and_group.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_and_group_and_inner.py +68 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_or_group.py +56 -0
- arthur_client/api_bindings/test/test_post_metrics_query_result_filter_or_group_or_inner.py +68 -0
- arthur_client/api_bindings/test/test_post_metrics_query_time_range.py +54 -0
- arthur_client/api_bindings/test/test_post_metrics_versions.py +54 -0
- arthur_client/api_bindings/test/test_post_model.py +75 -0
- arthur_client/api_bindings/test/test_post_project.py +53 -0
- arthur_client/api_bindings/test/test_post_role_binding.py +54 -0
- arthur_client/api_bindings/test/test_post_service_account.py +52 -0
- arthur_client/api_bindings/test/test_post_task_request.py +63 -0
- arthur_client/api_bindings/test/test_post_task_validation_api_key.py +56 -0
- arthur_client/api_bindings/test/test_post_upsolve_tenant.py +54 -0
- arthur_client/api_bindings/test/test_post_webhook.py +61 -0
- arthur_client/api_bindings/test/test_post_workspace.py +52 -0
- arthur_client/api_bindings/test/test_project.py +63 -0
- arthur_client/api_bindings/test/test_project_bound_resource_metadata.py +54 -0
- arthur_client/api_bindings/test/test_project_sort.py +33 -0
- arthur_client/api_bindings/test/test_projects_v1_api.py +66 -0
- arthur_client/api_bindings/test/test_put_available_dataset.py +74 -0
- arthur_client/api_bindings/test/test_put_available_datasets.py +104 -0
- arthur_client/api_bindings/test/test_put_dataset_schema.py +68 -0
- arthur_client/api_bindings/test/test_put_job_state.py +52 -0
- arthur_client/api_bindings/test/test_put_model_metric_spec.py +78 -0
- arthur_client/api_bindings/test/test_put_model_metrics_schedule.py +55 -0
- arthur_client/api_bindings/test/test_put_retrieved_data.py +52 -0
- arthur_client/api_bindings/test/test_put_task_connection_info.py +60 -0
- arthur_client/api_bindings/test/test_put_task_state_cache_request.py +86 -0
- arthur_client/api_bindings/test/test_regenerate_task_validation_key_job_spec.py +53 -0
- arthur_client/api_bindings/test/test_regex_config.py +56 -0
- arthur_client/api_bindings/test/test_register_user.py +52 -0
- arthur_client/api_bindings/test/test_registration_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_resource_kind.py +33 -0
- arthur_client/api_bindings/test/test_resource_list_aggregation_spec_schema.py +86 -0
- arthur_client/api_bindings/test/test_resource_list_alert_rule.py +122 -0
- arthur_client/api_bindings/test/test_resource_list_available_dataset.py +144 -0
- arthur_client/api_bindings/test/test_resource_list_connector_spec.py +128 -0
- arthur_client/api_bindings/test/test_resource_list_connector_type.py +66 -0
- arthur_client/api_bindings/test/test_resource_list_data_plane.py +86 -0
- arthur_client/api_bindings/test/test_resource_list_data_plane_association.py +114 -0
- arthur_client/api_bindings/test/test_resource_list_dataset.py +150 -0
- arthur_client/api_bindings/test/test_resource_list_group.py +80 -0
- arthur_client/api_bindings/test/test_resource_list_group_membership.py +90 -0
- arthur_client/api_bindings/test/test_resource_list_job_error.py +68 -0
- arthur_client/api_bindings/test/test_resource_list_job_log.py +72 -0
- arthur_client/api_bindings/test/test_resource_list_job_run.py +78 -0
- arthur_client/api_bindings/test/test_resource_list_metrics_version.py +78 -0
- arthur_client/api_bindings/test/test_resource_list_model.py +168 -0
- arthur_client/api_bindings/test/test_resource_list_permission.py +72 -0
- arthur_client/api_bindings/test/test_resource_list_project.py +80 -0
- arthur_client/api_bindings/test/test_resource_list_role.py +96 -0
- arthur_client/api_bindings/test/test_resource_list_role_binding.py +100 -0
- arthur_client/api_bindings/test/test_resource_list_user.py +90 -0
- arthur_client/api_bindings/test/test_resource_list_webhook.py +116 -0
- arthur_client/api_bindings/test/test_resource_list_workspace.py +76 -0
- arthur_client/api_bindings/test/test_result_filter.py +68 -0
- arthur_client/api_bindings/test/test_role.py +80 -0
- arthur_client/api_bindings/test/test_role_binding.py +84 -0
- arthur_client/api_bindings/test/test_role_sort.py +33 -0
- arthur_client/api_bindings/test/test_roles_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_rule_response.py +68 -0
- arthur_client/api_bindings/test/test_rule_response_config.py +77 -0
- arthur_client/api_bindings/test/test_rule_scope.py +33 -0
- arthur_client/api_bindings/test/test_rule_type.py +33 -0
- arthur_client/api_bindings/test/test_scalar_type.py +52 -0
- arthur_client/api_bindings/test/test_schedule_jobs_job_spec.py +55 -0
- arthur_client/api_bindings/test/test_schema_inspection_job_spec.py +55 -0
- arthur_client/api_bindings/test/test_scope_schema_tag.py +33 -0
- arthur_client/api_bindings/test/test_sensitive_data_plane.py +74 -0
- arthur_client/api_bindings/test/test_sensitive_user.py +72 -0
- arthur_client/api_bindings/test/test_service_account_credentials.py +54 -0
- arthur_client/api_bindings/test/test_sketch_metric.py +78 -0
- arthur_client/api_bindings/test/test_sketch_point.py +54 -0
- arthur_client/api_bindings/test/test_sketch_time_series.py +70 -0
- arthur_client/api_bindings/test/test_sort_order.py +33 -0
- arthur_client/api_bindings/test/test_task_connection_info.py +64 -0
- arthur_client/api_bindings/test/test_task_mutation_response.py +52 -0
- arthur_client/api_bindings/test/test_task_read_response.py +71 -0
- arthur_client/api_bindings/test/test_task_response.py +84 -0
- arthur_client/api_bindings/test/test_task_validation_api_key.py +56 -0
- arthur_client/api_bindings/test/test_task_validation_key_regeneration_response.py +52 -0
- arthur_client/api_bindings/test/test_tasks_v1_api.py +108 -0
- arthur_client/api_bindings/test/test_toxicity_config.py +51 -0
- arthur_client/api_bindings/test/test_update_model_task_rules_job_spec.py +70 -0
- arthur_client/api_bindings/test/test_upsolve_token.py +52 -0
- arthur_client/api_bindings/test/test_upsolve_v1_api.py +38 -0
- arthur_client/api_bindings/test/test_user.py +70 -0
- arthur_client/api_bindings/test/test_user_credentials.py +52 -0
- arthur_client/api_bindings/test/test_user_service_account_credentials.py +76 -0
- arthur_client/api_bindings/test/test_user_sort.py +33 -0
- arthur_client/api_bindings/test/test_user_type.py +33 -0
- arthur_client/api_bindings/test/test_users_v1_api.py +101 -0
- arthur_client/api_bindings/test/test_validation_error.py +60 -0
- arthur_client/api_bindings/test/test_validation_error_loc_inner.py +50 -0
- arthur_client/api_bindings/test/test_webhook.py +82 -0
- arthur_client/api_bindings/test/test_webhook_response.py +54 -0
- arthur_client/api_bindings/test/test_webhook_result.py +58 -0
- arthur_client/api_bindings/test/test_webhook_sort.py +33 -0
- arthur_client/api_bindings/test/test_webhooks_v1_api.py +73 -0
- arthur_client/api_bindings/test/test_workspace.py +60 -0
- arthur_client/api_bindings/test/test_workspace_sort.py +33 -0
- arthur_client/api_bindings/test/test_workspaces_v1_api.py +66 -0
- arthur_client/api_bindings_README.md +509 -0
- arthur_client/auth/__init__.py +4 -0
- arthur_client/auth/constants.py +1 -0
- arthur_client/auth/device_authorizer.py +74 -0
- arthur_client/auth/discovery.py +40 -0
- arthur_client/auth/oauth_api_config.py +38 -0
- arthur_client/auth/session.py +84 -0
- arthur_client-1.4.1055.dist-info/METADATA +40 -0
- arthur_client-1.4.1055.dist-info/RECORD +915 -0
- {arthur_client-1.4.0.dist-info → arthur_client-1.4.1055.dist-info}/WHEEL +1 -2
- arthur/client/__init__.py +0 -3
- arthur/client/auth/helpers.py +0 -123
- arthur/client/auth/refresh.py +0 -67
- arthur/client/helpers.py +0 -48
- arthur/client/http/helper.py +0 -47
- arthur/client/http/requests.py +0 -654
- arthur/client/http/validation.py +0 -197
- arthur/client/rest/__init__.py +0 -16
- arthur/client/rest/admin/__init__.py +0 -2
- arthur/client/rest/admin/client.py +0 -330
- arthur/client/rest/admin/models.py +0 -457
- arthur/client/rest/alerts/__init__.py +0 -2
- arthur/client/rest/alerts/client.py +0 -589
- arthur/client/rest/alerts/models.py +0 -695
- arthur/client/rest/bench/__init__.py +0 -2
- arthur/client/rest/bench/client.py +0 -280
- arthur/client/rest/bench/models.py +0 -229
- arthur/client/rest/client.py +0 -158
- arthur/client/rest/common/__init__.py +0 -2
- arthur/client/rest/common/client.py +0 -25
- arthur/client/rest/common/models.py +0 -317
- arthur/client/rest/enrichments/__init__.py +0 -2
- arthur/client/rest/enrichments/client.py +0 -352
- arthur/client/rest/enrichments/models.py +0 -483
- arthur/client/rest/inferences/__init__.py +0 -2
- arthur/client/rest/inferences/client.py +0 -268
- arthur/client/rest/inferences/models.py +0 -432
- arthur/client/rest/insights/__init__.py +0 -2
- arthur/client/rest/insights/client.py +0 -199
- arthur/client/rest/insights/models.py +0 -182
- arthur/client/rest/metrics/__init__.py +0 -2
- arthur/client/rest/metrics/client.py +0 -296
- arthur/client/rest/metrics/models.py +0 -325
- arthur/client/rest/model_groups/__init__.py +0 -2
- arthur/client/rest/model_groups/client.py +0 -153
- arthur/client/rest/model_groups/models.py +0 -80
- arthur/client/rest/models/__init__.py +0 -2
- arthur/client/rest/models/client.py +0 -534
- arthur/client/rest/models/models.py +0 -565
- arthur/client/rest/query/__init__.py +0 -2
- arthur/client/rest/query/client.py +0 -123
- arthur/client/rest/query/models.py +0 -133
- arthur/client/rest/users/__init__.py +0 -2
- arthur/client/rest/users/client.py +0 -171
- arthur/client/rest/users/models.py +0 -317
- arthur/client/types.py +0 -9
- arthur/client/version.py +0 -2
- arthur/common/__init__.py +0 -3
- arthur/common/constants.py +0 -5
- arthur/common/exceptions.py +0 -183
- arthur/common/log.py +0 -79
- arthur_client-1.4.0.dist-info/LICENSE +0 -21
- arthur_client-1.4.0.dist-info/METADATA +0 -49
- arthur_client-1.4.0.dist-info/RECORD +0 -58
- arthur_client-1.4.0.dist-info/top_level.txt +0 -1
- {arthur/client/auth → arthur_client}/__init__.py +0 -0
- {arthur/client/http → arthur_client/api_bindings/test}/__init__.py +0 -0
@@ -0,0 +1,1699 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Arthur Scope
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
import warnings
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
17
|
+
from typing_extensions import Annotated
|
18
|
+
|
19
|
+
from pydantic import Field, StrictBool, StrictStr
|
20
|
+
from typing import Optional
|
21
|
+
from typing_extensions import Annotated
|
22
|
+
from arthur_client.api_bindings.models.data_plane_association import DataPlaneAssociation
|
23
|
+
from arthur_client.api_bindings.models.data_plane_association_sort import DataPlaneAssociationSort
|
24
|
+
from arthur_client.api_bindings.models.post_data_plane_association import PostDataPlaneAssociation
|
25
|
+
from arthur_client.api_bindings.models.resource_list_data_plane_association import ResourceListDataPlaneAssociation
|
26
|
+
from arthur_client.api_bindings.models.sort_order import SortOrder
|
27
|
+
|
28
|
+
from arthur_client.api_bindings.api_client import ApiClient, RequestSerialized
|
29
|
+
from arthur_client.api_bindings.api_response import ApiResponse
|
30
|
+
from arthur_client.api_bindings.rest import RESTResponseType
|
31
|
+
|
32
|
+
|
33
|
+
class DataPlaneAssociationsV1Api:
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
35
|
+
Ref: https://openapi-generator.tech
|
36
|
+
|
37
|
+
Do not edit the class manually.
|
38
|
+
"""
|
39
|
+
|
40
|
+
def __init__(self, api_client=None) -> None:
|
41
|
+
if api_client is None:
|
42
|
+
api_client = ApiClient.get_default()
|
43
|
+
self.api_client = api_client
|
44
|
+
|
45
|
+
|
46
|
+
@validate_call
|
47
|
+
def delete_data_plane_association(
|
48
|
+
self,
|
49
|
+
data_plane_association_id: StrictStr,
|
50
|
+
_request_timeout: Union[
|
51
|
+
None,
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
53
|
+
Tuple[
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
55
|
+
Annotated[StrictFloat, Field(gt=0)]
|
56
|
+
]
|
57
|
+
] = None,
|
58
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
59
|
+
_content_type: Optional[StrictStr] = None,
|
60
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
61
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
62
|
+
) -> None:
|
63
|
+
"""Delete Data Plane Association By Id
|
64
|
+
|
65
|
+
Deletes a single data plane association. Requires data_plane_association_delete permission.
|
66
|
+
|
67
|
+
:param data_plane_association_id: (required)
|
68
|
+
:type data_plane_association_id: str
|
69
|
+
:param _request_timeout: timeout setting for this request. If one
|
70
|
+
number provided, it will be total request
|
71
|
+
timeout. It can also be a pair (tuple) of
|
72
|
+
(connection, read) timeouts.
|
73
|
+
:type _request_timeout: int, tuple(int, int), optional
|
74
|
+
:param _request_auth: set to override the auth_settings for an a single
|
75
|
+
request; this effectively ignores the
|
76
|
+
authentication in the spec for a single request.
|
77
|
+
:type _request_auth: dict, optional
|
78
|
+
:param _content_type: force content-type for the request.
|
79
|
+
:type _content_type: str, Optional
|
80
|
+
:param _headers: set to override the headers for a single
|
81
|
+
request; this effectively ignores the headers
|
82
|
+
in the spec for a single request.
|
83
|
+
:type _headers: dict, optional
|
84
|
+
:param _host_index: set to override the host_index for a single
|
85
|
+
request; this effectively ignores the host_index
|
86
|
+
in the spec for a single request.
|
87
|
+
:type _host_index: int, optional
|
88
|
+
:return: Returns the result object.
|
89
|
+
""" # noqa: E501
|
90
|
+
|
91
|
+
_param = self._delete_data_plane_association_serialize(
|
92
|
+
data_plane_association_id=data_plane_association_id,
|
93
|
+
_request_auth=_request_auth,
|
94
|
+
_content_type=_content_type,
|
95
|
+
_headers=_headers,
|
96
|
+
_host_index=_host_index
|
97
|
+
)
|
98
|
+
|
99
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
100
|
+
'204': None,
|
101
|
+
'500': "InternalServerError",
|
102
|
+
'400': "BadRequestError",
|
103
|
+
'404': "NotFoundError",
|
104
|
+
'422': "HTTPValidationError",
|
105
|
+
}
|
106
|
+
response_data = self.api_client.call_api(
|
107
|
+
*_param,
|
108
|
+
_request_timeout=_request_timeout
|
109
|
+
)
|
110
|
+
response_data.read()
|
111
|
+
return self.api_client.response_deserialize(
|
112
|
+
response_data=response_data,
|
113
|
+
response_types_map=_response_types_map,
|
114
|
+
).data
|
115
|
+
|
116
|
+
|
117
|
+
@validate_call
|
118
|
+
def delete_data_plane_association_with_http_info(
|
119
|
+
self,
|
120
|
+
data_plane_association_id: StrictStr,
|
121
|
+
_request_timeout: Union[
|
122
|
+
None,
|
123
|
+
Annotated[StrictFloat, Field(gt=0)],
|
124
|
+
Tuple[
|
125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
126
|
+
Annotated[StrictFloat, Field(gt=0)]
|
127
|
+
]
|
128
|
+
] = None,
|
129
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
130
|
+
_content_type: Optional[StrictStr] = None,
|
131
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
132
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
133
|
+
) -> ApiResponse[None]:
|
134
|
+
"""Delete Data Plane Association By Id
|
135
|
+
|
136
|
+
Deletes a single data plane association. Requires data_plane_association_delete permission.
|
137
|
+
|
138
|
+
:param data_plane_association_id: (required)
|
139
|
+
:type data_plane_association_id: str
|
140
|
+
:param _request_timeout: timeout setting for this request. If one
|
141
|
+
number provided, it will be total request
|
142
|
+
timeout. It can also be a pair (tuple) of
|
143
|
+
(connection, read) timeouts.
|
144
|
+
:type _request_timeout: int, tuple(int, int), optional
|
145
|
+
:param _request_auth: set to override the auth_settings for an a single
|
146
|
+
request; this effectively ignores the
|
147
|
+
authentication in the spec for a single request.
|
148
|
+
:type _request_auth: dict, optional
|
149
|
+
:param _content_type: force content-type for the request.
|
150
|
+
:type _content_type: str, Optional
|
151
|
+
:param _headers: set to override the headers for a single
|
152
|
+
request; this effectively ignores the headers
|
153
|
+
in the spec for a single request.
|
154
|
+
:type _headers: dict, optional
|
155
|
+
:param _host_index: set to override the host_index for a single
|
156
|
+
request; this effectively ignores the host_index
|
157
|
+
in the spec for a single request.
|
158
|
+
:type _host_index: int, optional
|
159
|
+
:return: Returns the result object.
|
160
|
+
""" # noqa: E501
|
161
|
+
|
162
|
+
_param = self._delete_data_plane_association_serialize(
|
163
|
+
data_plane_association_id=data_plane_association_id,
|
164
|
+
_request_auth=_request_auth,
|
165
|
+
_content_type=_content_type,
|
166
|
+
_headers=_headers,
|
167
|
+
_host_index=_host_index
|
168
|
+
)
|
169
|
+
|
170
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
171
|
+
'204': None,
|
172
|
+
'500': "InternalServerError",
|
173
|
+
'400': "BadRequestError",
|
174
|
+
'404': "NotFoundError",
|
175
|
+
'422': "HTTPValidationError",
|
176
|
+
}
|
177
|
+
response_data = self.api_client.call_api(
|
178
|
+
*_param,
|
179
|
+
_request_timeout=_request_timeout
|
180
|
+
)
|
181
|
+
response_data.read()
|
182
|
+
return self.api_client.response_deserialize(
|
183
|
+
response_data=response_data,
|
184
|
+
response_types_map=_response_types_map,
|
185
|
+
)
|
186
|
+
|
187
|
+
|
188
|
+
@validate_call
|
189
|
+
def delete_data_plane_association_without_preload_content(
|
190
|
+
self,
|
191
|
+
data_plane_association_id: StrictStr,
|
192
|
+
_request_timeout: Union[
|
193
|
+
None,
|
194
|
+
Annotated[StrictFloat, Field(gt=0)],
|
195
|
+
Tuple[
|
196
|
+
Annotated[StrictFloat, Field(gt=0)],
|
197
|
+
Annotated[StrictFloat, Field(gt=0)]
|
198
|
+
]
|
199
|
+
] = None,
|
200
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
201
|
+
_content_type: Optional[StrictStr] = None,
|
202
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
203
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
204
|
+
) -> RESTResponseType:
|
205
|
+
"""Delete Data Plane Association By Id
|
206
|
+
|
207
|
+
Deletes a single data plane association. Requires data_plane_association_delete permission.
|
208
|
+
|
209
|
+
:param data_plane_association_id: (required)
|
210
|
+
:type data_plane_association_id: str
|
211
|
+
:param _request_timeout: timeout setting for this request. If one
|
212
|
+
number provided, it will be total request
|
213
|
+
timeout. It can also be a pair (tuple) of
|
214
|
+
(connection, read) timeouts.
|
215
|
+
:type _request_timeout: int, tuple(int, int), optional
|
216
|
+
:param _request_auth: set to override the auth_settings for an a single
|
217
|
+
request; this effectively ignores the
|
218
|
+
authentication in the spec for a single request.
|
219
|
+
:type _request_auth: dict, optional
|
220
|
+
:param _content_type: force content-type for the request.
|
221
|
+
:type _content_type: str, Optional
|
222
|
+
:param _headers: set to override the headers for a single
|
223
|
+
request; this effectively ignores the headers
|
224
|
+
in the spec for a single request.
|
225
|
+
:type _headers: dict, optional
|
226
|
+
:param _host_index: set to override the host_index for a single
|
227
|
+
request; this effectively ignores the host_index
|
228
|
+
in the spec for a single request.
|
229
|
+
:type _host_index: int, optional
|
230
|
+
:return: Returns the result object.
|
231
|
+
""" # noqa: E501
|
232
|
+
|
233
|
+
_param = self._delete_data_plane_association_serialize(
|
234
|
+
data_plane_association_id=data_plane_association_id,
|
235
|
+
_request_auth=_request_auth,
|
236
|
+
_content_type=_content_type,
|
237
|
+
_headers=_headers,
|
238
|
+
_host_index=_host_index
|
239
|
+
)
|
240
|
+
|
241
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
242
|
+
'204': None,
|
243
|
+
'500': "InternalServerError",
|
244
|
+
'400': "BadRequestError",
|
245
|
+
'404': "NotFoundError",
|
246
|
+
'422': "HTTPValidationError",
|
247
|
+
}
|
248
|
+
response_data = self.api_client.call_api(
|
249
|
+
*_param,
|
250
|
+
_request_timeout=_request_timeout
|
251
|
+
)
|
252
|
+
return response_data.response
|
253
|
+
|
254
|
+
|
255
|
+
def _delete_data_plane_association_serialize(
|
256
|
+
self,
|
257
|
+
data_plane_association_id,
|
258
|
+
_request_auth,
|
259
|
+
_content_type,
|
260
|
+
_headers,
|
261
|
+
_host_index,
|
262
|
+
) -> RequestSerialized:
|
263
|
+
|
264
|
+
_host = None
|
265
|
+
|
266
|
+
_collection_formats: Dict[str, str] = {
|
267
|
+
}
|
268
|
+
|
269
|
+
_path_params: Dict[str, str] = {}
|
270
|
+
_query_params: List[Tuple[str, str]] = []
|
271
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
272
|
+
_form_params: List[Tuple[str, str]] = []
|
273
|
+
_files: Dict[
|
274
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
275
|
+
] = {}
|
276
|
+
_body_params: Optional[bytes] = None
|
277
|
+
|
278
|
+
# process the path parameters
|
279
|
+
if data_plane_association_id is not None:
|
280
|
+
_path_params['data_plane_association_id'] = data_plane_association_id
|
281
|
+
# process the query parameters
|
282
|
+
# process the header parameters
|
283
|
+
# process the form parameters
|
284
|
+
# process the body parameter
|
285
|
+
|
286
|
+
|
287
|
+
# set the HTTP header `Accept`
|
288
|
+
if 'Accept' not in _header_params:
|
289
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
290
|
+
[
|
291
|
+
'application/json'
|
292
|
+
]
|
293
|
+
)
|
294
|
+
|
295
|
+
|
296
|
+
# authentication setting
|
297
|
+
_auth_settings: List[str] = [
|
298
|
+
'OAuth2AuthorizationCode'
|
299
|
+
]
|
300
|
+
|
301
|
+
return self.api_client.param_serialize(
|
302
|
+
method='DELETE',
|
303
|
+
resource_path='/api/v1/data_plane_associations/{data_plane_association_id}',
|
304
|
+
path_params=_path_params,
|
305
|
+
query_params=_query_params,
|
306
|
+
header_params=_header_params,
|
307
|
+
body=_body_params,
|
308
|
+
post_params=_form_params,
|
309
|
+
files=_files,
|
310
|
+
auth_settings=_auth_settings,
|
311
|
+
collection_formats=_collection_formats,
|
312
|
+
_host=_host,
|
313
|
+
_request_auth=_request_auth
|
314
|
+
)
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
@validate_call
|
320
|
+
def get_data_plane_project_associations(
|
321
|
+
self,
|
322
|
+
data_plane_id: StrictStr,
|
323
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
324
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
325
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
326
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
327
|
+
_request_timeout: Union[
|
328
|
+
None,
|
329
|
+
Annotated[StrictFloat, Field(gt=0)],
|
330
|
+
Tuple[
|
331
|
+
Annotated[StrictFloat, Field(gt=0)],
|
332
|
+
Annotated[StrictFloat, Field(gt=0)]
|
333
|
+
]
|
334
|
+
] = None,
|
335
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
336
|
+
_content_type: Optional[StrictStr] = None,
|
337
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
338
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
339
|
+
) -> ResourceListDataPlaneAssociation:
|
340
|
+
"""List Projects Associated With The Data Plane
|
341
|
+
|
342
|
+
Requires data_plane_list_associations permission.
|
343
|
+
|
344
|
+
:param data_plane_id: (required)
|
345
|
+
:type data_plane_id: str
|
346
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
347
|
+
:type sort: DataPlaneAssociationSort
|
348
|
+
:param order: Override the sort order used. Optional.
|
349
|
+
:type order: SortOrder
|
350
|
+
:param page: The page to return starting from 1 up to total_pages.
|
351
|
+
:type page: int
|
352
|
+
:param page_size: The number of records per page. The max is 1000.
|
353
|
+
:type page_size: int
|
354
|
+
:param _request_timeout: timeout setting for this request. If one
|
355
|
+
number provided, it will be total request
|
356
|
+
timeout. It can also be a pair (tuple) of
|
357
|
+
(connection, read) timeouts.
|
358
|
+
:type _request_timeout: int, tuple(int, int), optional
|
359
|
+
:param _request_auth: set to override the auth_settings for an a single
|
360
|
+
request; this effectively ignores the
|
361
|
+
authentication in the spec for a single request.
|
362
|
+
:type _request_auth: dict, optional
|
363
|
+
:param _content_type: force content-type for the request.
|
364
|
+
:type _content_type: str, Optional
|
365
|
+
:param _headers: set to override the headers for a single
|
366
|
+
request; this effectively ignores the headers
|
367
|
+
in the spec for a single request.
|
368
|
+
:type _headers: dict, optional
|
369
|
+
:param _host_index: set to override the host_index for a single
|
370
|
+
request; this effectively ignores the host_index
|
371
|
+
in the spec for a single request.
|
372
|
+
:type _host_index: int, optional
|
373
|
+
:return: Returns the result object.
|
374
|
+
""" # noqa: E501
|
375
|
+
|
376
|
+
_param = self._get_data_plane_project_associations_serialize(
|
377
|
+
data_plane_id=data_plane_id,
|
378
|
+
sort=sort,
|
379
|
+
order=order,
|
380
|
+
page=page,
|
381
|
+
page_size=page_size,
|
382
|
+
_request_auth=_request_auth,
|
383
|
+
_content_type=_content_type,
|
384
|
+
_headers=_headers,
|
385
|
+
_host_index=_host_index
|
386
|
+
)
|
387
|
+
|
388
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
389
|
+
'200': "ResourceListDataPlaneAssociation",
|
390
|
+
'500': "InternalServerError",
|
391
|
+
'404': "NotFoundError",
|
392
|
+
'422': "HTTPValidationError",
|
393
|
+
}
|
394
|
+
response_data = self.api_client.call_api(
|
395
|
+
*_param,
|
396
|
+
_request_timeout=_request_timeout
|
397
|
+
)
|
398
|
+
response_data.read()
|
399
|
+
return self.api_client.response_deserialize(
|
400
|
+
response_data=response_data,
|
401
|
+
response_types_map=_response_types_map,
|
402
|
+
).data
|
403
|
+
|
404
|
+
|
405
|
+
@validate_call
|
406
|
+
def get_data_plane_project_associations_with_http_info(
|
407
|
+
self,
|
408
|
+
data_plane_id: StrictStr,
|
409
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
410
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
411
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
412
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
413
|
+
_request_timeout: Union[
|
414
|
+
None,
|
415
|
+
Annotated[StrictFloat, Field(gt=0)],
|
416
|
+
Tuple[
|
417
|
+
Annotated[StrictFloat, Field(gt=0)],
|
418
|
+
Annotated[StrictFloat, Field(gt=0)]
|
419
|
+
]
|
420
|
+
] = None,
|
421
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
422
|
+
_content_type: Optional[StrictStr] = None,
|
423
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
424
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
425
|
+
) -> ApiResponse[ResourceListDataPlaneAssociation]:
|
426
|
+
"""List Projects Associated With The Data Plane
|
427
|
+
|
428
|
+
Requires data_plane_list_associations permission.
|
429
|
+
|
430
|
+
:param data_plane_id: (required)
|
431
|
+
:type data_plane_id: str
|
432
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
433
|
+
:type sort: DataPlaneAssociationSort
|
434
|
+
:param order: Override the sort order used. Optional.
|
435
|
+
:type order: SortOrder
|
436
|
+
:param page: The page to return starting from 1 up to total_pages.
|
437
|
+
:type page: int
|
438
|
+
:param page_size: The number of records per page. The max is 1000.
|
439
|
+
:type page_size: int
|
440
|
+
:param _request_timeout: timeout setting for this request. If one
|
441
|
+
number provided, it will be total request
|
442
|
+
timeout. It can also be a pair (tuple) of
|
443
|
+
(connection, read) timeouts.
|
444
|
+
:type _request_timeout: int, tuple(int, int), optional
|
445
|
+
:param _request_auth: set to override the auth_settings for an a single
|
446
|
+
request; this effectively ignores the
|
447
|
+
authentication in the spec for a single request.
|
448
|
+
:type _request_auth: dict, optional
|
449
|
+
:param _content_type: force content-type for the request.
|
450
|
+
:type _content_type: str, Optional
|
451
|
+
:param _headers: set to override the headers for a single
|
452
|
+
request; this effectively ignores the headers
|
453
|
+
in the spec for a single request.
|
454
|
+
:type _headers: dict, optional
|
455
|
+
:param _host_index: set to override the host_index for a single
|
456
|
+
request; this effectively ignores the host_index
|
457
|
+
in the spec for a single request.
|
458
|
+
:type _host_index: int, optional
|
459
|
+
:return: Returns the result object.
|
460
|
+
""" # noqa: E501
|
461
|
+
|
462
|
+
_param = self._get_data_plane_project_associations_serialize(
|
463
|
+
data_plane_id=data_plane_id,
|
464
|
+
sort=sort,
|
465
|
+
order=order,
|
466
|
+
page=page,
|
467
|
+
page_size=page_size,
|
468
|
+
_request_auth=_request_auth,
|
469
|
+
_content_type=_content_type,
|
470
|
+
_headers=_headers,
|
471
|
+
_host_index=_host_index
|
472
|
+
)
|
473
|
+
|
474
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
475
|
+
'200': "ResourceListDataPlaneAssociation",
|
476
|
+
'500': "InternalServerError",
|
477
|
+
'404': "NotFoundError",
|
478
|
+
'422': "HTTPValidationError",
|
479
|
+
}
|
480
|
+
response_data = self.api_client.call_api(
|
481
|
+
*_param,
|
482
|
+
_request_timeout=_request_timeout
|
483
|
+
)
|
484
|
+
response_data.read()
|
485
|
+
return self.api_client.response_deserialize(
|
486
|
+
response_data=response_data,
|
487
|
+
response_types_map=_response_types_map,
|
488
|
+
)
|
489
|
+
|
490
|
+
|
491
|
+
@validate_call
|
492
|
+
def get_data_plane_project_associations_without_preload_content(
|
493
|
+
self,
|
494
|
+
data_plane_id: StrictStr,
|
495
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
496
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
497
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
498
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
499
|
+
_request_timeout: Union[
|
500
|
+
None,
|
501
|
+
Annotated[StrictFloat, Field(gt=0)],
|
502
|
+
Tuple[
|
503
|
+
Annotated[StrictFloat, Field(gt=0)],
|
504
|
+
Annotated[StrictFloat, Field(gt=0)]
|
505
|
+
]
|
506
|
+
] = None,
|
507
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
508
|
+
_content_type: Optional[StrictStr] = None,
|
509
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
510
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
511
|
+
) -> RESTResponseType:
|
512
|
+
"""List Projects Associated With The Data Plane
|
513
|
+
|
514
|
+
Requires data_plane_list_associations permission.
|
515
|
+
|
516
|
+
:param data_plane_id: (required)
|
517
|
+
:type data_plane_id: str
|
518
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
519
|
+
:type sort: DataPlaneAssociationSort
|
520
|
+
:param order: Override the sort order used. Optional.
|
521
|
+
:type order: SortOrder
|
522
|
+
:param page: The page to return starting from 1 up to total_pages.
|
523
|
+
:type page: int
|
524
|
+
:param page_size: The number of records per page. The max is 1000.
|
525
|
+
:type page_size: int
|
526
|
+
:param _request_timeout: timeout setting for this request. If one
|
527
|
+
number provided, it will be total request
|
528
|
+
timeout. It can also be a pair (tuple) of
|
529
|
+
(connection, read) timeouts.
|
530
|
+
:type _request_timeout: int, tuple(int, int), optional
|
531
|
+
:param _request_auth: set to override the auth_settings for an a single
|
532
|
+
request; this effectively ignores the
|
533
|
+
authentication in the spec for a single request.
|
534
|
+
:type _request_auth: dict, optional
|
535
|
+
:param _content_type: force content-type for the request.
|
536
|
+
:type _content_type: str, Optional
|
537
|
+
:param _headers: set to override the headers for a single
|
538
|
+
request; this effectively ignores the headers
|
539
|
+
in the spec for a single request.
|
540
|
+
:type _headers: dict, optional
|
541
|
+
:param _host_index: set to override the host_index for a single
|
542
|
+
request; this effectively ignores the host_index
|
543
|
+
in the spec for a single request.
|
544
|
+
:type _host_index: int, optional
|
545
|
+
:return: Returns the result object.
|
546
|
+
""" # noqa: E501
|
547
|
+
|
548
|
+
_param = self._get_data_plane_project_associations_serialize(
|
549
|
+
data_plane_id=data_plane_id,
|
550
|
+
sort=sort,
|
551
|
+
order=order,
|
552
|
+
page=page,
|
553
|
+
page_size=page_size,
|
554
|
+
_request_auth=_request_auth,
|
555
|
+
_content_type=_content_type,
|
556
|
+
_headers=_headers,
|
557
|
+
_host_index=_host_index
|
558
|
+
)
|
559
|
+
|
560
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
561
|
+
'200': "ResourceListDataPlaneAssociation",
|
562
|
+
'500': "InternalServerError",
|
563
|
+
'404': "NotFoundError",
|
564
|
+
'422': "HTTPValidationError",
|
565
|
+
}
|
566
|
+
response_data = self.api_client.call_api(
|
567
|
+
*_param,
|
568
|
+
_request_timeout=_request_timeout
|
569
|
+
)
|
570
|
+
return response_data.response
|
571
|
+
|
572
|
+
|
573
|
+
def _get_data_plane_project_associations_serialize(
|
574
|
+
self,
|
575
|
+
data_plane_id,
|
576
|
+
sort,
|
577
|
+
order,
|
578
|
+
page,
|
579
|
+
page_size,
|
580
|
+
_request_auth,
|
581
|
+
_content_type,
|
582
|
+
_headers,
|
583
|
+
_host_index,
|
584
|
+
) -> RequestSerialized:
|
585
|
+
|
586
|
+
_host = None
|
587
|
+
|
588
|
+
_collection_formats: Dict[str, str] = {
|
589
|
+
}
|
590
|
+
|
591
|
+
_path_params: Dict[str, str] = {}
|
592
|
+
_query_params: List[Tuple[str, str]] = []
|
593
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
594
|
+
_form_params: List[Tuple[str, str]] = []
|
595
|
+
_files: Dict[
|
596
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
597
|
+
] = {}
|
598
|
+
_body_params: Optional[bytes] = None
|
599
|
+
|
600
|
+
# process the path parameters
|
601
|
+
if data_plane_id is not None:
|
602
|
+
_path_params['data_plane_id'] = data_plane_id
|
603
|
+
# process the query parameters
|
604
|
+
if sort is not None:
|
605
|
+
|
606
|
+
_query_params.append(('sort', sort.value))
|
607
|
+
|
608
|
+
if order is not None:
|
609
|
+
|
610
|
+
_query_params.append(('order', order.value))
|
611
|
+
|
612
|
+
if page is not None:
|
613
|
+
|
614
|
+
_query_params.append(('page', page))
|
615
|
+
|
616
|
+
if page_size is not None:
|
617
|
+
|
618
|
+
_query_params.append(('page_size', page_size))
|
619
|
+
|
620
|
+
# process the header parameters
|
621
|
+
# process the form parameters
|
622
|
+
# process the body parameter
|
623
|
+
|
624
|
+
|
625
|
+
# set the HTTP header `Accept`
|
626
|
+
if 'Accept' not in _header_params:
|
627
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
628
|
+
[
|
629
|
+
'application/json'
|
630
|
+
]
|
631
|
+
)
|
632
|
+
|
633
|
+
|
634
|
+
# authentication setting
|
635
|
+
_auth_settings: List[str] = [
|
636
|
+
'OAuth2AuthorizationCode'
|
637
|
+
]
|
638
|
+
|
639
|
+
return self.api_client.param_serialize(
|
640
|
+
method='GET',
|
641
|
+
resource_path='/api/v1/data_planes/{data_plane_id}/associations',
|
642
|
+
path_params=_path_params,
|
643
|
+
query_params=_query_params,
|
644
|
+
header_params=_header_params,
|
645
|
+
body=_body_params,
|
646
|
+
post_params=_form_params,
|
647
|
+
files=_files,
|
648
|
+
auth_settings=_auth_settings,
|
649
|
+
collection_formats=_collection_formats,
|
650
|
+
_host=_host,
|
651
|
+
_request_auth=_request_auth
|
652
|
+
)
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
@validate_call
|
658
|
+
def get_project_data_plane_associations(
|
659
|
+
self,
|
660
|
+
project_id: StrictStr,
|
661
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
662
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
663
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
664
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
665
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
666
|
+
_request_timeout: Union[
|
667
|
+
None,
|
668
|
+
Annotated[StrictFloat, Field(gt=0)],
|
669
|
+
Tuple[
|
670
|
+
Annotated[StrictFloat, Field(gt=0)],
|
671
|
+
Annotated[StrictFloat, Field(gt=0)]
|
672
|
+
]
|
673
|
+
] = None,
|
674
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
675
|
+
_content_type: Optional[StrictStr] = None,
|
676
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
677
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
678
|
+
) -> ResourceListDataPlaneAssociation:
|
679
|
+
"""List Data Plane Associations For Project.
|
680
|
+
|
681
|
+
Requires project_list_data_plane_associations.
|
682
|
+
|
683
|
+
:param project_id: (required)
|
684
|
+
:type project_id: str
|
685
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
686
|
+
:type sort: DataPlaneAssociationSort
|
687
|
+
:param order: Override the sort order used. Optional.
|
688
|
+
:type order: SortOrder
|
689
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
690
|
+
:type gen_ai_enabled: bool
|
691
|
+
:param page: The page to return starting from 1 up to total_pages.
|
692
|
+
:type page: int
|
693
|
+
:param page_size: The number of records per page. The max is 1000.
|
694
|
+
:type page_size: int
|
695
|
+
:param _request_timeout: timeout setting for this request. If one
|
696
|
+
number provided, it will be total request
|
697
|
+
timeout. It can also be a pair (tuple) of
|
698
|
+
(connection, read) timeouts.
|
699
|
+
:type _request_timeout: int, tuple(int, int), optional
|
700
|
+
:param _request_auth: set to override the auth_settings for an a single
|
701
|
+
request; this effectively ignores the
|
702
|
+
authentication in the spec for a single request.
|
703
|
+
:type _request_auth: dict, optional
|
704
|
+
:param _content_type: force content-type for the request.
|
705
|
+
:type _content_type: str, Optional
|
706
|
+
:param _headers: set to override the headers for a single
|
707
|
+
request; this effectively ignores the headers
|
708
|
+
in the spec for a single request.
|
709
|
+
:type _headers: dict, optional
|
710
|
+
:param _host_index: set to override the host_index for a single
|
711
|
+
request; this effectively ignores the host_index
|
712
|
+
in the spec for a single request.
|
713
|
+
:type _host_index: int, optional
|
714
|
+
:return: Returns the result object.
|
715
|
+
""" # noqa: E501
|
716
|
+
|
717
|
+
_param = self._get_project_data_plane_associations_serialize(
|
718
|
+
project_id=project_id,
|
719
|
+
sort=sort,
|
720
|
+
order=order,
|
721
|
+
gen_ai_enabled=gen_ai_enabled,
|
722
|
+
page=page,
|
723
|
+
page_size=page_size,
|
724
|
+
_request_auth=_request_auth,
|
725
|
+
_content_type=_content_type,
|
726
|
+
_headers=_headers,
|
727
|
+
_host_index=_host_index
|
728
|
+
)
|
729
|
+
|
730
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
731
|
+
'200': "ResourceListDataPlaneAssociation",
|
732
|
+
'500': "InternalServerError",
|
733
|
+
'404': "NotFoundError",
|
734
|
+
'422': "HTTPValidationError",
|
735
|
+
}
|
736
|
+
response_data = self.api_client.call_api(
|
737
|
+
*_param,
|
738
|
+
_request_timeout=_request_timeout
|
739
|
+
)
|
740
|
+
response_data.read()
|
741
|
+
return self.api_client.response_deserialize(
|
742
|
+
response_data=response_data,
|
743
|
+
response_types_map=_response_types_map,
|
744
|
+
).data
|
745
|
+
|
746
|
+
|
747
|
+
@validate_call
|
748
|
+
def get_project_data_plane_associations_with_http_info(
|
749
|
+
self,
|
750
|
+
project_id: StrictStr,
|
751
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
752
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
753
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
754
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
755
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
756
|
+
_request_timeout: Union[
|
757
|
+
None,
|
758
|
+
Annotated[StrictFloat, Field(gt=0)],
|
759
|
+
Tuple[
|
760
|
+
Annotated[StrictFloat, Field(gt=0)],
|
761
|
+
Annotated[StrictFloat, Field(gt=0)]
|
762
|
+
]
|
763
|
+
] = None,
|
764
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
765
|
+
_content_type: Optional[StrictStr] = None,
|
766
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
767
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
768
|
+
) -> ApiResponse[ResourceListDataPlaneAssociation]:
|
769
|
+
"""List Data Plane Associations For Project.
|
770
|
+
|
771
|
+
Requires project_list_data_plane_associations.
|
772
|
+
|
773
|
+
:param project_id: (required)
|
774
|
+
:type project_id: str
|
775
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
776
|
+
:type sort: DataPlaneAssociationSort
|
777
|
+
:param order: Override the sort order used. Optional.
|
778
|
+
:type order: SortOrder
|
779
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
780
|
+
:type gen_ai_enabled: bool
|
781
|
+
:param page: The page to return starting from 1 up to total_pages.
|
782
|
+
:type page: int
|
783
|
+
:param page_size: The number of records per page. The max is 1000.
|
784
|
+
:type page_size: int
|
785
|
+
:param _request_timeout: timeout setting for this request. If one
|
786
|
+
number provided, it will be total request
|
787
|
+
timeout. It can also be a pair (tuple) of
|
788
|
+
(connection, read) timeouts.
|
789
|
+
:type _request_timeout: int, tuple(int, int), optional
|
790
|
+
:param _request_auth: set to override the auth_settings for an a single
|
791
|
+
request; this effectively ignores the
|
792
|
+
authentication in the spec for a single request.
|
793
|
+
:type _request_auth: dict, optional
|
794
|
+
:param _content_type: force content-type for the request.
|
795
|
+
:type _content_type: str, Optional
|
796
|
+
:param _headers: set to override the headers for a single
|
797
|
+
request; this effectively ignores the headers
|
798
|
+
in the spec for a single request.
|
799
|
+
:type _headers: dict, optional
|
800
|
+
:param _host_index: set to override the host_index for a single
|
801
|
+
request; this effectively ignores the host_index
|
802
|
+
in the spec for a single request.
|
803
|
+
:type _host_index: int, optional
|
804
|
+
:return: Returns the result object.
|
805
|
+
""" # noqa: E501
|
806
|
+
|
807
|
+
_param = self._get_project_data_plane_associations_serialize(
|
808
|
+
project_id=project_id,
|
809
|
+
sort=sort,
|
810
|
+
order=order,
|
811
|
+
gen_ai_enabled=gen_ai_enabled,
|
812
|
+
page=page,
|
813
|
+
page_size=page_size,
|
814
|
+
_request_auth=_request_auth,
|
815
|
+
_content_type=_content_type,
|
816
|
+
_headers=_headers,
|
817
|
+
_host_index=_host_index
|
818
|
+
)
|
819
|
+
|
820
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
821
|
+
'200': "ResourceListDataPlaneAssociation",
|
822
|
+
'500': "InternalServerError",
|
823
|
+
'404': "NotFoundError",
|
824
|
+
'422': "HTTPValidationError",
|
825
|
+
}
|
826
|
+
response_data = self.api_client.call_api(
|
827
|
+
*_param,
|
828
|
+
_request_timeout=_request_timeout
|
829
|
+
)
|
830
|
+
response_data.read()
|
831
|
+
return self.api_client.response_deserialize(
|
832
|
+
response_data=response_data,
|
833
|
+
response_types_map=_response_types_map,
|
834
|
+
)
|
835
|
+
|
836
|
+
|
837
|
+
@validate_call
|
838
|
+
def get_project_data_plane_associations_without_preload_content(
|
839
|
+
self,
|
840
|
+
project_id: StrictStr,
|
841
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
842
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
843
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
844
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
845
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
846
|
+
_request_timeout: Union[
|
847
|
+
None,
|
848
|
+
Annotated[StrictFloat, Field(gt=0)],
|
849
|
+
Tuple[
|
850
|
+
Annotated[StrictFloat, Field(gt=0)],
|
851
|
+
Annotated[StrictFloat, Field(gt=0)]
|
852
|
+
]
|
853
|
+
] = None,
|
854
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
855
|
+
_content_type: Optional[StrictStr] = None,
|
856
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
857
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
858
|
+
) -> RESTResponseType:
|
859
|
+
"""List Data Plane Associations For Project.
|
860
|
+
|
861
|
+
Requires project_list_data_plane_associations.
|
862
|
+
|
863
|
+
:param project_id: (required)
|
864
|
+
:type project_id: str
|
865
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
866
|
+
:type sort: DataPlaneAssociationSort
|
867
|
+
:param order: Override the sort order used. Optional.
|
868
|
+
:type order: SortOrder
|
869
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
870
|
+
:type gen_ai_enabled: bool
|
871
|
+
:param page: The page to return starting from 1 up to total_pages.
|
872
|
+
:type page: int
|
873
|
+
:param page_size: The number of records per page. The max is 1000.
|
874
|
+
:type page_size: int
|
875
|
+
:param _request_timeout: timeout setting for this request. If one
|
876
|
+
number provided, it will be total request
|
877
|
+
timeout. It can also be a pair (tuple) of
|
878
|
+
(connection, read) timeouts.
|
879
|
+
:type _request_timeout: int, tuple(int, int), optional
|
880
|
+
:param _request_auth: set to override the auth_settings for an a single
|
881
|
+
request; this effectively ignores the
|
882
|
+
authentication in the spec for a single request.
|
883
|
+
:type _request_auth: dict, optional
|
884
|
+
:param _content_type: force content-type for the request.
|
885
|
+
:type _content_type: str, Optional
|
886
|
+
:param _headers: set to override the headers for a single
|
887
|
+
request; this effectively ignores the headers
|
888
|
+
in the spec for a single request.
|
889
|
+
:type _headers: dict, optional
|
890
|
+
:param _host_index: set to override the host_index for a single
|
891
|
+
request; this effectively ignores the host_index
|
892
|
+
in the spec for a single request.
|
893
|
+
:type _host_index: int, optional
|
894
|
+
:return: Returns the result object.
|
895
|
+
""" # noqa: E501
|
896
|
+
|
897
|
+
_param = self._get_project_data_plane_associations_serialize(
|
898
|
+
project_id=project_id,
|
899
|
+
sort=sort,
|
900
|
+
order=order,
|
901
|
+
gen_ai_enabled=gen_ai_enabled,
|
902
|
+
page=page,
|
903
|
+
page_size=page_size,
|
904
|
+
_request_auth=_request_auth,
|
905
|
+
_content_type=_content_type,
|
906
|
+
_headers=_headers,
|
907
|
+
_host_index=_host_index
|
908
|
+
)
|
909
|
+
|
910
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
911
|
+
'200': "ResourceListDataPlaneAssociation",
|
912
|
+
'500': "InternalServerError",
|
913
|
+
'404': "NotFoundError",
|
914
|
+
'422': "HTTPValidationError",
|
915
|
+
}
|
916
|
+
response_data = self.api_client.call_api(
|
917
|
+
*_param,
|
918
|
+
_request_timeout=_request_timeout
|
919
|
+
)
|
920
|
+
return response_data.response
|
921
|
+
|
922
|
+
|
923
|
+
def _get_project_data_plane_associations_serialize(
|
924
|
+
self,
|
925
|
+
project_id,
|
926
|
+
sort,
|
927
|
+
order,
|
928
|
+
gen_ai_enabled,
|
929
|
+
page,
|
930
|
+
page_size,
|
931
|
+
_request_auth,
|
932
|
+
_content_type,
|
933
|
+
_headers,
|
934
|
+
_host_index,
|
935
|
+
) -> RequestSerialized:
|
936
|
+
|
937
|
+
_host = None
|
938
|
+
|
939
|
+
_collection_formats: Dict[str, str] = {
|
940
|
+
}
|
941
|
+
|
942
|
+
_path_params: Dict[str, str] = {}
|
943
|
+
_query_params: List[Tuple[str, str]] = []
|
944
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
945
|
+
_form_params: List[Tuple[str, str]] = []
|
946
|
+
_files: Dict[
|
947
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
948
|
+
] = {}
|
949
|
+
_body_params: Optional[bytes] = None
|
950
|
+
|
951
|
+
# process the path parameters
|
952
|
+
if project_id is not None:
|
953
|
+
_path_params['project_id'] = project_id
|
954
|
+
# process the query parameters
|
955
|
+
if sort is not None:
|
956
|
+
|
957
|
+
_query_params.append(('sort', sort.value))
|
958
|
+
|
959
|
+
if order is not None:
|
960
|
+
|
961
|
+
_query_params.append(('order', order.value))
|
962
|
+
|
963
|
+
if gen_ai_enabled is not None:
|
964
|
+
|
965
|
+
_query_params.append(('gen_ai_enabled', gen_ai_enabled))
|
966
|
+
|
967
|
+
if page is not None:
|
968
|
+
|
969
|
+
_query_params.append(('page', page))
|
970
|
+
|
971
|
+
if page_size is not None:
|
972
|
+
|
973
|
+
_query_params.append(('page_size', page_size))
|
974
|
+
|
975
|
+
# process the header parameters
|
976
|
+
# process the form parameters
|
977
|
+
# process the body parameter
|
978
|
+
|
979
|
+
|
980
|
+
# set the HTTP header `Accept`
|
981
|
+
if 'Accept' not in _header_params:
|
982
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
983
|
+
[
|
984
|
+
'application/json'
|
985
|
+
]
|
986
|
+
)
|
987
|
+
|
988
|
+
|
989
|
+
# authentication setting
|
990
|
+
_auth_settings: List[str] = [
|
991
|
+
'OAuth2AuthorizationCode'
|
992
|
+
]
|
993
|
+
|
994
|
+
return self.api_client.param_serialize(
|
995
|
+
method='GET',
|
996
|
+
resource_path='/api/v1/projects/{project_id}/data_plane_associations',
|
997
|
+
path_params=_path_params,
|
998
|
+
query_params=_query_params,
|
999
|
+
header_params=_header_params,
|
1000
|
+
body=_body_params,
|
1001
|
+
post_params=_form_params,
|
1002
|
+
files=_files,
|
1003
|
+
auth_settings=_auth_settings,
|
1004
|
+
collection_formats=_collection_formats,
|
1005
|
+
_host=_host,
|
1006
|
+
_request_auth=_request_auth
|
1007
|
+
)
|
1008
|
+
|
1009
|
+
|
1010
|
+
|
1011
|
+
|
1012
|
+
@validate_call
|
1013
|
+
def get_workspace_data_plane_associations(
|
1014
|
+
self,
|
1015
|
+
workspace_id: StrictStr,
|
1016
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
1017
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
1018
|
+
include_projects: Annotated[Optional[StrictBool], Field(description="Include project details in the response. Defaults to false.")] = None,
|
1019
|
+
include_data_planes: Annotated[Optional[StrictBool], Field(description="Include data plane details in the response. Defaults to false.")] = None,
|
1020
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
1021
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1022
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1023
|
+
_request_timeout: Union[
|
1024
|
+
None,
|
1025
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1026
|
+
Tuple[
|
1027
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1028
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1029
|
+
]
|
1030
|
+
] = None,
|
1031
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1032
|
+
_content_type: Optional[StrictStr] = None,
|
1033
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1034
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1035
|
+
) -> ResourceListDataPlaneAssociation:
|
1036
|
+
"""List Data Plane Associations For Workspace.
|
1037
|
+
|
1038
|
+
Requires workspace_list_data_plane_associations permission.
|
1039
|
+
|
1040
|
+
:param workspace_id: (required)
|
1041
|
+
:type workspace_id: str
|
1042
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
1043
|
+
:type sort: DataPlaneAssociationSort
|
1044
|
+
:param order: Override the sort order used. Optional.
|
1045
|
+
:type order: SortOrder
|
1046
|
+
:param include_projects: Include project details in the response. Defaults to false.
|
1047
|
+
:type include_projects: bool
|
1048
|
+
:param include_data_planes: Include data plane details in the response. Defaults to false.
|
1049
|
+
:type include_data_planes: bool
|
1050
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
1051
|
+
:type gen_ai_enabled: bool
|
1052
|
+
:param page: The page to return starting from 1 up to total_pages.
|
1053
|
+
:type page: int
|
1054
|
+
:param page_size: The number of records per page. The max is 1000.
|
1055
|
+
:type page_size: int
|
1056
|
+
:param _request_timeout: timeout setting for this request. If one
|
1057
|
+
number provided, it will be total request
|
1058
|
+
timeout. It can also be a pair (tuple) of
|
1059
|
+
(connection, read) timeouts.
|
1060
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1061
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1062
|
+
request; this effectively ignores the
|
1063
|
+
authentication in the spec for a single request.
|
1064
|
+
:type _request_auth: dict, optional
|
1065
|
+
:param _content_type: force content-type for the request.
|
1066
|
+
:type _content_type: str, Optional
|
1067
|
+
:param _headers: set to override the headers for a single
|
1068
|
+
request; this effectively ignores the headers
|
1069
|
+
in the spec for a single request.
|
1070
|
+
:type _headers: dict, optional
|
1071
|
+
:param _host_index: set to override the host_index for a single
|
1072
|
+
request; this effectively ignores the host_index
|
1073
|
+
in the spec for a single request.
|
1074
|
+
:type _host_index: int, optional
|
1075
|
+
:return: Returns the result object.
|
1076
|
+
""" # noqa: E501
|
1077
|
+
|
1078
|
+
_param = self._get_workspace_data_plane_associations_serialize(
|
1079
|
+
workspace_id=workspace_id,
|
1080
|
+
sort=sort,
|
1081
|
+
order=order,
|
1082
|
+
include_projects=include_projects,
|
1083
|
+
include_data_planes=include_data_planes,
|
1084
|
+
gen_ai_enabled=gen_ai_enabled,
|
1085
|
+
page=page,
|
1086
|
+
page_size=page_size,
|
1087
|
+
_request_auth=_request_auth,
|
1088
|
+
_content_type=_content_type,
|
1089
|
+
_headers=_headers,
|
1090
|
+
_host_index=_host_index
|
1091
|
+
)
|
1092
|
+
|
1093
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1094
|
+
'200': "ResourceListDataPlaneAssociation",
|
1095
|
+
'500': "InternalServerError",
|
1096
|
+
'404': "NotFoundError",
|
1097
|
+
'422': "HTTPValidationError",
|
1098
|
+
}
|
1099
|
+
response_data = self.api_client.call_api(
|
1100
|
+
*_param,
|
1101
|
+
_request_timeout=_request_timeout
|
1102
|
+
)
|
1103
|
+
response_data.read()
|
1104
|
+
return self.api_client.response_deserialize(
|
1105
|
+
response_data=response_data,
|
1106
|
+
response_types_map=_response_types_map,
|
1107
|
+
).data
|
1108
|
+
|
1109
|
+
|
1110
|
+
@validate_call
|
1111
|
+
def get_workspace_data_plane_associations_with_http_info(
|
1112
|
+
self,
|
1113
|
+
workspace_id: StrictStr,
|
1114
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
1115
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
1116
|
+
include_projects: Annotated[Optional[StrictBool], Field(description="Include project details in the response. Defaults to false.")] = None,
|
1117
|
+
include_data_planes: Annotated[Optional[StrictBool], Field(description="Include data plane details in the response. Defaults to false.")] = None,
|
1118
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
1119
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1120
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1121
|
+
_request_timeout: Union[
|
1122
|
+
None,
|
1123
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1124
|
+
Tuple[
|
1125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1126
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1127
|
+
]
|
1128
|
+
] = None,
|
1129
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1130
|
+
_content_type: Optional[StrictStr] = None,
|
1131
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1132
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1133
|
+
) -> ApiResponse[ResourceListDataPlaneAssociation]:
|
1134
|
+
"""List Data Plane Associations For Workspace.
|
1135
|
+
|
1136
|
+
Requires workspace_list_data_plane_associations permission.
|
1137
|
+
|
1138
|
+
:param workspace_id: (required)
|
1139
|
+
:type workspace_id: str
|
1140
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
1141
|
+
:type sort: DataPlaneAssociationSort
|
1142
|
+
:param order: Override the sort order used. Optional.
|
1143
|
+
:type order: SortOrder
|
1144
|
+
:param include_projects: Include project details in the response. Defaults to false.
|
1145
|
+
:type include_projects: bool
|
1146
|
+
:param include_data_planes: Include data plane details in the response. Defaults to false.
|
1147
|
+
:type include_data_planes: bool
|
1148
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
1149
|
+
:type gen_ai_enabled: bool
|
1150
|
+
:param page: The page to return starting from 1 up to total_pages.
|
1151
|
+
:type page: int
|
1152
|
+
:param page_size: The number of records per page. The max is 1000.
|
1153
|
+
:type page_size: int
|
1154
|
+
:param _request_timeout: timeout setting for this request. If one
|
1155
|
+
number provided, it will be total request
|
1156
|
+
timeout. It can also be a pair (tuple) of
|
1157
|
+
(connection, read) timeouts.
|
1158
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1159
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1160
|
+
request; this effectively ignores the
|
1161
|
+
authentication in the spec for a single request.
|
1162
|
+
:type _request_auth: dict, optional
|
1163
|
+
:param _content_type: force content-type for the request.
|
1164
|
+
:type _content_type: str, Optional
|
1165
|
+
:param _headers: set to override the headers for a single
|
1166
|
+
request; this effectively ignores the headers
|
1167
|
+
in the spec for a single request.
|
1168
|
+
:type _headers: dict, optional
|
1169
|
+
:param _host_index: set to override the host_index for a single
|
1170
|
+
request; this effectively ignores the host_index
|
1171
|
+
in the spec for a single request.
|
1172
|
+
:type _host_index: int, optional
|
1173
|
+
:return: Returns the result object.
|
1174
|
+
""" # noqa: E501
|
1175
|
+
|
1176
|
+
_param = self._get_workspace_data_plane_associations_serialize(
|
1177
|
+
workspace_id=workspace_id,
|
1178
|
+
sort=sort,
|
1179
|
+
order=order,
|
1180
|
+
include_projects=include_projects,
|
1181
|
+
include_data_planes=include_data_planes,
|
1182
|
+
gen_ai_enabled=gen_ai_enabled,
|
1183
|
+
page=page,
|
1184
|
+
page_size=page_size,
|
1185
|
+
_request_auth=_request_auth,
|
1186
|
+
_content_type=_content_type,
|
1187
|
+
_headers=_headers,
|
1188
|
+
_host_index=_host_index
|
1189
|
+
)
|
1190
|
+
|
1191
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1192
|
+
'200': "ResourceListDataPlaneAssociation",
|
1193
|
+
'500': "InternalServerError",
|
1194
|
+
'404': "NotFoundError",
|
1195
|
+
'422': "HTTPValidationError",
|
1196
|
+
}
|
1197
|
+
response_data = self.api_client.call_api(
|
1198
|
+
*_param,
|
1199
|
+
_request_timeout=_request_timeout
|
1200
|
+
)
|
1201
|
+
response_data.read()
|
1202
|
+
return self.api_client.response_deserialize(
|
1203
|
+
response_data=response_data,
|
1204
|
+
response_types_map=_response_types_map,
|
1205
|
+
)
|
1206
|
+
|
1207
|
+
|
1208
|
+
@validate_call
|
1209
|
+
def get_workspace_data_plane_associations_without_preload_content(
|
1210
|
+
self,
|
1211
|
+
workspace_id: StrictStr,
|
1212
|
+
sort: Annotated[Optional[DataPlaneAssociationSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
1213
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
1214
|
+
include_projects: Annotated[Optional[StrictBool], Field(description="Include project details in the response. Defaults to false.")] = None,
|
1215
|
+
include_data_planes: Annotated[Optional[StrictBool], Field(description="Include data plane details in the response. Defaults to false.")] = None,
|
1216
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
1217
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
1218
|
+
page_size: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The number of records per page. The max is 1000.")] = None,
|
1219
|
+
_request_timeout: Union[
|
1220
|
+
None,
|
1221
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1222
|
+
Tuple[
|
1223
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1224
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1225
|
+
]
|
1226
|
+
] = None,
|
1227
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1228
|
+
_content_type: Optional[StrictStr] = None,
|
1229
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1230
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1231
|
+
) -> RESTResponseType:
|
1232
|
+
"""List Data Plane Associations For Workspace.
|
1233
|
+
|
1234
|
+
Requires workspace_list_data_plane_associations permission.
|
1235
|
+
|
1236
|
+
:param workspace_id: (required)
|
1237
|
+
:type workspace_id: str
|
1238
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
1239
|
+
:type sort: DataPlaneAssociationSort
|
1240
|
+
:param order: Override the sort order used. Optional.
|
1241
|
+
:type order: SortOrder
|
1242
|
+
:param include_projects: Include project details in the response. Defaults to false.
|
1243
|
+
:type include_projects: bool
|
1244
|
+
:param include_data_planes: Include data plane details in the response. Defaults to false.
|
1245
|
+
:type include_data_planes: bool
|
1246
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
1247
|
+
:type gen_ai_enabled: bool
|
1248
|
+
:param page: The page to return starting from 1 up to total_pages.
|
1249
|
+
:type page: int
|
1250
|
+
:param page_size: The number of records per page. The max is 1000.
|
1251
|
+
:type page_size: int
|
1252
|
+
:param _request_timeout: timeout setting for this request. If one
|
1253
|
+
number provided, it will be total request
|
1254
|
+
timeout. It can also be a pair (tuple) of
|
1255
|
+
(connection, read) timeouts.
|
1256
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1257
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1258
|
+
request; this effectively ignores the
|
1259
|
+
authentication in the spec for a single request.
|
1260
|
+
:type _request_auth: dict, optional
|
1261
|
+
:param _content_type: force content-type for the request.
|
1262
|
+
:type _content_type: str, Optional
|
1263
|
+
:param _headers: set to override the headers for a single
|
1264
|
+
request; this effectively ignores the headers
|
1265
|
+
in the spec for a single request.
|
1266
|
+
:type _headers: dict, optional
|
1267
|
+
:param _host_index: set to override the host_index for a single
|
1268
|
+
request; this effectively ignores the host_index
|
1269
|
+
in the spec for a single request.
|
1270
|
+
:type _host_index: int, optional
|
1271
|
+
:return: Returns the result object.
|
1272
|
+
""" # noqa: E501
|
1273
|
+
|
1274
|
+
_param = self._get_workspace_data_plane_associations_serialize(
|
1275
|
+
workspace_id=workspace_id,
|
1276
|
+
sort=sort,
|
1277
|
+
order=order,
|
1278
|
+
include_projects=include_projects,
|
1279
|
+
include_data_planes=include_data_planes,
|
1280
|
+
gen_ai_enabled=gen_ai_enabled,
|
1281
|
+
page=page,
|
1282
|
+
page_size=page_size,
|
1283
|
+
_request_auth=_request_auth,
|
1284
|
+
_content_type=_content_type,
|
1285
|
+
_headers=_headers,
|
1286
|
+
_host_index=_host_index
|
1287
|
+
)
|
1288
|
+
|
1289
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1290
|
+
'200': "ResourceListDataPlaneAssociation",
|
1291
|
+
'500': "InternalServerError",
|
1292
|
+
'404': "NotFoundError",
|
1293
|
+
'422': "HTTPValidationError",
|
1294
|
+
}
|
1295
|
+
response_data = self.api_client.call_api(
|
1296
|
+
*_param,
|
1297
|
+
_request_timeout=_request_timeout
|
1298
|
+
)
|
1299
|
+
return response_data.response
|
1300
|
+
|
1301
|
+
|
1302
|
+
def _get_workspace_data_plane_associations_serialize(
|
1303
|
+
self,
|
1304
|
+
workspace_id,
|
1305
|
+
sort,
|
1306
|
+
order,
|
1307
|
+
include_projects,
|
1308
|
+
include_data_planes,
|
1309
|
+
gen_ai_enabled,
|
1310
|
+
page,
|
1311
|
+
page_size,
|
1312
|
+
_request_auth,
|
1313
|
+
_content_type,
|
1314
|
+
_headers,
|
1315
|
+
_host_index,
|
1316
|
+
) -> RequestSerialized:
|
1317
|
+
|
1318
|
+
_host = None
|
1319
|
+
|
1320
|
+
_collection_formats: Dict[str, str] = {
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
_path_params: Dict[str, str] = {}
|
1324
|
+
_query_params: List[Tuple[str, str]] = []
|
1325
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1326
|
+
_form_params: List[Tuple[str, str]] = []
|
1327
|
+
_files: Dict[
|
1328
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1329
|
+
] = {}
|
1330
|
+
_body_params: Optional[bytes] = None
|
1331
|
+
|
1332
|
+
# process the path parameters
|
1333
|
+
if workspace_id is not None:
|
1334
|
+
_path_params['workspace_id'] = workspace_id
|
1335
|
+
# process the query parameters
|
1336
|
+
if sort is not None:
|
1337
|
+
|
1338
|
+
_query_params.append(('sort', sort.value))
|
1339
|
+
|
1340
|
+
if order is not None:
|
1341
|
+
|
1342
|
+
_query_params.append(('order', order.value))
|
1343
|
+
|
1344
|
+
if include_projects is not None:
|
1345
|
+
|
1346
|
+
_query_params.append(('include_projects', include_projects))
|
1347
|
+
|
1348
|
+
if include_data_planes is not None:
|
1349
|
+
|
1350
|
+
_query_params.append(('include_data_planes', include_data_planes))
|
1351
|
+
|
1352
|
+
if gen_ai_enabled is not None:
|
1353
|
+
|
1354
|
+
_query_params.append(('gen_ai_enabled', gen_ai_enabled))
|
1355
|
+
|
1356
|
+
if page is not None:
|
1357
|
+
|
1358
|
+
_query_params.append(('page', page))
|
1359
|
+
|
1360
|
+
if page_size is not None:
|
1361
|
+
|
1362
|
+
_query_params.append(('page_size', page_size))
|
1363
|
+
|
1364
|
+
# process the header parameters
|
1365
|
+
# process the form parameters
|
1366
|
+
# process the body parameter
|
1367
|
+
|
1368
|
+
|
1369
|
+
# set the HTTP header `Accept`
|
1370
|
+
if 'Accept' not in _header_params:
|
1371
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1372
|
+
[
|
1373
|
+
'application/json'
|
1374
|
+
]
|
1375
|
+
)
|
1376
|
+
|
1377
|
+
|
1378
|
+
# authentication setting
|
1379
|
+
_auth_settings: List[str] = [
|
1380
|
+
'OAuth2AuthorizationCode'
|
1381
|
+
]
|
1382
|
+
|
1383
|
+
return self.api_client.param_serialize(
|
1384
|
+
method='GET',
|
1385
|
+
resource_path='/api/v1/workspaces/{workspace_id}/data_plane_associations',
|
1386
|
+
path_params=_path_params,
|
1387
|
+
query_params=_query_params,
|
1388
|
+
header_params=_header_params,
|
1389
|
+
body=_body_params,
|
1390
|
+
post_params=_form_params,
|
1391
|
+
files=_files,
|
1392
|
+
auth_settings=_auth_settings,
|
1393
|
+
collection_formats=_collection_formats,
|
1394
|
+
_host=_host,
|
1395
|
+
_request_auth=_request_auth
|
1396
|
+
)
|
1397
|
+
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1401
|
+
@validate_call
|
1402
|
+
def post_data_plane_association(
|
1403
|
+
self,
|
1404
|
+
workspace_id: StrictStr,
|
1405
|
+
post_data_plane_association: PostDataPlaneAssociation,
|
1406
|
+
_request_timeout: Union[
|
1407
|
+
None,
|
1408
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1409
|
+
Tuple[
|
1410
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1411
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1412
|
+
]
|
1413
|
+
] = None,
|
1414
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1415
|
+
_content_type: Optional[StrictStr] = None,
|
1416
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1417
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1418
|
+
) -> DataPlaneAssociation:
|
1419
|
+
"""Post Data Plane Association.
|
1420
|
+
|
1421
|
+
Requires workspace_create_data_plane_association permission.
|
1422
|
+
|
1423
|
+
:param workspace_id: (required)
|
1424
|
+
:type workspace_id: str
|
1425
|
+
:param post_data_plane_association: (required)
|
1426
|
+
:type post_data_plane_association: PostDataPlaneAssociation
|
1427
|
+
:param _request_timeout: timeout setting for this request. If one
|
1428
|
+
number provided, it will be total request
|
1429
|
+
timeout. It can also be a pair (tuple) of
|
1430
|
+
(connection, read) timeouts.
|
1431
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1432
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1433
|
+
request; this effectively ignores the
|
1434
|
+
authentication in the spec for a single request.
|
1435
|
+
:type _request_auth: dict, optional
|
1436
|
+
:param _content_type: force content-type for the request.
|
1437
|
+
:type _content_type: str, Optional
|
1438
|
+
:param _headers: set to override the headers for a single
|
1439
|
+
request; this effectively ignores the headers
|
1440
|
+
in the spec for a single request.
|
1441
|
+
:type _headers: dict, optional
|
1442
|
+
:param _host_index: set to override the host_index for a single
|
1443
|
+
request; this effectively ignores the host_index
|
1444
|
+
in the spec for a single request.
|
1445
|
+
:type _host_index: int, optional
|
1446
|
+
:return: Returns the result object.
|
1447
|
+
""" # noqa: E501
|
1448
|
+
|
1449
|
+
_param = self._post_data_plane_association_serialize(
|
1450
|
+
workspace_id=workspace_id,
|
1451
|
+
post_data_plane_association=post_data_plane_association,
|
1452
|
+
_request_auth=_request_auth,
|
1453
|
+
_content_type=_content_type,
|
1454
|
+
_headers=_headers,
|
1455
|
+
_host_index=_host_index
|
1456
|
+
)
|
1457
|
+
|
1458
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1459
|
+
'200': "DataPlaneAssociation",
|
1460
|
+
'500': "InternalServerError",
|
1461
|
+
'400': "BadRequestError",
|
1462
|
+
'404': "NotFoundError",
|
1463
|
+
'422': "HTTPValidationError",
|
1464
|
+
}
|
1465
|
+
response_data = self.api_client.call_api(
|
1466
|
+
*_param,
|
1467
|
+
_request_timeout=_request_timeout
|
1468
|
+
)
|
1469
|
+
response_data.read()
|
1470
|
+
return self.api_client.response_deserialize(
|
1471
|
+
response_data=response_data,
|
1472
|
+
response_types_map=_response_types_map,
|
1473
|
+
).data
|
1474
|
+
|
1475
|
+
|
1476
|
+
@validate_call
|
1477
|
+
def post_data_plane_association_with_http_info(
|
1478
|
+
self,
|
1479
|
+
workspace_id: StrictStr,
|
1480
|
+
post_data_plane_association: PostDataPlaneAssociation,
|
1481
|
+
_request_timeout: Union[
|
1482
|
+
None,
|
1483
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1484
|
+
Tuple[
|
1485
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1486
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1487
|
+
]
|
1488
|
+
] = None,
|
1489
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1490
|
+
_content_type: Optional[StrictStr] = None,
|
1491
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1492
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1493
|
+
) -> ApiResponse[DataPlaneAssociation]:
|
1494
|
+
"""Post Data Plane Association.
|
1495
|
+
|
1496
|
+
Requires workspace_create_data_plane_association permission.
|
1497
|
+
|
1498
|
+
:param workspace_id: (required)
|
1499
|
+
:type workspace_id: str
|
1500
|
+
:param post_data_plane_association: (required)
|
1501
|
+
:type post_data_plane_association: PostDataPlaneAssociation
|
1502
|
+
:param _request_timeout: timeout setting for this request. If one
|
1503
|
+
number provided, it will be total request
|
1504
|
+
timeout. It can also be a pair (tuple) of
|
1505
|
+
(connection, read) timeouts.
|
1506
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1507
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1508
|
+
request; this effectively ignores the
|
1509
|
+
authentication in the spec for a single request.
|
1510
|
+
:type _request_auth: dict, optional
|
1511
|
+
:param _content_type: force content-type for the request.
|
1512
|
+
:type _content_type: str, Optional
|
1513
|
+
:param _headers: set to override the headers for a single
|
1514
|
+
request; this effectively ignores the headers
|
1515
|
+
in the spec for a single request.
|
1516
|
+
:type _headers: dict, optional
|
1517
|
+
:param _host_index: set to override the host_index for a single
|
1518
|
+
request; this effectively ignores the host_index
|
1519
|
+
in the spec for a single request.
|
1520
|
+
:type _host_index: int, optional
|
1521
|
+
:return: Returns the result object.
|
1522
|
+
""" # noqa: E501
|
1523
|
+
|
1524
|
+
_param = self._post_data_plane_association_serialize(
|
1525
|
+
workspace_id=workspace_id,
|
1526
|
+
post_data_plane_association=post_data_plane_association,
|
1527
|
+
_request_auth=_request_auth,
|
1528
|
+
_content_type=_content_type,
|
1529
|
+
_headers=_headers,
|
1530
|
+
_host_index=_host_index
|
1531
|
+
)
|
1532
|
+
|
1533
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1534
|
+
'200': "DataPlaneAssociation",
|
1535
|
+
'500': "InternalServerError",
|
1536
|
+
'400': "BadRequestError",
|
1537
|
+
'404': "NotFoundError",
|
1538
|
+
'422': "HTTPValidationError",
|
1539
|
+
}
|
1540
|
+
response_data = self.api_client.call_api(
|
1541
|
+
*_param,
|
1542
|
+
_request_timeout=_request_timeout
|
1543
|
+
)
|
1544
|
+
response_data.read()
|
1545
|
+
return self.api_client.response_deserialize(
|
1546
|
+
response_data=response_data,
|
1547
|
+
response_types_map=_response_types_map,
|
1548
|
+
)
|
1549
|
+
|
1550
|
+
|
1551
|
+
@validate_call
|
1552
|
+
def post_data_plane_association_without_preload_content(
|
1553
|
+
self,
|
1554
|
+
workspace_id: StrictStr,
|
1555
|
+
post_data_plane_association: PostDataPlaneAssociation,
|
1556
|
+
_request_timeout: Union[
|
1557
|
+
None,
|
1558
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1559
|
+
Tuple[
|
1560
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1561
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1562
|
+
]
|
1563
|
+
] = None,
|
1564
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1565
|
+
_content_type: Optional[StrictStr] = None,
|
1566
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1567
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1568
|
+
) -> RESTResponseType:
|
1569
|
+
"""Post Data Plane Association.
|
1570
|
+
|
1571
|
+
Requires workspace_create_data_plane_association permission.
|
1572
|
+
|
1573
|
+
:param workspace_id: (required)
|
1574
|
+
:type workspace_id: str
|
1575
|
+
:param post_data_plane_association: (required)
|
1576
|
+
:type post_data_plane_association: PostDataPlaneAssociation
|
1577
|
+
:param _request_timeout: timeout setting for this request. If one
|
1578
|
+
number provided, it will be total request
|
1579
|
+
timeout. It can also be a pair (tuple) of
|
1580
|
+
(connection, read) timeouts.
|
1581
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1582
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1583
|
+
request; this effectively ignores the
|
1584
|
+
authentication in the spec for a single request.
|
1585
|
+
:type _request_auth: dict, optional
|
1586
|
+
:param _content_type: force content-type for the request.
|
1587
|
+
:type _content_type: str, Optional
|
1588
|
+
:param _headers: set to override the headers for a single
|
1589
|
+
request; this effectively ignores the headers
|
1590
|
+
in the spec for a single request.
|
1591
|
+
:type _headers: dict, optional
|
1592
|
+
:param _host_index: set to override the host_index for a single
|
1593
|
+
request; this effectively ignores the host_index
|
1594
|
+
in the spec for a single request.
|
1595
|
+
:type _host_index: int, optional
|
1596
|
+
:return: Returns the result object.
|
1597
|
+
""" # noqa: E501
|
1598
|
+
|
1599
|
+
_param = self._post_data_plane_association_serialize(
|
1600
|
+
workspace_id=workspace_id,
|
1601
|
+
post_data_plane_association=post_data_plane_association,
|
1602
|
+
_request_auth=_request_auth,
|
1603
|
+
_content_type=_content_type,
|
1604
|
+
_headers=_headers,
|
1605
|
+
_host_index=_host_index
|
1606
|
+
)
|
1607
|
+
|
1608
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1609
|
+
'200': "DataPlaneAssociation",
|
1610
|
+
'500': "InternalServerError",
|
1611
|
+
'400': "BadRequestError",
|
1612
|
+
'404': "NotFoundError",
|
1613
|
+
'422': "HTTPValidationError",
|
1614
|
+
}
|
1615
|
+
response_data = self.api_client.call_api(
|
1616
|
+
*_param,
|
1617
|
+
_request_timeout=_request_timeout
|
1618
|
+
)
|
1619
|
+
return response_data.response
|
1620
|
+
|
1621
|
+
|
1622
|
+
def _post_data_plane_association_serialize(
|
1623
|
+
self,
|
1624
|
+
workspace_id,
|
1625
|
+
post_data_plane_association,
|
1626
|
+
_request_auth,
|
1627
|
+
_content_type,
|
1628
|
+
_headers,
|
1629
|
+
_host_index,
|
1630
|
+
) -> RequestSerialized:
|
1631
|
+
|
1632
|
+
_host = None
|
1633
|
+
|
1634
|
+
_collection_formats: Dict[str, str] = {
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
_path_params: Dict[str, str] = {}
|
1638
|
+
_query_params: List[Tuple[str, str]] = []
|
1639
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1640
|
+
_form_params: List[Tuple[str, str]] = []
|
1641
|
+
_files: Dict[
|
1642
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1643
|
+
] = {}
|
1644
|
+
_body_params: Optional[bytes] = None
|
1645
|
+
|
1646
|
+
# process the path parameters
|
1647
|
+
if workspace_id is not None:
|
1648
|
+
_path_params['workspace_id'] = workspace_id
|
1649
|
+
# process the query parameters
|
1650
|
+
# process the header parameters
|
1651
|
+
# process the form parameters
|
1652
|
+
# process the body parameter
|
1653
|
+
if post_data_plane_association is not None:
|
1654
|
+
_body_params = post_data_plane_association
|
1655
|
+
|
1656
|
+
|
1657
|
+
# set the HTTP header `Accept`
|
1658
|
+
if 'Accept' not in _header_params:
|
1659
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1660
|
+
[
|
1661
|
+
'application/json'
|
1662
|
+
]
|
1663
|
+
)
|
1664
|
+
|
1665
|
+
# set the HTTP header `Content-Type`
|
1666
|
+
if _content_type:
|
1667
|
+
_header_params['Content-Type'] = _content_type
|
1668
|
+
else:
|
1669
|
+
_default_content_type = (
|
1670
|
+
self.api_client.select_header_content_type(
|
1671
|
+
[
|
1672
|
+
'application/json'
|
1673
|
+
]
|
1674
|
+
)
|
1675
|
+
)
|
1676
|
+
if _default_content_type is not None:
|
1677
|
+
_header_params['Content-Type'] = _default_content_type
|
1678
|
+
|
1679
|
+
# authentication setting
|
1680
|
+
_auth_settings: List[str] = [
|
1681
|
+
'OAuth2AuthorizationCode'
|
1682
|
+
]
|
1683
|
+
|
1684
|
+
return self.api_client.param_serialize(
|
1685
|
+
method='POST',
|
1686
|
+
resource_path='/api/v1/workspaces/{workspace_id}/data_plane_associations',
|
1687
|
+
path_params=_path_params,
|
1688
|
+
query_params=_query_params,
|
1689
|
+
header_params=_header_params,
|
1690
|
+
body=_body_params,
|
1691
|
+
post_params=_form_params,
|
1692
|
+
files=_files,
|
1693
|
+
auth_settings=_auth_settings,
|
1694
|
+
collection_formats=_collection_formats,
|
1695
|
+
_host=_host,
|
1696
|
+
_request_auth=_request_auth
|
1697
|
+
)
|
1698
|
+
|
1699
|
+
|