oci 2.125.0__py3-none-any.whl → 2.125.1__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 +43 -43
- 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/application_migration/application_migration_client.py +19 -19
- 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 +176 -177
- oci/cloud_guard/models/activity_problem_aggregation.py +1 -1
- oci/cloud_guard/models/condition_metadata_type.py +1 -1
- oci/cloud_guard/models/configuration.py +1 -1
- oci/cloud_guard/models/create_data_source_details.py +47 -0
- oci/cloud_guard/models/create_managed_list_details.py +11 -3
- oci/cloud_guard/models/data_mask_rule.py +1 -1
- oci/cloud_guard/models/detector.py +1 -1
- oci/cloud_guard/models/detector_recipe.py +1 -1
- oci/cloud_guard/models/detector_recipe_detector_rule.py +12 -4
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_guard/models/detector_rule.py +12 -4
- oci/cloud_guard/models/detector_rule_summary.py +11 -3
- oci/cloud_guard/models/impacted_resource_summary.py +1 -1
- oci/cloud_guard/models/managed_list.py +12 -4
- oci/cloud_guard/models/managed_list_summary.py +11 -3
- oci/cloud_guard/models/managed_list_type_summary.py +1 -1
- oci/cloud_guard/models/policy_summary.py +1 -1
- oci/cloud_guard/models/problem.py +1 -1
- oci/cloud_guard/models/problem_aggregation.py +1 -1
- oci/cloud_guard/models/problem_endpoint_summary.py +1 -1
- oci/cloud_guard/models/problem_trend_aggregation.py +1 -1
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +11 -3
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +11 -3
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- 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 +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database_management/db_management_client.py +194 -194
- 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 +135 -41
- oci/email/models/__init__.py +2 -0
- oci/email/models/configuration.py +138 -0
- oci/email/models/create_dkim_details.py +4 -4
- oci/email/models/create_email_domain_details.py +6 -2
- oci/email/models/dkim.py +8 -8
- oci/email/models/dkim_collection.py +1 -1
- oci/email/models/email_domain.py +6 -6
- oci/email/models/email_domain_collection.py +1 -1
- oci/email/models/email_domain_summary.py +6 -6
- oci/email/models/sender.py +41 -4
- oci/email/models/sender_summary.py +41 -28
- oci/email/models/suppression.py +12 -4
- oci/email/models/suppression_summary.py +6 -2
- oci/email/models/work_request.py +13 -5
- oci/email/models/work_request_error.py +8 -6
- oci/email/models/work_request_resource.py +7 -3
- oci/email/models/work_request_summary.py +13 -5
- oci/email_data_plane/__init__.py +14 -0
- oci/email_data_plane/email_dp_client.py +206 -0
- oci/email_data_plane/email_dp_client_composite_operations.py +26 -0
- oci/email_data_plane/models/__init__.py +22 -0
- oci/email_data_plane/models/email_address.py +107 -0
- oci/email_data_plane/models/email_submitted_response.py +136 -0
- oci/email_data_plane/models/recipients.py +135 -0
- oci/email_data_plane/models/sender.py +103 -0
- oci/email_data_plane/models/submit_email_details.py +297 -0
- 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 +3 -3
- 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/create_ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite.py +102 -0
- oci/load_balancer/models/ssl_cipher_suite_details.py +102 -0
- oci/load_balancer/models/ssl_configuration.py +2 -0
- oci/load_balancer/models/ssl_configuration_details.py +2 -0
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +16 -0
- oci/lockbox/lockbox_client.py +23 -23
- 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_publisher/marketplace_publisher_client.py +71 -71
- 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_network_load_balancer_details.py +108 -3
- oci/network_load_balancer/models/network_load_balancer.py +7 -3
- oci/network_load_balancer/models/network_load_balancer_summary.py +7 -3
- oci/network_load_balancer/models/update_network_load_balancer_details.py +73 -3
- 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 +11 -11
- 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 +350 -350
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- 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 +23 -23
- 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 +28 -28
- 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.125.0.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
- {oci-2.125.0.dist-info → oci-2.125.1.dist-info}/RECORD +306 -296
- {oci-2.125.0.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.125.0.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.125.0.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
- {oci-2.125.0.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
oci/email/email_client.py
CHANGED
@@ -22,12 +22,11 @@ missing = Sentinel("Missing")
|
|
22
22
|
|
23
23
|
class EmailClient(object):
|
24
24
|
"""
|
25
|
-
|
26
|
-
|
25
|
+
Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service.
|
26
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
|
28
|
+
**Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API.
|
29
|
+
If a subsequent read request fails to reflect your changes, wait a few minutes and try again.
|
31
30
|
"""
|
32
31
|
|
33
32
|
def __init__(self, config, **kwargs):
|
@@ -123,12 +122,12 @@ class EmailClient(object):
|
|
123
122
|
|
124
123
|
def change_email_domain_compartment(self, email_domain_id, change_email_domain_compartment_details, **kwargs):
|
125
124
|
"""
|
126
|
-
Moves
|
125
|
+
Moves an email domain into a different compartment.
|
127
126
|
When provided, If-Match is checked against ETag value of the resource.
|
128
127
|
For information about moving resources between compartments, see
|
129
128
|
`Moving Resources to a Different Compartment`__.
|
130
129
|
|
131
|
-
**Note:** All
|
130
|
+
**Note:** All DKIM objects associated with this email domain will also be moved into the provided compartment.
|
132
131
|
|
133
132
|
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
|
134
133
|
|
@@ -172,7 +171,7 @@ class EmailClient(object):
|
|
172
171
|
:rtype: :class:`~oci.response.Response`
|
173
172
|
|
174
173
|
:example:
|
175
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
174
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/change_email_domain_compartment.py.html>`__ to see an example of how to use change_email_domain_compartment API.
|
176
175
|
"""
|
177
176
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
178
177
|
required_arguments = ['emailDomainId']
|
@@ -281,7 +280,7 @@ class EmailClient(object):
|
|
281
280
|
:rtype: :class:`~oci.response.Response`
|
282
281
|
|
283
282
|
:example:
|
284
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
283
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/change_sender_compartment.py.html>`__ to see an example of how to use change_sender_compartment API.
|
285
284
|
"""
|
286
285
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
287
286
|
required_arguments = ['senderId']
|
@@ -354,10 +353,10 @@ class EmailClient(object):
|
|
354
353
|
|
355
354
|
def create_dkim(self, create_dkim_details, **kwargs):
|
356
355
|
"""
|
357
|
-
Creates a new DKIM for
|
358
|
-
This DKIM
|
356
|
+
Creates a new DKIM for an email domain.
|
357
|
+
This DKIM signs all approved senders in the tenancy that are in this email domain.
|
359
358
|
Best security practices indicate to periodically rotate the DKIM that is doing the signing.
|
360
|
-
When a second DKIM is applied, all senders
|
359
|
+
When a second DKIM is applied, all senders seamlessly pick up the new key
|
361
360
|
without interruption in signing.
|
362
361
|
|
363
362
|
|
@@ -390,7 +389,7 @@ class EmailClient(object):
|
|
390
389
|
:rtype: :class:`~oci.response.Response`
|
391
390
|
|
392
391
|
:example:
|
393
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
392
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/create_dkim.py.html>`__ to see an example of how to use create_dkim API.
|
394
393
|
"""
|
395
394
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
396
395
|
required_arguments = []
|
@@ -486,7 +485,7 @@ class EmailClient(object):
|
|
486
485
|
:rtype: :class:`~oci.response.Response`
|
487
486
|
|
488
487
|
:example:
|
489
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
488
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/create_email_domain.py.html>`__ to see an example of how to use create_email_domain API.
|
490
489
|
"""
|
491
490
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
492
491
|
required_arguments = []
|
@@ -575,7 +574,7 @@ class EmailClient(object):
|
|
575
574
|
:rtype: :class:`~oci.response.Response`
|
576
575
|
|
577
576
|
:example:
|
578
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
577
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/create_sender.py.html>`__ to see an example of how to use create_sender API.
|
579
578
|
"""
|
580
579
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
581
580
|
required_arguments = []
|
@@ -664,7 +663,7 @@ class EmailClient(object):
|
|
664
663
|
:rtype: :class:`~oci.response.Response`
|
665
664
|
|
666
665
|
:example:
|
667
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
666
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/create_suppression.py.html>`__ to see an example of how to use create_suppression API.
|
668
667
|
"""
|
669
668
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
670
669
|
required_arguments = []
|
@@ -730,7 +729,7 @@ class EmailClient(object):
|
|
730
729
|
will stop signing the domain's outgoing mail.
|
731
730
|
DKIM keys are left in DELETING state for about a day to allow DKIM signatures on
|
732
731
|
in-transit mail to be validated.
|
733
|
-
Consider
|
732
|
+
Consider creating a new DKIM for this domain so the signing can be rotated to it instead of deletion.
|
734
733
|
|
735
734
|
|
736
735
|
:param str dkim_id: (required)
|
@@ -762,7 +761,7 @@ class EmailClient(object):
|
|
762
761
|
:rtype: :class:`~oci.response.Response`
|
763
762
|
|
764
763
|
:example:
|
765
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
764
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/delete_dkim.py.html>`__ to see an example of how to use delete_dkim API.
|
766
765
|
"""
|
767
766
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
768
767
|
required_arguments = ['dkimId']
|
@@ -833,7 +832,7 @@ class EmailClient(object):
|
|
833
832
|
|
834
833
|
def delete_email_domain(self, email_domain_id, **kwargs):
|
835
834
|
"""
|
836
|
-
Deletes
|
835
|
+
Deletes an email domain.
|
837
836
|
|
838
837
|
|
839
838
|
:param str email_domain_id: (required)
|
@@ -865,7 +864,7 @@ class EmailClient(object):
|
|
865
864
|
:rtype: :class:`~oci.response.Response`
|
866
865
|
|
867
866
|
:example:
|
868
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
867
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/delete_email_domain.py.html>`__ to see an example of how to use delete_email_domain API.
|
869
868
|
"""
|
870
869
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
871
870
|
required_arguments = ['emailDomainId']
|
@@ -967,7 +966,7 @@ class EmailClient(object):
|
|
967
966
|
:rtype: :class:`~oci.response.Response`
|
968
967
|
|
969
968
|
:example:
|
970
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
969
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/delete_sender.py.html>`__ to see an example of how to use delete_sender API.
|
971
970
|
"""
|
972
971
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
973
972
|
required_arguments = ['senderId']
|
@@ -1064,7 +1063,7 @@ class EmailClient(object):
|
|
1064
1063
|
:rtype: :class:`~oci.response.Response`
|
1065
1064
|
|
1066
1065
|
:example:
|
1067
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1066
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/delete_suppression.py.html>`__ to see an example of how to use delete_suppression API.
|
1068
1067
|
"""
|
1069
1068
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1070
1069
|
required_arguments = ['suppressionId']
|
@@ -1160,7 +1159,7 @@ class EmailClient(object):
|
|
1160
1159
|
:rtype: :class:`~oci.response.Response`
|
1161
1160
|
|
1162
1161
|
:example:
|
1163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1162
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_dkim.py.html>`__ to see an example of how to use get_dkim API.
|
1164
1163
|
"""
|
1165
1164
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1166
1165
|
required_arguments = ['dkimId']
|
@@ -1229,6 +1228,97 @@ class EmailClient(object):
|
|
1229
1228
|
api_reference_link=api_reference_link,
|
1230
1229
|
required_arguments=required_arguments)
|
1231
1230
|
|
1231
|
+
def get_email_configuration(self, compartment_id, **kwargs):
|
1232
|
+
"""
|
1233
|
+
Returns email configuration associated with the specified compartment.
|
1234
|
+
|
1235
|
+
|
1236
|
+
:param str compartment_id: (required)
|
1237
|
+
The OCID for the compartment.
|
1238
|
+
|
1239
|
+
:param str opc_request_id: (optional)
|
1240
|
+
The request ID for tracing from the system
|
1241
|
+
|
1242
|
+
:param obj retry_strategy: (optional)
|
1243
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1244
|
+
|
1245
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
1246
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1247
|
+
|
1248
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1249
|
+
|
1250
|
+
:param bool allow_control_chars: (optional)
|
1251
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1252
|
+
By default, the response will not allow control characters in strings
|
1253
|
+
|
1254
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email.models.Configuration`
|
1255
|
+
:rtype: :class:`~oci.response.Response`
|
1256
|
+
|
1257
|
+
:example:
|
1258
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_email_configuration.py.html>`__ to see an example of how to use get_email_configuration API.
|
1259
|
+
"""
|
1260
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1261
|
+
required_arguments = ['compartmentId']
|
1262
|
+
resource_path = "/configuration"
|
1263
|
+
method = "GET"
|
1264
|
+
operation_name = "get_email_configuration"
|
1265
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Configuration/GetEmailConfiguration"
|
1266
|
+
|
1267
|
+
# Don't accept unknown kwargs
|
1268
|
+
expected_kwargs = [
|
1269
|
+
"allow_control_chars",
|
1270
|
+
"retry_strategy",
|
1271
|
+
"opc_request_id"
|
1272
|
+
]
|
1273
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1274
|
+
if extra_kwargs:
|
1275
|
+
raise ValueError(
|
1276
|
+
f"get_email_configuration got unknown kwargs: {extra_kwargs!r}")
|
1277
|
+
|
1278
|
+
query_params = {
|
1279
|
+
"compartmentId": compartment_id
|
1280
|
+
}
|
1281
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1282
|
+
|
1283
|
+
header_params = {
|
1284
|
+
"accept": "application/json",
|
1285
|
+
"content-type": "application/json",
|
1286
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1287
|
+
}
|
1288
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1289
|
+
|
1290
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1291
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1292
|
+
client_retry_strategy=self.retry_strategy
|
1293
|
+
)
|
1294
|
+
|
1295
|
+
if retry_strategy:
|
1296
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1297
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1298
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1299
|
+
return retry_strategy.make_retrying_call(
|
1300
|
+
self.base_client.call_api,
|
1301
|
+
resource_path=resource_path,
|
1302
|
+
method=method,
|
1303
|
+
query_params=query_params,
|
1304
|
+
header_params=header_params,
|
1305
|
+
response_type="Configuration",
|
1306
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1307
|
+
operation_name=operation_name,
|
1308
|
+
api_reference_link=api_reference_link,
|
1309
|
+
required_arguments=required_arguments)
|
1310
|
+
else:
|
1311
|
+
return self.base_client.call_api(
|
1312
|
+
resource_path=resource_path,
|
1313
|
+
method=method,
|
1314
|
+
query_params=query_params,
|
1315
|
+
header_params=header_params,
|
1316
|
+
response_type="Configuration",
|
1317
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1318
|
+
operation_name=operation_name,
|
1319
|
+
api_reference_link=api_reference_link,
|
1320
|
+
required_arguments=required_arguments)
|
1321
|
+
|
1232
1322
|
def get_email_domain(self, email_domain_id, **kwargs):
|
1233
1323
|
"""
|
1234
1324
|
Retrieves the specified email domain.
|
@@ -1258,7 +1348,7 @@ class EmailClient(object):
|
|
1258
1348
|
:rtype: :class:`~oci.response.Response`
|
1259
1349
|
|
1260
1350
|
:example:
|
1261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1351
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_email_domain.py.html>`__ to see an example of how to use get_email_domain API.
|
1262
1352
|
"""
|
1263
1353
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1264
1354
|
required_arguments = ['emailDomainId']
|
@@ -1354,7 +1444,7 @@ class EmailClient(object):
|
|
1354
1444
|
:rtype: :class:`~oci.response.Response`
|
1355
1445
|
|
1356
1446
|
:example:
|
1357
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1447
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_sender.py.html>`__ to see an example of how to use get_sender API.
|
1358
1448
|
"""
|
1359
1449
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1360
1450
|
required_arguments = ['senderId']
|
@@ -1451,7 +1541,7 @@ class EmailClient(object):
|
|
1451
1541
|
:rtype: :class:`~oci.response.Response`
|
1452
1542
|
|
1453
1543
|
:example:
|
1454
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1544
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_suppression.py.html>`__ to see an example of how to use get_suppression API.
|
1455
1545
|
"""
|
1456
1546
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1457
1547
|
required_arguments = ['suppressionId']
|
@@ -1547,7 +1637,7 @@ class EmailClient(object):
|
|
1547
1637
|
:rtype: :class:`~oci.response.Response`
|
1548
1638
|
|
1549
1639
|
:example:
|
1550
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1640
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1551
1641
|
"""
|
1552
1642
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1553
1643
|
required_arguments = ['workRequestId']
|
@@ -1618,7 +1708,7 @@ class EmailClient(object):
|
|
1618
1708
|
|
1619
1709
|
def list_dkims(self, email_domain_id, **kwargs):
|
1620
1710
|
"""
|
1621
|
-
Lists DKIMs for
|
1711
|
+
Lists DKIMs for an email domain.
|
1622
1712
|
|
1623
1713
|
|
1624
1714
|
:param str email_domain_id: (required)
|
@@ -1686,7 +1776,7 @@ class EmailClient(object):
|
|
1686
1776
|
:rtype: :class:`~oci.response.Response`
|
1687
1777
|
|
1688
1778
|
:example:
|
1689
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1779
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_dkims.py.html>`__ to see an example of how to use list_dkims API.
|
1690
1780
|
"""
|
1691
1781
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1692
1782
|
required_arguments = ['emailDomainId']
|
@@ -1853,7 +1943,7 @@ class EmailClient(object):
|
|
1853
1943
|
:rtype: :class:`~oci.response.Response`
|
1854
1944
|
|
1855
1945
|
:example:
|
1856
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
1946
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_email_domains.py.html>`__ to see an example of how to use list_email_domains API.
|
1857
1947
|
"""
|
1858
1948
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1859
1949
|
required_arguments = ['compartmentId']
|
@@ -2017,7 +2107,7 @@ class EmailClient(object):
|
|
2017
2107
|
:rtype: :class:`~oci.response.Response`
|
2018
2108
|
|
2019
2109
|
:example:
|
2020
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2110
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_senders.py.html>`__ to see an example of how to use list_senders API.
|
2021
2111
|
"""
|
2022
2112
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2023
2113
|
required_arguments = ['compartmentId']
|
@@ -2138,20 +2228,24 @@ class EmailClient(object):
|
|
2138
2228
|
returned list (inclusive). Specifying this parameter without the
|
2139
2229
|
corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the
|
2140
2230
|
given `timeCreatedGreaterThanOrEqualTo` to the current time, in \"YYYY-MM-ddThh:mmZ\" format with a
|
2141
|
-
Z offset, as defined by RFC 3339.
|
2231
|
+
Z offset, as defined by `RFC 3339`__.
|
2142
2232
|
|
2143
2233
|
**Example:** 2016-12-19T16:39:57.600Z
|
2144
2234
|
|
2235
|
+
__ https://tools.ietf.org/html/rfc3339
|
2236
|
+
|
2145
2237
|
:param datetime time_created_less_than: (optional)
|
2146
2238
|
Search for suppressions that were created within a specific date range,
|
2147
2239
|
using this parameter to specify the latest creation date for the returned
|
2148
2240
|
list (exclusive). Specifying this parameter without the corresponding
|
2149
2241
|
`timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the
|
2150
2242
|
specified end date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as
|
2151
|
-
defined by RFC 3339.
|
2243
|
+
defined by `RFC 3339`__.
|
2152
2244
|
|
2153
2245
|
**Example:** 2016-12-19T16:39:57.600Z
|
2154
2246
|
|
2247
|
+
__ https://tools.ietf.org/html/rfc3339
|
2248
|
+
|
2155
2249
|
:param str page: (optional)
|
2156
2250
|
For list pagination. The value of the opc-next-page response header from the previous \"List\" call.
|
2157
2251
|
For important details about how pagination works,
|
@@ -2195,7 +2289,7 @@ class EmailClient(object):
|
|
2195
2289
|
:rtype: :class:`~oci.response.Response`
|
2196
2290
|
|
2197
2291
|
:example:
|
2198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2292
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_suppressions.py.html>`__ to see an example of how to use list_suppressions API.
|
2199
2293
|
"""
|
2200
2294
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2201
2295
|
required_arguments = ['compartmentId']
|
@@ -2328,7 +2422,7 @@ class EmailClient(object):
|
|
2328
2422
|
:rtype: :class:`~oci.response.Response`
|
2329
2423
|
|
2330
2424
|
:example:
|
2331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2425
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2332
2426
|
"""
|
2333
2427
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2334
2428
|
required_arguments = ['workRequestId']
|
@@ -2448,7 +2542,7 @@ class EmailClient(object):
|
|
2448
2542
|
:rtype: :class:`~oci.response.Response`
|
2449
2543
|
|
2450
2544
|
:example:
|
2451
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2545
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2452
2546
|
"""
|
2453
2547
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2454
2548
|
required_arguments = ['workRequestId']
|
@@ -2571,7 +2665,7 @@ class EmailClient(object):
|
|
2571
2665
|
:rtype: :class:`~oci.response.Response`
|
2572
2666
|
|
2573
2667
|
:example:
|
2574
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2668
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2575
2669
|
"""
|
2576
2670
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2577
2671
|
required_arguments = ['compartmentId']
|
@@ -2678,7 +2772,7 @@ class EmailClient(object):
|
|
2678
2772
|
:rtype: :class:`~oci.response.Response`
|
2679
2773
|
|
2680
2774
|
:example:
|
2681
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2775
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/update_dkim.py.html>`__ to see an example of how to use update_dkim API.
|
2682
2776
|
"""
|
2683
2777
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2684
2778
|
required_arguments = ['dkimId']
|
@@ -2751,7 +2845,7 @@ class EmailClient(object):
|
|
2751
2845
|
|
2752
2846
|
def update_email_domain(self, email_domain_id, update_email_domain_details, **kwargs):
|
2753
2847
|
"""
|
2754
|
-
Modifies
|
2848
|
+
Modifies an email domain.
|
2755
2849
|
|
2756
2850
|
|
2757
2851
|
:param str email_domain_id: (required)
|
@@ -2786,7 +2880,7 @@ class EmailClient(object):
|
|
2786
2880
|
:rtype: :class:`~oci.response.Response`
|
2787
2881
|
|
2788
2882
|
:example:
|
2789
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2883
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/update_email_domain.py.html>`__ to see an example of how to use update_email_domain API.
|
2790
2884
|
"""
|
2791
2885
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2792
2886
|
required_arguments = ['emailDomainId']
|
@@ -2897,7 +2991,7 @@ class EmailClient(object):
|
|
2897
2991
|
:rtype: :class:`~oci.response.Response`
|
2898
2992
|
|
2899
2993
|
:example:
|
2900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.
|
2994
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/email/update_sender.py.html>`__ to see an example of how to use update_sender API.
|
2901
2995
|
"""
|
2902
2996
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2903
2997
|
required_arguments = ['senderId']
|
oci/email/models/__init__.py
CHANGED
@@ -8,6 +8,7 @@ from __future__ import absolute_import
|
|
8
8
|
|
9
9
|
from .change_email_domain_compartment_details import ChangeEmailDomainCompartmentDetails
|
10
10
|
from .change_sender_compartment_details import ChangeSenderCompartmentDetails
|
11
|
+
from .configuration import Configuration
|
11
12
|
from .create_dkim_details import CreateDkimDetails
|
12
13
|
from .create_email_domain_details import CreateEmailDomainDetails
|
13
14
|
from .create_sender_details import CreateSenderDetails
|
@@ -38,6 +39,7 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
|
|
38
39
|
email_type_mapping = {
|
39
40
|
"ChangeEmailDomainCompartmentDetails": ChangeEmailDomainCompartmentDetails,
|
40
41
|
"ChangeSenderCompartmentDetails": ChangeSenderCompartmentDetails,
|
42
|
+
"Configuration": Configuration,
|
41
43
|
"CreateDkimDetails": CreateDkimDetails,
|
42
44
|
"CreateEmailDomainDetails": CreateEmailDomainDetails,
|
43
45
|
"CreateSenderDetails": CreateSenderDetails,
|
@@ -0,0 +1,138 @@
|
|
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 Configuration(object):
|
14
|
+
"""
|
15
|
+
Tenancy level customer email configuration details.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new Configuration object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param compartment_id:
|
24
|
+
The value to assign to the compartment_id property of this Configuration.
|
25
|
+
:type compartment_id: str
|
26
|
+
|
27
|
+
:param http_submit_endpoint:
|
28
|
+
The value to assign to the http_submit_endpoint property of this Configuration.
|
29
|
+
:type http_submit_endpoint: str
|
30
|
+
|
31
|
+
:param smtp_submit_endpoint:
|
32
|
+
The value to assign to the smtp_submit_endpoint property of this Configuration.
|
33
|
+
:type smtp_submit_endpoint: str
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'compartment_id': 'str',
|
38
|
+
'http_submit_endpoint': 'str',
|
39
|
+
'smtp_submit_endpoint': 'str'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'compartment_id': 'compartmentId',
|
44
|
+
'http_submit_endpoint': 'httpSubmitEndpoint',
|
45
|
+
'smtp_submit_endpoint': 'smtpSubmitEndpoint'
|
46
|
+
}
|
47
|
+
|
48
|
+
self._compartment_id = None
|
49
|
+
self._http_submit_endpoint = None
|
50
|
+
self._smtp_submit_endpoint = None
|
51
|
+
|
52
|
+
@property
|
53
|
+
def compartment_id(self):
|
54
|
+
"""
|
55
|
+
**[Required]** Gets the compartment_id of this Configuration.
|
56
|
+
The root compartment `OCID`__ (same as the tenancy OCID)
|
57
|
+
|
58
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
59
|
+
|
60
|
+
|
61
|
+
:return: The compartment_id of this Configuration.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._compartment_id
|
65
|
+
|
66
|
+
@compartment_id.setter
|
67
|
+
def compartment_id(self, compartment_id):
|
68
|
+
"""
|
69
|
+
Sets the compartment_id of this Configuration.
|
70
|
+
The root compartment `OCID`__ (same as the tenancy OCID)
|
71
|
+
|
72
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
73
|
+
|
74
|
+
|
75
|
+
:param compartment_id: The compartment_id of this Configuration.
|
76
|
+
:type: str
|
77
|
+
"""
|
78
|
+
self._compartment_id = compartment_id
|
79
|
+
|
80
|
+
@property
|
81
|
+
def http_submit_endpoint(self):
|
82
|
+
"""
|
83
|
+
**[Required]** Gets the http_submit_endpoint of this Configuration.
|
84
|
+
Endpoint used to submit emails via the HTTP email submission API
|
85
|
+
|
86
|
+
|
87
|
+
:return: The http_submit_endpoint of this Configuration.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._http_submit_endpoint
|
91
|
+
|
92
|
+
@http_submit_endpoint.setter
|
93
|
+
def http_submit_endpoint(self, http_submit_endpoint):
|
94
|
+
"""
|
95
|
+
Sets the http_submit_endpoint of this Configuration.
|
96
|
+
Endpoint used to submit emails via the HTTP email submission API
|
97
|
+
|
98
|
+
|
99
|
+
:param http_submit_endpoint: The http_submit_endpoint of this Configuration.
|
100
|
+
:type: str
|
101
|
+
"""
|
102
|
+
self._http_submit_endpoint = http_submit_endpoint
|
103
|
+
|
104
|
+
@property
|
105
|
+
def smtp_submit_endpoint(self):
|
106
|
+
"""
|
107
|
+
**[Required]** Gets the smtp_submit_endpoint of this Configuration.
|
108
|
+
Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission.
|
109
|
+
|
110
|
+
|
111
|
+
:return: The smtp_submit_endpoint of this Configuration.
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._smtp_submit_endpoint
|
115
|
+
|
116
|
+
@smtp_submit_endpoint.setter
|
117
|
+
def smtp_submit_endpoint(self, smtp_submit_endpoint):
|
118
|
+
"""
|
119
|
+
Sets the smtp_submit_endpoint of this Configuration.
|
120
|
+
Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission.
|
121
|
+
|
122
|
+
|
123
|
+
:param smtp_submit_endpoint: The smtp_submit_endpoint of this Configuration.
|
124
|
+
:type: str
|
125
|
+
"""
|
126
|
+
self._smtp_submit_endpoint = smtp_submit_endpoint
|
127
|
+
|
128
|
+
def __repr__(self):
|
129
|
+
return formatted_flat_dict(self)
|
130
|
+
|
131
|
+
def __eq__(self, other):
|
132
|
+
if other is None:
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
return not self == other
|
@@ -71,8 +71,8 @@ class CreateDkimDetails(object):
|
|
71
71
|
The DKIM selector. This selector is required to be globally unique for this email domain.
|
72
72
|
If you do not provide the selector, we will generate one for you.
|
73
73
|
If you do provide the selector, we suggest adding a short region indicator
|
74
|
-
to differentiate from your signing of emails in other regions you
|
75
|
-
Selectors limited to ASCII characters
|
74
|
+
to differentiate from your signing of emails in other regions you might be subscribed to.
|
75
|
+
Selectors limited to ASCII characters can use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
76
76
|
Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
|
77
77
|
|
78
78
|
Avoid entering confidential information.
|
@@ -92,8 +92,8 @@ class CreateDkimDetails(object):
|
|
92
92
|
The DKIM selector. This selector is required to be globally unique for this email domain.
|
93
93
|
If you do not provide the selector, we will generate one for you.
|
94
94
|
If you do provide the selector, we suggest adding a short region indicator
|
95
|
-
to differentiate from your signing of emails in other regions you
|
96
|
-
Selectors limited to ASCII characters
|
95
|
+
to differentiate from your signing of emails in other regions you might be subscribed to.
|
96
|
+
Selectors limited to ASCII characters can use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
97
97
|
Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892).
|
98
98
|
|
99
99
|
Avoid entering confidential information.
|
@@ -71,9 +71,11 @@ class CreateEmailDomainDetails(object):
|
|
71
71
|
The email domain name must be unique in the region for this tenancy.
|
72
72
|
Domain names limited to ASCII characters use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
73
73
|
The dash and dot are only allowed between alphanumeric characters.
|
74
|
-
For details,
|
74
|
+
For details, see `RFC 5321, section 4.1.2`__
|
75
75
|
Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
|
76
76
|
|
77
|
+
__ https://tools.ietf.org/html/rfc5321#section-4.1.2
|
78
|
+
|
77
79
|
|
78
80
|
:return: The name of this CreateEmailDomainDetails.
|
79
81
|
:rtype: str
|
@@ -88,9 +90,11 @@ class CreateEmailDomainDetails(object):
|
|
88
90
|
The email domain name must be unique in the region for this tenancy.
|
89
91
|
Domain names limited to ASCII characters use alphanumeric, dash (\"-\"), and dot (\".\") characters.
|
90
92
|
The dash and dot are only allowed between alphanumeric characters.
|
91
|
-
For details,
|
93
|
+
For details, see `RFC 5321, section 4.1.2`__
|
92
94
|
Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892).
|
93
95
|
|
96
|
+
__ https://tools.ietf.org/html/rfc5321#section-4.1.2
|
97
|
+
|
94
98
|
|
95
99
|
:param name: The name of this CreateEmailDomainDetails.
|
96
100
|
:type: str
|