oci 2.126.2__py3-none-any.whl → 2.126.3__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.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +333 -333
- oci/database/models/create_vm_cluster_details.py +33 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/update_vm_cluster_details.py +33 -2
- oci/database/models/vm_cluster.py +33 -2
- oci/database/models/vm_cluster_summary.py +33 -2
- oci/database_management/db_management_client.py +206 -206
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +608 -28
- oci/email/email_client_composite_operations.py +132 -0
- oci/email/models/__init__.py +10 -0
- oci/email/models/create_email_domain_details.py +31 -0
- oci/email/models/create_email_return_path_details.py +239 -0
- oci/email/models/email_domain.py +82 -0
- oci/email/models/email_return_path.py +577 -0
- oci/email/models/email_return_path_collection.py +72 -0
- oci/email/models/email_return_path_summary.py +444 -0
- oci/email/models/sender.py +15 -3
- oci/email/models/update_email_domain_details.py +31 -0
- oci/email/models/update_email_return_path_details.py +156 -0
- oci/email/models/work_request.py +15 -3
- oci/email/models/work_request_summary.py +15 -3
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/ssl_configuration.py +41 -0
- oci/load_balancer/models/ssl_configuration_details.py +41 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/__init__.py +16 -0
- oci/marketplace_private_offer/attachment_client.py +719 -0
- oci/marketplace_private_offer/attachment_client_composite_operations.py +71 -0
- oci/marketplace_private_offer/models/__init__.py +48 -0
- oci/marketplace_private_offer/models/attachment.py +446 -0
- oci/marketplace_private_offer/models/attachment_collection.py +72 -0
- oci/marketplace_private_offer/models/attachment_summary.py +293 -0
- oci/marketplace_private_offer/models/buyer_information.py +161 -0
- oci/marketplace_private_offer/models/contact.py +134 -0
- oci/marketplace_private_offer/models/create_attachment_details.py +134 -0
- oci/marketplace_private_offer/models/create_offer_details.py +498 -0
- oci/marketplace_private_offer/models/custom_field.py +103 -0
- oci/marketplace_private_offer/models/offer.py +787 -0
- oci/marketplace_private_offer/models/offer_collection.py +72 -0
- oci/marketplace_private_offer/models/offer_internal_detail.py +103 -0
- oci/marketplace_private_offer/models/offer_summary.py +591 -0
- oci/marketplace_private_offer/models/pricing.py +146 -0
- oci/marketplace_private_offer/models/publisher_summary.py +710 -0
- oci/marketplace_private_offer/models/resource_bundle.py +205 -0
- oci/marketplace_private_offer/models/seller_information.py +99 -0
- oci/marketplace_private_offer/models/update_offer_details.py +467 -0
- oci/marketplace_private_offer/models/upload_data.py +134 -0
- oci/marketplace_private_offer/offer_client.py +789 -0
- oci/marketplace_private_offer/offer_client_composite_operations.py +172 -0
- oci/marketplace_publisher/__init__.py +5 -1
- oci/marketplace_publisher/attachment_client.py +719 -0
- oci/marketplace_publisher/attachment_client_composite_operations.py +121 -0
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/models/__init__.py +32 -0
- oci/marketplace_publisher/models/attachment.py +446 -0
- oci/marketplace_publisher/models/attachment_collection.py +72 -0
- oci/marketplace_publisher/models/attachment_summary.py +293 -0
- oci/marketplace_publisher/models/buyer_information.py +161 -0
- oci/marketplace_publisher/models/contact.py +134 -0
- oci/marketplace_publisher/models/create_attachment_details.py +134 -0
- oci/marketplace_publisher/models/create_offer_details.py +498 -0
- oci/marketplace_publisher/models/custom_field.py +103 -0
- oci/marketplace_publisher/models/offer.py +787 -0
- oci/marketplace_publisher/models/offer_collection.py +72 -0
- oci/marketplace_publisher/models/offer_internal_detail.py +103 -0
- oci/marketplace_publisher/models/offer_summary.py +591 -0
- oci/marketplace_publisher/models/pricing.py +146 -0
- oci/marketplace_publisher/models/resource_bundle.py +205 -0
- oci/marketplace_publisher/models/seller_information.py +99 -0
- oci/marketplace_publisher/models/update_offer_details.py +467 -0
- oci/marketplace_publisher/models/work_request.py +23 -3
- oci/marketplace_publisher/models/work_request_summary.py +23 -3
- oci/marketplace_publisher/offer_client.py +789 -0
- oci/marketplace_publisher/offer_client_composite_operations.py +160 -0
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/models/create_listener_details.py +33 -2
- oci/network_load_balancer/models/listener.py +33 -2
- oci/network_load_balancer/models/listener_details.py +33 -2
- oci/network_load_balancer/models/listener_summary.py +33 -2
- oci/network_load_balancer/models/update_listener_details.py +33 -2
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/METADATA +1 -1
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/RECORD +323 -274
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/WHEEL +0 -0
- {oci-2.126.2.dist-info → oci-2.126.3.dist-info}/top_level.txt +0 -0
@@ -147,6 +147,45 @@ class EmailClientCompositeOperations(object):
|
|
147
147
|
except Exception as e:
|
148
148
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
149
149
|
|
150
|
+
def create_email_return_path_and_wait_for_state(self, create_email_return_path_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
151
|
+
"""
|
152
|
+
Calls :py:func:`~oci.email.EmailClient.create_email_return_path` and waits for the :py:class:`~oci.email.models.WorkRequest`
|
153
|
+
to enter the given state(s).
|
154
|
+
|
155
|
+
:param oci.email.models.CreateEmailReturnPathDetails create_email_return_path_details: (required)
|
156
|
+
The email return path to create.
|
157
|
+
|
158
|
+
:param list[str] wait_for_states:
|
159
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.email.models.WorkRequest.status`
|
160
|
+
|
161
|
+
:param dict operation_kwargs:
|
162
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.email.EmailClient.create_email_return_path`
|
163
|
+
|
164
|
+
:param dict waiter_kwargs:
|
165
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
166
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
167
|
+
"""
|
168
|
+
operation_result = self.client.create_email_return_path(create_email_return_path_details, **operation_kwargs)
|
169
|
+
if not wait_for_states:
|
170
|
+
return operation_result
|
171
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
172
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
173
|
+
return operation_result
|
174
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
175
|
+
|
176
|
+
try:
|
177
|
+
waiter_result = oci.wait_until(
|
178
|
+
self.client,
|
179
|
+
self.client.get_work_request(wait_for_resource_id),
|
180
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
181
|
+
**waiter_kwargs
|
182
|
+
)
|
183
|
+
result_to_return = waiter_result
|
184
|
+
|
185
|
+
return result_to_return
|
186
|
+
except Exception as e:
|
187
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
188
|
+
|
150
189
|
def create_sender_and_wait_for_state(self, create_sender_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
151
190
|
"""
|
152
191
|
Calls :py:func:`~oci.email.EmailClient.create_sender` and waits for the :py:class:`~oci.email.models.Sender` acted upon
|
@@ -287,6 +326,55 @@ class EmailClientCompositeOperations(object):
|
|
287
326
|
except Exception as e:
|
288
327
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
289
328
|
|
329
|
+
def delete_email_return_path_and_wait_for_state(self, email_return_path_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
330
|
+
"""
|
331
|
+
Calls :py:func:`~oci.email.EmailClient.delete_email_return_path` and waits for the :py:class:`~oci.email.models.WorkRequest`
|
332
|
+
to enter the given state(s).
|
333
|
+
|
334
|
+
:param str email_return_path_id: (required)
|
335
|
+
The `OCID`__ of this email return path.
|
336
|
+
|
337
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
338
|
+
|
339
|
+
:param list[str] wait_for_states:
|
340
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.email.models.WorkRequest.status`
|
341
|
+
|
342
|
+
:param dict operation_kwargs:
|
343
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.email.EmailClient.delete_email_return_path`
|
344
|
+
|
345
|
+
:param dict waiter_kwargs:
|
346
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
347
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
348
|
+
"""
|
349
|
+
operation_result = None
|
350
|
+
try:
|
351
|
+
operation_result = self.client.delete_email_return_path(email_return_path_id, **operation_kwargs)
|
352
|
+
except oci.exceptions.ServiceError as e:
|
353
|
+
if e.status == 404:
|
354
|
+
return WAIT_RESOURCE_NOT_FOUND
|
355
|
+
else:
|
356
|
+
raise e
|
357
|
+
|
358
|
+
if not wait_for_states:
|
359
|
+
return operation_result
|
360
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
361
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
362
|
+
return operation_result
|
363
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
364
|
+
|
365
|
+
try:
|
366
|
+
waiter_result = oci.wait_until(
|
367
|
+
self.client,
|
368
|
+
self.client.get_work_request(wait_for_resource_id),
|
369
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
370
|
+
**waiter_kwargs
|
371
|
+
)
|
372
|
+
result_to_return = waiter_result
|
373
|
+
|
374
|
+
return result_to_return
|
375
|
+
except Exception as e:
|
376
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
377
|
+
|
290
378
|
def delete_sender_and_wait_for_state(self, sender_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
291
379
|
"""
|
292
380
|
Calls :py:func:`~oci.email.EmailClient.delete_sender` and waits for the :py:class:`~oci.email.models.Sender` acted upon
|
@@ -434,6 +522,50 @@ class EmailClientCompositeOperations(object):
|
|
434
522
|
except Exception as e:
|
435
523
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
436
524
|
|
525
|
+
def update_email_return_path_and_wait_for_state(self, email_return_path_id, update_email_return_path_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
526
|
+
"""
|
527
|
+
Calls :py:func:`~oci.email.EmailClient.update_email_return_path` and waits for the :py:class:`~oci.email.models.WorkRequest`
|
528
|
+
to enter the given state(s).
|
529
|
+
|
530
|
+
:param str email_return_path_id: (required)
|
531
|
+
The `OCID`__ of this email return path.
|
532
|
+
|
533
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
534
|
+
|
535
|
+
:param oci.email.models.UpdateEmailReturnPathDetails update_email_return_path_details: (required)
|
536
|
+
The new email return path attributes to apply.
|
537
|
+
|
538
|
+
:param list[str] wait_for_states:
|
539
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.email.models.WorkRequest.status`
|
540
|
+
|
541
|
+
:param dict operation_kwargs:
|
542
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.email.EmailClient.update_email_return_path`
|
543
|
+
|
544
|
+
:param dict waiter_kwargs:
|
545
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
546
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
547
|
+
"""
|
548
|
+
operation_result = self.client.update_email_return_path(email_return_path_id, update_email_return_path_details, **operation_kwargs)
|
549
|
+
if not wait_for_states:
|
550
|
+
return operation_result
|
551
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
552
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
553
|
+
return operation_result
|
554
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
555
|
+
|
556
|
+
try:
|
557
|
+
waiter_result = oci.wait_until(
|
558
|
+
self.client,
|
559
|
+
self.client.get_work_request(wait_for_resource_id),
|
560
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
561
|
+
**waiter_kwargs
|
562
|
+
)
|
563
|
+
result_to_return = waiter_result
|
564
|
+
|
565
|
+
return result_to_return
|
566
|
+
except Exception as e:
|
567
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
568
|
+
|
437
569
|
def update_sender_and_wait_for_state(self, sender_id, update_sender_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
438
570
|
"""
|
439
571
|
Calls :py:func:`~oci.email.EmailClient.update_sender` and waits for the :py:class:`~oci.email.models.Sender` acted upon
|
oci/email/models/__init__.py
CHANGED
@@ -11,6 +11,7 @@ from .change_sender_compartment_details import ChangeSenderCompartmentDetails
|
|
11
11
|
from .configuration import Configuration
|
12
12
|
from .create_dkim_details import CreateDkimDetails
|
13
13
|
from .create_email_domain_details import CreateEmailDomainDetails
|
14
|
+
from .create_email_return_path_details import CreateEmailReturnPathDetails
|
14
15
|
from .create_sender_details import CreateSenderDetails
|
15
16
|
from .create_suppression_details import CreateSuppressionDetails
|
16
17
|
from .dkim import Dkim
|
@@ -19,12 +20,16 @@ from .dkim_summary import DkimSummary
|
|
19
20
|
from .email_domain import EmailDomain
|
20
21
|
from .email_domain_collection import EmailDomainCollection
|
21
22
|
from .email_domain_summary import EmailDomainSummary
|
23
|
+
from .email_return_path import EmailReturnPath
|
24
|
+
from .email_return_path_collection import EmailReturnPathCollection
|
25
|
+
from .email_return_path_summary import EmailReturnPathSummary
|
22
26
|
from .sender import Sender
|
23
27
|
from .sender_summary import SenderSummary
|
24
28
|
from .suppression import Suppression
|
25
29
|
from .suppression_summary import SuppressionSummary
|
26
30
|
from .update_dkim_details import UpdateDkimDetails
|
27
31
|
from .update_email_domain_details import UpdateEmailDomainDetails
|
32
|
+
from .update_email_return_path_details import UpdateEmailReturnPathDetails
|
28
33
|
from .update_sender_details import UpdateSenderDetails
|
29
34
|
from .work_request import WorkRequest
|
30
35
|
from .work_request_error import WorkRequestError
|
@@ -42,6 +47,7 @@ email_type_mapping = {
|
|
42
47
|
"Configuration": Configuration,
|
43
48
|
"CreateDkimDetails": CreateDkimDetails,
|
44
49
|
"CreateEmailDomainDetails": CreateEmailDomainDetails,
|
50
|
+
"CreateEmailReturnPathDetails": CreateEmailReturnPathDetails,
|
45
51
|
"CreateSenderDetails": CreateSenderDetails,
|
46
52
|
"CreateSuppressionDetails": CreateSuppressionDetails,
|
47
53
|
"Dkim": Dkim,
|
@@ -50,12 +56,16 @@ email_type_mapping = {
|
|
50
56
|
"EmailDomain": EmailDomain,
|
51
57
|
"EmailDomainCollection": EmailDomainCollection,
|
52
58
|
"EmailDomainSummary": EmailDomainSummary,
|
59
|
+
"EmailReturnPath": EmailReturnPath,
|
60
|
+
"EmailReturnPathCollection": EmailReturnPathCollection,
|
61
|
+
"EmailReturnPathSummary": EmailReturnPathSummary,
|
53
62
|
"Sender": Sender,
|
54
63
|
"SenderSummary": SenderSummary,
|
55
64
|
"Suppression": Suppression,
|
56
65
|
"SuppressionSummary": SuppressionSummary,
|
57
66
|
"UpdateDkimDetails": UpdateDkimDetails,
|
58
67
|
"UpdateEmailDomainDetails": UpdateEmailDomainDetails,
|
68
|
+
"UpdateEmailReturnPathDetails": UpdateEmailReturnPathDetails,
|
59
69
|
"UpdateSenderDetails": UpdateSenderDetails,
|
60
70
|
"WorkRequest": WorkRequest,
|
61
71
|
"WorkRequestError": WorkRequestError,
|
@@ -28,6 +28,10 @@ class CreateEmailDomainDetails(object):
|
|
28
28
|
The value to assign to the compartment_id property of this CreateEmailDomainDetails.
|
29
29
|
:type compartment_id: str
|
30
30
|
|
31
|
+
:param domain_verification_id:
|
32
|
+
The value to assign to the domain_verification_id property of this CreateEmailDomainDetails.
|
33
|
+
:type domain_verification_id: str
|
34
|
+
|
31
35
|
:param description:
|
32
36
|
The value to assign to the description property of this CreateEmailDomainDetails.
|
33
37
|
:type description: str
|
@@ -44,6 +48,7 @@ class CreateEmailDomainDetails(object):
|
|
44
48
|
self.swagger_types = {
|
45
49
|
'name': 'str',
|
46
50
|
'compartment_id': 'str',
|
51
|
+
'domain_verification_id': 'str',
|
47
52
|
'description': 'str',
|
48
53
|
'freeform_tags': 'dict(str, str)',
|
49
54
|
'defined_tags': 'dict(str, dict(str, object))'
|
@@ -52,6 +57,7 @@ class CreateEmailDomainDetails(object):
|
|
52
57
|
self.attribute_map = {
|
53
58
|
'name': 'name',
|
54
59
|
'compartment_id': 'compartmentId',
|
60
|
+
'domain_verification_id': 'domainVerificationId',
|
55
61
|
'description': 'description',
|
56
62
|
'freeform_tags': 'freeformTags',
|
57
63
|
'defined_tags': 'definedTags'
|
@@ -59,6 +65,7 @@ class CreateEmailDomainDetails(object):
|
|
59
65
|
|
60
66
|
self._name = None
|
61
67
|
self._compartment_id = None
|
68
|
+
self._domain_verification_id = None
|
62
69
|
self._description = None
|
63
70
|
self._freeform_tags = None
|
64
71
|
self._defined_tags = None
|
@@ -129,6 +136,30 @@ class CreateEmailDomainDetails(object):
|
|
129
136
|
"""
|
130
137
|
self._compartment_id = compartment_id
|
131
138
|
|
139
|
+
@property
|
140
|
+
def domain_verification_id(self):
|
141
|
+
"""
|
142
|
+
Gets the domain_verification_id of this CreateEmailDomainDetails.
|
143
|
+
Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
|
144
|
+
|
145
|
+
|
146
|
+
:return: The domain_verification_id of this CreateEmailDomainDetails.
|
147
|
+
:rtype: str
|
148
|
+
"""
|
149
|
+
return self._domain_verification_id
|
150
|
+
|
151
|
+
@domain_verification_id.setter
|
152
|
+
def domain_verification_id(self, domain_verification_id):
|
153
|
+
"""
|
154
|
+
Sets the domain_verification_id of this CreateEmailDomainDetails.
|
155
|
+
Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
|
156
|
+
|
157
|
+
|
158
|
+
:param domain_verification_id: The domain_verification_id of this CreateEmailDomainDetails.
|
159
|
+
:type: str
|
160
|
+
"""
|
161
|
+
self._domain_verification_id = domain_verification_id
|
162
|
+
|
132
163
|
@property
|
133
164
|
def description(self):
|
134
165
|
"""
|
@@ -0,0 +1,239 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20170907
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class CreateEmailReturnPathDetails(object):
|
14
|
+
"""
|
15
|
+
Properties to create a new email return path.
|
16
|
+
The new object will be created in the same compartment as the parent resource.
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, **kwargs):
|
20
|
+
"""
|
21
|
+
Initializes a new CreateEmailReturnPathDetails object with values from keyword arguments.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param name:
|
25
|
+
The value to assign to the name property of this CreateEmailReturnPathDetails.
|
26
|
+
:type name: str
|
27
|
+
|
28
|
+
:param parent_resource_id:
|
29
|
+
The value to assign to the parent_resource_id property of this CreateEmailReturnPathDetails.
|
30
|
+
:type parent_resource_id: str
|
31
|
+
|
32
|
+
:param description:
|
33
|
+
The value to assign to the description property of this CreateEmailReturnPathDetails.
|
34
|
+
:type description: str
|
35
|
+
|
36
|
+
:param freeform_tags:
|
37
|
+
The value to assign to the freeform_tags property of this CreateEmailReturnPathDetails.
|
38
|
+
:type freeform_tags: dict(str, str)
|
39
|
+
|
40
|
+
:param defined_tags:
|
41
|
+
The value to assign to the defined_tags property of this CreateEmailReturnPathDetails.
|
42
|
+
:type defined_tags: dict(str, dict(str, object))
|
43
|
+
|
44
|
+
"""
|
45
|
+
self.swagger_types = {
|
46
|
+
'name': 'str',
|
47
|
+
'parent_resource_id': 'str',
|
48
|
+
'description': 'str',
|
49
|
+
'freeform_tags': 'dict(str, str)',
|
50
|
+
'defined_tags': 'dict(str, dict(str, object))'
|
51
|
+
}
|
52
|
+
|
53
|
+
self.attribute_map = {
|
54
|
+
'name': 'name',
|
55
|
+
'parent_resource_id': 'parentResourceId',
|
56
|
+
'description': 'description',
|
57
|
+
'freeform_tags': 'freeformTags',
|
58
|
+
'defined_tags': 'definedTags'
|
59
|
+
}
|
60
|
+
|
61
|
+
self._name = None
|
62
|
+
self._parent_resource_id = None
|
63
|
+
self._description = None
|
64
|
+
self._freeform_tags = None
|
65
|
+
self._defined_tags = None
|
66
|
+
|
67
|
+
@property
|
68
|
+
def name(self):
|
69
|
+
"""
|
70
|
+
Gets the name of this CreateEmailReturnPathDetails.
|
71
|
+
The name of the email return path domain in the Internet Domain Name System (DNS).
|
72
|
+
The name must be a subdomain of the email domain used to send emails.
|
73
|
+
The email return path name must be globally unique for this tenancy.
|
74
|
+
If you do not provide the email return path name, we will generate one for you.
|
75
|
+
If you do provide the email return path name, we suggest adding a short region indicator to
|
76
|
+
allow using the same parent domain in other regions you might be subscribed to.
|
77
|
+
Domain names limited to ASCII characters use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
78
|
+
The dash and dot are only allowed between alphanumeric characters.
|
79
|
+
Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
|
80
|
+
|
81
|
+
|
82
|
+
:return: The name of this CreateEmailReturnPathDetails.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._name
|
86
|
+
|
87
|
+
@name.setter
|
88
|
+
def name(self, name):
|
89
|
+
"""
|
90
|
+
Sets the name of this CreateEmailReturnPathDetails.
|
91
|
+
The name of the email return path domain in the Internet Domain Name System (DNS).
|
92
|
+
The name must be a subdomain of the email domain used to send emails.
|
93
|
+
The email return path name must be globally unique for this tenancy.
|
94
|
+
If you do not provide the email return path name, we will generate one for you.
|
95
|
+
If you do provide the email return path name, we suggest adding a short region indicator to
|
96
|
+
allow using the same parent domain in other regions you might be subscribed to.
|
97
|
+
Domain names limited to ASCII characters use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
98
|
+
The dash and dot are only allowed between alphanumeric characters.
|
99
|
+
Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
|
100
|
+
|
101
|
+
|
102
|
+
:param name: The name of this CreateEmailReturnPathDetails.
|
103
|
+
:type: str
|
104
|
+
"""
|
105
|
+
self._name = name
|
106
|
+
|
107
|
+
@property
|
108
|
+
def parent_resource_id(self):
|
109
|
+
"""
|
110
|
+
**[Required]** Gets the parent_resource_id of this CreateEmailReturnPathDetails.
|
111
|
+
The `OCID`__ of the EmailDomain for this email return path.
|
112
|
+
|
113
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
114
|
+
|
115
|
+
|
116
|
+
:return: The parent_resource_id of this CreateEmailReturnPathDetails.
|
117
|
+
:rtype: str
|
118
|
+
"""
|
119
|
+
return self._parent_resource_id
|
120
|
+
|
121
|
+
@parent_resource_id.setter
|
122
|
+
def parent_resource_id(self, parent_resource_id):
|
123
|
+
"""
|
124
|
+
Sets the parent_resource_id of this CreateEmailReturnPathDetails.
|
125
|
+
The `OCID`__ of the EmailDomain for this email return path.
|
126
|
+
|
127
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
128
|
+
|
129
|
+
|
130
|
+
:param parent_resource_id: The parent_resource_id of this CreateEmailReturnPathDetails.
|
131
|
+
:type: str
|
132
|
+
"""
|
133
|
+
self._parent_resource_id = parent_resource_id
|
134
|
+
|
135
|
+
@property
|
136
|
+
def description(self):
|
137
|
+
"""
|
138
|
+
Gets the description of this CreateEmailReturnPathDetails.
|
139
|
+
A string that describes the details about the email return path. It does not have to be unique,
|
140
|
+
and you can change it. Avoid entering confidential information.
|
141
|
+
|
142
|
+
|
143
|
+
:return: The description of this CreateEmailReturnPathDetails.
|
144
|
+
:rtype: str
|
145
|
+
"""
|
146
|
+
return self._description
|
147
|
+
|
148
|
+
@description.setter
|
149
|
+
def description(self, description):
|
150
|
+
"""
|
151
|
+
Sets the description of this CreateEmailReturnPathDetails.
|
152
|
+
A string that describes the details about the email return path. It does not have to be unique,
|
153
|
+
and you can change it. Avoid entering confidential information.
|
154
|
+
|
155
|
+
|
156
|
+
:param description: The description of this CreateEmailReturnPathDetails.
|
157
|
+
:type: str
|
158
|
+
"""
|
159
|
+
self._description = description
|
160
|
+
|
161
|
+
@property
|
162
|
+
def freeform_tags(self):
|
163
|
+
"""
|
164
|
+
Gets the freeform_tags of this CreateEmailReturnPathDetails.
|
165
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
166
|
+
For more information, see `Resource Tags`__.
|
167
|
+
|
168
|
+
Example: `{\"Department\": \"Finance\"}`
|
169
|
+
|
170
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
171
|
+
|
172
|
+
|
173
|
+
:return: The freeform_tags of this CreateEmailReturnPathDetails.
|
174
|
+
:rtype: dict(str, str)
|
175
|
+
"""
|
176
|
+
return self._freeform_tags
|
177
|
+
|
178
|
+
@freeform_tags.setter
|
179
|
+
def freeform_tags(self, freeform_tags):
|
180
|
+
"""
|
181
|
+
Sets the freeform_tags of this CreateEmailReturnPathDetails.
|
182
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
183
|
+
For more information, see `Resource Tags`__.
|
184
|
+
|
185
|
+
Example: `{\"Department\": \"Finance\"}`
|
186
|
+
|
187
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
188
|
+
|
189
|
+
|
190
|
+
:param freeform_tags: The freeform_tags of this CreateEmailReturnPathDetails.
|
191
|
+
:type: dict(str, str)
|
192
|
+
"""
|
193
|
+
self._freeform_tags = freeform_tags
|
194
|
+
|
195
|
+
@property
|
196
|
+
def defined_tags(self):
|
197
|
+
"""
|
198
|
+
Gets the defined_tags of this CreateEmailReturnPathDetails.
|
199
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
200
|
+
For more information, see `Resource Tags`__.
|
201
|
+
|
202
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
203
|
+
|
204
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
205
|
+
|
206
|
+
|
207
|
+
:return: The defined_tags of this CreateEmailReturnPathDetails.
|
208
|
+
:rtype: dict(str, dict(str, object))
|
209
|
+
"""
|
210
|
+
return self._defined_tags
|
211
|
+
|
212
|
+
@defined_tags.setter
|
213
|
+
def defined_tags(self, defined_tags):
|
214
|
+
"""
|
215
|
+
Sets the defined_tags of this CreateEmailReturnPathDetails.
|
216
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
217
|
+
For more information, see `Resource Tags`__.
|
218
|
+
|
219
|
+
Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
220
|
+
|
221
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
|
222
|
+
|
223
|
+
|
224
|
+
:param defined_tags: The defined_tags of this CreateEmailReturnPathDetails.
|
225
|
+
:type: dict(str, dict(str, object))
|
226
|
+
"""
|
227
|
+
self._defined_tags = defined_tags
|
228
|
+
|
229
|
+
def __repr__(self):
|
230
|
+
return formatted_flat_dict(self)
|
231
|
+
|
232
|
+
def __eq__(self, other):
|
233
|
+
if other is None:
|
234
|
+
return False
|
235
|
+
|
236
|
+
return self.__dict__ == other.__dict__
|
237
|
+
|
238
|
+
def __ne__(self, other):
|
239
|
+
return not self == other
|
oci/email/models/email_domain.py
CHANGED
@@ -40,6 +40,18 @@ class EmailDomain(object):
|
|
40
40
|
#: This constant has a value of "UPDATING"
|
41
41
|
LIFECYCLE_STATE_UPDATING = "UPDATING"
|
42
42
|
|
43
|
+
#: A constant which can be used with the domain_verification_status property of a EmailDomain.
|
44
|
+
#: This constant has a value of "NONE"
|
45
|
+
DOMAIN_VERIFICATION_STATUS_NONE = "NONE"
|
46
|
+
|
47
|
+
#: A constant which can be used with the domain_verification_status property of a EmailDomain.
|
48
|
+
#: This constant has a value of "DOMAINID"
|
49
|
+
DOMAIN_VERIFICATION_STATUS_DOMAINID = "DOMAINID"
|
50
|
+
|
51
|
+
#: A constant which can be used with the domain_verification_status property of a EmailDomain.
|
52
|
+
#: This constant has a value of "OTHER"
|
53
|
+
DOMAIN_VERIFICATION_STATUS_OTHER = "OTHER"
|
54
|
+
|
43
55
|
def __init__(self, **kwargs):
|
44
56
|
"""
|
45
57
|
Initializes a new EmailDomain object with values from keyword arguments.
|
@@ -71,6 +83,16 @@ class EmailDomain(object):
|
|
71
83
|
The value to assign to the is_spf property of this EmailDomain.
|
72
84
|
:type is_spf: bool
|
73
85
|
|
86
|
+
:param domain_verification_status:
|
87
|
+
The value to assign to the domain_verification_status property of this EmailDomain.
|
88
|
+
Allowed values for this property are: "NONE", "DOMAINID", "OTHER", 'UNKNOWN_ENUM_VALUE'.
|
89
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
90
|
+
:type domain_verification_status: str
|
91
|
+
|
92
|
+
:param domain_verification_id:
|
93
|
+
The value to assign to the domain_verification_id property of this EmailDomain.
|
94
|
+
:type domain_verification_id: str
|
95
|
+
|
74
96
|
:param description:
|
75
97
|
The value to assign to the description property of this EmailDomain.
|
76
98
|
:type description: str
|
@@ -99,6 +121,8 @@ class EmailDomain(object):
|
|
99
121
|
'lifecycle_state': 'str',
|
100
122
|
'active_dkim_id': 'str',
|
101
123
|
'is_spf': 'bool',
|
124
|
+
'domain_verification_status': 'str',
|
125
|
+
'domain_verification_id': 'str',
|
102
126
|
'description': 'str',
|
103
127
|
'time_created': 'datetime',
|
104
128
|
'freeform_tags': 'dict(str, str)',
|
@@ -113,6 +137,8 @@ class EmailDomain(object):
|
|
113
137
|
'lifecycle_state': 'lifecycleState',
|
114
138
|
'active_dkim_id': 'activeDkimId',
|
115
139
|
'is_spf': 'isSpf',
|
140
|
+
'domain_verification_status': 'domainVerificationStatus',
|
141
|
+
'domain_verification_id': 'domainVerificationId',
|
116
142
|
'description': 'description',
|
117
143
|
'time_created': 'timeCreated',
|
118
144
|
'freeform_tags': 'freeformTags',
|
@@ -126,6 +152,8 @@ class EmailDomain(object):
|
|
126
152
|
self._lifecycle_state = None
|
127
153
|
self._active_dkim_id = None
|
128
154
|
self._is_spf = None
|
155
|
+
self._domain_verification_status = None
|
156
|
+
self._domain_verification_id = None
|
129
157
|
self._description = None
|
130
158
|
self._time_created = None
|
131
159
|
self._freeform_tags = None
|
@@ -306,6 +334,60 @@ class EmailDomain(object):
|
|
306
334
|
"""
|
307
335
|
self._is_spf = is_spf
|
308
336
|
|
337
|
+
@property
|
338
|
+
def domain_verification_status(self):
|
339
|
+
"""
|
340
|
+
Gets the domain_verification_status of this EmailDomain.
|
341
|
+
The current domain verification status.
|
342
|
+
|
343
|
+
Allowed values for this property are: "NONE", "DOMAINID", "OTHER", 'UNKNOWN_ENUM_VALUE'.
|
344
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
345
|
+
|
346
|
+
|
347
|
+
:return: The domain_verification_status of this EmailDomain.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._domain_verification_status
|
351
|
+
|
352
|
+
@domain_verification_status.setter
|
353
|
+
def domain_verification_status(self, domain_verification_status):
|
354
|
+
"""
|
355
|
+
Sets the domain_verification_status of this EmailDomain.
|
356
|
+
The current domain verification status.
|
357
|
+
|
358
|
+
|
359
|
+
:param domain_verification_status: The domain_verification_status of this EmailDomain.
|
360
|
+
:type: str
|
361
|
+
"""
|
362
|
+
allowed_values = ["NONE", "DOMAINID", "OTHER"]
|
363
|
+
if not value_allowed_none_or_none_sentinel(domain_verification_status, allowed_values):
|
364
|
+
domain_verification_status = 'UNKNOWN_ENUM_VALUE'
|
365
|
+
self._domain_verification_status = domain_verification_status
|
366
|
+
|
367
|
+
@property
|
368
|
+
def domain_verification_id(self):
|
369
|
+
"""
|
370
|
+
Gets the domain_verification_id of this EmailDomain.
|
371
|
+
Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
|
372
|
+
|
373
|
+
|
374
|
+
:return: The domain_verification_id of this EmailDomain.
|
375
|
+
:rtype: str
|
376
|
+
"""
|
377
|
+
return self._domain_verification_id
|
378
|
+
|
379
|
+
@domain_verification_id.setter
|
380
|
+
def domain_verification_id(self, domain_verification_id):
|
381
|
+
"""
|
382
|
+
Sets the domain_verification_id of this EmailDomain.
|
383
|
+
Id for Domain in Domain Management (under governance) if DOMAINID verification method used.
|
384
|
+
|
385
|
+
|
386
|
+
:param domain_verification_id: The domain_verification_id of this EmailDomain.
|
387
|
+
:type: str
|
388
|
+
"""
|
389
|
+
self._domain_verification_id = domain_verification_id
|
390
|
+
|
309
391
|
@property
|
310
392
|
def description(self):
|
311
393
|
"""
|