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,1832 @@
|
|
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 import DataPlane
|
23
|
+
from arthur_client.api_bindings.models.data_plane_sort import DataPlaneSort
|
24
|
+
from arthur_client.api_bindings.models.patch_data_plane import PatchDataPlane
|
25
|
+
from arthur_client.api_bindings.models.post_data_plane import PostDataPlane
|
26
|
+
from arthur_client.api_bindings.models.resource_list_data_plane import ResourceListDataPlane
|
27
|
+
from arthur_client.api_bindings.models.sensitive_data_plane import SensitiveDataPlane
|
28
|
+
from arthur_client.api_bindings.models.sort_order import SortOrder
|
29
|
+
|
30
|
+
from arthur_client.api_bindings.api_client import ApiClient, RequestSerialized
|
31
|
+
from arthur_client.api_bindings.api_response import ApiResponse
|
32
|
+
from arthur_client.api_bindings.rest import RESTResponseType
|
33
|
+
|
34
|
+
|
35
|
+
class DataPlanesV1Api:
|
36
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
37
|
+
Ref: https://openapi-generator.tech
|
38
|
+
|
39
|
+
Do not edit the class manually.
|
40
|
+
"""
|
41
|
+
|
42
|
+
def __init__(self, api_client=None) -> None:
|
43
|
+
if api_client is None:
|
44
|
+
api_client = ApiClient.get_default()
|
45
|
+
self.api_client = api_client
|
46
|
+
|
47
|
+
|
48
|
+
@validate_call
|
49
|
+
def delete_data_plane(
|
50
|
+
self,
|
51
|
+
data_plane_id: StrictStr,
|
52
|
+
_request_timeout: Union[
|
53
|
+
None,
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
55
|
+
Tuple[
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
57
|
+
Annotated[StrictFloat, Field(gt=0)]
|
58
|
+
]
|
59
|
+
] = None,
|
60
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
61
|
+
_content_type: Optional[StrictStr] = None,
|
62
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
63
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
64
|
+
) -> None:
|
65
|
+
"""Delete Data Plane By Id
|
66
|
+
|
67
|
+
Deletes a single data plane. Requires data_plane_delete permission.
|
68
|
+
|
69
|
+
:param data_plane_id: (required)
|
70
|
+
:type data_plane_id: str
|
71
|
+
:param _request_timeout: timeout setting for this request. If one
|
72
|
+
number provided, it will be total request
|
73
|
+
timeout. It can also be a pair (tuple) of
|
74
|
+
(connection, read) timeouts.
|
75
|
+
:type _request_timeout: int, tuple(int, int), optional
|
76
|
+
:param _request_auth: set to override the auth_settings for an a single
|
77
|
+
request; this effectively ignores the
|
78
|
+
authentication in the spec for a single request.
|
79
|
+
:type _request_auth: dict, optional
|
80
|
+
:param _content_type: force content-type for the request.
|
81
|
+
:type _content_type: str, Optional
|
82
|
+
:param _headers: set to override the headers for a single
|
83
|
+
request; this effectively ignores the headers
|
84
|
+
in the spec for a single request.
|
85
|
+
:type _headers: dict, optional
|
86
|
+
:param _host_index: set to override the host_index for a single
|
87
|
+
request; this effectively ignores the host_index
|
88
|
+
in the spec for a single request.
|
89
|
+
:type _host_index: int, optional
|
90
|
+
:return: Returns the result object.
|
91
|
+
""" # noqa: E501
|
92
|
+
|
93
|
+
_param = self._delete_data_plane_serialize(
|
94
|
+
data_plane_id=data_plane_id,
|
95
|
+
_request_auth=_request_auth,
|
96
|
+
_content_type=_content_type,
|
97
|
+
_headers=_headers,
|
98
|
+
_host_index=_host_index
|
99
|
+
)
|
100
|
+
|
101
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
102
|
+
'204': None,
|
103
|
+
'500': "InternalServerError",
|
104
|
+
'400': "BadRequestError",
|
105
|
+
'404': "NotFoundError",
|
106
|
+
'422': "HTTPValidationError",
|
107
|
+
}
|
108
|
+
response_data = self.api_client.call_api(
|
109
|
+
*_param,
|
110
|
+
_request_timeout=_request_timeout
|
111
|
+
)
|
112
|
+
response_data.read()
|
113
|
+
return self.api_client.response_deserialize(
|
114
|
+
response_data=response_data,
|
115
|
+
response_types_map=_response_types_map,
|
116
|
+
).data
|
117
|
+
|
118
|
+
|
119
|
+
@validate_call
|
120
|
+
def delete_data_plane_with_http_info(
|
121
|
+
self,
|
122
|
+
data_plane_id: StrictStr,
|
123
|
+
_request_timeout: Union[
|
124
|
+
None,
|
125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
126
|
+
Tuple[
|
127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
128
|
+
Annotated[StrictFloat, Field(gt=0)]
|
129
|
+
]
|
130
|
+
] = None,
|
131
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
132
|
+
_content_type: Optional[StrictStr] = None,
|
133
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
134
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
135
|
+
) -> ApiResponse[None]:
|
136
|
+
"""Delete Data Plane By Id
|
137
|
+
|
138
|
+
Deletes a single data plane. Requires data_plane_delete permission.
|
139
|
+
|
140
|
+
:param data_plane_id: (required)
|
141
|
+
:type data_plane_id: str
|
142
|
+
:param _request_timeout: timeout setting for this request. If one
|
143
|
+
number provided, it will be total request
|
144
|
+
timeout. It can also be a pair (tuple) of
|
145
|
+
(connection, read) timeouts.
|
146
|
+
:type _request_timeout: int, tuple(int, int), optional
|
147
|
+
:param _request_auth: set to override the auth_settings for an a single
|
148
|
+
request; this effectively ignores the
|
149
|
+
authentication in the spec for a single request.
|
150
|
+
:type _request_auth: dict, optional
|
151
|
+
:param _content_type: force content-type for the request.
|
152
|
+
:type _content_type: str, Optional
|
153
|
+
:param _headers: set to override the headers for a single
|
154
|
+
request; this effectively ignores the headers
|
155
|
+
in the spec for a single request.
|
156
|
+
:type _headers: dict, optional
|
157
|
+
:param _host_index: set to override the host_index for a single
|
158
|
+
request; this effectively ignores the host_index
|
159
|
+
in the spec for a single request.
|
160
|
+
:type _host_index: int, optional
|
161
|
+
:return: Returns the result object.
|
162
|
+
""" # noqa: E501
|
163
|
+
|
164
|
+
_param = self._delete_data_plane_serialize(
|
165
|
+
data_plane_id=data_plane_id,
|
166
|
+
_request_auth=_request_auth,
|
167
|
+
_content_type=_content_type,
|
168
|
+
_headers=_headers,
|
169
|
+
_host_index=_host_index
|
170
|
+
)
|
171
|
+
|
172
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
173
|
+
'204': None,
|
174
|
+
'500': "InternalServerError",
|
175
|
+
'400': "BadRequestError",
|
176
|
+
'404': "NotFoundError",
|
177
|
+
'422': "HTTPValidationError",
|
178
|
+
}
|
179
|
+
response_data = self.api_client.call_api(
|
180
|
+
*_param,
|
181
|
+
_request_timeout=_request_timeout
|
182
|
+
)
|
183
|
+
response_data.read()
|
184
|
+
return self.api_client.response_deserialize(
|
185
|
+
response_data=response_data,
|
186
|
+
response_types_map=_response_types_map,
|
187
|
+
)
|
188
|
+
|
189
|
+
|
190
|
+
@validate_call
|
191
|
+
def delete_data_plane_without_preload_content(
|
192
|
+
self,
|
193
|
+
data_plane_id: StrictStr,
|
194
|
+
_request_timeout: Union[
|
195
|
+
None,
|
196
|
+
Annotated[StrictFloat, Field(gt=0)],
|
197
|
+
Tuple[
|
198
|
+
Annotated[StrictFloat, Field(gt=0)],
|
199
|
+
Annotated[StrictFloat, Field(gt=0)]
|
200
|
+
]
|
201
|
+
] = None,
|
202
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
203
|
+
_content_type: Optional[StrictStr] = None,
|
204
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
205
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
206
|
+
) -> RESTResponseType:
|
207
|
+
"""Delete Data Plane By Id
|
208
|
+
|
209
|
+
Deletes a single data plane. Requires data_plane_delete permission.
|
210
|
+
|
211
|
+
:param data_plane_id: (required)
|
212
|
+
:type data_plane_id: str
|
213
|
+
:param _request_timeout: timeout setting for this request. If one
|
214
|
+
number provided, it will be total request
|
215
|
+
timeout. It can also be a pair (tuple) of
|
216
|
+
(connection, read) timeouts.
|
217
|
+
:type _request_timeout: int, tuple(int, int), optional
|
218
|
+
:param _request_auth: set to override the auth_settings for an a single
|
219
|
+
request; this effectively ignores the
|
220
|
+
authentication in the spec for a single request.
|
221
|
+
:type _request_auth: dict, optional
|
222
|
+
:param _content_type: force content-type for the request.
|
223
|
+
:type _content_type: str, Optional
|
224
|
+
:param _headers: set to override the headers for a single
|
225
|
+
request; this effectively ignores the headers
|
226
|
+
in the spec for a single request.
|
227
|
+
:type _headers: dict, optional
|
228
|
+
:param _host_index: set to override the host_index for a single
|
229
|
+
request; this effectively ignores the host_index
|
230
|
+
in the spec for a single request.
|
231
|
+
:type _host_index: int, optional
|
232
|
+
:return: Returns the result object.
|
233
|
+
""" # noqa: E501
|
234
|
+
|
235
|
+
_param = self._delete_data_plane_serialize(
|
236
|
+
data_plane_id=data_plane_id,
|
237
|
+
_request_auth=_request_auth,
|
238
|
+
_content_type=_content_type,
|
239
|
+
_headers=_headers,
|
240
|
+
_host_index=_host_index
|
241
|
+
)
|
242
|
+
|
243
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
244
|
+
'204': None,
|
245
|
+
'500': "InternalServerError",
|
246
|
+
'400': "BadRequestError",
|
247
|
+
'404': "NotFoundError",
|
248
|
+
'422': "HTTPValidationError",
|
249
|
+
}
|
250
|
+
response_data = self.api_client.call_api(
|
251
|
+
*_param,
|
252
|
+
_request_timeout=_request_timeout
|
253
|
+
)
|
254
|
+
return response_data.response
|
255
|
+
|
256
|
+
|
257
|
+
def _delete_data_plane_serialize(
|
258
|
+
self,
|
259
|
+
data_plane_id,
|
260
|
+
_request_auth,
|
261
|
+
_content_type,
|
262
|
+
_headers,
|
263
|
+
_host_index,
|
264
|
+
) -> RequestSerialized:
|
265
|
+
|
266
|
+
_host = None
|
267
|
+
|
268
|
+
_collection_formats: Dict[str, str] = {
|
269
|
+
}
|
270
|
+
|
271
|
+
_path_params: Dict[str, str] = {}
|
272
|
+
_query_params: List[Tuple[str, str]] = []
|
273
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
274
|
+
_form_params: List[Tuple[str, str]] = []
|
275
|
+
_files: Dict[
|
276
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
277
|
+
] = {}
|
278
|
+
_body_params: Optional[bytes] = None
|
279
|
+
|
280
|
+
# process the path parameters
|
281
|
+
if data_plane_id is not None:
|
282
|
+
_path_params['data_plane_id'] = data_plane_id
|
283
|
+
# process the query parameters
|
284
|
+
# process the header parameters
|
285
|
+
# process the form parameters
|
286
|
+
# process the body parameter
|
287
|
+
|
288
|
+
|
289
|
+
# set the HTTP header `Accept`
|
290
|
+
if 'Accept' not in _header_params:
|
291
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
292
|
+
[
|
293
|
+
'application/json'
|
294
|
+
]
|
295
|
+
)
|
296
|
+
|
297
|
+
|
298
|
+
# authentication setting
|
299
|
+
_auth_settings: List[str] = [
|
300
|
+
'OAuth2AuthorizationCode'
|
301
|
+
]
|
302
|
+
|
303
|
+
return self.api_client.param_serialize(
|
304
|
+
method='DELETE',
|
305
|
+
resource_path='/api/v1/data_planes/{data_plane_id}',
|
306
|
+
path_params=_path_params,
|
307
|
+
query_params=_query_params,
|
308
|
+
header_params=_header_params,
|
309
|
+
body=_body_params,
|
310
|
+
post_params=_form_params,
|
311
|
+
files=_files,
|
312
|
+
auth_settings=_auth_settings,
|
313
|
+
collection_formats=_collection_formats,
|
314
|
+
_host=_host,
|
315
|
+
_request_auth=_request_auth
|
316
|
+
)
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
@validate_call
|
322
|
+
def get_data_plane(
|
323
|
+
self,
|
324
|
+
data_plane_id: StrictStr,
|
325
|
+
_request_timeout: Union[
|
326
|
+
None,
|
327
|
+
Annotated[StrictFloat, Field(gt=0)],
|
328
|
+
Tuple[
|
329
|
+
Annotated[StrictFloat, Field(gt=0)],
|
330
|
+
Annotated[StrictFloat, Field(gt=0)]
|
331
|
+
]
|
332
|
+
] = None,
|
333
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
334
|
+
_content_type: Optional[StrictStr] = None,
|
335
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
336
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
337
|
+
) -> DataPlane:
|
338
|
+
"""Get Data Plane By Id
|
339
|
+
|
340
|
+
Returns a single data plane by ID. Requires data_plane_read permission.
|
341
|
+
|
342
|
+
:param data_plane_id: (required)
|
343
|
+
:type data_plane_id: str
|
344
|
+
:param _request_timeout: timeout setting for this request. If one
|
345
|
+
number provided, it will be total request
|
346
|
+
timeout. It can also be a pair (tuple) of
|
347
|
+
(connection, read) timeouts.
|
348
|
+
:type _request_timeout: int, tuple(int, int), optional
|
349
|
+
:param _request_auth: set to override the auth_settings for an a single
|
350
|
+
request; this effectively ignores the
|
351
|
+
authentication in the spec for a single request.
|
352
|
+
:type _request_auth: dict, optional
|
353
|
+
:param _content_type: force content-type for the request.
|
354
|
+
:type _content_type: str, Optional
|
355
|
+
:param _headers: set to override the headers for a single
|
356
|
+
request; this effectively ignores the headers
|
357
|
+
in the spec for a single request.
|
358
|
+
:type _headers: dict, optional
|
359
|
+
:param _host_index: set to override the host_index for a single
|
360
|
+
request; this effectively ignores the host_index
|
361
|
+
in the spec for a single request.
|
362
|
+
:type _host_index: int, optional
|
363
|
+
:return: Returns the result object.
|
364
|
+
""" # noqa: E501
|
365
|
+
|
366
|
+
_param = self._get_data_plane_serialize(
|
367
|
+
data_plane_id=data_plane_id,
|
368
|
+
_request_auth=_request_auth,
|
369
|
+
_content_type=_content_type,
|
370
|
+
_headers=_headers,
|
371
|
+
_host_index=_host_index
|
372
|
+
)
|
373
|
+
|
374
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
375
|
+
'200': "DataPlane",
|
376
|
+
'500': "InternalServerError",
|
377
|
+
'404': "NotFoundError",
|
378
|
+
'422': "HTTPValidationError",
|
379
|
+
}
|
380
|
+
response_data = self.api_client.call_api(
|
381
|
+
*_param,
|
382
|
+
_request_timeout=_request_timeout
|
383
|
+
)
|
384
|
+
response_data.read()
|
385
|
+
return self.api_client.response_deserialize(
|
386
|
+
response_data=response_data,
|
387
|
+
response_types_map=_response_types_map,
|
388
|
+
).data
|
389
|
+
|
390
|
+
|
391
|
+
@validate_call
|
392
|
+
def get_data_plane_with_http_info(
|
393
|
+
self,
|
394
|
+
data_plane_id: StrictStr,
|
395
|
+
_request_timeout: Union[
|
396
|
+
None,
|
397
|
+
Annotated[StrictFloat, Field(gt=0)],
|
398
|
+
Tuple[
|
399
|
+
Annotated[StrictFloat, Field(gt=0)],
|
400
|
+
Annotated[StrictFloat, Field(gt=0)]
|
401
|
+
]
|
402
|
+
] = None,
|
403
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
404
|
+
_content_type: Optional[StrictStr] = None,
|
405
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
406
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
407
|
+
) -> ApiResponse[DataPlane]:
|
408
|
+
"""Get Data Plane By Id
|
409
|
+
|
410
|
+
Returns a single data plane by ID. Requires data_plane_read permission.
|
411
|
+
|
412
|
+
:param data_plane_id: (required)
|
413
|
+
:type data_plane_id: str
|
414
|
+
:param _request_timeout: timeout setting for this request. If one
|
415
|
+
number provided, it will be total request
|
416
|
+
timeout. It can also be a pair (tuple) of
|
417
|
+
(connection, read) timeouts.
|
418
|
+
:type _request_timeout: int, tuple(int, int), optional
|
419
|
+
:param _request_auth: set to override the auth_settings for an a single
|
420
|
+
request; this effectively ignores the
|
421
|
+
authentication in the spec for a single request.
|
422
|
+
:type _request_auth: dict, optional
|
423
|
+
:param _content_type: force content-type for the request.
|
424
|
+
:type _content_type: str, Optional
|
425
|
+
:param _headers: set to override the headers for a single
|
426
|
+
request; this effectively ignores the headers
|
427
|
+
in the spec for a single request.
|
428
|
+
:type _headers: dict, optional
|
429
|
+
:param _host_index: set to override the host_index for a single
|
430
|
+
request; this effectively ignores the host_index
|
431
|
+
in the spec for a single request.
|
432
|
+
:type _host_index: int, optional
|
433
|
+
:return: Returns the result object.
|
434
|
+
""" # noqa: E501
|
435
|
+
|
436
|
+
_param = self._get_data_plane_serialize(
|
437
|
+
data_plane_id=data_plane_id,
|
438
|
+
_request_auth=_request_auth,
|
439
|
+
_content_type=_content_type,
|
440
|
+
_headers=_headers,
|
441
|
+
_host_index=_host_index
|
442
|
+
)
|
443
|
+
|
444
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
445
|
+
'200': "DataPlane",
|
446
|
+
'500': "InternalServerError",
|
447
|
+
'404': "NotFoundError",
|
448
|
+
'422': "HTTPValidationError",
|
449
|
+
}
|
450
|
+
response_data = self.api_client.call_api(
|
451
|
+
*_param,
|
452
|
+
_request_timeout=_request_timeout
|
453
|
+
)
|
454
|
+
response_data.read()
|
455
|
+
return self.api_client.response_deserialize(
|
456
|
+
response_data=response_data,
|
457
|
+
response_types_map=_response_types_map,
|
458
|
+
)
|
459
|
+
|
460
|
+
|
461
|
+
@validate_call
|
462
|
+
def get_data_plane_without_preload_content(
|
463
|
+
self,
|
464
|
+
data_plane_id: StrictStr,
|
465
|
+
_request_timeout: Union[
|
466
|
+
None,
|
467
|
+
Annotated[StrictFloat, Field(gt=0)],
|
468
|
+
Tuple[
|
469
|
+
Annotated[StrictFloat, Field(gt=0)],
|
470
|
+
Annotated[StrictFloat, Field(gt=0)]
|
471
|
+
]
|
472
|
+
] = None,
|
473
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
474
|
+
_content_type: Optional[StrictStr] = None,
|
475
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
476
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
477
|
+
) -> RESTResponseType:
|
478
|
+
"""Get Data Plane By Id
|
479
|
+
|
480
|
+
Returns a single data plane by ID. Requires data_plane_read permission.
|
481
|
+
|
482
|
+
:param data_plane_id: (required)
|
483
|
+
:type data_plane_id: str
|
484
|
+
:param _request_timeout: timeout setting for this request. If one
|
485
|
+
number provided, it will be total request
|
486
|
+
timeout. It can also be a pair (tuple) of
|
487
|
+
(connection, read) timeouts.
|
488
|
+
:type _request_timeout: int, tuple(int, int), optional
|
489
|
+
:param _request_auth: set to override the auth_settings for an a single
|
490
|
+
request; this effectively ignores the
|
491
|
+
authentication in the spec for a single request.
|
492
|
+
:type _request_auth: dict, optional
|
493
|
+
:param _content_type: force content-type for the request.
|
494
|
+
:type _content_type: str, Optional
|
495
|
+
:param _headers: set to override the headers for a single
|
496
|
+
request; this effectively ignores the headers
|
497
|
+
in the spec for a single request.
|
498
|
+
:type _headers: dict, optional
|
499
|
+
:param _host_index: set to override the host_index for a single
|
500
|
+
request; this effectively ignores the host_index
|
501
|
+
in the spec for a single request.
|
502
|
+
:type _host_index: int, optional
|
503
|
+
:return: Returns the result object.
|
504
|
+
""" # noqa: E501
|
505
|
+
|
506
|
+
_param = self._get_data_plane_serialize(
|
507
|
+
data_plane_id=data_plane_id,
|
508
|
+
_request_auth=_request_auth,
|
509
|
+
_content_type=_content_type,
|
510
|
+
_headers=_headers,
|
511
|
+
_host_index=_host_index
|
512
|
+
)
|
513
|
+
|
514
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
515
|
+
'200': "DataPlane",
|
516
|
+
'500': "InternalServerError",
|
517
|
+
'404': "NotFoundError",
|
518
|
+
'422': "HTTPValidationError",
|
519
|
+
}
|
520
|
+
response_data = self.api_client.call_api(
|
521
|
+
*_param,
|
522
|
+
_request_timeout=_request_timeout
|
523
|
+
)
|
524
|
+
return response_data.response
|
525
|
+
|
526
|
+
|
527
|
+
def _get_data_plane_serialize(
|
528
|
+
self,
|
529
|
+
data_plane_id,
|
530
|
+
_request_auth,
|
531
|
+
_content_type,
|
532
|
+
_headers,
|
533
|
+
_host_index,
|
534
|
+
) -> RequestSerialized:
|
535
|
+
|
536
|
+
_host = None
|
537
|
+
|
538
|
+
_collection_formats: Dict[str, str] = {
|
539
|
+
}
|
540
|
+
|
541
|
+
_path_params: Dict[str, str] = {}
|
542
|
+
_query_params: List[Tuple[str, str]] = []
|
543
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
544
|
+
_form_params: List[Tuple[str, str]] = []
|
545
|
+
_files: Dict[
|
546
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
547
|
+
] = {}
|
548
|
+
_body_params: Optional[bytes] = None
|
549
|
+
|
550
|
+
# process the path parameters
|
551
|
+
if data_plane_id is not None:
|
552
|
+
_path_params['data_plane_id'] = data_plane_id
|
553
|
+
# process the query parameters
|
554
|
+
# process the header parameters
|
555
|
+
# process the form parameters
|
556
|
+
# process the body parameter
|
557
|
+
|
558
|
+
|
559
|
+
# set the HTTP header `Accept`
|
560
|
+
if 'Accept' not in _header_params:
|
561
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
562
|
+
[
|
563
|
+
'application/json'
|
564
|
+
]
|
565
|
+
)
|
566
|
+
|
567
|
+
|
568
|
+
# authentication setting
|
569
|
+
_auth_settings: List[str] = [
|
570
|
+
'OAuth2AuthorizationCode'
|
571
|
+
]
|
572
|
+
|
573
|
+
return self.api_client.param_serialize(
|
574
|
+
method='GET',
|
575
|
+
resource_path='/api/v1/data_planes/{data_plane_id}',
|
576
|
+
path_params=_path_params,
|
577
|
+
query_params=_query_params,
|
578
|
+
header_params=_header_params,
|
579
|
+
body=_body_params,
|
580
|
+
post_params=_form_params,
|
581
|
+
files=_files,
|
582
|
+
auth_settings=_auth_settings,
|
583
|
+
collection_formats=_collection_formats,
|
584
|
+
_host=_host,
|
585
|
+
_request_auth=_request_auth
|
586
|
+
)
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
591
|
+
@validate_call
|
592
|
+
def get_data_planes(
|
593
|
+
self,
|
594
|
+
workspace_id: StrictStr,
|
595
|
+
sort: Annotated[Optional[DataPlaneSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
596
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
597
|
+
name: Annotated[Optional[StrictStr], Field(description="Search term to filter workspaces by name.")] = None,
|
598
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
599
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
600
|
+
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,
|
601
|
+
_request_timeout: Union[
|
602
|
+
None,
|
603
|
+
Annotated[StrictFloat, Field(gt=0)],
|
604
|
+
Tuple[
|
605
|
+
Annotated[StrictFloat, Field(gt=0)],
|
606
|
+
Annotated[StrictFloat, Field(gt=0)]
|
607
|
+
]
|
608
|
+
] = None,
|
609
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
610
|
+
_content_type: Optional[StrictStr] = None,
|
611
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
612
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
613
|
+
) -> ResourceListDataPlane:
|
614
|
+
"""Get Data Planes.
|
615
|
+
|
616
|
+
Requires workspace_list_data_planes permission.
|
617
|
+
|
618
|
+
:param workspace_id: (required)
|
619
|
+
:type workspace_id: str
|
620
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
621
|
+
:type sort: DataPlaneSort
|
622
|
+
:param order: Override the sort order used. Optional.
|
623
|
+
:type order: SortOrder
|
624
|
+
:param name: Search term to filter workspaces by name.
|
625
|
+
:type name: str
|
626
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
627
|
+
:type gen_ai_enabled: bool
|
628
|
+
:param page: The page to return starting from 1 up to total_pages.
|
629
|
+
:type page: int
|
630
|
+
:param page_size: The number of records per page. The max is 1000.
|
631
|
+
:type page_size: int
|
632
|
+
:param _request_timeout: timeout setting for this request. If one
|
633
|
+
number provided, it will be total request
|
634
|
+
timeout. It can also be a pair (tuple) of
|
635
|
+
(connection, read) timeouts.
|
636
|
+
:type _request_timeout: int, tuple(int, int), optional
|
637
|
+
:param _request_auth: set to override the auth_settings for an a single
|
638
|
+
request; this effectively ignores the
|
639
|
+
authentication in the spec for a single request.
|
640
|
+
:type _request_auth: dict, optional
|
641
|
+
:param _content_type: force content-type for the request.
|
642
|
+
:type _content_type: str, Optional
|
643
|
+
:param _headers: set to override the headers for a single
|
644
|
+
request; this effectively ignores the headers
|
645
|
+
in the spec for a single request.
|
646
|
+
:type _headers: dict, optional
|
647
|
+
:param _host_index: set to override the host_index for a single
|
648
|
+
request; this effectively ignores the host_index
|
649
|
+
in the spec for a single request.
|
650
|
+
:type _host_index: int, optional
|
651
|
+
:return: Returns the result object.
|
652
|
+
""" # noqa: E501
|
653
|
+
|
654
|
+
_param = self._get_data_planes_serialize(
|
655
|
+
workspace_id=workspace_id,
|
656
|
+
sort=sort,
|
657
|
+
order=order,
|
658
|
+
name=name,
|
659
|
+
gen_ai_enabled=gen_ai_enabled,
|
660
|
+
page=page,
|
661
|
+
page_size=page_size,
|
662
|
+
_request_auth=_request_auth,
|
663
|
+
_content_type=_content_type,
|
664
|
+
_headers=_headers,
|
665
|
+
_host_index=_host_index
|
666
|
+
)
|
667
|
+
|
668
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
669
|
+
'200': "ResourceListDataPlane",
|
670
|
+
'500': "InternalServerError",
|
671
|
+
'404': "NotFoundError",
|
672
|
+
'422': "HTTPValidationError",
|
673
|
+
}
|
674
|
+
response_data = self.api_client.call_api(
|
675
|
+
*_param,
|
676
|
+
_request_timeout=_request_timeout
|
677
|
+
)
|
678
|
+
response_data.read()
|
679
|
+
return self.api_client.response_deserialize(
|
680
|
+
response_data=response_data,
|
681
|
+
response_types_map=_response_types_map,
|
682
|
+
).data
|
683
|
+
|
684
|
+
|
685
|
+
@validate_call
|
686
|
+
def get_data_planes_with_http_info(
|
687
|
+
self,
|
688
|
+
workspace_id: StrictStr,
|
689
|
+
sort: Annotated[Optional[DataPlaneSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
690
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
691
|
+
name: Annotated[Optional[StrictStr], Field(description="Search term to filter workspaces by name.")] = None,
|
692
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
693
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
694
|
+
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,
|
695
|
+
_request_timeout: Union[
|
696
|
+
None,
|
697
|
+
Annotated[StrictFloat, Field(gt=0)],
|
698
|
+
Tuple[
|
699
|
+
Annotated[StrictFloat, Field(gt=0)],
|
700
|
+
Annotated[StrictFloat, Field(gt=0)]
|
701
|
+
]
|
702
|
+
] = None,
|
703
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
704
|
+
_content_type: Optional[StrictStr] = None,
|
705
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
706
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
707
|
+
) -> ApiResponse[ResourceListDataPlane]:
|
708
|
+
"""Get Data Planes.
|
709
|
+
|
710
|
+
Requires workspace_list_data_planes permission.
|
711
|
+
|
712
|
+
:param workspace_id: (required)
|
713
|
+
:type workspace_id: str
|
714
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
715
|
+
:type sort: DataPlaneSort
|
716
|
+
:param order: Override the sort order used. Optional.
|
717
|
+
:type order: SortOrder
|
718
|
+
:param name: Search term to filter workspaces by name.
|
719
|
+
:type name: str
|
720
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
721
|
+
:type gen_ai_enabled: bool
|
722
|
+
:param page: The page to return starting from 1 up to total_pages.
|
723
|
+
:type page: int
|
724
|
+
:param page_size: The number of records per page. The max is 1000.
|
725
|
+
:type page_size: int
|
726
|
+
:param _request_timeout: timeout setting for this request. If one
|
727
|
+
number provided, it will be total request
|
728
|
+
timeout. It can also be a pair (tuple) of
|
729
|
+
(connection, read) timeouts.
|
730
|
+
:type _request_timeout: int, tuple(int, int), optional
|
731
|
+
:param _request_auth: set to override the auth_settings for an a single
|
732
|
+
request; this effectively ignores the
|
733
|
+
authentication in the spec for a single request.
|
734
|
+
:type _request_auth: dict, optional
|
735
|
+
:param _content_type: force content-type for the request.
|
736
|
+
:type _content_type: str, Optional
|
737
|
+
:param _headers: set to override the headers for a single
|
738
|
+
request; this effectively ignores the headers
|
739
|
+
in the spec for a single request.
|
740
|
+
:type _headers: dict, optional
|
741
|
+
:param _host_index: set to override the host_index for a single
|
742
|
+
request; this effectively ignores the host_index
|
743
|
+
in the spec for a single request.
|
744
|
+
:type _host_index: int, optional
|
745
|
+
:return: Returns the result object.
|
746
|
+
""" # noqa: E501
|
747
|
+
|
748
|
+
_param = self._get_data_planes_serialize(
|
749
|
+
workspace_id=workspace_id,
|
750
|
+
sort=sort,
|
751
|
+
order=order,
|
752
|
+
name=name,
|
753
|
+
gen_ai_enabled=gen_ai_enabled,
|
754
|
+
page=page,
|
755
|
+
page_size=page_size,
|
756
|
+
_request_auth=_request_auth,
|
757
|
+
_content_type=_content_type,
|
758
|
+
_headers=_headers,
|
759
|
+
_host_index=_host_index
|
760
|
+
)
|
761
|
+
|
762
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
763
|
+
'200': "ResourceListDataPlane",
|
764
|
+
'500': "InternalServerError",
|
765
|
+
'404': "NotFoundError",
|
766
|
+
'422': "HTTPValidationError",
|
767
|
+
}
|
768
|
+
response_data = self.api_client.call_api(
|
769
|
+
*_param,
|
770
|
+
_request_timeout=_request_timeout
|
771
|
+
)
|
772
|
+
response_data.read()
|
773
|
+
return self.api_client.response_deserialize(
|
774
|
+
response_data=response_data,
|
775
|
+
response_types_map=_response_types_map,
|
776
|
+
)
|
777
|
+
|
778
|
+
|
779
|
+
@validate_call
|
780
|
+
def get_data_planes_without_preload_content(
|
781
|
+
self,
|
782
|
+
workspace_id: StrictStr,
|
783
|
+
sort: Annotated[Optional[DataPlaneSort], Field(description="Override the field used for sorting the returned list. Optional.")] = None,
|
784
|
+
order: Annotated[Optional[SortOrder], Field(description="Override the sort order used. Optional.")] = None,
|
785
|
+
name: Annotated[Optional[StrictStr], Field(description="Search term to filter workspaces by name.")] = None,
|
786
|
+
gen_ai_enabled: Annotated[Optional[StrictBool], Field(description="Filter to only return engines enabled with the GenAI capability")] = None,
|
787
|
+
page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="The page to return starting from 1 up to total_pages.")] = None,
|
788
|
+
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,
|
789
|
+
_request_timeout: Union[
|
790
|
+
None,
|
791
|
+
Annotated[StrictFloat, Field(gt=0)],
|
792
|
+
Tuple[
|
793
|
+
Annotated[StrictFloat, Field(gt=0)],
|
794
|
+
Annotated[StrictFloat, Field(gt=0)]
|
795
|
+
]
|
796
|
+
] = None,
|
797
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
798
|
+
_content_type: Optional[StrictStr] = None,
|
799
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
800
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
801
|
+
) -> RESTResponseType:
|
802
|
+
"""Get Data Planes.
|
803
|
+
|
804
|
+
Requires workspace_list_data_planes permission.
|
805
|
+
|
806
|
+
:param workspace_id: (required)
|
807
|
+
:type workspace_id: str
|
808
|
+
:param sort: Override the field used for sorting the returned list. Optional.
|
809
|
+
:type sort: DataPlaneSort
|
810
|
+
:param order: Override the sort order used. Optional.
|
811
|
+
:type order: SortOrder
|
812
|
+
:param name: Search term to filter workspaces by name.
|
813
|
+
:type name: str
|
814
|
+
:param gen_ai_enabled: Filter to only return engines enabled with the GenAI capability
|
815
|
+
:type gen_ai_enabled: bool
|
816
|
+
:param page: The page to return starting from 1 up to total_pages.
|
817
|
+
:type page: int
|
818
|
+
:param page_size: The number of records per page. The max is 1000.
|
819
|
+
:type page_size: int
|
820
|
+
:param _request_timeout: timeout setting for this request. If one
|
821
|
+
number provided, it will be total request
|
822
|
+
timeout. It can also be a pair (tuple) of
|
823
|
+
(connection, read) timeouts.
|
824
|
+
:type _request_timeout: int, tuple(int, int), optional
|
825
|
+
:param _request_auth: set to override the auth_settings for an a single
|
826
|
+
request; this effectively ignores the
|
827
|
+
authentication in the spec for a single request.
|
828
|
+
:type _request_auth: dict, optional
|
829
|
+
:param _content_type: force content-type for the request.
|
830
|
+
:type _content_type: str, Optional
|
831
|
+
:param _headers: set to override the headers for a single
|
832
|
+
request; this effectively ignores the headers
|
833
|
+
in the spec for a single request.
|
834
|
+
:type _headers: dict, optional
|
835
|
+
:param _host_index: set to override the host_index for a single
|
836
|
+
request; this effectively ignores the host_index
|
837
|
+
in the spec for a single request.
|
838
|
+
:type _host_index: int, optional
|
839
|
+
:return: Returns the result object.
|
840
|
+
""" # noqa: E501
|
841
|
+
|
842
|
+
_param = self._get_data_planes_serialize(
|
843
|
+
workspace_id=workspace_id,
|
844
|
+
sort=sort,
|
845
|
+
order=order,
|
846
|
+
name=name,
|
847
|
+
gen_ai_enabled=gen_ai_enabled,
|
848
|
+
page=page,
|
849
|
+
page_size=page_size,
|
850
|
+
_request_auth=_request_auth,
|
851
|
+
_content_type=_content_type,
|
852
|
+
_headers=_headers,
|
853
|
+
_host_index=_host_index
|
854
|
+
)
|
855
|
+
|
856
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
857
|
+
'200': "ResourceListDataPlane",
|
858
|
+
'500': "InternalServerError",
|
859
|
+
'404': "NotFoundError",
|
860
|
+
'422': "HTTPValidationError",
|
861
|
+
}
|
862
|
+
response_data = self.api_client.call_api(
|
863
|
+
*_param,
|
864
|
+
_request_timeout=_request_timeout
|
865
|
+
)
|
866
|
+
return response_data.response
|
867
|
+
|
868
|
+
|
869
|
+
def _get_data_planes_serialize(
|
870
|
+
self,
|
871
|
+
workspace_id,
|
872
|
+
sort,
|
873
|
+
order,
|
874
|
+
name,
|
875
|
+
gen_ai_enabled,
|
876
|
+
page,
|
877
|
+
page_size,
|
878
|
+
_request_auth,
|
879
|
+
_content_type,
|
880
|
+
_headers,
|
881
|
+
_host_index,
|
882
|
+
) -> RequestSerialized:
|
883
|
+
|
884
|
+
_host = None
|
885
|
+
|
886
|
+
_collection_formats: Dict[str, str] = {
|
887
|
+
}
|
888
|
+
|
889
|
+
_path_params: Dict[str, str] = {}
|
890
|
+
_query_params: List[Tuple[str, str]] = []
|
891
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
892
|
+
_form_params: List[Tuple[str, str]] = []
|
893
|
+
_files: Dict[
|
894
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
895
|
+
] = {}
|
896
|
+
_body_params: Optional[bytes] = None
|
897
|
+
|
898
|
+
# process the path parameters
|
899
|
+
if workspace_id is not None:
|
900
|
+
_path_params['workspace_id'] = workspace_id
|
901
|
+
# process the query parameters
|
902
|
+
if sort is not None:
|
903
|
+
|
904
|
+
_query_params.append(('sort', sort.value))
|
905
|
+
|
906
|
+
if order is not None:
|
907
|
+
|
908
|
+
_query_params.append(('order', order.value))
|
909
|
+
|
910
|
+
if name is not None:
|
911
|
+
|
912
|
+
_query_params.append(('name', name))
|
913
|
+
|
914
|
+
if gen_ai_enabled is not None:
|
915
|
+
|
916
|
+
_query_params.append(('gen_ai_enabled', gen_ai_enabled))
|
917
|
+
|
918
|
+
if page is not None:
|
919
|
+
|
920
|
+
_query_params.append(('page', page))
|
921
|
+
|
922
|
+
if page_size is not None:
|
923
|
+
|
924
|
+
_query_params.append(('page_size', page_size))
|
925
|
+
|
926
|
+
# process the header parameters
|
927
|
+
# process the form parameters
|
928
|
+
# process the body parameter
|
929
|
+
|
930
|
+
|
931
|
+
# set the HTTP header `Accept`
|
932
|
+
if 'Accept' not in _header_params:
|
933
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
934
|
+
[
|
935
|
+
'application/json'
|
936
|
+
]
|
937
|
+
)
|
938
|
+
|
939
|
+
|
940
|
+
# authentication setting
|
941
|
+
_auth_settings: List[str] = [
|
942
|
+
'OAuth2AuthorizationCode'
|
943
|
+
]
|
944
|
+
|
945
|
+
return self.api_client.param_serialize(
|
946
|
+
method='GET',
|
947
|
+
resource_path='/api/v1/workspaces/{workspace_id}/data_planes',
|
948
|
+
path_params=_path_params,
|
949
|
+
query_params=_query_params,
|
950
|
+
header_params=_header_params,
|
951
|
+
body=_body_params,
|
952
|
+
post_params=_form_params,
|
953
|
+
files=_files,
|
954
|
+
auth_settings=_auth_settings,
|
955
|
+
collection_formats=_collection_formats,
|
956
|
+
_host=_host,
|
957
|
+
_request_auth=_request_auth
|
958
|
+
)
|
959
|
+
|
960
|
+
|
961
|
+
|
962
|
+
|
963
|
+
@validate_call
|
964
|
+
def patch_data_plane(
|
965
|
+
self,
|
966
|
+
data_plane_id: StrictStr,
|
967
|
+
patch_data_plane: PatchDataPlane,
|
968
|
+
_request_timeout: Union[
|
969
|
+
None,
|
970
|
+
Annotated[StrictFloat, Field(gt=0)],
|
971
|
+
Tuple[
|
972
|
+
Annotated[StrictFloat, Field(gt=0)],
|
973
|
+
Annotated[StrictFloat, Field(gt=0)]
|
974
|
+
]
|
975
|
+
] = None,
|
976
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
977
|
+
_content_type: Optional[StrictStr] = None,
|
978
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
979
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
980
|
+
) -> DataPlane:
|
981
|
+
"""Update Data Plane
|
982
|
+
|
983
|
+
Updates a single data plane. Requires data_plane_update permission.
|
984
|
+
|
985
|
+
:param data_plane_id: (required)
|
986
|
+
:type data_plane_id: str
|
987
|
+
:param patch_data_plane: (required)
|
988
|
+
:type patch_data_plane: PatchDataPlane
|
989
|
+
:param _request_timeout: timeout setting for this request. If one
|
990
|
+
number provided, it will be total request
|
991
|
+
timeout. It can also be a pair (tuple) of
|
992
|
+
(connection, read) timeouts.
|
993
|
+
:type _request_timeout: int, tuple(int, int), optional
|
994
|
+
:param _request_auth: set to override the auth_settings for an a single
|
995
|
+
request; this effectively ignores the
|
996
|
+
authentication in the spec for a single request.
|
997
|
+
:type _request_auth: dict, optional
|
998
|
+
:param _content_type: force content-type for the request.
|
999
|
+
:type _content_type: str, Optional
|
1000
|
+
:param _headers: set to override the headers for a single
|
1001
|
+
request; this effectively ignores the headers
|
1002
|
+
in the spec for a single request.
|
1003
|
+
:type _headers: dict, optional
|
1004
|
+
:param _host_index: set to override the host_index for a single
|
1005
|
+
request; this effectively ignores the host_index
|
1006
|
+
in the spec for a single request.
|
1007
|
+
:type _host_index: int, optional
|
1008
|
+
:return: Returns the result object.
|
1009
|
+
""" # noqa: E501
|
1010
|
+
|
1011
|
+
_param = self._patch_data_plane_serialize(
|
1012
|
+
data_plane_id=data_plane_id,
|
1013
|
+
patch_data_plane=patch_data_plane,
|
1014
|
+
_request_auth=_request_auth,
|
1015
|
+
_content_type=_content_type,
|
1016
|
+
_headers=_headers,
|
1017
|
+
_host_index=_host_index
|
1018
|
+
)
|
1019
|
+
|
1020
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1021
|
+
'200': "DataPlane",
|
1022
|
+
'500': "InternalServerError",
|
1023
|
+
'400': "BadRequestError",
|
1024
|
+
'404': "NotFoundError",
|
1025
|
+
'422': "HTTPValidationError",
|
1026
|
+
}
|
1027
|
+
response_data = self.api_client.call_api(
|
1028
|
+
*_param,
|
1029
|
+
_request_timeout=_request_timeout
|
1030
|
+
)
|
1031
|
+
response_data.read()
|
1032
|
+
return self.api_client.response_deserialize(
|
1033
|
+
response_data=response_data,
|
1034
|
+
response_types_map=_response_types_map,
|
1035
|
+
).data
|
1036
|
+
|
1037
|
+
|
1038
|
+
@validate_call
|
1039
|
+
def patch_data_plane_with_http_info(
|
1040
|
+
self,
|
1041
|
+
data_plane_id: StrictStr,
|
1042
|
+
patch_data_plane: PatchDataPlane,
|
1043
|
+
_request_timeout: Union[
|
1044
|
+
None,
|
1045
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1046
|
+
Tuple[
|
1047
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1048
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1049
|
+
]
|
1050
|
+
] = None,
|
1051
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1052
|
+
_content_type: Optional[StrictStr] = None,
|
1053
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1054
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1055
|
+
) -> ApiResponse[DataPlane]:
|
1056
|
+
"""Update Data Plane
|
1057
|
+
|
1058
|
+
Updates a single data plane. Requires data_plane_update permission.
|
1059
|
+
|
1060
|
+
:param data_plane_id: (required)
|
1061
|
+
:type data_plane_id: str
|
1062
|
+
:param patch_data_plane: (required)
|
1063
|
+
:type patch_data_plane: PatchDataPlane
|
1064
|
+
:param _request_timeout: timeout setting for this request. If one
|
1065
|
+
number provided, it will be total request
|
1066
|
+
timeout. It can also be a pair (tuple) of
|
1067
|
+
(connection, read) timeouts.
|
1068
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1069
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1070
|
+
request; this effectively ignores the
|
1071
|
+
authentication in the spec for a single request.
|
1072
|
+
:type _request_auth: dict, optional
|
1073
|
+
:param _content_type: force content-type for the request.
|
1074
|
+
:type _content_type: str, Optional
|
1075
|
+
:param _headers: set to override the headers for a single
|
1076
|
+
request; this effectively ignores the headers
|
1077
|
+
in the spec for a single request.
|
1078
|
+
:type _headers: dict, optional
|
1079
|
+
:param _host_index: set to override the host_index for a single
|
1080
|
+
request; this effectively ignores the host_index
|
1081
|
+
in the spec for a single request.
|
1082
|
+
:type _host_index: int, optional
|
1083
|
+
:return: Returns the result object.
|
1084
|
+
""" # noqa: E501
|
1085
|
+
|
1086
|
+
_param = self._patch_data_plane_serialize(
|
1087
|
+
data_plane_id=data_plane_id,
|
1088
|
+
patch_data_plane=patch_data_plane,
|
1089
|
+
_request_auth=_request_auth,
|
1090
|
+
_content_type=_content_type,
|
1091
|
+
_headers=_headers,
|
1092
|
+
_host_index=_host_index
|
1093
|
+
)
|
1094
|
+
|
1095
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1096
|
+
'200': "DataPlane",
|
1097
|
+
'500': "InternalServerError",
|
1098
|
+
'400': "BadRequestError",
|
1099
|
+
'404': "NotFoundError",
|
1100
|
+
'422': "HTTPValidationError",
|
1101
|
+
}
|
1102
|
+
response_data = self.api_client.call_api(
|
1103
|
+
*_param,
|
1104
|
+
_request_timeout=_request_timeout
|
1105
|
+
)
|
1106
|
+
response_data.read()
|
1107
|
+
return self.api_client.response_deserialize(
|
1108
|
+
response_data=response_data,
|
1109
|
+
response_types_map=_response_types_map,
|
1110
|
+
)
|
1111
|
+
|
1112
|
+
|
1113
|
+
@validate_call
|
1114
|
+
def patch_data_plane_without_preload_content(
|
1115
|
+
self,
|
1116
|
+
data_plane_id: StrictStr,
|
1117
|
+
patch_data_plane: PatchDataPlane,
|
1118
|
+
_request_timeout: Union[
|
1119
|
+
None,
|
1120
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1121
|
+
Tuple[
|
1122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1123
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1124
|
+
]
|
1125
|
+
] = None,
|
1126
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1127
|
+
_content_type: Optional[StrictStr] = None,
|
1128
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1129
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1130
|
+
) -> RESTResponseType:
|
1131
|
+
"""Update Data Plane
|
1132
|
+
|
1133
|
+
Updates a single data plane. Requires data_plane_update permission.
|
1134
|
+
|
1135
|
+
:param data_plane_id: (required)
|
1136
|
+
:type data_plane_id: str
|
1137
|
+
:param patch_data_plane: (required)
|
1138
|
+
:type patch_data_plane: PatchDataPlane
|
1139
|
+
:param _request_timeout: timeout setting for this request. If one
|
1140
|
+
number provided, it will be total request
|
1141
|
+
timeout. It can also be a pair (tuple) of
|
1142
|
+
(connection, read) timeouts.
|
1143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1145
|
+
request; this effectively ignores the
|
1146
|
+
authentication in the spec for a single request.
|
1147
|
+
:type _request_auth: dict, optional
|
1148
|
+
:param _content_type: force content-type for the request.
|
1149
|
+
:type _content_type: str, Optional
|
1150
|
+
:param _headers: set to override the headers for a single
|
1151
|
+
request; this effectively ignores the headers
|
1152
|
+
in the spec for a single request.
|
1153
|
+
:type _headers: dict, optional
|
1154
|
+
:param _host_index: set to override the host_index for a single
|
1155
|
+
request; this effectively ignores the host_index
|
1156
|
+
in the spec for a single request.
|
1157
|
+
:type _host_index: int, optional
|
1158
|
+
:return: Returns the result object.
|
1159
|
+
""" # noqa: E501
|
1160
|
+
|
1161
|
+
_param = self._patch_data_plane_serialize(
|
1162
|
+
data_plane_id=data_plane_id,
|
1163
|
+
patch_data_plane=patch_data_plane,
|
1164
|
+
_request_auth=_request_auth,
|
1165
|
+
_content_type=_content_type,
|
1166
|
+
_headers=_headers,
|
1167
|
+
_host_index=_host_index
|
1168
|
+
)
|
1169
|
+
|
1170
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1171
|
+
'200': "DataPlane",
|
1172
|
+
'500': "InternalServerError",
|
1173
|
+
'400': "BadRequestError",
|
1174
|
+
'404': "NotFoundError",
|
1175
|
+
'422': "HTTPValidationError",
|
1176
|
+
}
|
1177
|
+
response_data = self.api_client.call_api(
|
1178
|
+
*_param,
|
1179
|
+
_request_timeout=_request_timeout
|
1180
|
+
)
|
1181
|
+
return response_data.response
|
1182
|
+
|
1183
|
+
|
1184
|
+
def _patch_data_plane_serialize(
|
1185
|
+
self,
|
1186
|
+
data_plane_id,
|
1187
|
+
patch_data_plane,
|
1188
|
+
_request_auth,
|
1189
|
+
_content_type,
|
1190
|
+
_headers,
|
1191
|
+
_host_index,
|
1192
|
+
) -> RequestSerialized:
|
1193
|
+
|
1194
|
+
_host = None
|
1195
|
+
|
1196
|
+
_collection_formats: Dict[str, str] = {
|
1197
|
+
}
|
1198
|
+
|
1199
|
+
_path_params: Dict[str, str] = {}
|
1200
|
+
_query_params: List[Tuple[str, str]] = []
|
1201
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1202
|
+
_form_params: List[Tuple[str, str]] = []
|
1203
|
+
_files: Dict[
|
1204
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1205
|
+
] = {}
|
1206
|
+
_body_params: Optional[bytes] = None
|
1207
|
+
|
1208
|
+
# process the path parameters
|
1209
|
+
if data_plane_id is not None:
|
1210
|
+
_path_params['data_plane_id'] = data_plane_id
|
1211
|
+
# process the query parameters
|
1212
|
+
# process the header parameters
|
1213
|
+
# process the form parameters
|
1214
|
+
# process the body parameter
|
1215
|
+
if patch_data_plane is not None:
|
1216
|
+
_body_params = patch_data_plane
|
1217
|
+
|
1218
|
+
|
1219
|
+
# set the HTTP header `Accept`
|
1220
|
+
if 'Accept' not in _header_params:
|
1221
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1222
|
+
[
|
1223
|
+
'application/json'
|
1224
|
+
]
|
1225
|
+
)
|
1226
|
+
|
1227
|
+
# set the HTTP header `Content-Type`
|
1228
|
+
if _content_type:
|
1229
|
+
_header_params['Content-Type'] = _content_type
|
1230
|
+
else:
|
1231
|
+
_default_content_type = (
|
1232
|
+
self.api_client.select_header_content_type(
|
1233
|
+
[
|
1234
|
+
'application/json'
|
1235
|
+
]
|
1236
|
+
)
|
1237
|
+
)
|
1238
|
+
if _default_content_type is not None:
|
1239
|
+
_header_params['Content-Type'] = _default_content_type
|
1240
|
+
|
1241
|
+
# authentication setting
|
1242
|
+
_auth_settings: List[str] = [
|
1243
|
+
'OAuth2AuthorizationCode'
|
1244
|
+
]
|
1245
|
+
|
1246
|
+
return self.api_client.param_serialize(
|
1247
|
+
method='PATCH',
|
1248
|
+
resource_path='/api/v1/data_planes/{data_plane_id}',
|
1249
|
+
path_params=_path_params,
|
1250
|
+
query_params=_query_params,
|
1251
|
+
header_params=_header_params,
|
1252
|
+
body=_body_params,
|
1253
|
+
post_params=_form_params,
|
1254
|
+
files=_files,
|
1255
|
+
auth_settings=_auth_settings,
|
1256
|
+
collection_formats=_collection_formats,
|
1257
|
+
_host=_host,
|
1258
|
+
_request_auth=_request_auth
|
1259
|
+
)
|
1260
|
+
|
1261
|
+
|
1262
|
+
|
1263
|
+
|
1264
|
+
@validate_call
|
1265
|
+
def post_data_plane(
|
1266
|
+
self,
|
1267
|
+
workspace_id: StrictStr,
|
1268
|
+
post_data_plane: PostDataPlane,
|
1269
|
+
_request_timeout: Union[
|
1270
|
+
None,
|
1271
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1272
|
+
Tuple[
|
1273
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1274
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1275
|
+
]
|
1276
|
+
] = None,
|
1277
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1278
|
+
_content_type: Optional[StrictStr] = None,
|
1279
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1280
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1281
|
+
) -> SensitiveDataPlane:
|
1282
|
+
"""Post Data Plane.
|
1283
|
+
|
1284
|
+
Requires workspace_create_data_plane permission.
|
1285
|
+
|
1286
|
+
:param workspace_id: (required)
|
1287
|
+
:type workspace_id: str
|
1288
|
+
:param post_data_plane: (required)
|
1289
|
+
:type post_data_plane: PostDataPlane
|
1290
|
+
:param _request_timeout: timeout setting for this request. If one
|
1291
|
+
number provided, it will be total request
|
1292
|
+
timeout. It can also be a pair (tuple) of
|
1293
|
+
(connection, read) timeouts.
|
1294
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1295
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1296
|
+
request; this effectively ignores the
|
1297
|
+
authentication in the spec for a single request.
|
1298
|
+
:type _request_auth: dict, optional
|
1299
|
+
:param _content_type: force content-type for the request.
|
1300
|
+
:type _content_type: str, Optional
|
1301
|
+
:param _headers: set to override the headers for a single
|
1302
|
+
request; this effectively ignores the headers
|
1303
|
+
in the spec for a single request.
|
1304
|
+
:type _headers: dict, optional
|
1305
|
+
:param _host_index: set to override the host_index for a single
|
1306
|
+
request; this effectively ignores the host_index
|
1307
|
+
in the spec for a single request.
|
1308
|
+
:type _host_index: int, optional
|
1309
|
+
:return: Returns the result object.
|
1310
|
+
""" # noqa: E501
|
1311
|
+
|
1312
|
+
_param = self._post_data_plane_serialize(
|
1313
|
+
workspace_id=workspace_id,
|
1314
|
+
post_data_plane=post_data_plane,
|
1315
|
+
_request_auth=_request_auth,
|
1316
|
+
_content_type=_content_type,
|
1317
|
+
_headers=_headers,
|
1318
|
+
_host_index=_host_index
|
1319
|
+
)
|
1320
|
+
|
1321
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1322
|
+
'200': "SensitiveDataPlane",
|
1323
|
+
'500': "InternalServerError",
|
1324
|
+
'400': "BadRequestError",
|
1325
|
+
'404': "NotFoundError",
|
1326
|
+
'422': "HTTPValidationError",
|
1327
|
+
}
|
1328
|
+
response_data = self.api_client.call_api(
|
1329
|
+
*_param,
|
1330
|
+
_request_timeout=_request_timeout
|
1331
|
+
)
|
1332
|
+
response_data.read()
|
1333
|
+
return self.api_client.response_deserialize(
|
1334
|
+
response_data=response_data,
|
1335
|
+
response_types_map=_response_types_map,
|
1336
|
+
).data
|
1337
|
+
|
1338
|
+
|
1339
|
+
@validate_call
|
1340
|
+
def post_data_plane_with_http_info(
|
1341
|
+
self,
|
1342
|
+
workspace_id: StrictStr,
|
1343
|
+
post_data_plane: PostDataPlane,
|
1344
|
+
_request_timeout: Union[
|
1345
|
+
None,
|
1346
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1347
|
+
Tuple[
|
1348
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1349
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1350
|
+
]
|
1351
|
+
] = None,
|
1352
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1353
|
+
_content_type: Optional[StrictStr] = None,
|
1354
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1355
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1356
|
+
) -> ApiResponse[SensitiveDataPlane]:
|
1357
|
+
"""Post Data Plane.
|
1358
|
+
|
1359
|
+
Requires workspace_create_data_plane permission.
|
1360
|
+
|
1361
|
+
:param workspace_id: (required)
|
1362
|
+
:type workspace_id: str
|
1363
|
+
:param post_data_plane: (required)
|
1364
|
+
:type post_data_plane: PostDataPlane
|
1365
|
+
:param _request_timeout: timeout setting for this request. If one
|
1366
|
+
number provided, it will be total request
|
1367
|
+
timeout. It can also be a pair (tuple) of
|
1368
|
+
(connection, read) timeouts.
|
1369
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1370
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1371
|
+
request; this effectively ignores the
|
1372
|
+
authentication in the spec for a single request.
|
1373
|
+
:type _request_auth: dict, optional
|
1374
|
+
:param _content_type: force content-type for the request.
|
1375
|
+
:type _content_type: str, Optional
|
1376
|
+
:param _headers: set to override the headers for a single
|
1377
|
+
request; this effectively ignores the headers
|
1378
|
+
in the spec for a single request.
|
1379
|
+
:type _headers: dict, optional
|
1380
|
+
:param _host_index: set to override the host_index for a single
|
1381
|
+
request; this effectively ignores the host_index
|
1382
|
+
in the spec for a single request.
|
1383
|
+
:type _host_index: int, optional
|
1384
|
+
:return: Returns the result object.
|
1385
|
+
""" # noqa: E501
|
1386
|
+
|
1387
|
+
_param = self._post_data_plane_serialize(
|
1388
|
+
workspace_id=workspace_id,
|
1389
|
+
post_data_plane=post_data_plane,
|
1390
|
+
_request_auth=_request_auth,
|
1391
|
+
_content_type=_content_type,
|
1392
|
+
_headers=_headers,
|
1393
|
+
_host_index=_host_index
|
1394
|
+
)
|
1395
|
+
|
1396
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1397
|
+
'200': "SensitiveDataPlane",
|
1398
|
+
'500': "InternalServerError",
|
1399
|
+
'400': "BadRequestError",
|
1400
|
+
'404': "NotFoundError",
|
1401
|
+
'422': "HTTPValidationError",
|
1402
|
+
}
|
1403
|
+
response_data = self.api_client.call_api(
|
1404
|
+
*_param,
|
1405
|
+
_request_timeout=_request_timeout
|
1406
|
+
)
|
1407
|
+
response_data.read()
|
1408
|
+
return self.api_client.response_deserialize(
|
1409
|
+
response_data=response_data,
|
1410
|
+
response_types_map=_response_types_map,
|
1411
|
+
)
|
1412
|
+
|
1413
|
+
|
1414
|
+
@validate_call
|
1415
|
+
def post_data_plane_without_preload_content(
|
1416
|
+
self,
|
1417
|
+
workspace_id: StrictStr,
|
1418
|
+
post_data_plane: PostDataPlane,
|
1419
|
+
_request_timeout: Union[
|
1420
|
+
None,
|
1421
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1422
|
+
Tuple[
|
1423
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1424
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1425
|
+
]
|
1426
|
+
] = None,
|
1427
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1428
|
+
_content_type: Optional[StrictStr] = None,
|
1429
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1430
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1431
|
+
) -> RESTResponseType:
|
1432
|
+
"""Post Data Plane.
|
1433
|
+
|
1434
|
+
Requires workspace_create_data_plane permission.
|
1435
|
+
|
1436
|
+
:param workspace_id: (required)
|
1437
|
+
:type workspace_id: str
|
1438
|
+
:param post_data_plane: (required)
|
1439
|
+
:type post_data_plane: PostDataPlane
|
1440
|
+
:param _request_timeout: timeout setting for this request. If one
|
1441
|
+
number provided, it will be total request
|
1442
|
+
timeout. It can also be a pair (tuple) of
|
1443
|
+
(connection, read) timeouts.
|
1444
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1445
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1446
|
+
request; this effectively ignores the
|
1447
|
+
authentication in the spec for a single request.
|
1448
|
+
:type _request_auth: dict, optional
|
1449
|
+
:param _content_type: force content-type for the request.
|
1450
|
+
:type _content_type: str, Optional
|
1451
|
+
:param _headers: set to override the headers for a single
|
1452
|
+
request; this effectively ignores the headers
|
1453
|
+
in the spec for a single request.
|
1454
|
+
:type _headers: dict, optional
|
1455
|
+
:param _host_index: set to override the host_index for a single
|
1456
|
+
request; this effectively ignores the host_index
|
1457
|
+
in the spec for a single request.
|
1458
|
+
:type _host_index: int, optional
|
1459
|
+
:return: Returns the result object.
|
1460
|
+
""" # noqa: E501
|
1461
|
+
|
1462
|
+
_param = self._post_data_plane_serialize(
|
1463
|
+
workspace_id=workspace_id,
|
1464
|
+
post_data_plane=post_data_plane,
|
1465
|
+
_request_auth=_request_auth,
|
1466
|
+
_content_type=_content_type,
|
1467
|
+
_headers=_headers,
|
1468
|
+
_host_index=_host_index
|
1469
|
+
)
|
1470
|
+
|
1471
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1472
|
+
'200': "SensitiveDataPlane",
|
1473
|
+
'500': "InternalServerError",
|
1474
|
+
'400': "BadRequestError",
|
1475
|
+
'404': "NotFoundError",
|
1476
|
+
'422': "HTTPValidationError",
|
1477
|
+
}
|
1478
|
+
response_data = self.api_client.call_api(
|
1479
|
+
*_param,
|
1480
|
+
_request_timeout=_request_timeout
|
1481
|
+
)
|
1482
|
+
return response_data.response
|
1483
|
+
|
1484
|
+
|
1485
|
+
def _post_data_plane_serialize(
|
1486
|
+
self,
|
1487
|
+
workspace_id,
|
1488
|
+
post_data_plane,
|
1489
|
+
_request_auth,
|
1490
|
+
_content_type,
|
1491
|
+
_headers,
|
1492
|
+
_host_index,
|
1493
|
+
) -> RequestSerialized:
|
1494
|
+
|
1495
|
+
_host = None
|
1496
|
+
|
1497
|
+
_collection_formats: Dict[str, str] = {
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
_path_params: Dict[str, str] = {}
|
1501
|
+
_query_params: List[Tuple[str, str]] = []
|
1502
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1503
|
+
_form_params: List[Tuple[str, str]] = []
|
1504
|
+
_files: Dict[
|
1505
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1506
|
+
] = {}
|
1507
|
+
_body_params: Optional[bytes] = None
|
1508
|
+
|
1509
|
+
# process the path parameters
|
1510
|
+
if workspace_id is not None:
|
1511
|
+
_path_params['workspace_id'] = workspace_id
|
1512
|
+
# process the query parameters
|
1513
|
+
# process the header parameters
|
1514
|
+
# process the form parameters
|
1515
|
+
# process the body parameter
|
1516
|
+
if post_data_plane is not None:
|
1517
|
+
_body_params = post_data_plane
|
1518
|
+
|
1519
|
+
|
1520
|
+
# set the HTTP header `Accept`
|
1521
|
+
if 'Accept' not in _header_params:
|
1522
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1523
|
+
[
|
1524
|
+
'application/json'
|
1525
|
+
]
|
1526
|
+
)
|
1527
|
+
|
1528
|
+
# set the HTTP header `Content-Type`
|
1529
|
+
if _content_type:
|
1530
|
+
_header_params['Content-Type'] = _content_type
|
1531
|
+
else:
|
1532
|
+
_default_content_type = (
|
1533
|
+
self.api_client.select_header_content_type(
|
1534
|
+
[
|
1535
|
+
'application/json'
|
1536
|
+
]
|
1537
|
+
)
|
1538
|
+
)
|
1539
|
+
if _default_content_type is not None:
|
1540
|
+
_header_params['Content-Type'] = _default_content_type
|
1541
|
+
|
1542
|
+
# authentication setting
|
1543
|
+
_auth_settings: List[str] = [
|
1544
|
+
'OAuth2AuthorizationCode'
|
1545
|
+
]
|
1546
|
+
|
1547
|
+
return self.api_client.param_serialize(
|
1548
|
+
method='POST',
|
1549
|
+
resource_path='/api/v1/workspaces/{workspace_id}/data_planes',
|
1550
|
+
path_params=_path_params,
|
1551
|
+
query_params=_query_params,
|
1552
|
+
header_params=_header_params,
|
1553
|
+
body=_body_params,
|
1554
|
+
post_params=_form_params,
|
1555
|
+
files=_files,
|
1556
|
+
auth_settings=_auth_settings,
|
1557
|
+
collection_formats=_collection_formats,
|
1558
|
+
_host=_host,
|
1559
|
+
_request_auth=_request_auth
|
1560
|
+
)
|
1561
|
+
|
1562
|
+
|
1563
|
+
|
1564
|
+
|
1565
|
+
@validate_call
|
1566
|
+
def post_data_plane_cred_set(
|
1567
|
+
self,
|
1568
|
+
data_plane_id: StrictStr,
|
1569
|
+
_request_timeout: Union[
|
1570
|
+
None,
|
1571
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1572
|
+
Tuple[
|
1573
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1574
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1575
|
+
]
|
1576
|
+
] = None,
|
1577
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1578
|
+
_content_type: Optional[StrictStr] = None,
|
1579
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1580
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1581
|
+
) -> SensitiveDataPlane:
|
1582
|
+
"""Regenerate Data Plane Credential Set.
|
1583
|
+
|
1584
|
+
Requires data_plane_regenerate_creds permission.
|
1585
|
+
|
1586
|
+
:param data_plane_id: (required)
|
1587
|
+
:type data_plane_id: str
|
1588
|
+
:param _request_timeout: timeout setting for this request. If one
|
1589
|
+
number provided, it will be total request
|
1590
|
+
timeout. It can also be a pair (tuple) of
|
1591
|
+
(connection, read) timeouts.
|
1592
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1593
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1594
|
+
request; this effectively ignores the
|
1595
|
+
authentication in the spec for a single request.
|
1596
|
+
:type _request_auth: dict, optional
|
1597
|
+
:param _content_type: force content-type for the request.
|
1598
|
+
:type _content_type: str, Optional
|
1599
|
+
:param _headers: set to override the headers for a single
|
1600
|
+
request; this effectively ignores the headers
|
1601
|
+
in the spec for a single request.
|
1602
|
+
:type _headers: dict, optional
|
1603
|
+
:param _host_index: set to override the host_index for a single
|
1604
|
+
request; this effectively ignores the host_index
|
1605
|
+
in the spec for a single request.
|
1606
|
+
:type _host_index: int, optional
|
1607
|
+
:return: Returns the result object.
|
1608
|
+
""" # noqa: E501
|
1609
|
+
|
1610
|
+
_param = self._post_data_plane_cred_set_serialize(
|
1611
|
+
data_plane_id=data_plane_id,
|
1612
|
+
_request_auth=_request_auth,
|
1613
|
+
_content_type=_content_type,
|
1614
|
+
_headers=_headers,
|
1615
|
+
_host_index=_host_index
|
1616
|
+
)
|
1617
|
+
|
1618
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1619
|
+
'200': "SensitiveDataPlane",
|
1620
|
+
'500': "InternalServerError",
|
1621
|
+
'404': "NotFoundError",
|
1622
|
+
'422': "HTTPValidationError",
|
1623
|
+
}
|
1624
|
+
response_data = self.api_client.call_api(
|
1625
|
+
*_param,
|
1626
|
+
_request_timeout=_request_timeout
|
1627
|
+
)
|
1628
|
+
response_data.read()
|
1629
|
+
return self.api_client.response_deserialize(
|
1630
|
+
response_data=response_data,
|
1631
|
+
response_types_map=_response_types_map,
|
1632
|
+
).data
|
1633
|
+
|
1634
|
+
|
1635
|
+
@validate_call
|
1636
|
+
def post_data_plane_cred_set_with_http_info(
|
1637
|
+
self,
|
1638
|
+
data_plane_id: StrictStr,
|
1639
|
+
_request_timeout: Union[
|
1640
|
+
None,
|
1641
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1642
|
+
Tuple[
|
1643
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1644
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1645
|
+
]
|
1646
|
+
] = None,
|
1647
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1648
|
+
_content_type: Optional[StrictStr] = None,
|
1649
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1650
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1651
|
+
) -> ApiResponse[SensitiveDataPlane]:
|
1652
|
+
"""Regenerate Data Plane Credential Set.
|
1653
|
+
|
1654
|
+
Requires data_plane_regenerate_creds permission.
|
1655
|
+
|
1656
|
+
:param data_plane_id: (required)
|
1657
|
+
:type data_plane_id: str
|
1658
|
+
:param _request_timeout: timeout setting for this request. If one
|
1659
|
+
number provided, it will be total request
|
1660
|
+
timeout. It can also be a pair (tuple) of
|
1661
|
+
(connection, read) timeouts.
|
1662
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1663
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1664
|
+
request; this effectively ignores the
|
1665
|
+
authentication in the spec for a single request.
|
1666
|
+
:type _request_auth: dict, optional
|
1667
|
+
:param _content_type: force content-type for the request.
|
1668
|
+
:type _content_type: str, Optional
|
1669
|
+
:param _headers: set to override the headers for a single
|
1670
|
+
request; this effectively ignores the headers
|
1671
|
+
in the spec for a single request.
|
1672
|
+
:type _headers: dict, optional
|
1673
|
+
:param _host_index: set to override the host_index for a single
|
1674
|
+
request; this effectively ignores the host_index
|
1675
|
+
in the spec for a single request.
|
1676
|
+
:type _host_index: int, optional
|
1677
|
+
:return: Returns the result object.
|
1678
|
+
""" # noqa: E501
|
1679
|
+
|
1680
|
+
_param = self._post_data_plane_cred_set_serialize(
|
1681
|
+
data_plane_id=data_plane_id,
|
1682
|
+
_request_auth=_request_auth,
|
1683
|
+
_content_type=_content_type,
|
1684
|
+
_headers=_headers,
|
1685
|
+
_host_index=_host_index
|
1686
|
+
)
|
1687
|
+
|
1688
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1689
|
+
'200': "SensitiveDataPlane",
|
1690
|
+
'500': "InternalServerError",
|
1691
|
+
'404': "NotFoundError",
|
1692
|
+
'422': "HTTPValidationError",
|
1693
|
+
}
|
1694
|
+
response_data = self.api_client.call_api(
|
1695
|
+
*_param,
|
1696
|
+
_request_timeout=_request_timeout
|
1697
|
+
)
|
1698
|
+
response_data.read()
|
1699
|
+
return self.api_client.response_deserialize(
|
1700
|
+
response_data=response_data,
|
1701
|
+
response_types_map=_response_types_map,
|
1702
|
+
)
|
1703
|
+
|
1704
|
+
|
1705
|
+
@validate_call
|
1706
|
+
def post_data_plane_cred_set_without_preload_content(
|
1707
|
+
self,
|
1708
|
+
data_plane_id: StrictStr,
|
1709
|
+
_request_timeout: Union[
|
1710
|
+
None,
|
1711
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1712
|
+
Tuple[
|
1713
|
+
Annotated[StrictFloat, Field(gt=0)],
|
1714
|
+
Annotated[StrictFloat, Field(gt=0)]
|
1715
|
+
]
|
1716
|
+
] = None,
|
1717
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
1718
|
+
_content_type: Optional[StrictStr] = None,
|
1719
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1720
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
1721
|
+
) -> RESTResponseType:
|
1722
|
+
"""Regenerate Data Plane Credential Set.
|
1723
|
+
|
1724
|
+
Requires data_plane_regenerate_creds permission.
|
1725
|
+
|
1726
|
+
:param data_plane_id: (required)
|
1727
|
+
:type data_plane_id: str
|
1728
|
+
:param _request_timeout: timeout setting for this request. If one
|
1729
|
+
number provided, it will be total request
|
1730
|
+
timeout. It can also be a pair (tuple) of
|
1731
|
+
(connection, read) timeouts.
|
1732
|
+
:type _request_timeout: int, tuple(int, int), optional
|
1733
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1734
|
+
request; this effectively ignores the
|
1735
|
+
authentication in the spec for a single request.
|
1736
|
+
:type _request_auth: dict, optional
|
1737
|
+
:param _content_type: force content-type for the request.
|
1738
|
+
:type _content_type: str, Optional
|
1739
|
+
:param _headers: set to override the headers for a single
|
1740
|
+
request; this effectively ignores the headers
|
1741
|
+
in the spec for a single request.
|
1742
|
+
:type _headers: dict, optional
|
1743
|
+
:param _host_index: set to override the host_index for a single
|
1744
|
+
request; this effectively ignores the host_index
|
1745
|
+
in the spec for a single request.
|
1746
|
+
:type _host_index: int, optional
|
1747
|
+
:return: Returns the result object.
|
1748
|
+
""" # noqa: E501
|
1749
|
+
|
1750
|
+
_param = self._post_data_plane_cred_set_serialize(
|
1751
|
+
data_plane_id=data_plane_id,
|
1752
|
+
_request_auth=_request_auth,
|
1753
|
+
_content_type=_content_type,
|
1754
|
+
_headers=_headers,
|
1755
|
+
_host_index=_host_index
|
1756
|
+
)
|
1757
|
+
|
1758
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
1759
|
+
'200': "SensitiveDataPlane",
|
1760
|
+
'500': "InternalServerError",
|
1761
|
+
'404': "NotFoundError",
|
1762
|
+
'422': "HTTPValidationError",
|
1763
|
+
}
|
1764
|
+
response_data = self.api_client.call_api(
|
1765
|
+
*_param,
|
1766
|
+
_request_timeout=_request_timeout
|
1767
|
+
)
|
1768
|
+
return response_data.response
|
1769
|
+
|
1770
|
+
|
1771
|
+
def _post_data_plane_cred_set_serialize(
|
1772
|
+
self,
|
1773
|
+
data_plane_id,
|
1774
|
+
_request_auth,
|
1775
|
+
_content_type,
|
1776
|
+
_headers,
|
1777
|
+
_host_index,
|
1778
|
+
) -> RequestSerialized:
|
1779
|
+
|
1780
|
+
_host = None
|
1781
|
+
|
1782
|
+
_collection_formats: Dict[str, str] = {
|
1783
|
+
}
|
1784
|
+
|
1785
|
+
_path_params: Dict[str, str] = {}
|
1786
|
+
_query_params: List[Tuple[str, str]] = []
|
1787
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1788
|
+
_form_params: List[Tuple[str, str]] = []
|
1789
|
+
_files: Dict[
|
1790
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1791
|
+
] = {}
|
1792
|
+
_body_params: Optional[bytes] = None
|
1793
|
+
|
1794
|
+
# process the path parameters
|
1795
|
+
if data_plane_id is not None:
|
1796
|
+
_path_params['data_plane_id'] = data_plane_id
|
1797
|
+
# process the query parameters
|
1798
|
+
# process the header parameters
|
1799
|
+
# process the form parameters
|
1800
|
+
# process the body parameter
|
1801
|
+
|
1802
|
+
|
1803
|
+
# set the HTTP header `Accept`
|
1804
|
+
if 'Accept' not in _header_params:
|
1805
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1806
|
+
[
|
1807
|
+
'application/json'
|
1808
|
+
]
|
1809
|
+
)
|
1810
|
+
|
1811
|
+
|
1812
|
+
# authentication setting
|
1813
|
+
_auth_settings: List[str] = [
|
1814
|
+
'OAuth2AuthorizationCode'
|
1815
|
+
]
|
1816
|
+
|
1817
|
+
return self.api_client.param_serialize(
|
1818
|
+
method='POST',
|
1819
|
+
resource_path='/api/v1/data_planes/{data_plane_id}/credential_set',
|
1820
|
+
path_params=_path_params,
|
1821
|
+
query_params=_query_params,
|
1822
|
+
header_params=_header_params,
|
1823
|
+
body=_body_params,
|
1824
|
+
post_params=_form_params,
|
1825
|
+
files=_files,
|
1826
|
+
auth_settings=_auth_settings,
|
1827
|
+
collection_formats=_collection_formats,
|
1828
|
+
_host=_host,
|
1829
|
+
_request_auth=_request_auth
|
1830
|
+
)
|
1831
|
+
|
1832
|
+
|