oci 2.124.2__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/models/autonomous_database.py +93 -0
- oci/database/models/autonomous_database_summary.py +93 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +146 -2
- oci/database/models/update_autonomous_database_details.py +93 -0
- 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 +148 -8
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/heat_wave_cluster_usage_metrics.py +340 -0
- oci/database_management/models/heat_wave_fleet_by_category.py +134 -0
- oci/database_management/models/heat_wave_fleet_metric_definition.py +196 -0
- oci/database_management/models/heat_wave_fleet_metric_summary_definition.py +165 -0
- oci/database_management/models/heat_wave_fleet_metrics.py +165 -0
- oci/database_management/models/heat_wave_fleet_summary.py +103 -0
- oci/database_management/models/heat_wave_node.py +154 -0
- oci/database_management/models/managed_my_sql_database.py +250 -2
- oci/database_management/models/my_sql_data_summary.py +64 -2
- oci/database_management/models/my_sql_database_usage_metrics.py +93 -0
- 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 +92 -92
- oci/devops/models/__init__.py +2 -0
- oci/devops/models/create_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/create_repository_details.py +2 -2
- oci/devops/models/deploy_artifact.py +7 -3
- oci/devops/models/deploy_artifact_source.py +4 -0
- oci/devops/models/devops_code_repository_filter.py +2 -2
- oci/devops/models/devops_code_repository_filter_attributes.py +2 -2
- oci/devops/models/diff_summary.py +37 -2
- oci/devops/models/helm_command_spec_artifact_source.py +126 -0
- oci/devops/models/oke_helm_chart_deploy_stage.py +113 -2
- oci/devops/models/oke_helm_chart_deploy_stage_summary.py +109 -0
- oci/devops/models/repository.py +17 -5
- oci/devops/models/repository_author_summary.py +37 -2
- oci/devops/models/repository_branch_summary.py +7 -0
- oci/devops/models/repository_commit_summary.py +37 -2
- oci/devops/models/repository_mirror_record_summary.py +37 -2
- oci/devops/models/repository_path_summary.py +37 -2
- oci/devops/models/repository_ref_summary.py +37 -2
- oci/devops/models/repository_summary.py +2 -2
- oci/devops/models/repository_tag_summary.py +7 -0
- oci/devops/models/update_oke_helm_chart_deploy_stage_details.py +109 -0
- oci/devops/models/update_repository_details.py +2 -2
- 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/logging/models/__init__.py +52 -0
- oci/logging/models/create_unified_agent_configuration_details.py +2 -2
- oci/logging/models/grep_filter_allow_rule.py +103 -0
- oci/logging/models/grep_filter_deny_rule.py +103 -0
- oci/logging/models/operational_metrics_source.py +1 -1
- oci/logging/models/record_transformer_pair.py +103 -0
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_configuration_summary.py +7 -3
- oci/logging/models/unified_agent_cri_parser.py +1 -1
- oci/logging/models/unified_agent_csv_parser.py +1 -1
- oci/logging/models/unified_agent_custom_filter.py +151 -0
- oci/logging/models/unified_agent_custom_plugin_log_source.py +89 -0
- oci/logging/models/unified_agent_custom_section.py +103 -0
- oci/logging/models/unified_agent_grok_parser.py +1 -1
- oci/logging/models/unified_agent_kubernetes_configuration_details.py +132 -0
- oci/logging/models/unified_agent_kubernetes_filter.py +121 -0
- oci/logging/models/unified_agent_kubernetes_scrape_target.py +189 -0
- oci/logging/models/unified_agent_kubernetes_source.py +103 -0
- oci/logging/models/unified_agent_logging_configuration.py +32 -1
- oci/logging/models/unified_agent_logging_filter.py +156 -0
- oci/logging/models/unified_agent_logging_grep_filter.py +121 -0
- oci/logging/models/unified_agent_logging_record_transformer_filter.py +276 -0
- oci/logging/models/unified_agent_logging_source.py +11 -3
- oci/logging/models/unified_agent_monitoring_application_configuration_details.py +117 -0
- oci/logging/models/unified_agent_monitoring_configuration_details.py +82 -0
- oci/logging/models/unified_agent_monitoring_destination.py +103 -0
- oci/logging/models/unified_agent_monitoring_filter.py +140 -0
- oci/logging/models/unified_agent_monitoring_url_source.py +103 -0
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_parser.py +1 -1
- oci/logging/models/unified_agent_none_parser.py +1 -1
- oci/logging/models/unified_agent_openmetrics_parser.py +127 -0
- oci/logging/models/unified_agent_openmetrics_parser_record.py +134 -0
- oci/logging/models/unified_agent_openmetrics_tail_configuration_details.py +109 -0
- oci/logging/models/unified_agent_parser.py +11 -3
- oci/logging/models/unified_agent_parser_filter.py +338 -0
- oci/logging/models/unified_agent_regex_parser.py +1 -1
- oci/logging/models/unified_agent_service_configuration_details.py +11 -3
- oci/logging/models/unified_agent_syslog_parser.py +1 -1
- oci/logging/models/unified_agent_tail_log_source.py +30 -3
- oci/logging/models/unified_agent_tail_source_advanced_options.py +72 -0
- oci/logging/models/unified_agent_tsv_parser.py +1 -1
- oci/logging/models/unified_agent_url_configuration_details.py +132 -0
- oci/logging/models/unified_agent_url_filter.py +120 -0
- oci/logging/models/unified_agent_url_scrape_target.py +103 -0
- oci/logging/models/unified_agent_windows_event_source.py +1 -1
- oci/logging/models/unified_json_parser.py +65 -3
- 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/models/__init__.py +2 -0
- oci/monitoring/models/alarm.py +107 -0
- oci/monitoring/models/alarm_dimension_states_entry.py +35 -0
- oci/monitoring/models/alarm_override.py +304 -0
- oci/monitoring/models/alarm_status_summary.py +35 -0
- oci/monitoring/models/alarm_summary.py +109 -2
- oci/monitoring/models/create_alarm_details.py +109 -2
- oci/monitoring/models/update_alarm_details.py +109 -2
- oci/monitoring/monitoring_client.py +23 -22
- 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/backend.py +3 -3
- oci/network_load_balancer/models/backend_details.py +2 -2
- oci/network_load_balancer/models/backend_set.py +1 -1
- oci/network_load_balancer/models/backend_set_details.py +1 -1
- oci/network_load_balancer/models/backend_set_summary.py +1 -1
- oci/network_load_balancer/models/backend_summary.py +3 -3
- oci/network_load_balancer/models/create_backend_details.py +3 -3
- oci/network_load_balancer/models/create_backend_set_details.py +1 -1
- oci/network_load_balancer/models/create_listener_details.py +7 -9
- oci/network_load_balancer/models/create_network_load_balancer_details.py +144 -6
- oci/network_load_balancer/models/health_checker.py +1 -1
- oci/network_load_balancer/models/health_checker_details.py +1 -1
- oci/network_load_balancer/models/listener.py +6 -8
- oci/network_load_balancer/models/listener_details.py +6 -8
- oci/network_load_balancer/models/listener_summary.py +6 -8
- oci/network_load_balancer/models/network_load_balancer.py +43 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +42 -5
- oci/network_load_balancer/models/update_backend_details.py +4 -4
- oci/network_load_balancer/models/update_backend_set_details.py +1 -1
- oci/network_load_balancer/models/update_listener_details.py +5 -7
- oci/network_load_balancer/models/update_network_load_balancer_details.py +106 -3
- oci/network_load_balancer/models/work_request.py +7 -3
- oci/network_load_balancer/models/work_request_summary.py +7 -3
- oci/network_load_balancer/network_load_balancer_client.py +136 -68
- 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.124.2.dist-info → oci-2.125.1.dist-info}/METADATA +1 -1
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/RECORD +420 -375
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/WHEEL +0 -0
- {oci-2.124.2.dist-info → oci-2.125.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,14 @@
|
|
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: 20220926
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
|
10
|
+
from .email_dp_client import EmailDPClient
|
11
|
+
from .email_dp_client_composite_operations import EmailDPClientCompositeOperations
|
12
|
+
from . import models
|
13
|
+
|
14
|
+
__all__ = ["EmailDPClient", "EmailDPClientCompositeOperations", "models"]
|
@@ -0,0 +1,206 @@
|
|
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: 20220926
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from oci._vendor import requests # noqa: F401
|
10
|
+
from oci._vendor import six
|
11
|
+
|
12
|
+
from oci import retry, circuit_breaker # noqa: F401
|
13
|
+
from oci.base_client import BaseClient
|
14
|
+
from oci.config import get_config_value_or_default, validate_config
|
15
|
+
from oci.signer import Signer
|
16
|
+
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
|
17
|
+
from oci.exceptions import InvalidAlloyConfig
|
18
|
+
from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
|
19
|
+
from .models import email_data_plane_type_mapping
|
20
|
+
missing = Sentinel("Missing")
|
21
|
+
|
22
|
+
|
23
|
+
class EmailDPClient(object):
|
24
|
+
"""
|
25
|
+
Use the Email Delivery API to send high-volume and application-generated emails.
|
26
|
+
For more information, see [Overview of the Email Delivery Service](/iaas/Content/Email/Concepts/overview.htm).
|
27
|
+
"""
|
28
|
+
|
29
|
+
def __init__(self, config, **kwargs):
|
30
|
+
"""
|
31
|
+
Creates a new service client
|
32
|
+
|
33
|
+
:param dict config:
|
34
|
+
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
35
|
+
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
36
|
+
the dict using :py:meth:`~oci.config.validate_config`
|
37
|
+
|
38
|
+
:param str service_endpoint: (optional)
|
39
|
+
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
40
|
+
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
41
|
+
need to specify a service endpoint.
|
42
|
+
|
43
|
+
:param timeout: (optional)
|
44
|
+
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
45
|
+
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
46
|
+
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
47
|
+
:type timeout: float or tuple(float, float)
|
48
|
+
|
49
|
+
:param signer: (optional)
|
50
|
+
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
51
|
+
provided in the config parameter.
|
52
|
+
|
53
|
+
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
54
|
+
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
55
|
+
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
56
|
+
|
57
|
+
:param obj retry_strategy: (optional)
|
58
|
+
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
59
|
+
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
60
|
+
Any value provided at the operation level will override whatever is specified at the client level.
|
61
|
+
|
62
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
63
|
+
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
64
|
+
|
65
|
+
:param obj circuit_breaker_strategy: (optional)
|
66
|
+
A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
|
67
|
+
This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
|
68
|
+
The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
|
69
|
+
|
70
|
+
:param function circuit_breaker_callback: (optional)
|
71
|
+
Callback function to receive any exceptions triggerred by the circuit breaker.
|
72
|
+
|
73
|
+
:param bool client_level_realm_specific_endpoint_template_enabled: (optional)
|
74
|
+
A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
|
75
|
+
|
76
|
+
:param allow_control_chars: (optional)
|
77
|
+
allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
|
78
|
+
allow control characters to be in the response object.
|
79
|
+
"""
|
80
|
+
if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("email_data_plane"):
|
81
|
+
raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
|
82
|
+
|
83
|
+
validate_config(config, signer=kwargs.get('signer'))
|
84
|
+
if 'signer' in kwargs:
|
85
|
+
signer = kwargs['signer']
|
86
|
+
|
87
|
+
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
88
|
+
signer = get_signer_from_authentication_type(config)
|
89
|
+
|
90
|
+
else:
|
91
|
+
signer = Signer(
|
92
|
+
tenancy=config["tenancy"],
|
93
|
+
user=config["user"],
|
94
|
+
fingerprint=config["fingerprint"],
|
95
|
+
private_key_file_location=config.get("key_file"),
|
96
|
+
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
97
|
+
private_key_content=config.get("key_content")
|
98
|
+
)
|
99
|
+
|
100
|
+
base_client_init_kwargs = {
|
101
|
+
'regional_client': True,
|
102
|
+
'service_endpoint': kwargs.get('service_endpoint'),
|
103
|
+
'base_path': '/20220926',
|
104
|
+
'service_endpoint_template': 'https://cell0.submit.email.{region}.oci.{secondLevelDomain}',
|
105
|
+
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
|
106
|
+
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
107
|
+
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
108
|
+
'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
|
109
|
+
}
|
110
|
+
if 'timeout' in kwargs:
|
111
|
+
base_client_init_kwargs['timeout'] = kwargs.get('timeout')
|
112
|
+
if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
|
113
|
+
base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
|
114
|
+
if 'allow_control_chars' in kwargs:
|
115
|
+
base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
|
116
|
+
self.base_client = BaseClient("email_dp", config, signer, email_data_plane_type_mapping, **base_client_init_kwargs)
|
117
|
+
self.retry_strategy = kwargs.get('retry_strategy')
|
118
|
+
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
119
|
+
|
120
|
+
def submit_email(self, submit_email_details, **kwargs):
|
121
|
+
"""
|
122
|
+
Submits a formatted email.
|
123
|
+
|
124
|
+
|
125
|
+
:param oci.email_data_plane.models.SubmitEmailDetails submit_email_details: (required)
|
126
|
+
Parameters for submitEmail API.
|
127
|
+
|
128
|
+
:param str opc_request_id: (optional)
|
129
|
+
The request ID for tracing from the system
|
130
|
+
|
131
|
+
:param obj retry_strategy: (optional)
|
132
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
133
|
+
|
134
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
135
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
136
|
+
|
137
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
138
|
+
|
139
|
+
:param bool allow_control_chars: (optional)
|
140
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
141
|
+
By default, the response will not allow control characters in strings
|
142
|
+
|
143
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.email_data_plane.models.EmailSubmittedResponse`
|
144
|
+
:rtype: :class:`~oci.response.Response`
|
145
|
+
|
146
|
+
:example:
|
147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.125.1/emaildataplane/submit_email.py.html>`__ to see an example of how to use submit_email API.
|
148
|
+
"""
|
149
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
|
+
required_arguments = []
|
151
|
+
resource_path = "/actions/submitEmail"
|
152
|
+
method = "POST"
|
153
|
+
operation_name = "submit_email"
|
154
|
+
api_reference_link = ""
|
155
|
+
|
156
|
+
# Don't accept unknown kwargs
|
157
|
+
expected_kwargs = [
|
158
|
+
"allow_control_chars",
|
159
|
+
"retry_strategy",
|
160
|
+
"opc_request_id"
|
161
|
+
]
|
162
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
163
|
+
if extra_kwargs:
|
164
|
+
raise ValueError(
|
165
|
+
f"submit_email got unknown kwargs: {extra_kwargs!r}")
|
166
|
+
|
167
|
+
header_params = {
|
168
|
+
"accept": "application/json",
|
169
|
+
"content-type": "application/json",
|
170
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
171
|
+
}
|
172
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
173
|
+
|
174
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
175
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
176
|
+
client_retry_strategy=self.retry_strategy
|
177
|
+
)
|
178
|
+
if retry_strategy is None:
|
179
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
180
|
+
|
181
|
+
if retry_strategy:
|
182
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
183
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
184
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
185
|
+
return retry_strategy.make_retrying_call(
|
186
|
+
self.base_client.call_api,
|
187
|
+
resource_path=resource_path,
|
188
|
+
method=method,
|
189
|
+
header_params=header_params,
|
190
|
+
body=submit_email_details,
|
191
|
+
response_type="EmailSubmittedResponse",
|
192
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
193
|
+
operation_name=operation_name,
|
194
|
+
api_reference_link=api_reference_link,
|
195
|
+
required_arguments=required_arguments)
|
196
|
+
else:
|
197
|
+
return self.base_client.call_api(
|
198
|
+
resource_path=resource_path,
|
199
|
+
method=method,
|
200
|
+
header_params=header_params,
|
201
|
+
body=submit_email_details,
|
202
|
+
response_type="EmailSubmittedResponse",
|
203
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
204
|
+
operation_name=operation_name,
|
205
|
+
api_reference_link=api_reference_link,
|
206
|
+
required_arguments=required_arguments)
|
@@ -0,0 +1,26 @@
|
|
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: 20220926
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class EmailDPClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.email_data_plane.EmailDPClient` and offers convenience methods
|
14
|
+
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
+
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
+
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, client, **kwargs):
|
20
|
+
"""
|
21
|
+
Creates a new EmailDPClientCompositeOperations object
|
22
|
+
|
23
|
+
:param EmailDPClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
@@ -0,0 +1,22 @@
|
|
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: 20220926
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from .email_address import EmailAddress
|
10
|
+
from .email_submitted_response import EmailSubmittedResponse
|
11
|
+
from .recipients import Recipients
|
12
|
+
from .sender import Sender
|
13
|
+
from .submit_email_details import SubmitEmailDetails
|
14
|
+
|
15
|
+
# Maps type names to classes for email_data_plane services.
|
16
|
+
email_data_plane_type_mapping = {
|
17
|
+
"EmailAddress": EmailAddress,
|
18
|
+
"EmailSubmittedResponse": EmailSubmittedResponse,
|
19
|
+
"Recipients": Recipients,
|
20
|
+
"Sender": Sender,
|
21
|
+
"SubmitEmailDetails": SubmitEmailDetails
|
22
|
+
}
|
@@ -0,0 +1,107 @@
|
|
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: 20220926
|
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 EmailAddress(object):
|
14
|
+
"""
|
15
|
+
Email address Object that holds display name and email address.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new EmailAddress object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param email:
|
24
|
+
The value to assign to the email property of this EmailAddress.
|
25
|
+
:type email: str
|
26
|
+
|
27
|
+
:param name:
|
28
|
+
The value to assign to the name property of this EmailAddress.
|
29
|
+
:type name: str
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'email': 'str',
|
34
|
+
'name': 'str'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'email': 'email',
|
39
|
+
'name': 'name'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._email = None
|
43
|
+
self._name = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def email(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the email of this EmailAddress.
|
49
|
+
ASCII only email address.
|
50
|
+
|
51
|
+
|
52
|
+
:return: The email of this EmailAddress.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._email
|
56
|
+
|
57
|
+
@email.setter
|
58
|
+
def email(self, email):
|
59
|
+
"""
|
60
|
+
Sets the email of this EmailAddress.
|
61
|
+
ASCII only email address.
|
62
|
+
|
63
|
+
|
64
|
+
:param email: The email of this EmailAddress.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._email = email
|
68
|
+
|
69
|
+
@property
|
70
|
+
def name(self):
|
71
|
+
"""
|
72
|
+
Gets the name of this EmailAddress.
|
73
|
+
Display name for the email address. UTF-8 is supported for display name `RFC 2047`__.
|
74
|
+
|
75
|
+
__ https://www.rfc-editor.org/rfc/rfc2047
|
76
|
+
|
77
|
+
|
78
|
+
:return: The name of this EmailAddress.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._name
|
82
|
+
|
83
|
+
@name.setter
|
84
|
+
def name(self, name):
|
85
|
+
"""
|
86
|
+
Sets the name of this EmailAddress.
|
87
|
+
Display name for the email address. UTF-8 is supported for display name `RFC 2047`__.
|
88
|
+
|
89
|
+
__ https://www.rfc-editor.org/rfc/rfc2047
|
90
|
+
|
91
|
+
|
92
|
+
:param name: The name of this EmailAddress.
|
93
|
+
:type: str
|
94
|
+
"""
|
95
|
+
self._name = name
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
return formatted_flat_dict(self)
|
99
|
+
|
100
|
+
def __eq__(self, other):
|
101
|
+
if other is None:
|
102
|
+
return False
|
103
|
+
|
104
|
+
return self.__dict__ == other.__dict__
|
105
|
+
|
106
|
+
def __ne__(self, other):
|
107
|
+
return not self == other
|
@@ -0,0 +1,136 @@
|
|
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: 20220926
|
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 EmailSubmittedResponse(object):
|
14
|
+
"""
|
15
|
+
Response object that is returned to sender upon successfully submitting the email request.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new EmailSubmittedResponse object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param message_id:
|
24
|
+
The value to assign to the message_id property of this EmailSubmittedResponse.
|
25
|
+
:type message_id: str
|
26
|
+
|
27
|
+
:param envelope_id:
|
28
|
+
The value to assign to the envelope_id property of this EmailSubmittedResponse.
|
29
|
+
:type envelope_id: str
|
30
|
+
|
31
|
+
:param suppressed_recipients:
|
32
|
+
The value to assign to the suppressed_recipients property of this EmailSubmittedResponse.
|
33
|
+
:type suppressed_recipients: list[oci.email_data_plane.models.EmailAddress]
|
34
|
+
|
35
|
+
"""
|
36
|
+
self.swagger_types = {
|
37
|
+
'message_id': 'str',
|
38
|
+
'envelope_id': 'str',
|
39
|
+
'suppressed_recipients': 'list[EmailAddress]'
|
40
|
+
}
|
41
|
+
|
42
|
+
self.attribute_map = {
|
43
|
+
'message_id': 'messageId',
|
44
|
+
'envelope_id': 'envelopeId',
|
45
|
+
'suppressed_recipients': 'suppressedRecipients'
|
46
|
+
}
|
47
|
+
|
48
|
+
self._message_id = None
|
49
|
+
self._envelope_id = None
|
50
|
+
self._suppressed_recipients = None
|
51
|
+
|
52
|
+
@property
|
53
|
+
def message_id(self):
|
54
|
+
"""
|
55
|
+
**[Required]** Gets the message_id of this EmailSubmittedResponse.
|
56
|
+
The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided.
|
57
|
+
Example: sdiofu234qwermls24fd@mail.example.com
|
58
|
+
|
59
|
+
|
60
|
+
:return: The message_id of this EmailSubmittedResponse.
|
61
|
+
:rtype: str
|
62
|
+
"""
|
63
|
+
return self._message_id
|
64
|
+
|
65
|
+
@message_id.setter
|
66
|
+
def message_id(self, message_id):
|
67
|
+
"""
|
68
|
+
Sets the message_id of this EmailSubmittedResponse.
|
69
|
+
The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided.
|
70
|
+
Example: sdiofu234qwermls24fd@mail.example.com
|
71
|
+
|
72
|
+
|
73
|
+
:param message_id: The message_id of this EmailSubmittedResponse.
|
74
|
+
:type: str
|
75
|
+
"""
|
76
|
+
self._message_id = message_id
|
77
|
+
|
78
|
+
@property
|
79
|
+
def envelope_id(self):
|
80
|
+
"""
|
81
|
+
**[Required]** Gets the envelope_id of this EmailSubmittedResponse.
|
82
|
+
Email Delivery generated unique Envelope ID of the email submission. If you need to contact Email Delivery about a particular request, please provide the Envelope ID.
|
83
|
+
|
84
|
+
|
85
|
+
:return: The envelope_id of this EmailSubmittedResponse.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._envelope_id
|
89
|
+
|
90
|
+
@envelope_id.setter
|
91
|
+
def envelope_id(self, envelope_id):
|
92
|
+
"""
|
93
|
+
Sets the envelope_id of this EmailSubmittedResponse.
|
94
|
+
Email Delivery generated unique Envelope ID of the email submission. If you need to contact Email Delivery about a particular request, please provide the Envelope ID.
|
95
|
+
|
96
|
+
|
97
|
+
:param envelope_id: The envelope_id of this EmailSubmittedResponse.
|
98
|
+
:type: str
|
99
|
+
"""
|
100
|
+
self._envelope_id = envelope_id
|
101
|
+
|
102
|
+
@property
|
103
|
+
def suppressed_recipients(self):
|
104
|
+
"""
|
105
|
+
**[Required]** Gets the suppressed_recipients of this EmailSubmittedResponse.
|
106
|
+
Return list of suppressed email addresses.
|
107
|
+
|
108
|
+
|
109
|
+
:return: The suppressed_recipients of this EmailSubmittedResponse.
|
110
|
+
:rtype: list[oci.email_data_plane.models.EmailAddress]
|
111
|
+
"""
|
112
|
+
return self._suppressed_recipients
|
113
|
+
|
114
|
+
@suppressed_recipients.setter
|
115
|
+
def suppressed_recipients(self, suppressed_recipients):
|
116
|
+
"""
|
117
|
+
Sets the suppressed_recipients of this EmailSubmittedResponse.
|
118
|
+
Return list of suppressed email addresses.
|
119
|
+
|
120
|
+
|
121
|
+
:param suppressed_recipients: The suppressed_recipients of this EmailSubmittedResponse.
|
122
|
+
:type: list[oci.email_data_plane.models.EmailAddress]
|
123
|
+
"""
|
124
|
+
self._suppressed_recipients = suppressed_recipients
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
return formatted_flat_dict(self)
|
128
|
+
|
129
|
+
def __eq__(self, other):
|
130
|
+
if other is None:
|
131
|
+
return False
|
132
|
+
|
133
|
+
return self.__dict__ == other.__dict__
|
134
|
+
|
135
|
+
def __ne__(self, other):
|
136
|
+
return not self == other
|
@@ -0,0 +1,135 @@
|
|
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: 20220926
|
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 Recipients(object):
|
14
|
+
"""
|
15
|
+
The destination for the email, composed of To, CC, and BCC fields.
|
16
|
+
NOTE: At least one of To, CC, and BCC must be provided. And max 50 recipients are allowed across the To:, CC: and BCC: fields.
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, **kwargs):
|
20
|
+
"""
|
21
|
+
Initializes a new Recipients object with values from keyword arguments.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param to:
|
25
|
+
The value to assign to the to property of this Recipients.
|
26
|
+
:type to: list[oci.email_data_plane.models.EmailAddress]
|
27
|
+
|
28
|
+
:param cc:
|
29
|
+
The value to assign to the cc property of this Recipients.
|
30
|
+
:type cc: list[oci.email_data_plane.models.EmailAddress]
|
31
|
+
|
32
|
+
:param bcc:
|
33
|
+
The value to assign to the bcc property of this Recipients.
|
34
|
+
:type bcc: list[oci.email_data_plane.models.EmailAddress]
|
35
|
+
|
36
|
+
"""
|
37
|
+
self.swagger_types = {
|
38
|
+
'to': 'list[EmailAddress]',
|
39
|
+
'cc': 'list[EmailAddress]',
|
40
|
+
'bcc': 'list[EmailAddress]'
|
41
|
+
}
|
42
|
+
|
43
|
+
self.attribute_map = {
|
44
|
+
'to': 'to',
|
45
|
+
'cc': 'cc',
|
46
|
+
'bcc': 'bcc'
|
47
|
+
}
|
48
|
+
|
49
|
+
self._to = None
|
50
|
+
self._cc = None
|
51
|
+
self._bcc = None
|
52
|
+
|
53
|
+
@property
|
54
|
+
def to(self):
|
55
|
+
"""
|
56
|
+
Gets the to of this Recipients.
|
57
|
+
Array of To address.
|
58
|
+
|
59
|
+
|
60
|
+
:return: The to of this Recipients.
|
61
|
+
:rtype: list[oci.email_data_plane.models.EmailAddress]
|
62
|
+
"""
|
63
|
+
return self._to
|
64
|
+
|
65
|
+
@to.setter
|
66
|
+
def to(self, to):
|
67
|
+
"""
|
68
|
+
Sets the to of this Recipients.
|
69
|
+
Array of To address.
|
70
|
+
|
71
|
+
|
72
|
+
:param to: The to of this Recipients.
|
73
|
+
:type: list[oci.email_data_plane.models.EmailAddress]
|
74
|
+
"""
|
75
|
+
self._to = to
|
76
|
+
|
77
|
+
@property
|
78
|
+
def cc(self):
|
79
|
+
"""
|
80
|
+
Gets the cc of this Recipients.
|
81
|
+
Array of CC address.
|
82
|
+
|
83
|
+
|
84
|
+
:return: The cc of this Recipients.
|
85
|
+
:rtype: list[oci.email_data_plane.models.EmailAddress]
|
86
|
+
"""
|
87
|
+
return self._cc
|
88
|
+
|
89
|
+
@cc.setter
|
90
|
+
def cc(self, cc):
|
91
|
+
"""
|
92
|
+
Sets the cc of this Recipients.
|
93
|
+
Array of CC address.
|
94
|
+
|
95
|
+
|
96
|
+
:param cc: The cc of this Recipients.
|
97
|
+
:type: list[oci.email_data_plane.models.EmailAddress]
|
98
|
+
"""
|
99
|
+
self._cc = cc
|
100
|
+
|
101
|
+
@property
|
102
|
+
def bcc(self):
|
103
|
+
"""
|
104
|
+
Gets the bcc of this Recipients.
|
105
|
+
Array of BCC address. Bcc headers can only be viewed by non bcc recipients.
|
106
|
+
|
107
|
+
|
108
|
+
:return: The bcc of this Recipients.
|
109
|
+
:rtype: list[oci.email_data_plane.models.EmailAddress]
|
110
|
+
"""
|
111
|
+
return self._bcc
|
112
|
+
|
113
|
+
@bcc.setter
|
114
|
+
def bcc(self, bcc):
|
115
|
+
"""
|
116
|
+
Sets the bcc of this Recipients.
|
117
|
+
Array of BCC address. Bcc headers can only be viewed by non bcc recipients.
|
118
|
+
|
119
|
+
|
120
|
+
:param bcc: The bcc of this Recipients.
|
121
|
+
:type: list[oci.email_data_plane.models.EmailAddress]
|
122
|
+
"""
|
123
|
+
self._bcc = bcc
|
124
|
+
|
125
|
+
def __repr__(self):
|
126
|
+
return formatted_flat_dict(self)
|
127
|
+
|
128
|
+
def __eq__(self, other):
|
129
|
+
if other is None:
|
130
|
+
return False
|
131
|
+
|
132
|
+
return self.__dict__ == other.__dict__
|
133
|
+
|
134
|
+
def __ne__(self, other):
|
135
|
+
return not self == other
|