volcengine-python-sdk 4.0.17__py2.py3-none-any.whl → 4.0.19__py2.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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/RECORD +497 -244
- volcenginesdkalb/__init__.py +43 -0
- volcenginesdkalb/models/__init__.py +43 -0
- volcenginesdkalb/models/clone_load_balancer_request.py +1 -1
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_redirect_config_for_create_rules_input.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_modify_rules_input.py +227 -0
- volcenginesdkalb/models/convert_rewrite_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/create_listener_request.py +105 -1
- volcenginesdkalb/models/create_load_balancer_request.py +27 -1
- volcenginesdkalb/models/create_server_group_request.py +27 -1
- volcenginesdkalb/models/describe_listener_attributes_response.py +105 -1
- volcenginesdkalb/models/describe_server_group_attributes_response.py +27 -1
- volcenginesdkalb/models/domain_extension_for_create_listener_input.py +29 -3
- volcenginesdkalb/models/domain_extension_for_describe_listener_attributes_output.py +27 -1
- volcenginesdkalb/models/domain_extension_for_describe_listeners_output.py +29 -3
- volcenginesdkalb/models/domain_extension_for_modify_listener_attributes_input.py +29 -3
- volcenginesdkalb/models/fixed_response_config_for_create_rules_input.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_describe_rules_output.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_modify_rules_input.py +175 -0
- volcenginesdkalb/models/header_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/header_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/header_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/health_check_for_create_server_group_input.py +2 -3
- volcenginesdkalb/models/health_check_for_modify_server_group_attributes_input.py +2 -3
- volcenginesdkalb/models/health_check_templates_tag_for_create_health_check_templates_input.py +2 -3
- volcenginesdkalb/models/host_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/host_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/host_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/listener_for_describe_listeners_output.py +105 -1
- volcenginesdkalb/models/method_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/method_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/method_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/modify_listener_attributes_request.py +105 -1
- volcenginesdkalb/models/modify_server_group_attributes_request.py +27 -1
- volcenginesdkalb/models/path_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/path_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/path_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/query_string_config_for_modify_rules_input.py +123 -0
- volcenginesdkapig/models/tag_for_create_gateway_input.py → volcenginesdkalb/models/query_string_config_value_for_create_rules_input.py +14 -14
- volcenginesdkapig/models/tag_for_create_upstream_input.py → volcenginesdkalb/models/query_string_config_value_for_modify_rules_input.py +14 -14
- volcenginesdkalb/models/rule_action_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_condition_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_for_create_rules_input.py +85 -1
- volcenginesdkalb/models/rule_for_describe_rules_output.py +79 -1
- volcenginesdkalb/models/rule_for_modify_rules_input.py +85 -1
- volcenginesdkalb/models/rules_rule_action_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_action_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/server_group_for_describe_server_groups_output.py +27 -1
- volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +123 -0
- volcenginesdkapig/__init__.py +52 -10
- volcenginesdkapig/api/apig_api.py +1489 -228
- volcenginesdkapig/models/__init__.py +52 -10
- volcenginesdkapig/models/apm_trace_spec_for_create_gateway_input.py +123 -0
- volcenginesdkapig/models/apm_trace_spec_for_get_gateway_output.py +95 -0
- volcenginesdkapig/models/apm_trace_spec_for_list_gateways_output.py +95 -0
- volcenginesdkapig/models/apm_trace_spec_for_update_gateway_trace_input.py +123 -0
- volcenginesdkapig/models/attach_gateway_lb_request.py +150 -0
- volcenginesdkapig/models/{tag_for_list_gateways_input.py → attach_gateway_lb_response.py} +20 -46
- volcenginesdkapig/models/create_custom_domain_request.py +255 -0
- volcenginesdkapig/models/create_custom_domain_response.py +123 -0
- volcenginesdkapig/models/create_gateway_request.py +17 -43
- volcenginesdkapig/models/create_upstream_request.py +1 -53
- volcenginesdklivesaas/models/update_activity_menu_api_request.py → volcenginesdkapig/models/create_upstream_version_request.py +40 -40
- volcenginesdkapig/models/create_upstream_version_response.py +149 -0
- volcenginesdkapig/models/custom_domain_for_get_custom_domain_output.py +357 -0
- volcenginesdkapig/models/delete_custom_domain_request.py +124 -0
- volcenginesdkapig/models/delete_custom_domain_response.py +95 -0
- volcenginesdkapig/models/delete_gateway_request.py +1 -27
- volcenginesdkapig/models/delete_upstream_version_request.py +151 -0
- volcenginesdkapig/models/delete_upstream_version_response.py +95 -0
- volcenginesdkapig20221112/models/tag_for_get_route_output.py → volcenginesdkapig/models/detach_gateway_lb_request.py +22 -47
- volcenginesdkapig/models/detach_gateway_lb_response.py +95 -0
- volcenginesdkapig/models/domain_spec_for_get_gateway_service_output.py +123 -0
- volcenginesdkapig/models/domain_spec_for_list_gateway_services_output.py +123 -0
- volcenginesdkapig/models/domain_spec_for_update_gateway_service_input.py +123 -0
- volcenginesdkapig/models/filter_for_list_gateways_input.py +1 -27
- volcenginesdkapig/models/gateway_for_get_gateway_output.py +17 -43
- volcenginesdkapig/models/gateway_service_for_get_gateway_service_output.py +29 -29
- volcenginesdkapig20221112/models/tag_for_list_routes_output.py → volcenginesdkapig/models/get_custom_domain_request.py +22 -47
- volcenginesdkapig/models/get_custom_domain_response.py +123 -0
- volcenginesdkapig/models/get_jwt_token_request.py +123 -0
- volcenginesdkapig/models/get_jwt_token_response.py +123 -0
- volcenginesdkapig/models/imported_clb_spec_for_attach_gateway_lb_input.py +149 -0
- volcenginesdkapig/models/imported_clb_spec_for_list_gateway_lbs_output.py +201 -0
- volcenginesdkapig/models/ip_list_for_list_gateway_lbs_output.py +149 -0
- volcenginesdkapig/models/item_for_list_custom_domains_output.py +357 -0
- volcenginesdkapig/models/item_for_list_gateway_lbs_output.py +305 -0
- volcenginesdkapig/models/item_for_list_gateway_services_output.py +29 -29
- volcenginesdkapig/models/item_for_list_gateways_output.py +27 -1
- volcenginesdkapig/models/item_for_list_upstreams_output.py +1 -53
- volcenginesdkapig/models/{tag_for_list_gateway_services_output.py → label_for_create_upstream_version_input.py} +13 -13
- volcenginesdkapig/models/{tag_for_get_gateway_service_output.py → label_for_update_upstream_version_input.py} +13 -13
- volcenginesdkapig/models/list_custom_domains_request.py +201 -0
- volcenginesdkapig/models/list_custom_domains_response.py +149 -0
- volcenginesdkapig/models/list_gateway_lbs_request.py +124 -0
- volcenginesdkapig/models/list_gateway_lbs_response.py +149 -0
- volcenginesdkapig/models/list_upstreams_request.py +1 -27
- volcenginesdkapig/models/port_for_list_gateway_lbs_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_create_gateway_input.py +201 -0
- volcenginesdkapig/models/tls_trace_spec_for_get_gateway_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_list_gateways_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_update_gateway_trace_input.py +201 -0
- volcenginesdkapig/models/trace_spec_for_create_gateway_input.py +201 -0
- volcenginesdkapig/models/trace_spec_for_get_gateway_output.py +201 -0
- volcenginesdkapig/models/trace_spec_for_list_gateways_output.py +201 -0
- volcenginesdkapig/models/trace_spec_for_update_gateway_trace_input.py +201 -0
- volcenginesdkapig/models/update_custom_domain_request.py +228 -0
- volcenginesdkapig/models/update_custom_domain_response.py +123 -0
- volcenginesdkapig/models/update_gateway_service_request.py +27 -1
- volcenginesdkapig/models/update_gateway_trace_request.py +150 -0
- volcenginesdkapig/models/update_gateway_trace_response.py +123 -0
- volcenginesdkapig/models/update_upstream_version_request.py +150 -0
- volcenginesdkapig/models/update_upstream_version_response.py +149 -0
- volcenginesdkapig/models/upstream_for_get_upstream_output.py +1 -53
- volcenginesdklivesaas/models/menu_for_update_activity_menu_api_input.py → volcenginesdkapig/models/upstream_version_for_create_upstream_version_input.py +43 -43
- volcenginesdkapig/models/upstream_version_for_update_upstream_version_input.py +175 -0
- volcenginesdkapig20221112/__init__.py +12 -3
- volcenginesdkapig20221112/models/__init__.py +12 -3
- volcenginesdkapig/models/tag_for_list_upstreams_output.py → volcenginesdkapig20221112/models/allow_origin_for_create_route_input.py +25 -25
- volcenginesdkapig20221112/models/{tag_for_create_route_input.py → allow_origin_for_get_route_output.py} +24 -24
- volcenginesdkapig20221112/models/allow_origin_for_list_routes_output.py +149 -0
- volcenginesdkapig20221112/models/allow_origin_for_update_route_input.py +149 -0
- volcenginesdkapig20221112/models/cors_policy_setting_for_create_route_input.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_get_route_output.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_list_routes_output.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_update_route_input.py +159 -3
- volcenginesdkapig20221112/models/create_route_request.py +27 -53
- volcenginesdkapig20221112/models/fallback_setting_for_create_route_input.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_get_route_output.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_list_routes_output.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_update_route_input.py +175 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_create_route_input.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_get_route_output.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_list_routes_output.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_update_route_input.py +201 -0
- volcenginesdkapig20221112/models/header_operation_for_create_route_input.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_get_route_output.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_list_routes_output.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_update_route_input.py +1 -27
- volcenginesdkapig20221112/models/item_for_list_routes_output.py +27 -53
- volcenginesdkapig20221112/models/list_routes_request.py +1 -27
- volcenginesdkapig20221112/models/route_for_get_route_output.py +27 -53
- volcenginesdkapig20221112/models/update_route_request.py +27 -1
- volcenginesdkarkruntime/resources/images/images.py +178 -4
- volcenginesdkarkruntime/types/images/__init__.py +3 -2
- volcenginesdkarkruntime/types/images/image_gen_completed_event.py +51 -0
- volcenginesdkarkruntime/types/images/image_gen_generating_event.py +53 -0
- volcenginesdkarkruntime/types/images/image_gen_stream_event.py +24 -0
- volcenginesdkarkruntime/types/images/images.py +6 -2
- volcenginesdkarkruntime/types/responses/mcp_input_item_param.py +109 -0
- volcenginesdkarkruntime/types/responses/mcp_tool.py +80 -0
- volcenginesdkarkruntime/types/responses/mcp_tool_param.py +78 -0
- volcenginesdkarkruntime/types/responses/response_create_params.py +2 -1
- volcenginesdkarkruntime/types/responses/response_input_param.py +5 -0
- volcenginesdkarkruntime/types/responses/response_item.py +4 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_delta_event.py +37 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_done_event.py +34 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_completed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_failed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_in_progress_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_item.py +110 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_completed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_failed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_in_progress_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_output_item.py +4 -0
- volcenginesdkarkruntime/types/responses/response_stream_event.py +18 -0
- volcenginesdkarkruntime/types/responses/response_tool_usage.py +32 -0
- volcenginesdkarkruntime/types/responses/response_usage.py +7 -0
- volcenginesdkarkruntime/types/responses/tool.py +3 -1
- volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +29 -0
- volcenginesdkarkruntime/types/responses/tool_param.py +2 -1
- volcenginesdkarkruntime/types/responses/web_search_tool.py +49 -0
- volcenginesdkarkruntime/types/responses/web_search_tool_param.py +1 -1
- volcenginesdkcen/__init__.py +9 -0
- volcenginesdkcen/api/cen_api.py +388 -0
- volcenginesdkcen/models/__init__.py +9 -0
- volcenginesdkcen/models/associate_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/attach_instance_to_cen_response.py +1 -29
- volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
- volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +50 -24
- volcenginesdkcen/models/create_cen_bandwidth_package_request.py +27 -1
- volcenginesdkcen/models/create_cen_bandwidth_package_response.py +3 -29
- volcenginesdkcen/models/create_cen_inter_region_bandwidth_request.py +27 -1
- volcenginesdkcen/models/create_cen_inter_region_bandwidth_response.py +3 -29
- volcenginesdkcen/models/create_cen_request.py +3 -0
- volcenginesdkcen/models/create_cen_response.py +3 -29
- volcenginesdkcen/models/create_cen_service_route_entry_response.py +1 -29
- volcenginesdkcen/models/create_cen_summary_route_entry_response.py +1 -29
- volcenginesdkcen/models/delete_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/delete_cen_inter_region_bandwidth_response.py +1 -29
- volcenginesdkcen/models/delete_cen_response.py +1 -29
- volcenginesdkcen/models/delete_cen_service_route_entry_response.py +1 -29
- volcenginesdkcen/models/delete_cen_summary_route_entry_response.py +1 -29
- volcenginesdkcen/models/describe_cen_attached_instance_attributes_response.py +27 -27
- volcenginesdkcen/models/describe_cen_attached_instances_response.py +1 -27
- volcenginesdkcen/models/describe_cen_attributes_response.py +1 -27
- volcenginesdkcen/models/describe_cen_bandwidth_package_attributes_response.py +41 -41
- volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
- volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
- volcenginesdkcen/models/describe_cen_bandwidth_packages_response.py +1 -27
- volcenginesdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +1 -27
- volcenginesdkcen/models/describe_cen_inter_region_bandwidths_response.py +1 -27
- volcenginesdkcen/models/describe_cen_route_entries_response.py +1 -27
- volcenginesdkcen/models/describe_cen_summary_route_entries_response.py +1 -27
- volcenginesdkcen/models/describe_cens_response.py +1 -27
- volcenginesdkcen/models/describe_grant_rules_to_cen_response.py +1 -27
- volcenginesdkcen/models/describe_instance_granted_rules_response.py +1 -27
- volcenginesdkcen/models/detach_instance_from_cen_response.py +1 -29
- volcenginesdkcen/models/disassociate_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/grant_instance_to_cen_response.py +1 -29
- volcenginesdkcen/models/list_tags_for_resources_response.py +1 -27
- volcenginesdkcen/models/modify_cen_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
- volcenginesdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
- volcenginesdkcen/models/modify_cen_bandwidth_package_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +27 -1
- volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_service_route_entry_attributes_response.py +1 -29
- volcenginesdkcen/models/publish_cen_route_entry_response.py +1 -29
- volcenginesdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
- volcenginesdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
- volcenginesdkcen/models/revoke_instance_from_cen_response.py +1 -29
- volcenginesdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
- volcenginesdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
- volcenginesdkcen/models/tag_filter_for_describe_cens_input.py +15 -15
- volcenginesdkcen/models/tag_resources_response.py +1 -29
- volcenginesdkcen/models/untag_resources_response.py +1 -29
- volcenginesdkcen/models/withdraw_cen_route_entry_response.py +1 -29
- volcenginesdkclb/__init__.py +2 -0
- volcenginesdkclb/api/clb_api.py +97 -0
- volcenginesdkclb/models/__init__.py +2 -0
- volcenginesdkclb/models/certificate_for_describe_nlb_listener_certificates_output.py +27 -1
- volcenginesdkclb/models/create_nlb_listener_request.py +157 -1
- volcenginesdkclb/models/describe_certificates_response.py +1 -53
- volcenginesdkclb/models/describe_load_balancers_request.py +53 -1
- volcenginesdkclb/models/describe_load_balancers_response.py +1 -27
- volcenginesdkclb/models/describe_nlb_listener_attributes_response.py +131 -1
- volcenginesdkclb/models/describe_nlb_listener_certificates_request.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_group_attributes_response.py +1 -27
- volcenginesdkclb/models/modify_nlb_listener_additional_certificates_request.py +202 -0
- volcenginesdkclb/models/modify_nlb_listener_additional_certificates_response.py +123 -0
- volcenginesdkclb/models/modify_nlb_listener_attributes_request.py +157 -1
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/__init__.py +45 -6
- volcenginesdkdirectconnect/api/directconnect_api.py +2015 -366
- volcenginesdkdirectconnect/models/__init__.py +45 -4
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_request.py +560 -0
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_response.py +149 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_request.py +151 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_response.py +123 -0
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_request.py +175 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_request.py +255 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_request.py +496 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_virtual_interface_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_response.py +123 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_gateways_request.py +27 -1
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_request.py +331 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_virtual_interface_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/direct_connect_traffic_qos_rule_for_describe_direct_connect_traffic_qos_rules_output.py +513 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_request.py +254 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkdirectconnect/models/models.py +592 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_request.py +151 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_virtual_interface_attributes_request.py +27 -1
- volcenginesdkdirectconnect/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkdirectconnect/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_allocate_direct_connect_virtual_interface_input.py +149 -0
- volcenginesdkapig/models/tag_for_get_upstream_output.py → volcenginesdkdirectconnect/models/tag_for_tag_resources_input.py +17 -16
- volcenginesdkdirectconnect/models/tag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/tag_resources_response.py +95 -0
- volcenginesdkdirectconnect/models/untag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/untag_resources_response.py +95 -0
- volcenginesdkgraph20250815/models/get_table_response.py +29 -29
- volcenginesdklivesaas/__init__.py +0 -3
- volcenginesdklivesaas/api/livesaas_api.py +0 -97
- volcenginesdklivesaas/models/__init__.py +0 -3
- volcenginesdklivesaas/models/task_award_record_list_for_get_task_award_record_statistics_api_output.py +27 -1
- volcenginesdklivesaas20230801/models/award_record_for_list_award_record_statistics_output.py +27 -1
- volcenginesdklivesaas20230801/models/robot_comment_for_list_robot_comments_output.py +1 -1
- volcenginesdkmlplatform20240701/__init__.py +31 -0
- volcenginesdkmlplatform20240701/api/ml_platform20240701_api.py +194 -0
- volcenginesdkmlplatform20240701/models/__init__.py +31 -0
- volcenginesdkmlplatform20240701/models/allocated_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/available_resource_for_list_resource_reservation_plan_available_resources_output.py +149 -0
- volcenginesdkmlplatform20240701/models/compute_resource_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/compute_resource_for_list_resource_reservation_plan_available_resources_input.py +201 -0
- volcenginesdkmlplatform20240701/models/config_for_create_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_job_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_deployment_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_dev_instance_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_job_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_list_dev_instances_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/create_dev_instance_request.py +87 -4
- volcenginesdkmlplatform20240701/models/create_job_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_group_request.py +59 -1
- volcenginesdkmlplatform20240701/models/create_resource_queue_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_reservation_plan_request.py +87 -3
- volcenginesdkmlplatform20240701/models/create_service_request.py +33 -1
- volcenginesdkmlplatform20240701/models/delivered_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_get_resource_reservation_plan_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_plans_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/get_deployment_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_dev_instance_response.py +79 -1
- volcenginesdkmlplatform20240701/models/get_job_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_group_response.py +53 -1
- volcenginesdkmlplatform20240701/models/get_resource_queue_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_reservation_plan_response.py +81 -3
- volcenginesdkmlplatform20240701/models/get_service_response.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_jobs_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_groups_output.py +53 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_queues_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_reservation_plans_output.py +81 -3
- volcenginesdkmlplatform20240701/models/list_dev_instances_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_for_list_dev_instances_output.py +79 -1
- volcenginesdkmlplatform20240701/models/list_jobs_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_claim_options_request.py +27 -1
- volcenginesdkmlplatform20240701/models/list_resource_groups_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_queues_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_request.py +243 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_response.py +123 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plans_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_services_request.py +33 -1
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/reservation_config_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/reservation_config_for_get_resource_reservation_plan_output.py +29 -3
- volcenginesdkmlplatform20240701/models/reservation_config_for_list_resource_reservation_plans_output.py +29 -3
- volcenginesdkmlplatform20240701/models/resource_segment_for_get_resource_reservation_plan_output.py +175 -0
- volcenginesdkmlplatform20240701/models/resource_segment_for_list_resource_reservation_plans_output.py +175 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_create_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_get_resource_reservation_plan_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_list_resource_reservation_plans_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_update_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/segment_for_list_resource_reservation_plan_available_resources_output.py +175 -0
- volcenginesdkmlplatform20240701/models/sign_jwt_token_request.py +151 -0
- volcenginesdklivesaas/models/update_activity_menu_api_response.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_response.py +23 -23
- volcenginesdkmlplatform20240701/models/update_dev_instance_request.py +53 -1
- volcenginesdkmlplatform20240701/models/update_resource_reservation_plan_request.py +55 -3
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdktransitrouter/__init__.py +49 -6
- volcenginesdktransitrouter/api/transitrouter_api.py +2318 -572
- volcenginesdktransitrouter/models/__init__.py +49 -4
- volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_request.py +178 -0
- volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_bandwidth_package_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_flow_log_request.py +388 -0
- volcenginesdktransitrouter/models/create_transit_router_flow_log_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_forward_policy_entry_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_multicast_domain_request.py +228 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_domain_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_request.py +204 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_request.py +204 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_route_policy_entry_request.py +27 -1
- volcenginesdktransitrouter/models/delete_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/delete_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_request.py +124 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_response.py +95 -0
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_request.py +386 -0
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_forward_policy_entries_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_request.py +279 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_response.py +201 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_request.py +254 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_response.py +201 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_request.py +435 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_request.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_response.py +55 -3
- volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_request.py +178 -0
- volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/models.py +2198 -2208
- volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_request.py +202 -0
- volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_response.py +95 -0
- volcenginesdktransitrouter/models/modify_transit_router_forward_policy_entry_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_request.py +176 -0
- volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_response.py +95 -0
- volcenginesdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/start_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/start_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/stop_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/stop_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_flow_logs_input.py +149 -0
- volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_multicast_domains_input.py +149 -0
- volcenginesdkapig/models/tag_for_get_gateway_output.py → volcenginesdktransitrouter/models/tag_for_create_transit_router_flow_log_input.py +14 -14
- volcenginesdktransitrouter/models/tag_for_create_transit_router_multicast_domain_input.py +149 -0
- volcenginesdktransitrouter/models/tag_for_describe_transit_router_multicast_domains_output.py +149 -0
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_flow_log_for_describe_transit_router_flow_logs_output.py +513 -0
- volcenginesdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_multicast_domains_for_describe_transit_router_multicast_domains_output.py +279 -0
- volcenginesdktransitrouter/models/transit_router_multicast_group_for_describe_transit_router_multicast_groups_output.py +487 -0
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +485 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/background_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/clip_audio_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/clip_video_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_speaker_request.py +205 -0
- volcenginesdkvod20250101/models/create_ai_translation_speaker_response.py +149 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_response.py +95 -0
- volcenginesdkvod20250101/models/erased_subtitle_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/facial_translation_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/foreground_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/input_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/list_ai_translation_speech_request.py +178 -0
- volcenginesdkvod20250101/models/list_ai_translation_speech_response.py +149 -0
- volcenginesdkvod20250101/models/output_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/output_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/output_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preset_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/preview_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preview_video_muted_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/project_base_info_for_create_ai_translation_speaker_output.py +149 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +53 -1
- volcenginesdkvod20250101/models/speaker_for_create_ai_translation_speaker_output.py +227 -0
- volcenginesdkvod20250101/models/speaker_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/speaker_for_update_ai_translation_speakers_input.py +29 -3
- volcenginesdkvod20250101/models/speech_for_create_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/speech_for_update_ai_translation_speeches_input.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_request.py +150 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_response.py +95 -0
- volcenginesdkvod20250101/models/user_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/voice_translation_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkapig/models/backend_spec_for_create_gateway_input.py +0 -149
- volcenginesdkapig/models/backend_spec_for_get_gateway_output.py +0 -149
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.19.dist-info}/top_level.txt +0 -0
|
@@ -33,6 +33,103 @@ class APIGApi(object):
|
|
|
33
33
|
api_client = volcenginesdkcore.ApiClient()
|
|
34
34
|
self.api_client = api_client
|
|
35
35
|
|
|
36
|
+
def attach_gateway_lb(self, body, **kwargs): # noqa: E501
|
|
37
|
+
"""attach_gateway_lb # noqa: E501
|
|
38
|
+
|
|
39
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
40
|
+
asynchronous HTTP request, please pass async_req=True
|
|
41
|
+
>>> thread = api.attach_gateway_lb(body, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param AttachGatewayLBRequest body: (required)
|
|
46
|
+
:return: AttachGatewayLBResponse
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.attach_gateway_lb_with_http_info(body, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.attach_gateway_lb_with_http_info(body, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def attach_gateway_lb_with_http_info(self, body, **kwargs): # noqa: E501
|
|
58
|
+
"""attach_gateway_lb # noqa: E501
|
|
59
|
+
|
|
60
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
+
asynchronous HTTP request, please pass async_req=True
|
|
62
|
+
>>> thread = api.attach_gateway_lb_with_http_info(body, async_req=True)
|
|
63
|
+
>>> result = thread.get()
|
|
64
|
+
|
|
65
|
+
:param async_req bool
|
|
66
|
+
:param AttachGatewayLBRequest body: (required)
|
|
67
|
+
:return: AttachGatewayLBResponse
|
|
68
|
+
If the method is called asynchronously,
|
|
69
|
+
returns the request thread.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
all_params = ['body'] # noqa: E501
|
|
73
|
+
all_params.append('async_req')
|
|
74
|
+
all_params.append('_return_http_data_only')
|
|
75
|
+
all_params.append('_preload_content')
|
|
76
|
+
all_params.append('_request_timeout')
|
|
77
|
+
|
|
78
|
+
params = locals()
|
|
79
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
80
|
+
if key not in all_params:
|
|
81
|
+
raise TypeError(
|
|
82
|
+
"Got an unexpected keyword argument '%s'"
|
|
83
|
+
" to method attach_gateway_lb" % key
|
|
84
|
+
)
|
|
85
|
+
params[key] = val
|
|
86
|
+
del params['kwargs']
|
|
87
|
+
# verify the required parameter 'body' is set
|
|
88
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
89
|
+
params['body'] is None): # noqa: E501
|
|
90
|
+
raise ValueError("Missing the required parameter `body` when calling `attach_gateway_lb`") # noqa: E501
|
|
91
|
+
|
|
92
|
+
collection_formats = {}
|
|
93
|
+
|
|
94
|
+
path_params = {}
|
|
95
|
+
|
|
96
|
+
query_params = []
|
|
97
|
+
|
|
98
|
+
header_params = {}
|
|
99
|
+
|
|
100
|
+
form_params = []
|
|
101
|
+
local_var_files = {}
|
|
102
|
+
|
|
103
|
+
body_params = None
|
|
104
|
+
if 'body' in params:
|
|
105
|
+
body_params = params['body']
|
|
106
|
+
# HTTP header `Accept`
|
|
107
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
108
|
+
['application/json']) # noqa: E501
|
|
109
|
+
|
|
110
|
+
# HTTP header `Content-Type`
|
|
111
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
112
|
+
['application/json']) # noqa: E501
|
|
113
|
+
|
|
114
|
+
# Authentication setting
|
|
115
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
116
|
+
|
|
117
|
+
return self.api_client.call_api(
|
|
118
|
+
'/AttachGatewayLB/2021-03-03/apig/post/application_json/', 'POST',
|
|
119
|
+
path_params,
|
|
120
|
+
query_params,
|
|
121
|
+
header_params,
|
|
122
|
+
body=body_params,
|
|
123
|
+
post_params=form_params,
|
|
124
|
+
files=local_var_files,
|
|
125
|
+
response_type='AttachGatewayLBResponse', # noqa: E501
|
|
126
|
+
auth_settings=auth_settings,
|
|
127
|
+
async_req=params.get('async_req'),
|
|
128
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
129
|
+
_preload_content=params.get('_preload_content', True),
|
|
130
|
+
_request_timeout=params.get('_request_timeout'),
|
|
131
|
+
collection_formats=collection_formats)
|
|
132
|
+
|
|
36
133
|
def create_consumer(self, body, **kwargs): # noqa: E501
|
|
37
134
|
"""create_consumer # noqa: E501
|
|
38
135
|
|
|
@@ -227,6 +324,103 @@ class APIGApi(object):
|
|
|
227
324
|
_request_timeout=params.get('_request_timeout'),
|
|
228
325
|
collection_formats=collection_formats)
|
|
229
326
|
|
|
327
|
+
def create_custom_domain(self, body, **kwargs): # noqa: E501
|
|
328
|
+
"""create_custom_domain # noqa: E501
|
|
329
|
+
|
|
330
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
331
|
+
asynchronous HTTP request, please pass async_req=True
|
|
332
|
+
>>> thread = api.create_custom_domain(body, async_req=True)
|
|
333
|
+
>>> result = thread.get()
|
|
334
|
+
|
|
335
|
+
:param async_req bool
|
|
336
|
+
:param CreateCustomDomainRequest body: (required)
|
|
337
|
+
:return: CreateCustomDomainResponse
|
|
338
|
+
If the method is called asynchronously,
|
|
339
|
+
returns the request thread.
|
|
340
|
+
"""
|
|
341
|
+
kwargs['_return_http_data_only'] = True
|
|
342
|
+
if kwargs.get('async_req'):
|
|
343
|
+
return self.create_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
344
|
+
else:
|
|
345
|
+
(data) = self.create_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
346
|
+
return data
|
|
347
|
+
|
|
348
|
+
def create_custom_domain_with_http_info(self, body, **kwargs): # noqa: E501
|
|
349
|
+
"""create_custom_domain # noqa: E501
|
|
350
|
+
|
|
351
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
352
|
+
asynchronous HTTP request, please pass async_req=True
|
|
353
|
+
>>> thread = api.create_custom_domain_with_http_info(body, async_req=True)
|
|
354
|
+
>>> result = thread.get()
|
|
355
|
+
|
|
356
|
+
:param async_req bool
|
|
357
|
+
:param CreateCustomDomainRequest body: (required)
|
|
358
|
+
:return: CreateCustomDomainResponse
|
|
359
|
+
If the method is called asynchronously,
|
|
360
|
+
returns the request thread.
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
all_params = ['body'] # noqa: E501
|
|
364
|
+
all_params.append('async_req')
|
|
365
|
+
all_params.append('_return_http_data_only')
|
|
366
|
+
all_params.append('_preload_content')
|
|
367
|
+
all_params.append('_request_timeout')
|
|
368
|
+
|
|
369
|
+
params = locals()
|
|
370
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
371
|
+
if key not in all_params:
|
|
372
|
+
raise TypeError(
|
|
373
|
+
"Got an unexpected keyword argument '%s'"
|
|
374
|
+
" to method create_custom_domain" % key
|
|
375
|
+
)
|
|
376
|
+
params[key] = val
|
|
377
|
+
del params['kwargs']
|
|
378
|
+
# verify the required parameter 'body' is set
|
|
379
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
380
|
+
params['body'] is None): # noqa: E501
|
|
381
|
+
raise ValueError("Missing the required parameter `body` when calling `create_custom_domain`") # noqa: E501
|
|
382
|
+
|
|
383
|
+
collection_formats = {}
|
|
384
|
+
|
|
385
|
+
path_params = {}
|
|
386
|
+
|
|
387
|
+
query_params = []
|
|
388
|
+
|
|
389
|
+
header_params = {}
|
|
390
|
+
|
|
391
|
+
form_params = []
|
|
392
|
+
local_var_files = {}
|
|
393
|
+
|
|
394
|
+
body_params = None
|
|
395
|
+
if 'body' in params:
|
|
396
|
+
body_params = params['body']
|
|
397
|
+
# HTTP header `Accept`
|
|
398
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
399
|
+
['application/json']) # noqa: E501
|
|
400
|
+
|
|
401
|
+
# HTTP header `Content-Type`
|
|
402
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
403
|
+
['application/json']) # noqa: E501
|
|
404
|
+
|
|
405
|
+
# Authentication setting
|
|
406
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
407
|
+
|
|
408
|
+
return self.api_client.call_api(
|
|
409
|
+
'/CreateCustomDomain/2021-03-03/apig/post/application_json/', 'POST',
|
|
410
|
+
path_params,
|
|
411
|
+
query_params,
|
|
412
|
+
header_params,
|
|
413
|
+
body=body_params,
|
|
414
|
+
post_params=form_params,
|
|
415
|
+
files=local_var_files,
|
|
416
|
+
response_type='CreateCustomDomainResponse', # noqa: E501
|
|
417
|
+
auth_settings=auth_settings,
|
|
418
|
+
async_req=params.get('async_req'),
|
|
419
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
420
|
+
_preload_content=params.get('_preload_content', True),
|
|
421
|
+
_request_timeout=params.get('_request_timeout'),
|
|
422
|
+
collection_formats=collection_formats)
|
|
423
|
+
|
|
230
424
|
def create_gateway(self, body, **kwargs): # noqa: E501
|
|
231
425
|
"""create_gateway # noqa: E501
|
|
232
426
|
|
|
@@ -712,38 +906,38 @@ class APIGApi(object):
|
|
|
712
906
|
_request_timeout=params.get('_request_timeout'),
|
|
713
907
|
collection_formats=collection_formats)
|
|
714
908
|
|
|
715
|
-
def
|
|
716
|
-
"""
|
|
909
|
+
def create_upstream_version(self, body, **kwargs): # noqa: E501
|
|
910
|
+
"""create_upstream_version # noqa: E501
|
|
717
911
|
|
|
718
912
|
This method makes a synchronous HTTP request by default. To make an
|
|
719
913
|
asynchronous HTTP request, please pass async_req=True
|
|
720
|
-
>>> thread = api.
|
|
914
|
+
>>> thread = api.create_upstream_version(body, async_req=True)
|
|
721
915
|
>>> result = thread.get()
|
|
722
916
|
|
|
723
917
|
:param async_req bool
|
|
724
|
-
:param
|
|
725
|
-
:return:
|
|
918
|
+
:param CreateUpstreamVersionRequest body: (required)
|
|
919
|
+
:return: CreateUpstreamVersionResponse
|
|
726
920
|
If the method is called asynchronously,
|
|
727
921
|
returns the request thread.
|
|
728
922
|
"""
|
|
729
923
|
kwargs['_return_http_data_only'] = True
|
|
730
924
|
if kwargs.get('async_req'):
|
|
731
|
-
return self.
|
|
925
|
+
return self.create_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
732
926
|
else:
|
|
733
|
-
(data) = self.
|
|
927
|
+
(data) = self.create_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
734
928
|
return data
|
|
735
929
|
|
|
736
|
-
def
|
|
737
|
-
"""
|
|
930
|
+
def create_upstream_version_with_http_info(self, body, **kwargs): # noqa: E501
|
|
931
|
+
"""create_upstream_version # noqa: E501
|
|
738
932
|
|
|
739
933
|
This method makes a synchronous HTTP request by default. To make an
|
|
740
934
|
asynchronous HTTP request, please pass async_req=True
|
|
741
|
-
>>> thread = api.
|
|
935
|
+
>>> thread = api.create_upstream_version_with_http_info(body, async_req=True)
|
|
742
936
|
>>> result = thread.get()
|
|
743
937
|
|
|
744
938
|
:param async_req bool
|
|
745
|
-
:param
|
|
746
|
-
:return:
|
|
939
|
+
:param CreateUpstreamVersionRequest body: (required)
|
|
940
|
+
:return: CreateUpstreamVersionResponse
|
|
747
941
|
If the method is called asynchronously,
|
|
748
942
|
returns the request thread.
|
|
749
943
|
"""
|
|
@@ -759,14 +953,14 @@ class APIGApi(object):
|
|
|
759
953
|
if key not in all_params:
|
|
760
954
|
raise TypeError(
|
|
761
955
|
"Got an unexpected keyword argument '%s'"
|
|
762
|
-
" to method
|
|
956
|
+
" to method create_upstream_version" % key
|
|
763
957
|
)
|
|
764
958
|
params[key] = val
|
|
765
959
|
del params['kwargs']
|
|
766
960
|
# verify the required parameter 'body' is set
|
|
767
961
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
768
962
|
params['body'] is None): # noqa: E501
|
|
769
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
963
|
+
raise ValueError("Missing the required parameter `body` when calling `create_upstream_version`") # noqa: E501
|
|
770
964
|
|
|
771
965
|
collection_formats = {}
|
|
772
966
|
|
|
@@ -794,14 +988,14 @@ class APIGApi(object):
|
|
|
794
988
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
795
989
|
|
|
796
990
|
return self.api_client.call_api(
|
|
797
|
-
'/
|
|
991
|
+
'/CreateUpstreamVersion/2021-03-03/apig/post/application_json/', 'POST',
|
|
798
992
|
path_params,
|
|
799
993
|
query_params,
|
|
800
994
|
header_params,
|
|
801
995
|
body=body_params,
|
|
802
996
|
post_params=form_params,
|
|
803
997
|
files=local_var_files,
|
|
804
|
-
response_type='
|
|
998
|
+
response_type='CreateUpstreamVersionResponse', # noqa: E501
|
|
805
999
|
auth_settings=auth_settings,
|
|
806
1000
|
async_req=params.get('async_req'),
|
|
807
1001
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -809,38 +1003,38 @@ class APIGApi(object):
|
|
|
809
1003
|
_request_timeout=params.get('_request_timeout'),
|
|
810
1004
|
collection_formats=collection_formats)
|
|
811
1005
|
|
|
812
|
-
def
|
|
813
|
-
"""
|
|
1006
|
+
def delete_consumer(self, body, **kwargs): # noqa: E501
|
|
1007
|
+
"""delete_consumer # noqa: E501
|
|
814
1008
|
|
|
815
1009
|
This method makes a synchronous HTTP request by default. To make an
|
|
816
1010
|
asynchronous HTTP request, please pass async_req=True
|
|
817
|
-
>>> thread = api.
|
|
1011
|
+
>>> thread = api.delete_consumer(body, async_req=True)
|
|
818
1012
|
>>> result = thread.get()
|
|
819
1013
|
|
|
820
1014
|
:param async_req bool
|
|
821
|
-
:param
|
|
822
|
-
:return:
|
|
1015
|
+
:param DeleteConsumerRequest body: (required)
|
|
1016
|
+
:return: DeleteConsumerResponse
|
|
823
1017
|
If the method is called asynchronously,
|
|
824
1018
|
returns the request thread.
|
|
825
1019
|
"""
|
|
826
1020
|
kwargs['_return_http_data_only'] = True
|
|
827
1021
|
if kwargs.get('async_req'):
|
|
828
|
-
return self.
|
|
1022
|
+
return self.delete_consumer_with_http_info(body, **kwargs) # noqa: E501
|
|
829
1023
|
else:
|
|
830
|
-
(data) = self.
|
|
1024
|
+
(data) = self.delete_consumer_with_http_info(body, **kwargs) # noqa: E501
|
|
831
1025
|
return data
|
|
832
1026
|
|
|
833
|
-
def
|
|
834
|
-
"""
|
|
1027
|
+
def delete_consumer_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1028
|
+
"""delete_consumer # noqa: E501
|
|
835
1029
|
|
|
836
1030
|
This method makes a synchronous HTTP request by default. To make an
|
|
837
1031
|
asynchronous HTTP request, please pass async_req=True
|
|
838
|
-
>>> thread = api.
|
|
1032
|
+
>>> thread = api.delete_consumer_with_http_info(body, async_req=True)
|
|
839
1033
|
>>> result = thread.get()
|
|
840
1034
|
|
|
841
1035
|
:param async_req bool
|
|
842
|
-
:param
|
|
843
|
-
:return:
|
|
1036
|
+
:param DeleteConsumerRequest body: (required)
|
|
1037
|
+
:return: DeleteConsumerResponse
|
|
844
1038
|
If the method is called asynchronously,
|
|
845
1039
|
returns the request thread.
|
|
846
1040
|
"""
|
|
@@ -856,14 +1050,14 @@ class APIGApi(object):
|
|
|
856
1050
|
if key not in all_params:
|
|
857
1051
|
raise TypeError(
|
|
858
1052
|
"Got an unexpected keyword argument '%s'"
|
|
859
|
-
" to method
|
|
1053
|
+
" to method delete_consumer" % key
|
|
860
1054
|
)
|
|
861
1055
|
params[key] = val
|
|
862
1056
|
del params['kwargs']
|
|
863
1057
|
# verify the required parameter 'body' is set
|
|
864
1058
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
865
1059
|
params['body'] is None): # noqa: E501
|
|
866
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1060
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_consumer`") # noqa: E501
|
|
867
1061
|
|
|
868
1062
|
collection_formats = {}
|
|
869
1063
|
|
|
@@ -891,14 +1085,14 @@ class APIGApi(object):
|
|
|
891
1085
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
892
1086
|
|
|
893
1087
|
return self.api_client.call_api(
|
|
894
|
-
'/
|
|
1088
|
+
'/DeleteConsumer/2021-03-03/apig/post/application_json/', 'POST',
|
|
895
1089
|
path_params,
|
|
896
1090
|
query_params,
|
|
897
1091
|
header_params,
|
|
898
1092
|
body=body_params,
|
|
899
1093
|
post_params=form_params,
|
|
900
1094
|
files=local_var_files,
|
|
901
|
-
response_type='
|
|
1095
|
+
response_type='DeleteConsumerResponse', # noqa: E501
|
|
902
1096
|
auth_settings=auth_settings,
|
|
903
1097
|
async_req=params.get('async_req'),
|
|
904
1098
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -906,38 +1100,38 @@ class APIGApi(object):
|
|
|
906
1100
|
_request_timeout=params.get('_request_timeout'),
|
|
907
1101
|
collection_formats=collection_formats)
|
|
908
1102
|
|
|
909
|
-
def
|
|
910
|
-
"""
|
|
1103
|
+
def delete_consumer_credential(self, body, **kwargs): # noqa: E501
|
|
1104
|
+
"""delete_consumer_credential # noqa: E501
|
|
911
1105
|
|
|
912
1106
|
This method makes a synchronous HTTP request by default. To make an
|
|
913
1107
|
asynchronous HTTP request, please pass async_req=True
|
|
914
|
-
>>> thread = api.
|
|
1108
|
+
>>> thread = api.delete_consumer_credential(body, async_req=True)
|
|
915
1109
|
>>> result = thread.get()
|
|
916
1110
|
|
|
917
1111
|
:param async_req bool
|
|
918
|
-
:param
|
|
919
|
-
:return:
|
|
1112
|
+
:param DeleteConsumerCredentialRequest body: (required)
|
|
1113
|
+
:return: DeleteConsumerCredentialResponse
|
|
920
1114
|
If the method is called asynchronously,
|
|
921
1115
|
returns the request thread.
|
|
922
1116
|
"""
|
|
923
1117
|
kwargs['_return_http_data_only'] = True
|
|
924
1118
|
if kwargs.get('async_req'):
|
|
925
|
-
return self.
|
|
1119
|
+
return self.delete_consumer_credential_with_http_info(body, **kwargs) # noqa: E501
|
|
926
1120
|
else:
|
|
927
|
-
(data) = self.
|
|
1121
|
+
(data) = self.delete_consumer_credential_with_http_info(body, **kwargs) # noqa: E501
|
|
928
1122
|
return data
|
|
929
1123
|
|
|
930
|
-
def
|
|
931
|
-
"""
|
|
1124
|
+
def delete_consumer_credential_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1125
|
+
"""delete_consumer_credential # noqa: E501
|
|
932
1126
|
|
|
933
1127
|
This method makes a synchronous HTTP request by default. To make an
|
|
934
1128
|
asynchronous HTTP request, please pass async_req=True
|
|
935
|
-
>>> thread = api.
|
|
1129
|
+
>>> thread = api.delete_consumer_credential_with_http_info(body, async_req=True)
|
|
936
1130
|
>>> result = thread.get()
|
|
937
1131
|
|
|
938
1132
|
:param async_req bool
|
|
939
|
-
:param
|
|
940
|
-
:return:
|
|
1133
|
+
:param DeleteConsumerCredentialRequest body: (required)
|
|
1134
|
+
:return: DeleteConsumerCredentialResponse
|
|
941
1135
|
If the method is called asynchronously,
|
|
942
1136
|
returns the request thread.
|
|
943
1137
|
"""
|
|
@@ -953,14 +1147,14 @@ class APIGApi(object):
|
|
|
953
1147
|
if key not in all_params:
|
|
954
1148
|
raise TypeError(
|
|
955
1149
|
"Got an unexpected keyword argument '%s'"
|
|
956
|
-
" to method
|
|
1150
|
+
" to method delete_consumer_credential" % key
|
|
957
1151
|
)
|
|
958
1152
|
params[key] = val
|
|
959
1153
|
del params['kwargs']
|
|
960
1154
|
# verify the required parameter 'body' is set
|
|
961
1155
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
962
1156
|
params['body'] is None): # noqa: E501
|
|
963
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1157
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_consumer_credential`") # noqa: E501
|
|
964
1158
|
|
|
965
1159
|
collection_formats = {}
|
|
966
1160
|
|
|
@@ -988,14 +1182,14 @@ class APIGApi(object):
|
|
|
988
1182
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
989
1183
|
|
|
990
1184
|
return self.api_client.call_api(
|
|
991
|
-
'/
|
|
1185
|
+
'/DeleteConsumerCredential/2021-03-03/apig/post/application_json/', 'POST',
|
|
992
1186
|
path_params,
|
|
993
1187
|
query_params,
|
|
994
1188
|
header_params,
|
|
995
1189
|
body=body_params,
|
|
996
1190
|
post_params=form_params,
|
|
997
1191
|
files=local_var_files,
|
|
998
|
-
response_type='
|
|
1192
|
+
response_type='DeleteConsumerCredentialResponse', # noqa: E501
|
|
999
1193
|
auth_settings=auth_settings,
|
|
1000
1194
|
async_req=params.get('async_req'),
|
|
1001
1195
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1003,38 +1197,38 @@ class APIGApi(object):
|
|
|
1003
1197
|
_request_timeout=params.get('_request_timeout'),
|
|
1004
1198
|
collection_formats=collection_formats)
|
|
1005
1199
|
|
|
1006
|
-
def
|
|
1007
|
-
"""
|
|
1200
|
+
def delete_custom_domain(self, body, **kwargs): # noqa: E501
|
|
1201
|
+
"""delete_custom_domain # noqa: E501
|
|
1008
1202
|
|
|
1009
1203
|
This method makes a synchronous HTTP request by default. To make an
|
|
1010
1204
|
asynchronous HTTP request, please pass async_req=True
|
|
1011
|
-
>>> thread = api.
|
|
1205
|
+
>>> thread = api.delete_custom_domain(body, async_req=True)
|
|
1012
1206
|
>>> result = thread.get()
|
|
1013
1207
|
|
|
1014
1208
|
:param async_req bool
|
|
1015
|
-
:param
|
|
1016
|
-
:return:
|
|
1209
|
+
:param DeleteCustomDomainRequest body: (required)
|
|
1210
|
+
:return: DeleteCustomDomainResponse
|
|
1017
1211
|
If the method is called asynchronously,
|
|
1018
1212
|
returns the request thread.
|
|
1019
1213
|
"""
|
|
1020
1214
|
kwargs['_return_http_data_only'] = True
|
|
1021
1215
|
if kwargs.get('async_req'):
|
|
1022
|
-
return self.
|
|
1216
|
+
return self.delete_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
1023
1217
|
else:
|
|
1024
|
-
(data) = self.
|
|
1218
|
+
(data) = self.delete_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
1025
1219
|
return data
|
|
1026
1220
|
|
|
1027
|
-
def
|
|
1028
|
-
"""
|
|
1221
|
+
def delete_custom_domain_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1222
|
+
"""delete_custom_domain # noqa: E501
|
|
1029
1223
|
|
|
1030
1224
|
This method makes a synchronous HTTP request by default. To make an
|
|
1031
1225
|
asynchronous HTTP request, please pass async_req=True
|
|
1032
|
-
>>> thread = api.
|
|
1226
|
+
>>> thread = api.delete_custom_domain_with_http_info(body, async_req=True)
|
|
1033
1227
|
>>> result = thread.get()
|
|
1034
1228
|
|
|
1035
1229
|
:param async_req bool
|
|
1036
|
-
:param
|
|
1037
|
-
:return:
|
|
1230
|
+
:param DeleteCustomDomainRequest body: (required)
|
|
1231
|
+
:return: DeleteCustomDomainResponse
|
|
1038
1232
|
If the method is called asynchronously,
|
|
1039
1233
|
returns the request thread.
|
|
1040
1234
|
"""
|
|
@@ -1050,14 +1244,14 @@ class APIGApi(object):
|
|
|
1050
1244
|
if key not in all_params:
|
|
1051
1245
|
raise TypeError(
|
|
1052
1246
|
"Got an unexpected keyword argument '%s'"
|
|
1053
|
-
" to method
|
|
1247
|
+
" to method delete_custom_domain" % key
|
|
1054
1248
|
)
|
|
1055
1249
|
params[key] = val
|
|
1056
1250
|
del params['kwargs']
|
|
1057
1251
|
# verify the required parameter 'body' is set
|
|
1058
1252
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1059
1253
|
params['body'] is None): # noqa: E501
|
|
1060
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1254
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_custom_domain`") # noqa: E501
|
|
1061
1255
|
|
|
1062
1256
|
collection_formats = {}
|
|
1063
1257
|
|
|
@@ -1085,14 +1279,14 @@ class APIGApi(object):
|
|
|
1085
1279
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1086
1280
|
|
|
1087
1281
|
return self.api_client.call_api(
|
|
1088
|
-
'/
|
|
1282
|
+
'/DeleteCustomDomain/2021-03-03/apig/post/application_json/', 'POST',
|
|
1089
1283
|
path_params,
|
|
1090
1284
|
query_params,
|
|
1091
1285
|
header_params,
|
|
1092
1286
|
body=body_params,
|
|
1093
1287
|
post_params=form_params,
|
|
1094
1288
|
files=local_var_files,
|
|
1095
|
-
response_type='
|
|
1289
|
+
response_type='DeleteCustomDomainResponse', # noqa: E501
|
|
1096
1290
|
auth_settings=auth_settings,
|
|
1097
1291
|
async_req=params.get('async_req'),
|
|
1098
1292
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1100,38 +1294,38 @@ class APIGApi(object):
|
|
|
1100
1294
|
_request_timeout=params.get('_request_timeout'),
|
|
1101
1295
|
collection_formats=collection_formats)
|
|
1102
1296
|
|
|
1103
|
-
def
|
|
1104
|
-
"""
|
|
1297
|
+
def delete_gateway(self, body, **kwargs): # noqa: E501
|
|
1298
|
+
"""delete_gateway # noqa: E501
|
|
1105
1299
|
|
|
1106
1300
|
This method makes a synchronous HTTP request by default. To make an
|
|
1107
1301
|
asynchronous HTTP request, please pass async_req=True
|
|
1108
|
-
>>> thread = api.
|
|
1302
|
+
>>> thread = api.delete_gateway(body, async_req=True)
|
|
1109
1303
|
>>> result = thread.get()
|
|
1110
1304
|
|
|
1111
1305
|
:param async_req bool
|
|
1112
|
-
:param
|
|
1113
|
-
:return:
|
|
1306
|
+
:param DeleteGatewayRequest body: (required)
|
|
1307
|
+
:return: DeleteGatewayResponse
|
|
1114
1308
|
If the method is called asynchronously,
|
|
1115
1309
|
returns the request thread.
|
|
1116
1310
|
"""
|
|
1117
1311
|
kwargs['_return_http_data_only'] = True
|
|
1118
1312
|
if kwargs.get('async_req'):
|
|
1119
|
-
return self.
|
|
1313
|
+
return self.delete_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
1120
1314
|
else:
|
|
1121
|
-
(data) = self.
|
|
1315
|
+
(data) = self.delete_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
1122
1316
|
return data
|
|
1123
1317
|
|
|
1124
|
-
def
|
|
1125
|
-
"""
|
|
1318
|
+
def delete_gateway_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1319
|
+
"""delete_gateway # noqa: E501
|
|
1126
1320
|
|
|
1127
1321
|
This method makes a synchronous HTTP request by default. To make an
|
|
1128
1322
|
asynchronous HTTP request, please pass async_req=True
|
|
1129
|
-
>>> thread = api.
|
|
1323
|
+
>>> thread = api.delete_gateway_with_http_info(body, async_req=True)
|
|
1130
1324
|
>>> result = thread.get()
|
|
1131
1325
|
|
|
1132
1326
|
:param async_req bool
|
|
1133
|
-
:param
|
|
1134
|
-
:return:
|
|
1327
|
+
:param DeleteGatewayRequest body: (required)
|
|
1328
|
+
:return: DeleteGatewayResponse
|
|
1135
1329
|
If the method is called asynchronously,
|
|
1136
1330
|
returns the request thread.
|
|
1137
1331
|
"""
|
|
@@ -1147,14 +1341,14 @@ class APIGApi(object):
|
|
|
1147
1341
|
if key not in all_params:
|
|
1148
1342
|
raise TypeError(
|
|
1149
1343
|
"Got an unexpected keyword argument '%s'"
|
|
1150
|
-
" to method
|
|
1344
|
+
" to method delete_gateway" % key
|
|
1151
1345
|
)
|
|
1152
1346
|
params[key] = val
|
|
1153
1347
|
del params['kwargs']
|
|
1154
1348
|
# verify the required parameter 'body' is set
|
|
1155
1349
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1156
1350
|
params['body'] is None): # noqa: E501
|
|
1157
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1351
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_gateway`") # noqa: E501
|
|
1158
1352
|
|
|
1159
1353
|
collection_formats = {}
|
|
1160
1354
|
|
|
@@ -1182,14 +1376,14 @@ class APIGApi(object):
|
|
|
1182
1376
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1183
1377
|
|
|
1184
1378
|
return self.api_client.call_api(
|
|
1185
|
-
'/
|
|
1379
|
+
'/DeleteGateway/2021-03-03/apig/post/application_json/', 'POST',
|
|
1186
1380
|
path_params,
|
|
1187
1381
|
query_params,
|
|
1188
1382
|
header_params,
|
|
1189
1383
|
body=body_params,
|
|
1190
1384
|
post_params=form_params,
|
|
1191
1385
|
files=local_var_files,
|
|
1192
|
-
response_type='
|
|
1386
|
+
response_type='DeleteGatewayResponse', # noqa: E501
|
|
1193
1387
|
auth_settings=auth_settings,
|
|
1194
1388
|
async_req=params.get('async_req'),
|
|
1195
1389
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1197,38 +1391,38 @@ class APIGApi(object):
|
|
|
1197
1391
|
_request_timeout=params.get('_request_timeout'),
|
|
1198
1392
|
collection_formats=collection_formats)
|
|
1199
1393
|
|
|
1200
|
-
def
|
|
1201
|
-
"""
|
|
1394
|
+
def delete_gateway_service(self, body, **kwargs): # noqa: E501
|
|
1395
|
+
"""delete_gateway_service # noqa: E501
|
|
1202
1396
|
|
|
1203
1397
|
This method makes a synchronous HTTP request by default. To make an
|
|
1204
1398
|
asynchronous HTTP request, please pass async_req=True
|
|
1205
|
-
>>> thread = api.
|
|
1399
|
+
>>> thread = api.delete_gateway_service(body, async_req=True)
|
|
1206
1400
|
>>> result = thread.get()
|
|
1207
1401
|
|
|
1208
1402
|
:param async_req bool
|
|
1209
|
-
:param
|
|
1210
|
-
:return:
|
|
1403
|
+
:param DeleteGatewayServiceRequest body: (required)
|
|
1404
|
+
:return: DeleteGatewayServiceResponse
|
|
1211
1405
|
If the method is called asynchronously,
|
|
1212
1406
|
returns the request thread.
|
|
1213
1407
|
"""
|
|
1214
1408
|
kwargs['_return_http_data_only'] = True
|
|
1215
1409
|
if kwargs.get('async_req'):
|
|
1216
|
-
return self.
|
|
1410
|
+
return self.delete_gateway_service_with_http_info(body, **kwargs) # noqa: E501
|
|
1217
1411
|
else:
|
|
1218
|
-
(data) = self.
|
|
1412
|
+
(data) = self.delete_gateway_service_with_http_info(body, **kwargs) # noqa: E501
|
|
1219
1413
|
return data
|
|
1220
1414
|
|
|
1221
|
-
def
|
|
1222
|
-
"""
|
|
1415
|
+
def delete_gateway_service_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1416
|
+
"""delete_gateway_service # noqa: E501
|
|
1223
1417
|
|
|
1224
1418
|
This method makes a synchronous HTTP request by default. To make an
|
|
1225
1419
|
asynchronous HTTP request, please pass async_req=True
|
|
1226
|
-
>>> thread = api.
|
|
1420
|
+
>>> thread = api.delete_gateway_service_with_http_info(body, async_req=True)
|
|
1227
1421
|
>>> result = thread.get()
|
|
1228
1422
|
|
|
1229
1423
|
:param async_req bool
|
|
1230
|
-
:param
|
|
1231
|
-
:return:
|
|
1424
|
+
:param DeleteGatewayServiceRequest body: (required)
|
|
1425
|
+
:return: DeleteGatewayServiceResponse
|
|
1232
1426
|
If the method is called asynchronously,
|
|
1233
1427
|
returns the request thread.
|
|
1234
1428
|
"""
|
|
@@ -1244,14 +1438,14 @@ class APIGApi(object):
|
|
|
1244
1438
|
if key not in all_params:
|
|
1245
1439
|
raise TypeError(
|
|
1246
1440
|
"Got an unexpected keyword argument '%s'"
|
|
1247
|
-
" to method
|
|
1441
|
+
" to method delete_gateway_service" % key
|
|
1248
1442
|
)
|
|
1249
1443
|
params[key] = val
|
|
1250
1444
|
del params['kwargs']
|
|
1251
1445
|
# verify the required parameter 'body' is set
|
|
1252
1446
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1253
1447
|
params['body'] is None): # noqa: E501
|
|
1254
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1448
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_gateway_service`") # noqa: E501
|
|
1255
1449
|
|
|
1256
1450
|
collection_formats = {}
|
|
1257
1451
|
|
|
@@ -1279,14 +1473,14 @@ class APIGApi(object):
|
|
|
1279
1473
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1280
1474
|
|
|
1281
1475
|
return self.api_client.call_api(
|
|
1282
|
-
'/
|
|
1476
|
+
'/DeleteGatewayService/2021-03-03/apig/post/application_json/', 'POST',
|
|
1283
1477
|
path_params,
|
|
1284
1478
|
query_params,
|
|
1285
1479
|
header_params,
|
|
1286
1480
|
body=body_params,
|
|
1287
1481
|
post_params=form_params,
|
|
1288
1482
|
files=local_var_files,
|
|
1289
|
-
response_type='
|
|
1483
|
+
response_type='DeleteGatewayServiceResponse', # noqa: E501
|
|
1290
1484
|
auth_settings=auth_settings,
|
|
1291
1485
|
async_req=params.get('async_req'),
|
|
1292
1486
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1294,38 +1488,38 @@ class APIGApi(object):
|
|
|
1294
1488
|
_request_timeout=params.get('_request_timeout'),
|
|
1295
1489
|
collection_formats=collection_formats)
|
|
1296
1490
|
|
|
1297
|
-
def
|
|
1298
|
-
"""
|
|
1491
|
+
def delete_plugin_binding(self, body, **kwargs): # noqa: E501
|
|
1492
|
+
"""delete_plugin_binding # noqa: E501
|
|
1299
1493
|
|
|
1300
1494
|
This method makes a synchronous HTTP request by default. To make an
|
|
1301
1495
|
asynchronous HTTP request, please pass async_req=True
|
|
1302
|
-
>>> thread = api.
|
|
1496
|
+
>>> thread = api.delete_plugin_binding(body, async_req=True)
|
|
1303
1497
|
>>> result = thread.get()
|
|
1304
1498
|
|
|
1305
1499
|
:param async_req bool
|
|
1306
|
-
:param
|
|
1307
|
-
:return:
|
|
1500
|
+
:param DeletePluginBindingRequest body: (required)
|
|
1501
|
+
:return: DeletePluginBindingResponse
|
|
1308
1502
|
If the method is called asynchronously,
|
|
1309
1503
|
returns the request thread.
|
|
1310
1504
|
"""
|
|
1311
1505
|
kwargs['_return_http_data_only'] = True
|
|
1312
1506
|
if kwargs.get('async_req'):
|
|
1313
|
-
return self.
|
|
1507
|
+
return self.delete_plugin_binding_with_http_info(body, **kwargs) # noqa: E501
|
|
1314
1508
|
else:
|
|
1315
|
-
(data) = self.
|
|
1509
|
+
(data) = self.delete_plugin_binding_with_http_info(body, **kwargs) # noqa: E501
|
|
1316
1510
|
return data
|
|
1317
1511
|
|
|
1318
|
-
def
|
|
1319
|
-
"""
|
|
1512
|
+
def delete_plugin_binding_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1513
|
+
"""delete_plugin_binding # noqa: E501
|
|
1320
1514
|
|
|
1321
1515
|
This method makes a synchronous HTTP request by default. To make an
|
|
1322
1516
|
asynchronous HTTP request, please pass async_req=True
|
|
1323
|
-
>>> thread = api.
|
|
1517
|
+
>>> thread = api.delete_plugin_binding_with_http_info(body, async_req=True)
|
|
1324
1518
|
>>> result = thread.get()
|
|
1325
1519
|
|
|
1326
1520
|
:param async_req bool
|
|
1327
|
-
:param
|
|
1328
|
-
:return:
|
|
1521
|
+
:param DeletePluginBindingRequest body: (required)
|
|
1522
|
+
:return: DeletePluginBindingResponse
|
|
1329
1523
|
If the method is called asynchronously,
|
|
1330
1524
|
returns the request thread.
|
|
1331
1525
|
"""
|
|
@@ -1341,14 +1535,14 @@ class APIGApi(object):
|
|
|
1341
1535
|
if key not in all_params:
|
|
1342
1536
|
raise TypeError(
|
|
1343
1537
|
"Got an unexpected keyword argument '%s'"
|
|
1344
|
-
" to method
|
|
1538
|
+
" to method delete_plugin_binding" % key
|
|
1345
1539
|
)
|
|
1346
1540
|
params[key] = val
|
|
1347
1541
|
del params['kwargs']
|
|
1348
1542
|
# verify the required parameter 'body' is set
|
|
1349
1543
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1350
1544
|
params['body'] is None): # noqa: E501
|
|
1351
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1545
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_plugin_binding`") # noqa: E501
|
|
1352
1546
|
|
|
1353
1547
|
collection_formats = {}
|
|
1354
1548
|
|
|
@@ -1376,14 +1570,14 @@ class APIGApi(object):
|
|
|
1376
1570
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1377
1571
|
|
|
1378
1572
|
return self.api_client.call_api(
|
|
1379
|
-
'/
|
|
1573
|
+
'/DeletePluginBinding/2021-03-03/apig/post/application_json/', 'POST',
|
|
1380
1574
|
path_params,
|
|
1381
1575
|
query_params,
|
|
1382
1576
|
header_params,
|
|
1383
1577
|
body=body_params,
|
|
1384
1578
|
post_params=form_params,
|
|
1385
1579
|
files=local_var_files,
|
|
1386
|
-
response_type='
|
|
1580
|
+
response_type='DeletePluginBindingResponse', # noqa: E501
|
|
1387
1581
|
auth_settings=auth_settings,
|
|
1388
1582
|
async_req=params.get('async_req'),
|
|
1389
1583
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1391,38 +1585,38 @@ class APIGApi(object):
|
|
|
1391
1585
|
_request_timeout=params.get('_request_timeout'),
|
|
1392
1586
|
collection_formats=collection_formats)
|
|
1393
1587
|
|
|
1394
|
-
def
|
|
1395
|
-
"""
|
|
1588
|
+
def delete_upstream(self, body, **kwargs): # noqa: E501
|
|
1589
|
+
"""delete_upstream # noqa: E501
|
|
1396
1590
|
|
|
1397
1591
|
This method makes a synchronous HTTP request by default. To make an
|
|
1398
1592
|
asynchronous HTTP request, please pass async_req=True
|
|
1399
|
-
>>> thread = api.
|
|
1593
|
+
>>> thread = api.delete_upstream(body, async_req=True)
|
|
1400
1594
|
>>> result = thread.get()
|
|
1401
1595
|
|
|
1402
1596
|
:param async_req bool
|
|
1403
|
-
:param
|
|
1404
|
-
:return:
|
|
1597
|
+
:param DeleteUpstreamRequest body: (required)
|
|
1598
|
+
:return: DeleteUpstreamResponse
|
|
1405
1599
|
If the method is called asynchronously,
|
|
1406
1600
|
returns the request thread.
|
|
1407
1601
|
"""
|
|
1408
1602
|
kwargs['_return_http_data_only'] = True
|
|
1409
1603
|
if kwargs.get('async_req'):
|
|
1410
|
-
return self.
|
|
1604
|
+
return self.delete_upstream_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
1605
|
else:
|
|
1412
|
-
(data) = self.
|
|
1606
|
+
(data) = self.delete_upstream_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
1607
|
return data
|
|
1414
1608
|
|
|
1415
|
-
def
|
|
1416
|
-
"""
|
|
1609
|
+
def delete_upstream_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1610
|
+
"""delete_upstream # noqa: E501
|
|
1417
1611
|
|
|
1418
1612
|
This method makes a synchronous HTTP request by default. To make an
|
|
1419
1613
|
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
-
>>> thread = api.
|
|
1614
|
+
>>> thread = api.delete_upstream_with_http_info(body, async_req=True)
|
|
1421
1615
|
>>> result = thread.get()
|
|
1422
1616
|
|
|
1423
1617
|
:param async_req bool
|
|
1424
|
-
:param
|
|
1425
|
-
:return:
|
|
1618
|
+
:param DeleteUpstreamRequest body: (required)
|
|
1619
|
+
:return: DeleteUpstreamResponse
|
|
1426
1620
|
If the method is called asynchronously,
|
|
1427
1621
|
returns the request thread.
|
|
1428
1622
|
"""
|
|
@@ -1438,14 +1632,14 @@ class APIGApi(object):
|
|
|
1438
1632
|
if key not in all_params:
|
|
1439
1633
|
raise TypeError(
|
|
1440
1634
|
"Got an unexpected keyword argument '%s'"
|
|
1441
|
-
" to method
|
|
1635
|
+
" to method delete_upstream" % key
|
|
1442
1636
|
)
|
|
1443
1637
|
params[key] = val
|
|
1444
1638
|
del params['kwargs']
|
|
1445
1639
|
# verify the required parameter 'body' is set
|
|
1446
1640
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
1641
|
params['body'] is None): # noqa: E501
|
|
1448
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1642
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_upstream`") # noqa: E501
|
|
1449
1643
|
|
|
1450
1644
|
collection_formats = {}
|
|
1451
1645
|
|
|
@@ -1473,14 +1667,14 @@ class APIGApi(object):
|
|
|
1473
1667
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
1668
|
|
|
1475
1669
|
return self.api_client.call_api(
|
|
1476
|
-
'/
|
|
1670
|
+
'/DeleteUpstream/2021-03-03/apig/post/application_json/', 'POST',
|
|
1477
1671
|
path_params,
|
|
1478
1672
|
query_params,
|
|
1479
1673
|
header_params,
|
|
1480
1674
|
body=body_params,
|
|
1481
1675
|
post_params=form_params,
|
|
1482
1676
|
files=local_var_files,
|
|
1483
|
-
response_type='
|
|
1677
|
+
response_type='DeleteUpstreamResponse', # noqa: E501
|
|
1484
1678
|
auth_settings=auth_settings,
|
|
1485
1679
|
async_req=params.get('async_req'),
|
|
1486
1680
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1488,38 +1682,38 @@ class APIGApi(object):
|
|
|
1488
1682
|
_request_timeout=params.get('_request_timeout'),
|
|
1489
1683
|
collection_formats=collection_formats)
|
|
1490
1684
|
|
|
1491
|
-
def
|
|
1492
|
-
"""
|
|
1685
|
+
def delete_upstream_source(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""delete_upstream_source # noqa: E501
|
|
1493
1687
|
|
|
1494
1688
|
This method makes a synchronous HTTP request by default. To make an
|
|
1495
1689
|
asynchronous HTTP request, please pass async_req=True
|
|
1496
|
-
>>> thread = api.
|
|
1690
|
+
>>> thread = api.delete_upstream_source(body, async_req=True)
|
|
1497
1691
|
>>> result = thread.get()
|
|
1498
1692
|
|
|
1499
1693
|
:param async_req bool
|
|
1500
|
-
:param
|
|
1501
|
-
:return:
|
|
1694
|
+
:param DeleteUpstreamSourceRequest body: (required)
|
|
1695
|
+
:return: DeleteUpstreamSourceResponse
|
|
1502
1696
|
If the method is called asynchronously,
|
|
1503
1697
|
returns the request thread.
|
|
1504
1698
|
"""
|
|
1505
1699
|
kwargs['_return_http_data_only'] = True
|
|
1506
1700
|
if kwargs.get('async_req'):
|
|
1507
|
-
return self.
|
|
1701
|
+
return self.delete_upstream_source_with_http_info(body, **kwargs) # noqa: E501
|
|
1508
1702
|
else:
|
|
1509
|
-
(data) = self.
|
|
1703
|
+
(data) = self.delete_upstream_source_with_http_info(body, **kwargs) # noqa: E501
|
|
1510
1704
|
return data
|
|
1511
1705
|
|
|
1512
|
-
def
|
|
1513
|
-
"""
|
|
1706
|
+
def delete_upstream_source_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1707
|
+
"""delete_upstream_source # noqa: E501
|
|
1514
1708
|
|
|
1515
1709
|
This method makes a synchronous HTTP request by default. To make an
|
|
1516
1710
|
asynchronous HTTP request, please pass async_req=True
|
|
1517
|
-
>>> thread = api.
|
|
1711
|
+
>>> thread = api.delete_upstream_source_with_http_info(body, async_req=True)
|
|
1518
1712
|
>>> result = thread.get()
|
|
1519
1713
|
|
|
1520
1714
|
:param async_req bool
|
|
1521
|
-
:param
|
|
1522
|
-
:return:
|
|
1715
|
+
:param DeleteUpstreamSourceRequest body: (required)
|
|
1716
|
+
:return: DeleteUpstreamSourceResponse
|
|
1523
1717
|
If the method is called asynchronously,
|
|
1524
1718
|
returns the request thread.
|
|
1525
1719
|
"""
|
|
@@ -1535,14 +1729,14 @@ class APIGApi(object):
|
|
|
1535
1729
|
if key not in all_params:
|
|
1536
1730
|
raise TypeError(
|
|
1537
1731
|
"Got an unexpected keyword argument '%s'"
|
|
1538
|
-
" to method
|
|
1732
|
+
" to method delete_upstream_source" % key
|
|
1539
1733
|
)
|
|
1540
1734
|
params[key] = val
|
|
1541
1735
|
del params['kwargs']
|
|
1542
1736
|
# verify the required parameter 'body' is set
|
|
1543
1737
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1544
1738
|
params['body'] is None): # noqa: E501
|
|
1545
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1739
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_upstream_source`") # noqa: E501
|
|
1546
1740
|
|
|
1547
1741
|
collection_formats = {}
|
|
1548
1742
|
|
|
@@ -1570,14 +1764,14 @@ class APIGApi(object):
|
|
|
1570
1764
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1571
1765
|
|
|
1572
1766
|
return self.api_client.call_api(
|
|
1573
|
-
'/
|
|
1767
|
+
'/DeleteUpstreamSource/2021-03-03/apig/post/application_json/', 'POST',
|
|
1574
1768
|
path_params,
|
|
1575
1769
|
query_params,
|
|
1576
1770
|
header_params,
|
|
1577
1771
|
body=body_params,
|
|
1578
1772
|
post_params=form_params,
|
|
1579
1773
|
files=local_var_files,
|
|
1580
|
-
response_type='
|
|
1774
|
+
response_type='DeleteUpstreamSourceResponse', # noqa: E501
|
|
1581
1775
|
auth_settings=auth_settings,
|
|
1582
1776
|
async_req=params.get('async_req'),
|
|
1583
1777
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1585,38 +1779,38 @@ class APIGApi(object):
|
|
|
1585
1779
|
_request_timeout=params.get('_request_timeout'),
|
|
1586
1780
|
collection_formats=collection_formats)
|
|
1587
1781
|
|
|
1588
|
-
def
|
|
1589
|
-
"""
|
|
1782
|
+
def delete_upstream_version(self, body, **kwargs): # noqa: E501
|
|
1783
|
+
"""delete_upstream_version # noqa: E501
|
|
1590
1784
|
|
|
1591
1785
|
This method makes a synchronous HTTP request by default. To make an
|
|
1592
1786
|
asynchronous HTTP request, please pass async_req=True
|
|
1593
|
-
>>> thread = api.
|
|
1787
|
+
>>> thread = api.delete_upstream_version(body, async_req=True)
|
|
1594
1788
|
>>> result = thread.get()
|
|
1595
1789
|
|
|
1596
1790
|
:param async_req bool
|
|
1597
|
-
:param
|
|
1598
|
-
:return:
|
|
1791
|
+
:param DeleteUpstreamVersionRequest body: (required)
|
|
1792
|
+
:return: DeleteUpstreamVersionResponse
|
|
1599
1793
|
If the method is called asynchronously,
|
|
1600
1794
|
returns the request thread.
|
|
1601
1795
|
"""
|
|
1602
1796
|
kwargs['_return_http_data_only'] = True
|
|
1603
1797
|
if kwargs.get('async_req'):
|
|
1604
|
-
return self.
|
|
1798
|
+
return self.delete_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
1605
1799
|
else:
|
|
1606
|
-
(data) = self.
|
|
1800
|
+
(data) = self.delete_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
1607
1801
|
return data
|
|
1608
1802
|
|
|
1609
|
-
def
|
|
1610
|
-
"""
|
|
1803
|
+
def delete_upstream_version_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1804
|
+
"""delete_upstream_version # noqa: E501
|
|
1611
1805
|
|
|
1612
1806
|
This method makes a synchronous HTTP request by default. To make an
|
|
1613
1807
|
asynchronous HTTP request, please pass async_req=True
|
|
1614
|
-
>>> thread = api.
|
|
1808
|
+
>>> thread = api.delete_upstream_version_with_http_info(body, async_req=True)
|
|
1615
1809
|
>>> result = thread.get()
|
|
1616
1810
|
|
|
1617
1811
|
:param async_req bool
|
|
1618
|
-
:param
|
|
1619
|
-
:return:
|
|
1812
|
+
:param DeleteUpstreamVersionRequest body: (required)
|
|
1813
|
+
:return: DeleteUpstreamVersionResponse
|
|
1620
1814
|
If the method is called asynchronously,
|
|
1621
1815
|
returns the request thread.
|
|
1622
1816
|
"""
|
|
@@ -1632,14 +1826,14 @@ class APIGApi(object):
|
|
|
1632
1826
|
if key not in all_params:
|
|
1633
1827
|
raise TypeError(
|
|
1634
1828
|
"Got an unexpected keyword argument '%s'"
|
|
1635
|
-
" to method
|
|
1829
|
+
" to method delete_upstream_version" % key
|
|
1636
1830
|
)
|
|
1637
1831
|
params[key] = val
|
|
1638
1832
|
del params['kwargs']
|
|
1639
1833
|
# verify the required parameter 'body' is set
|
|
1640
1834
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1641
1835
|
params['body'] is None): # noqa: E501
|
|
1642
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1836
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_upstream_version`") # noqa: E501
|
|
1643
1837
|
|
|
1644
1838
|
collection_formats = {}
|
|
1645
1839
|
|
|
@@ -1667,14 +1861,14 @@ class APIGApi(object):
|
|
|
1667
1861
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1668
1862
|
|
|
1669
1863
|
return self.api_client.call_api(
|
|
1670
|
-
'/
|
|
1864
|
+
'/DeleteUpstreamVersion/2021-03-03/apig/post/application_json/', 'POST',
|
|
1671
1865
|
path_params,
|
|
1672
1866
|
query_params,
|
|
1673
1867
|
header_params,
|
|
1674
1868
|
body=body_params,
|
|
1675
1869
|
post_params=form_params,
|
|
1676
1870
|
files=local_var_files,
|
|
1677
|
-
response_type='
|
|
1871
|
+
response_type='DeleteUpstreamVersionResponse', # noqa: E501
|
|
1678
1872
|
auth_settings=auth_settings,
|
|
1679
1873
|
async_req=params.get('async_req'),
|
|
1680
1874
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1682,38 +1876,38 @@ class APIGApi(object):
|
|
|
1682
1876
|
_request_timeout=params.get('_request_timeout'),
|
|
1683
1877
|
collection_formats=collection_formats)
|
|
1684
1878
|
|
|
1685
|
-
def
|
|
1686
|
-
"""
|
|
1879
|
+
def detach_gateway_lb(self, body, **kwargs): # noqa: E501
|
|
1880
|
+
"""detach_gateway_lb # noqa: E501
|
|
1687
1881
|
|
|
1688
1882
|
This method makes a synchronous HTTP request by default. To make an
|
|
1689
1883
|
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
-
>>> thread = api.
|
|
1884
|
+
>>> thread = api.detach_gateway_lb(body, async_req=True)
|
|
1691
1885
|
>>> result = thread.get()
|
|
1692
1886
|
|
|
1693
1887
|
:param async_req bool
|
|
1694
|
-
:param
|
|
1695
|
-
:return:
|
|
1888
|
+
:param DetachGatewayLBRequest body: (required)
|
|
1889
|
+
:return: DetachGatewayLBResponse
|
|
1696
1890
|
If the method is called asynchronously,
|
|
1697
1891
|
returns the request thread.
|
|
1698
1892
|
"""
|
|
1699
1893
|
kwargs['_return_http_data_only'] = True
|
|
1700
1894
|
if kwargs.get('async_req'):
|
|
1701
|
-
return self.
|
|
1895
|
+
return self.detach_gateway_lb_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
1896
|
else:
|
|
1703
|
-
(data) = self.
|
|
1897
|
+
(data) = self.detach_gateway_lb_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
1898
|
return data
|
|
1705
1899
|
|
|
1706
|
-
def
|
|
1707
|
-
"""
|
|
1900
|
+
def detach_gateway_lb_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1901
|
+
"""detach_gateway_lb # noqa: E501
|
|
1708
1902
|
|
|
1709
1903
|
This method makes a synchronous HTTP request by default. To make an
|
|
1710
1904
|
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
-
>>> thread = api.
|
|
1905
|
+
>>> thread = api.detach_gateway_lb_with_http_info(body, async_req=True)
|
|
1712
1906
|
>>> result = thread.get()
|
|
1713
1907
|
|
|
1714
1908
|
:param async_req bool
|
|
1715
|
-
:param
|
|
1716
|
-
:return:
|
|
1909
|
+
:param DetachGatewayLBRequest body: (required)
|
|
1910
|
+
:return: DetachGatewayLBResponse
|
|
1717
1911
|
If the method is called asynchronously,
|
|
1718
1912
|
returns the request thread.
|
|
1719
1913
|
"""
|
|
@@ -1729,14 +1923,14 @@ class APIGApi(object):
|
|
|
1729
1923
|
if key not in all_params:
|
|
1730
1924
|
raise TypeError(
|
|
1731
1925
|
"Got an unexpected keyword argument '%s'"
|
|
1732
|
-
" to method
|
|
1926
|
+
" to method detach_gateway_lb" % key
|
|
1733
1927
|
)
|
|
1734
1928
|
params[key] = val
|
|
1735
1929
|
del params['kwargs']
|
|
1736
1930
|
# verify the required parameter 'body' is set
|
|
1737
1931
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
1932
|
params['body'] is None): # noqa: E501
|
|
1739
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1933
|
+
raise ValueError("Missing the required parameter `body` when calling `detach_gateway_lb`") # noqa: E501
|
|
1740
1934
|
|
|
1741
1935
|
collection_formats = {}
|
|
1742
1936
|
|
|
@@ -1764,14 +1958,14 @@ class APIGApi(object):
|
|
|
1764
1958
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
1959
|
|
|
1766
1960
|
return self.api_client.call_api(
|
|
1767
|
-
'/
|
|
1961
|
+
'/DetachGatewayLB/2021-03-03/apig/post/application_json/', 'POST',
|
|
1768
1962
|
path_params,
|
|
1769
1963
|
query_params,
|
|
1770
1964
|
header_params,
|
|
1771
1965
|
body=body_params,
|
|
1772
1966
|
post_params=form_params,
|
|
1773
1967
|
files=local_var_files,
|
|
1774
|
-
response_type='
|
|
1968
|
+
response_type='DetachGatewayLBResponse', # noqa: E501
|
|
1775
1969
|
auth_settings=auth_settings,
|
|
1776
1970
|
async_req=params.get('async_req'),
|
|
1777
1971
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1779,38 +1973,38 @@ class APIGApi(object):
|
|
|
1779
1973
|
_request_timeout=params.get('_request_timeout'),
|
|
1780
1974
|
collection_formats=collection_formats)
|
|
1781
1975
|
|
|
1782
|
-
def
|
|
1783
|
-
"""
|
|
1976
|
+
def get_consumer(self, body, **kwargs): # noqa: E501
|
|
1977
|
+
"""get_consumer # noqa: E501
|
|
1784
1978
|
|
|
1785
1979
|
This method makes a synchronous HTTP request by default. To make an
|
|
1786
1980
|
asynchronous HTTP request, please pass async_req=True
|
|
1787
|
-
>>> thread = api.
|
|
1981
|
+
>>> thread = api.get_consumer(body, async_req=True)
|
|
1788
1982
|
>>> result = thread.get()
|
|
1789
1983
|
|
|
1790
1984
|
:param async_req bool
|
|
1791
|
-
:param
|
|
1792
|
-
:return:
|
|
1985
|
+
:param GetConsumerRequest body: (required)
|
|
1986
|
+
:return: GetConsumerResponse
|
|
1793
1987
|
If the method is called asynchronously,
|
|
1794
1988
|
returns the request thread.
|
|
1795
1989
|
"""
|
|
1796
1990
|
kwargs['_return_http_data_only'] = True
|
|
1797
1991
|
if kwargs.get('async_req'):
|
|
1798
|
-
return self.
|
|
1992
|
+
return self.get_consumer_with_http_info(body, **kwargs) # noqa: E501
|
|
1799
1993
|
else:
|
|
1800
|
-
(data) = self.
|
|
1994
|
+
(data) = self.get_consumer_with_http_info(body, **kwargs) # noqa: E501
|
|
1801
1995
|
return data
|
|
1802
1996
|
|
|
1803
|
-
def
|
|
1804
|
-
"""
|
|
1997
|
+
def get_consumer_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1998
|
+
"""get_consumer # noqa: E501
|
|
1805
1999
|
|
|
1806
2000
|
This method makes a synchronous HTTP request by default. To make an
|
|
1807
2001
|
asynchronous HTTP request, please pass async_req=True
|
|
1808
|
-
>>> thread = api.
|
|
2002
|
+
>>> thread = api.get_consumer_with_http_info(body, async_req=True)
|
|
1809
2003
|
>>> result = thread.get()
|
|
1810
2004
|
|
|
1811
2005
|
:param async_req bool
|
|
1812
|
-
:param
|
|
1813
|
-
:return:
|
|
2006
|
+
:param GetConsumerRequest body: (required)
|
|
2007
|
+
:return: GetConsumerResponse
|
|
1814
2008
|
If the method is called asynchronously,
|
|
1815
2009
|
returns the request thread.
|
|
1816
2010
|
"""
|
|
@@ -1826,14 +2020,14 @@ class APIGApi(object):
|
|
|
1826
2020
|
if key not in all_params:
|
|
1827
2021
|
raise TypeError(
|
|
1828
2022
|
"Got an unexpected keyword argument '%s'"
|
|
1829
|
-
" to method
|
|
2023
|
+
" to method get_consumer" % key
|
|
1830
2024
|
)
|
|
1831
2025
|
params[key] = val
|
|
1832
2026
|
del params['kwargs']
|
|
1833
2027
|
# verify the required parameter 'body' is set
|
|
1834
2028
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1835
2029
|
params['body'] is None): # noqa: E501
|
|
1836
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2030
|
+
raise ValueError("Missing the required parameter `body` when calling `get_consumer`") # noqa: E501
|
|
1837
2031
|
|
|
1838
2032
|
collection_formats = {}
|
|
1839
2033
|
|
|
@@ -1861,14 +2055,14 @@ class APIGApi(object):
|
|
|
1861
2055
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1862
2056
|
|
|
1863
2057
|
return self.api_client.call_api(
|
|
1864
|
-
'/
|
|
2058
|
+
'/GetConsumer/2021-03-03/apig/post/application_json/', 'POST',
|
|
1865
2059
|
path_params,
|
|
1866
2060
|
query_params,
|
|
1867
2061
|
header_params,
|
|
1868
2062
|
body=body_params,
|
|
1869
2063
|
post_params=form_params,
|
|
1870
2064
|
files=local_var_files,
|
|
1871
|
-
response_type='
|
|
2065
|
+
response_type='GetConsumerResponse', # noqa: E501
|
|
1872
2066
|
auth_settings=auth_settings,
|
|
1873
2067
|
async_req=params.get('async_req'),
|
|
1874
2068
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1876,38 +2070,38 @@ class APIGApi(object):
|
|
|
1876
2070
|
_request_timeout=params.get('_request_timeout'),
|
|
1877
2071
|
collection_formats=collection_formats)
|
|
1878
2072
|
|
|
1879
|
-
def
|
|
1880
|
-
"""
|
|
2073
|
+
def get_custom_domain(self, body, **kwargs): # noqa: E501
|
|
2074
|
+
"""get_custom_domain # noqa: E501
|
|
1881
2075
|
|
|
1882
2076
|
This method makes a synchronous HTTP request by default. To make an
|
|
1883
2077
|
asynchronous HTTP request, please pass async_req=True
|
|
1884
|
-
>>> thread = api.
|
|
2078
|
+
>>> thread = api.get_custom_domain(body, async_req=True)
|
|
1885
2079
|
>>> result = thread.get()
|
|
1886
2080
|
|
|
1887
2081
|
:param async_req bool
|
|
1888
|
-
:param
|
|
1889
|
-
:return:
|
|
2082
|
+
:param GetCustomDomainRequest body: (required)
|
|
2083
|
+
:return: GetCustomDomainResponse
|
|
1890
2084
|
If the method is called asynchronously,
|
|
1891
2085
|
returns the request thread.
|
|
1892
2086
|
"""
|
|
1893
2087
|
kwargs['_return_http_data_only'] = True
|
|
1894
2088
|
if kwargs.get('async_req'):
|
|
1895
|
-
return self.
|
|
2089
|
+
return self.get_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
1896
2090
|
else:
|
|
1897
|
-
(data) = self.
|
|
2091
|
+
(data) = self.get_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
1898
2092
|
return data
|
|
1899
2093
|
|
|
1900
|
-
def
|
|
1901
|
-
"""
|
|
2094
|
+
def get_custom_domain_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2095
|
+
"""get_custom_domain # noqa: E501
|
|
1902
2096
|
|
|
1903
2097
|
This method makes a synchronous HTTP request by default. To make an
|
|
1904
2098
|
asynchronous HTTP request, please pass async_req=True
|
|
1905
|
-
>>> thread = api.
|
|
2099
|
+
>>> thread = api.get_custom_domain_with_http_info(body, async_req=True)
|
|
1906
2100
|
>>> result = thread.get()
|
|
1907
2101
|
|
|
1908
2102
|
:param async_req bool
|
|
1909
|
-
:param
|
|
1910
|
-
:return:
|
|
2103
|
+
:param GetCustomDomainRequest body: (required)
|
|
2104
|
+
:return: GetCustomDomainResponse
|
|
1911
2105
|
If the method is called asynchronously,
|
|
1912
2106
|
returns the request thread.
|
|
1913
2107
|
"""
|
|
@@ -1923,14 +2117,14 @@ class APIGApi(object):
|
|
|
1923
2117
|
if key not in all_params:
|
|
1924
2118
|
raise TypeError(
|
|
1925
2119
|
"Got an unexpected keyword argument '%s'"
|
|
1926
|
-
" to method
|
|
2120
|
+
" to method get_custom_domain" % key
|
|
1927
2121
|
)
|
|
1928
2122
|
params[key] = val
|
|
1929
2123
|
del params['kwargs']
|
|
1930
2124
|
# verify the required parameter 'body' is set
|
|
1931
2125
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1932
2126
|
params['body'] is None): # noqa: E501
|
|
1933
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
2127
|
+
raise ValueError("Missing the required parameter `body` when calling `get_custom_domain`") # noqa: E501
|
|
1934
2128
|
|
|
1935
2129
|
collection_formats = {}
|
|
1936
2130
|
|
|
@@ -1958,14 +2152,14 @@ class APIGApi(object):
|
|
|
1958
2152
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1959
2153
|
|
|
1960
2154
|
return self.api_client.call_api(
|
|
1961
|
-
'/
|
|
2155
|
+
'/GetCustomDomain/2021-03-03/apig/post/application_json/', 'POST',
|
|
1962
2156
|
path_params,
|
|
1963
2157
|
query_params,
|
|
1964
2158
|
header_params,
|
|
1965
2159
|
body=body_params,
|
|
1966
2160
|
post_params=form_params,
|
|
1967
2161
|
files=local_var_files,
|
|
1968
|
-
response_type='
|
|
2162
|
+
response_type='GetCustomDomainResponse', # noqa: E501
|
|
1969
2163
|
auth_settings=auth_settings,
|
|
1970
2164
|
async_req=params.get('async_req'),
|
|
1971
2165
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1973,25 +2167,607 @@ class APIGApi(object):
|
|
|
1973
2167
|
_request_timeout=params.get('_request_timeout'),
|
|
1974
2168
|
collection_formats=collection_formats)
|
|
1975
2169
|
|
|
1976
|
-
def
|
|
1977
|
-
"""
|
|
2170
|
+
def get_gateway(self, body, **kwargs): # noqa: E501
|
|
2171
|
+
"""get_gateway # noqa: E501
|
|
1978
2172
|
|
|
1979
2173
|
This method makes a synchronous HTTP request by default. To make an
|
|
1980
2174
|
asynchronous HTTP request, please pass async_req=True
|
|
1981
|
-
>>> thread = api.
|
|
2175
|
+
>>> thread = api.get_gateway(body, async_req=True)
|
|
1982
2176
|
>>> result = thread.get()
|
|
1983
2177
|
|
|
1984
2178
|
:param async_req bool
|
|
1985
|
-
:param
|
|
1986
|
-
:return:
|
|
2179
|
+
:param GetGatewayRequest body: (required)
|
|
2180
|
+
:return: GetGatewayResponse
|
|
1987
2181
|
If the method is called asynchronously,
|
|
1988
2182
|
returns the request thread.
|
|
1989
2183
|
"""
|
|
1990
2184
|
kwargs['_return_http_data_only'] = True
|
|
1991
2185
|
if kwargs.get('async_req'):
|
|
1992
|
-
return self.
|
|
2186
|
+
return self.get_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
1993
2187
|
else:
|
|
1994
|
-
(data) = self.
|
|
2188
|
+
(data) = self.get_gateway_with_http_info(body, **kwargs) # noqa: E501
|
|
2189
|
+
return data
|
|
2190
|
+
|
|
2191
|
+
def get_gateway_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2192
|
+
"""get_gateway # noqa: E501
|
|
2193
|
+
|
|
2194
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2195
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2196
|
+
>>> thread = api.get_gateway_with_http_info(body, async_req=True)
|
|
2197
|
+
>>> result = thread.get()
|
|
2198
|
+
|
|
2199
|
+
:param async_req bool
|
|
2200
|
+
:param GetGatewayRequest body: (required)
|
|
2201
|
+
:return: GetGatewayResponse
|
|
2202
|
+
If the method is called asynchronously,
|
|
2203
|
+
returns the request thread.
|
|
2204
|
+
"""
|
|
2205
|
+
|
|
2206
|
+
all_params = ['body'] # noqa: E501
|
|
2207
|
+
all_params.append('async_req')
|
|
2208
|
+
all_params.append('_return_http_data_only')
|
|
2209
|
+
all_params.append('_preload_content')
|
|
2210
|
+
all_params.append('_request_timeout')
|
|
2211
|
+
|
|
2212
|
+
params = locals()
|
|
2213
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2214
|
+
if key not in all_params:
|
|
2215
|
+
raise TypeError(
|
|
2216
|
+
"Got an unexpected keyword argument '%s'"
|
|
2217
|
+
" to method get_gateway" % key
|
|
2218
|
+
)
|
|
2219
|
+
params[key] = val
|
|
2220
|
+
del params['kwargs']
|
|
2221
|
+
# verify the required parameter 'body' is set
|
|
2222
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2223
|
+
params['body'] is None): # noqa: E501
|
|
2224
|
+
raise ValueError("Missing the required parameter `body` when calling `get_gateway`") # noqa: E501
|
|
2225
|
+
|
|
2226
|
+
collection_formats = {}
|
|
2227
|
+
|
|
2228
|
+
path_params = {}
|
|
2229
|
+
|
|
2230
|
+
query_params = []
|
|
2231
|
+
|
|
2232
|
+
header_params = {}
|
|
2233
|
+
|
|
2234
|
+
form_params = []
|
|
2235
|
+
local_var_files = {}
|
|
2236
|
+
|
|
2237
|
+
body_params = None
|
|
2238
|
+
if 'body' in params:
|
|
2239
|
+
body_params = params['body']
|
|
2240
|
+
# HTTP header `Accept`
|
|
2241
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2242
|
+
['application/json']) # noqa: E501
|
|
2243
|
+
|
|
2244
|
+
# HTTP header `Content-Type`
|
|
2245
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2246
|
+
['application/json']) # noqa: E501
|
|
2247
|
+
|
|
2248
|
+
# Authentication setting
|
|
2249
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2250
|
+
|
|
2251
|
+
return self.api_client.call_api(
|
|
2252
|
+
'/GetGateway/2021-03-03/apig/post/application_json/', 'POST',
|
|
2253
|
+
path_params,
|
|
2254
|
+
query_params,
|
|
2255
|
+
header_params,
|
|
2256
|
+
body=body_params,
|
|
2257
|
+
post_params=form_params,
|
|
2258
|
+
files=local_var_files,
|
|
2259
|
+
response_type='GetGatewayResponse', # noqa: E501
|
|
2260
|
+
auth_settings=auth_settings,
|
|
2261
|
+
async_req=params.get('async_req'),
|
|
2262
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2263
|
+
_preload_content=params.get('_preload_content', True),
|
|
2264
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2265
|
+
collection_formats=collection_formats)
|
|
2266
|
+
|
|
2267
|
+
def get_gateway_service(self, body, **kwargs): # noqa: E501
|
|
2268
|
+
"""get_gateway_service # noqa: E501
|
|
2269
|
+
|
|
2270
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2271
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2272
|
+
>>> thread = api.get_gateway_service(body, async_req=True)
|
|
2273
|
+
>>> result = thread.get()
|
|
2274
|
+
|
|
2275
|
+
:param async_req bool
|
|
2276
|
+
:param GetGatewayServiceRequest body: (required)
|
|
2277
|
+
:return: GetGatewayServiceResponse
|
|
2278
|
+
If the method is called asynchronously,
|
|
2279
|
+
returns the request thread.
|
|
2280
|
+
"""
|
|
2281
|
+
kwargs['_return_http_data_only'] = True
|
|
2282
|
+
if kwargs.get('async_req'):
|
|
2283
|
+
return self.get_gateway_service_with_http_info(body, **kwargs) # noqa: E501
|
|
2284
|
+
else:
|
|
2285
|
+
(data) = self.get_gateway_service_with_http_info(body, **kwargs) # noqa: E501
|
|
2286
|
+
return data
|
|
2287
|
+
|
|
2288
|
+
def get_gateway_service_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2289
|
+
"""get_gateway_service # noqa: E501
|
|
2290
|
+
|
|
2291
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2292
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2293
|
+
>>> thread = api.get_gateway_service_with_http_info(body, async_req=True)
|
|
2294
|
+
>>> result = thread.get()
|
|
2295
|
+
|
|
2296
|
+
:param async_req bool
|
|
2297
|
+
:param GetGatewayServiceRequest body: (required)
|
|
2298
|
+
:return: GetGatewayServiceResponse
|
|
2299
|
+
If the method is called asynchronously,
|
|
2300
|
+
returns the request thread.
|
|
2301
|
+
"""
|
|
2302
|
+
|
|
2303
|
+
all_params = ['body'] # noqa: E501
|
|
2304
|
+
all_params.append('async_req')
|
|
2305
|
+
all_params.append('_return_http_data_only')
|
|
2306
|
+
all_params.append('_preload_content')
|
|
2307
|
+
all_params.append('_request_timeout')
|
|
2308
|
+
|
|
2309
|
+
params = locals()
|
|
2310
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2311
|
+
if key not in all_params:
|
|
2312
|
+
raise TypeError(
|
|
2313
|
+
"Got an unexpected keyword argument '%s'"
|
|
2314
|
+
" to method get_gateway_service" % key
|
|
2315
|
+
)
|
|
2316
|
+
params[key] = val
|
|
2317
|
+
del params['kwargs']
|
|
2318
|
+
# verify the required parameter 'body' is set
|
|
2319
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2320
|
+
params['body'] is None): # noqa: E501
|
|
2321
|
+
raise ValueError("Missing the required parameter `body` when calling `get_gateway_service`") # noqa: E501
|
|
2322
|
+
|
|
2323
|
+
collection_formats = {}
|
|
2324
|
+
|
|
2325
|
+
path_params = {}
|
|
2326
|
+
|
|
2327
|
+
query_params = []
|
|
2328
|
+
|
|
2329
|
+
header_params = {}
|
|
2330
|
+
|
|
2331
|
+
form_params = []
|
|
2332
|
+
local_var_files = {}
|
|
2333
|
+
|
|
2334
|
+
body_params = None
|
|
2335
|
+
if 'body' in params:
|
|
2336
|
+
body_params = params['body']
|
|
2337
|
+
# HTTP header `Accept`
|
|
2338
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2339
|
+
['application/json']) # noqa: E501
|
|
2340
|
+
|
|
2341
|
+
# HTTP header `Content-Type`
|
|
2342
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2343
|
+
['application/json']) # noqa: E501
|
|
2344
|
+
|
|
2345
|
+
# Authentication setting
|
|
2346
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2347
|
+
|
|
2348
|
+
return self.api_client.call_api(
|
|
2349
|
+
'/GetGatewayService/2021-03-03/apig/post/application_json/', 'POST',
|
|
2350
|
+
path_params,
|
|
2351
|
+
query_params,
|
|
2352
|
+
header_params,
|
|
2353
|
+
body=body_params,
|
|
2354
|
+
post_params=form_params,
|
|
2355
|
+
files=local_var_files,
|
|
2356
|
+
response_type='GetGatewayServiceResponse', # noqa: E501
|
|
2357
|
+
auth_settings=auth_settings,
|
|
2358
|
+
async_req=params.get('async_req'),
|
|
2359
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2360
|
+
_preload_content=params.get('_preload_content', True),
|
|
2361
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2362
|
+
collection_formats=collection_formats)
|
|
2363
|
+
|
|
2364
|
+
def get_jwt_token(self, body, **kwargs): # noqa: E501
|
|
2365
|
+
"""get_jwt_token # noqa: E501
|
|
2366
|
+
|
|
2367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2369
|
+
>>> thread = api.get_jwt_token(body, async_req=True)
|
|
2370
|
+
>>> result = thread.get()
|
|
2371
|
+
|
|
2372
|
+
:param async_req bool
|
|
2373
|
+
:param GetJwtTokenRequest body: (required)
|
|
2374
|
+
:return: GetJwtTokenResponse
|
|
2375
|
+
If the method is called asynchronously,
|
|
2376
|
+
returns the request thread.
|
|
2377
|
+
"""
|
|
2378
|
+
kwargs['_return_http_data_only'] = True
|
|
2379
|
+
if kwargs.get('async_req'):
|
|
2380
|
+
return self.get_jwt_token_with_http_info(body, **kwargs) # noqa: E501
|
|
2381
|
+
else:
|
|
2382
|
+
(data) = self.get_jwt_token_with_http_info(body, **kwargs) # noqa: E501
|
|
2383
|
+
return data
|
|
2384
|
+
|
|
2385
|
+
def get_jwt_token_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2386
|
+
"""get_jwt_token # noqa: E501
|
|
2387
|
+
|
|
2388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2390
|
+
>>> thread = api.get_jwt_token_with_http_info(body, async_req=True)
|
|
2391
|
+
>>> result = thread.get()
|
|
2392
|
+
|
|
2393
|
+
:param async_req bool
|
|
2394
|
+
:param GetJwtTokenRequest body: (required)
|
|
2395
|
+
:return: GetJwtTokenResponse
|
|
2396
|
+
If the method is called asynchronously,
|
|
2397
|
+
returns the request thread.
|
|
2398
|
+
"""
|
|
2399
|
+
|
|
2400
|
+
all_params = ['body'] # noqa: E501
|
|
2401
|
+
all_params.append('async_req')
|
|
2402
|
+
all_params.append('_return_http_data_only')
|
|
2403
|
+
all_params.append('_preload_content')
|
|
2404
|
+
all_params.append('_request_timeout')
|
|
2405
|
+
|
|
2406
|
+
params = locals()
|
|
2407
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2408
|
+
if key not in all_params:
|
|
2409
|
+
raise TypeError(
|
|
2410
|
+
"Got an unexpected keyword argument '%s'"
|
|
2411
|
+
" to method get_jwt_token" % key
|
|
2412
|
+
)
|
|
2413
|
+
params[key] = val
|
|
2414
|
+
del params['kwargs']
|
|
2415
|
+
# verify the required parameter 'body' is set
|
|
2416
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2417
|
+
params['body'] is None): # noqa: E501
|
|
2418
|
+
raise ValueError("Missing the required parameter `body` when calling `get_jwt_token`") # noqa: E501
|
|
2419
|
+
|
|
2420
|
+
collection_formats = {}
|
|
2421
|
+
|
|
2422
|
+
path_params = {}
|
|
2423
|
+
|
|
2424
|
+
query_params = []
|
|
2425
|
+
|
|
2426
|
+
header_params = {}
|
|
2427
|
+
|
|
2428
|
+
form_params = []
|
|
2429
|
+
local_var_files = {}
|
|
2430
|
+
|
|
2431
|
+
body_params = None
|
|
2432
|
+
if 'body' in params:
|
|
2433
|
+
body_params = params['body']
|
|
2434
|
+
# HTTP header `Accept`
|
|
2435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2436
|
+
['application/json']) # noqa: E501
|
|
2437
|
+
|
|
2438
|
+
# HTTP header `Content-Type`
|
|
2439
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2440
|
+
['application/json']) # noqa: E501
|
|
2441
|
+
|
|
2442
|
+
# Authentication setting
|
|
2443
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2444
|
+
|
|
2445
|
+
return self.api_client.call_api(
|
|
2446
|
+
'/GetJwtToken/2021-03-03/apig/post/application_json/', 'POST',
|
|
2447
|
+
path_params,
|
|
2448
|
+
query_params,
|
|
2449
|
+
header_params,
|
|
2450
|
+
body=body_params,
|
|
2451
|
+
post_params=form_params,
|
|
2452
|
+
files=local_var_files,
|
|
2453
|
+
response_type='GetJwtTokenResponse', # noqa: E501
|
|
2454
|
+
auth_settings=auth_settings,
|
|
2455
|
+
async_req=params.get('async_req'),
|
|
2456
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2457
|
+
_preload_content=params.get('_preload_content', True),
|
|
2458
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2459
|
+
collection_formats=collection_formats)
|
|
2460
|
+
|
|
2461
|
+
def get_plugin_binding(self, body, **kwargs): # noqa: E501
|
|
2462
|
+
"""get_plugin_binding # noqa: E501
|
|
2463
|
+
|
|
2464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2466
|
+
>>> thread = api.get_plugin_binding(body, async_req=True)
|
|
2467
|
+
>>> result = thread.get()
|
|
2468
|
+
|
|
2469
|
+
:param async_req bool
|
|
2470
|
+
:param GetPluginBindingRequest body: (required)
|
|
2471
|
+
:return: GetPluginBindingResponse
|
|
2472
|
+
If the method is called asynchronously,
|
|
2473
|
+
returns the request thread.
|
|
2474
|
+
"""
|
|
2475
|
+
kwargs['_return_http_data_only'] = True
|
|
2476
|
+
if kwargs.get('async_req'):
|
|
2477
|
+
return self.get_plugin_binding_with_http_info(body, **kwargs) # noqa: E501
|
|
2478
|
+
else:
|
|
2479
|
+
(data) = self.get_plugin_binding_with_http_info(body, **kwargs) # noqa: E501
|
|
2480
|
+
return data
|
|
2481
|
+
|
|
2482
|
+
def get_plugin_binding_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2483
|
+
"""get_plugin_binding # noqa: E501
|
|
2484
|
+
|
|
2485
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2486
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2487
|
+
>>> thread = api.get_plugin_binding_with_http_info(body, async_req=True)
|
|
2488
|
+
>>> result = thread.get()
|
|
2489
|
+
|
|
2490
|
+
:param async_req bool
|
|
2491
|
+
:param GetPluginBindingRequest body: (required)
|
|
2492
|
+
:return: GetPluginBindingResponse
|
|
2493
|
+
If the method is called asynchronously,
|
|
2494
|
+
returns the request thread.
|
|
2495
|
+
"""
|
|
2496
|
+
|
|
2497
|
+
all_params = ['body'] # noqa: E501
|
|
2498
|
+
all_params.append('async_req')
|
|
2499
|
+
all_params.append('_return_http_data_only')
|
|
2500
|
+
all_params.append('_preload_content')
|
|
2501
|
+
all_params.append('_request_timeout')
|
|
2502
|
+
|
|
2503
|
+
params = locals()
|
|
2504
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2505
|
+
if key not in all_params:
|
|
2506
|
+
raise TypeError(
|
|
2507
|
+
"Got an unexpected keyword argument '%s'"
|
|
2508
|
+
" to method get_plugin_binding" % key
|
|
2509
|
+
)
|
|
2510
|
+
params[key] = val
|
|
2511
|
+
del params['kwargs']
|
|
2512
|
+
# verify the required parameter 'body' is set
|
|
2513
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2514
|
+
params['body'] is None): # noqa: E501
|
|
2515
|
+
raise ValueError("Missing the required parameter `body` when calling `get_plugin_binding`") # noqa: E501
|
|
2516
|
+
|
|
2517
|
+
collection_formats = {}
|
|
2518
|
+
|
|
2519
|
+
path_params = {}
|
|
2520
|
+
|
|
2521
|
+
query_params = []
|
|
2522
|
+
|
|
2523
|
+
header_params = {}
|
|
2524
|
+
|
|
2525
|
+
form_params = []
|
|
2526
|
+
local_var_files = {}
|
|
2527
|
+
|
|
2528
|
+
body_params = None
|
|
2529
|
+
if 'body' in params:
|
|
2530
|
+
body_params = params['body']
|
|
2531
|
+
# HTTP header `Accept`
|
|
2532
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2533
|
+
['application/json']) # noqa: E501
|
|
2534
|
+
|
|
2535
|
+
# HTTP header `Content-Type`
|
|
2536
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2537
|
+
['application/json']) # noqa: E501
|
|
2538
|
+
|
|
2539
|
+
# Authentication setting
|
|
2540
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2541
|
+
|
|
2542
|
+
return self.api_client.call_api(
|
|
2543
|
+
'/GetPluginBinding/2021-03-03/apig/post/application_json/', 'POST',
|
|
2544
|
+
path_params,
|
|
2545
|
+
query_params,
|
|
2546
|
+
header_params,
|
|
2547
|
+
body=body_params,
|
|
2548
|
+
post_params=form_params,
|
|
2549
|
+
files=local_var_files,
|
|
2550
|
+
response_type='GetPluginBindingResponse', # noqa: E501
|
|
2551
|
+
auth_settings=auth_settings,
|
|
2552
|
+
async_req=params.get('async_req'),
|
|
2553
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2554
|
+
_preload_content=params.get('_preload_content', True),
|
|
2555
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2556
|
+
collection_formats=collection_formats)
|
|
2557
|
+
|
|
2558
|
+
def get_upstream(self, body, **kwargs): # noqa: E501
|
|
2559
|
+
"""get_upstream # noqa: E501
|
|
2560
|
+
|
|
2561
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2562
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2563
|
+
>>> thread = api.get_upstream(body, async_req=True)
|
|
2564
|
+
>>> result = thread.get()
|
|
2565
|
+
|
|
2566
|
+
:param async_req bool
|
|
2567
|
+
:param GetUpstreamRequest body: (required)
|
|
2568
|
+
:return: GetUpstreamResponse
|
|
2569
|
+
If the method is called asynchronously,
|
|
2570
|
+
returns the request thread.
|
|
2571
|
+
"""
|
|
2572
|
+
kwargs['_return_http_data_only'] = True
|
|
2573
|
+
if kwargs.get('async_req'):
|
|
2574
|
+
return self.get_upstream_with_http_info(body, **kwargs) # noqa: E501
|
|
2575
|
+
else:
|
|
2576
|
+
(data) = self.get_upstream_with_http_info(body, **kwargs) # noqa: E501
|
|
2577
|
+
return data
|
|
2578
|
+
|
|
2579
|
+
def get_upstream_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2580
|
+
"""get_upstream # noqa: E501
|
|
2581
|
+
|
|
2582
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2583
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2584
|
+
>>> thread = api.get_upstream_with_http_info(body, async_req=True)
|
|
2585
|
+
>>> result = thread.get()
|
|
2586
|
+
|
|
2587
|
+
:param async_req bool
|
|
2588
|
+
:param GetUpstreamRequest body: (required)
|
|
2589
|
+
:return: GetUpstreamResponse
|
|
2590
|
+
If the method is called asynchronously,
|
|
2591
|
+
returns the request thread.
|
|
2592
|
+
"""
|
|
2593
|
+
|
|
2594
|
+
all_params = ['body'] # noqa: E501
|
|
2595
|
+
all_params.append('async_req')
|
|
2596
|
+
all_params.append('_return_http_data_only')
|
|
2597
|
+
all_params.append('_preload_content')
|
|
2598
|
+
all_params.append('_request_timeout')
|
|
2599
|
+
|
|
2600
|
+
params = locals()
|
|
2601
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2602
|
+
if key not in all_params:
|
|
2603
|
+
raise TypeError(
|
|
2604
|
+
"Got an unexpected keyword argument '%s'"
|
|
2605
|
+
" to method get_upstream" % key
|
|
2606
|
+
)
|
|
2607
|
+
params[key] = val
|
|
2608
|
+
del params['kwargs']
|
|
2609
|
+
# verify the required parameter 'body' is set
|
|
2610
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2611
|
+
params['body'] is None): # noqa: E501
|
|
2612
|
+
raise ValueError("Missing the required parameter `body` when calling `get_upstream`") # noqa: E501
|
|
2613
|
+
|
|
2614
|
+
collection_formats = {}
|
|
2615
|
+
|
|
2616
|
+
path_params = {}
|
|
2617
|
+
|
|
2618
|
+
query_params = []
|
|
2619
|
+
|
|
2620
|
+
header_params = {}
|
|
2621
|
+
|
|
2622
|
+
form_params = []
|
|
2623
|
+
local_var_files = {}
|
|
2624
|
+
|
|
2625
|
+
body_params = None
|
|
2626
|
+
if 'body' in params:
|
|
2627
|
+
body_params = params['body']
|
|
2628
|
+
# HTTP header `Accept`
|
|
2629
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2630
|
+
['application/json']) # noqa: E501
|
|
2631
|
+
|
|
2632
|
+
# HTTP header `Content-Type`
|
|
2633
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2634
|
+
['application/json']) # noqa: E501
|
|
2635
|
+
|
|
2636
|
+
# Authentication setting
|
|
2637
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2638
|
+
|
|
2639
|
+
return self.api_client.call_api(
|
|
2640
|
+
'/GetUpstream/2021-03-03/apig/post/application_json/', 'POST',
|
|
2641
|
+
path_params,
|
|
2642
|
+
query_params,
|
|
2643
|
+
header_params,
|
|
2644
|
+
body=body_params,
|
|
2645
|
+
post_params=form_params,
|
|
2646
|
+
files=local_var_files,
|
|
2647
|
+
response_type='GetUpstreamResponse', # noqa: E501
|
|
2648
|
+
auth_settings=auth_settings,
|
|
2649
|
+
async_req=params.get('async_req'),
|
|
2650
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2651
|
+
_preload_content=params.get('_preload_content', True),
|
|
2652
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2653
|
+
collection_formats=collection_formats)
|
|
2654
|
+
|
|
2655
|
+
def get_upstream_source(self, body, **kwargs): # noqa: E501
|
|
2656
|
+
"""get_upstream_source # noqa: E501
|
|
2657
|
+
|
|
2658
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2659
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2660
|
+
>>> thread = api.get_upstream_source(body, async_req=True)
|
|
2661
|
+
>>> result = thread.get()
|
|
2662
|
+
|
|
2663
|
+
:param async_req bool
|
|
2664
|
+
:param GetUpstreamSourceRequest body: (required)
|
|
2665
|
+
:return: GetUpstreamSourceResponse
|
|
2666
|
+
If the method is called asynchronously,
|
|
2667
|
+
returns the request thread.
|
|
2668
|
+
"""
|
|
2669
|
+
kwargs['_return_http_data_only'] = True
|
|
2670
|
+
if kwargs.get('async_req'):
|
|
2671
|
+
return self.get_upstream_source_with_http_info(body, **kwargs) # noqa: E501
|
|
2672
|
+
else:
|
|
2673
|
+
(data) = self.get_upstream_source_with_http_info(body, **kwargs) # noqa: E501
|
|
2674
|
+
return data
|
|
2675
|
+
|
|
2676
|
+
def get_upstream_source_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2677
|
+
"""get_upstream_source # noqa: E501
|
|
2678
|
+
|
|
2679
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2680
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2681
|
+
>>> thread = api.get_upstream_source_with_http_info(body, async_req=True)
|
|
2682
|
+
>>> result = thread.get()
|
|
2683
|
+
|
|
2684
|
+
:param async_req bool
|
|
2685
|
+
:param GetUpstreamSourceRequest body: (required)
|
|
2686
|
+
:return: GetUpstreamSourceResponse
|
|
2687
|
+
If the method is called asynchronously,
|
|
2688
|
+
returns the request thread.
|
|
2689
|
+
"""
|
|
2690
|
+
|
|
2691
|
+
all_params = ['body'] # noqa: E501
|
|
2692
|
+
all_params.append('async_req')
|
|
2693
|
+
all_params.append('_return_http_data_only')
|
|
2694
|
+
all_params.append('_preload_content')
|
|
2695
|
+
all_params.append('_request_timeout')
|
|
2696
|
+
|
|
2697
|
+
params = locals()
|
|
2698
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2699
|
+
if key not in all_params:
|
|
2700
|
+
raise TypeError(
|
|
2701
|
+
"Got an unexpected keyword argument '%s'"
|
|
2702
|
+
" to method get_upstream_source" % key
|
|
2703
|
+
)
|
|
2704
|
+
params[key] = val
|
|
2705
|
+
del params['kwargs']
|
|
2706
|
+
# verify the required parameter 'body' is set
|
|
2707
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2708
|
+
params['body'] is None): # noqa: E501
|
|
2709
|
+
raise ValueError("Missing the required parameter `body` when calling `get_upstream_source`") # noqa: E501
|
|
2710
|
+
|
|
2711
|
+
collection_formats = {}
|
|
2712
|
+
|
|
2713
|
+
path_params = {}
|
|
2714
|
+
|
|
2715
|
+
query_params = []
|
|
2716
|
+
|
|
2717
|
+
header_params = {}
|
|
2718
|
+
|
|
2719
|
+
form_params = []
|
|
2720
|
+
local_var_files = {}
|
|
2721
|
+
|
|
2722
|
+
body_params = None
|
|
2723
|
+
if 'body' in params:
|
|
2724
|
+
body_params = params['body']
|
|
2725
|
+
# HTTP header `Accept`
|
|
2726
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2727
|
+
['application/json']) # noqa: E501
|
|
2728
|
+
|
|
2729
|
+
# HTTP header `Content-Type`
|
|
2730
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2731
|
+
['application/json']) # noqa: E501
|
|
2732
|
+
|
|
2733
|
+
# Authentication setting
|
|
2734
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2735
|
+
|
|
2736
|
+
return self.api_client.call_api(
|
|
2737
|
+
'/GetUpstreamSource/2021-03-03/apig/post/application_json/', 'POST',
|
|
2738
|
+
path_params,
|
|
2739
|
+
query_params,
|
|
2740
|
+
header_params,
|
|
2741
|
+
body=body_params,
|
|
2742
|
+
post_params=form_params,
|
|
2743
|
+
files=local_var_files,
|
|
2744
|
+
response_type='GetUpstreamSourceResponse', # noqa: E501
|
|
2745
|
+
auth_settings=auth_settings,
|
|
2746
|
+
async_req=params.get('async_req'),
|
|
2747
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2748
|
+
_preload_content=params.get('_preload_content', True),
|
|
2749
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2750
|
+
collection_formats=collection_formats)
|
|
2751
|
+
|
|
2752
|
+
def list_consumer_credentials(self, body, **kwargs): # noqa: E501
|
|
2753
|
+
"""list_consumer_credentials # noqa: E501
|
|
2754
|
+
|
|
2755
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2756
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2757
|
+
>>> thread = api.list_consumer_credentials(body, async_req=True)
|
|
2758
|
+
>>> result = thread.get()
|
|
2759
|
+
|
|
2760
|
+
:param async_req bool
|
|
2761
|
+
:param ListConsumerCredentialsRequest body: (required)
|
|
2762
|
+
:return: ListConsumerCredentialsResponse
|
|
2763
|
+
If the method is called asynchronously,
|
|
2764
|
+
returns the request thread.
|
|
2765
|
+
"""
|
|
2766
|
+
kwargs['_return_http_data_only'] = True
|
|
2767
|
+
if kwargs.get('async_req'):
|
|
2768
|
+
return self.list_consumer_credentials_with_http_info(body, **kwargs) # noqa: E501
|
|
2769
|
+
else:
|
|
2770
|
+
(data) = self.list_consumer_credentials_with_http_info(body, **kwargs) # noqa: E501
|
|
1995
2771
|
return data
|
|
1996
2772
|
|
|
1997
2773
|
def list_consumer_credentials_with_http_info(self, body, **kwargs): # noqa: E501
|
|
@@ -2079,29 +2855,223 @@ class APIGApi(object):
|
|
|
2079
2855
|
>>> result = thread.get()
|
|
2080
2856
|
|
|
2081
2857
|
:param async_req bool
|
|
2082
|
-
:param ListConsumersRequest body: (required)
|
|
2083
|
-
:return: ListConsumersResponse
|
|
2858
|
+
:param ListConsumersRequest body: (required)
|
|
2859
|
+
:return: ListConsumersResponse
|
|
2860
|
+
If the method is called asynchronously,
|
|
2861
|
+
returns the request thread.
|
|
2862
|
+
"""
|
|
2863
|
+
kwargs['_return_http_data_only'] = True
|
|
2864
|
+
if kwargs.get('async_req'):
|
|
2865
|
+
return self.list_consumers_with_http_info(body, **kwargs) # noqa: E501
|
|
2866
|
+
else:
|
|
2867
|
+
(data) = self.list_consumers_with_http_info(body, **kwargs) # noqa: E501
|
|
2868
|
+
return data
|
|
2869
|
+
|
|
2870
|
+
def list_consumers_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2871
|
+
"""list_consumers # noqa: E501
|
|
2872
|
+
|
|
2873
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2874
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2875
|
+
>>> thread = api.list_consumers_with_http_info(body, async_req=True)
|
|
2876
|
+
>>> result = thread.get()
|
|
2877
|
+
|
|
2878
|
+
:param async_req bool
|
|
2879
|
+
:param ListConsumersRequest body: (required)
|
|
2880
|
+
:return: ListConsumersResponse
|
|
2881
|
+
If the method is called asynchronously,
|
|
2882
|
+
returns the request thread.
|
|
2883
|
+
"""
|
|
2884
|
+
|
|
2885
|
+
all_params = ['body'] # noqa: E501
|
|
2886
|
+
all_params.append('async_req')
|
|
2887
|
+
all_params.append('_return_http_data_only')
|
|
2888
|
+
all_params.append('_preload_content')
|
|
2889
|
+
all_params.append('_request_timeout')
|
|
2890
|
+
|
|
2891
|
+
params = locals()
|
|
2892
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2893
|
+
if key not in all_params:
|
|
2894
|
+
raise TypeError(
|
|
2895
|
+
"Got an unexpected keyword argument '%s'"
|
|
2896
|
+
" to method list_consumers" % key
|
|
2897
|
+
)
|
|
2898
|
+
params[key] = val
|
|
2899
|
+
del params['kwargs']
|
|
2900
|
+
# verify the required parameter 'body' is set
|
|
2901
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2902
|
+
params['body'] is None): # noqa: E501
|
|
2903
|
+
raise ValueError("Missing the required parameter `body` when calling `list_consumers`") # noqa: E501
|
|
2904
|
+
|
|
2905
|
+
collection_formats = {}
|
|
2906
|
+
|
|
2907
|
+
path_params = {}
|
|
2908
|
+
|
|
2909
|
+
query_params = []
|
|
2910
|
+
|
|
2911
|
+
header_params = {}
|
|
2912
|
+
|
|
2913
|
+
form_params = []
|
|
2914
|
+
local_var_files = {}
|
|
2915
|
+
|
|
2916
|
+
body_params = None
|
|
2917
|
+
if 'body' in params:
|
|
2918
|
+
body_params = params['body']
|
|
2919
|
+
# HTTP header `Accept`
|
|
2920
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2921
|
+
['application/json']) # noqa: E501
|
|
2922
|
+
|
|
2923
|
+
# HTTP header `Content-Type`
|
|
2924
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2925
|
+
['application/json']) # noqa: E501
|
|
2926
|
+
|
|
2927
|
+
# Authentication setting
|
|
2928
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2929
|
+
|
|
2930
|
+
return self.api_client.call_api(
|
|
2931
|
+
'/ListConsumers/2021-03-03/apig/post/application_json/', 'POST',
|
|
2932
|
+
path_params,
|
|
2933
|
+
query_params,
|
|
2934
|
+
header_params,
|
|
2935
|
+
body=body_params,
|
|
2936
|
+
post_params=form_params,
|
|
2937
|
+
files=local_var_files,
|
|
2938
|
+
response_type='ListConsumersResponse', # noqa: E501
|
|
2939
|
+
auth_settings=auth_settings,
|
|
2940
|
+
async_req=params.get('async_req'),
|
|
2941
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2942
|
+
_preload_content=params.get('_preload_content', True),
|
|
2943
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2944
|
+
collection_formats=collection_formats)
|
|
2945
|
+
|
|
2946
|
+
def list_custom_domains(self, body, **kwargs): # noqa: E501
|
|
2947
|
+
"""list_custom_domains # noqa: E501
|
|
2948
|
+
|
|
2949
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2950
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2951
|
+
>>> thread = api.list_custom_domains(body, async_req=True)
|
|
2952
|
+
>>> result = thread.get()
|
|
2953
|
+
|
|
2954
|
+
:param async_req bool
|
|
2955
|
+
:param ListCustomDomainsRequest body: (required)
|
|
2956
|
+
:return: ListCustomDomainsResponse
|
|
2957
|
+
If the method is called asynchronously,
|
|
2958
|
+
returns the request thread.
|
|
2959
|
+
"""
|
|
2960
|
+
kwargs['_return_http_data_only'] = True
|
|
2961
|
+
if kwargs.get('async_req'):
|
|
2962
|
+
return self.list_custom_domains_with_http_info(body, **kwargs) # noqa: E501
|
|
2963
|
+
else:
|
|
2964
|
+
(data) = self.list_custom_domains_with_http_info(body, **kwargs) # noqa: E501
|
|
2965
|
+
return data
|
|
2966
|
+
|
|
2967
|
+
def list_custom_domains_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2968
|
+
"""list_custom_domains # noqa: E501
|
|
2969
|
+
|
|
2970
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2971
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2972
|
+
>>> thread = api.list_custom_domains_with_http_info(body, async_req=True)
|
|
2973
|
+
>>> result = thread.get()
|
|
2974
|
+
|
|
2975
|
+
:param async_req bool
|
|
2976
|
+
:param ListCustomDomainsRequest body: (required)
|
|
2977
|
+
:return: ListCustomDomainsResponse
|
|
2978
|
+
If the method is called asynchronously,
|
|
2979
|
+
returns the request thread.
|
|
2980
|
+
"""
|
|
2981
|
+
|
|
2982
|
+
all_params = ['body'] # noqa: E501
|
|
2983
|
+
all_params.append('async_req')
|
|
2984
|
+
all_params.append('_return_http_data_only')
|
|
2985
|
+
all_params.append('_preload_content')
|
|
2986
|
+
all_params.append('_request_timeout')
|
|
2987
|
+
|
|
2988
|
+
params = locals()
|
|
2989
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2990
|
+
if key not in all_params:
|
|
2991
|
+
raise TypeError(
|
|
2992
|
+
"Got an unexpected keyword argument '%s'"
|
|
2993
|
+
" to method list_custom_domains" % key
|
|
2994
|
+
)
|
|
2995
|
+
params[key] = val
|
|
2996
|
+
del params['kwargs']
|
|
2997
|
+
# verify the required parameter 'body' is set
|
|
2998
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2999
|
+
params['body'] is None): # noqa: E501
|
|
3000
|
+
raise ValueError("Missing the required parameter `body` when calling `list_custom_domains`") # noqa: E501
|
|
3001
|
+
|
|
3002
|
+
collection_formats = {}
|
|
3003
|
+
|
|
3004
|
+
path_params = {}
|
|
3005
|
+
|
|
3006
|
+
query_params = []
|
|
3007
|
+
|
|
3008
|
+
header_params = {}
|
|
3009
|
+
|
|
3010
|
+
form_params = []
|
|
3011
|
+
local_var_files = {}
|
|
3012
|
+
|
|
3013
|
+
body_params = None
|
|
3014
|
+
if 'body' in params:
|
|
3015
|
+
body_params = params['body']
|
|
3016
|
+
# HTTP header `Accept`
|
|
3017
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3018
|
+
['application/json']) # noqa: E501
|
|
3019
|
+
|
|
3020
|
+
# HTTP header `Content-Type`
|
|
3021
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3022
|
+
['application/json']) # noqa: E501
|
|
3023
|
+
|
|
3024
|
+
# Authentication setting
|
|
3025
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
3026
|
+
|
|
3027
|
+
return self.api_client.call_api(
|
|
3028
|
+
'/ListCustomDomains/2021-03-03/apig/post/application_json/', 'POST',
|
|
3029
|
+
path_params,
|
|
3030
|
+
query_params,
|
|
3031
|
+
header_params,
|
|
3032
|
+
body=body_params,
|
|
3033
|
+
post_params=form_params,
|
|
3034
|
+
files=local_var_files,
|
|
3035
|
+
response_type='ListCustomDomainsResponse', # noqa: E501
|
|
3036
|
+
auth_settings=auth_settings,
|
|
3037
|
+
async_req=params.get('async_req'),
|
|
3038
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3039
|
+
_preload_content=params.get('_preload_content', True),
|
|
3040
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3041
|
+
collection_formats=collection_formats)
|
|
3042
|
+
|
|
3043
|
+
def list_gateway_lbs(self, body, **kwargs): # noqa: E501
|
|
3044
|
+
"""list_gateway_lbs # noqa: E501
|
|
3045
|
+
|
|
3046
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3047
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3048
|
+
>>> thread = api.list_gateway_lbs(body, async_req=True)
|
|
3049
|
+
>>> result = thread.get()
|
|
3050
|
+
|
|
3051
|
+
:param async_req bool
|
|
3052
|
+
:param ListGatewayLBsRequest body: (required)
|
|
3053
|
+
:return: ListGatewayLBsResponse
|
|
2084
3054
|
If the method is called asynchronously,
|
|
2085
3055
|
returns the request thread.
|
|
2086
3056
|
"""
|
|
2087
3057
|
kwargs['_return_http_data_only'] = True
|
|
2088
3058
|
if kwargs.get('async_req'):
|
|
2089
|
-
return self.
|
|
3059
|
+
return self.list_gateway_lbs_with_http_info(body, **kwargs) # noqa: E501
|
|
2090
3060
|
else:
|
|
2091
|
-
(data) = self.
|
|
3061
|
+
(data) = self.list_gateway_lbs_with_http_info(body, **kwargs) # noqa: E501
|
|
2092
3062
|
return data
|
|
2093
3063
|
|
|
2094
|
-
def
|
|
2095
|
-
"""
|
|
3064
|
+
def list_gateway_lbs_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3065
|
+
"""list_gateway_lbs # noqa: E501
|
|
2096
3066
|
|
|
2097
3067
|
This method makes a synchronous HTTP request by default. To make an
|
|
2098
3068
|
asynchronous HTTP request, please pass async_req=True
|
|
2099
|
-
>>> thread = api.
|
|
3069
|
+
>>> thread = api.list_gateway_lbs_with_http_info(body, async_req=True)
|
|
2100
3070
|
>>> result = thread.get()
|
|
2101
3071
|
|
|
2102
3072
|
:param async_req bool
|
|
2103
|
-
:param
|
|
2104
|
-
:return:
|
|
3073
|
+
:param ListGatewayLBsRequest body: (required)
|
|
3074
|
+
:return: ListGatewayLBsResponse
|
|
2105
3075
|
If the method is called asynchronously,
|
|
2106
3076
|
returns the request thread.
|
|
2107
3077
|
"""
|
|
@@ -2117,14 +3087,14 @@ class APIGApi(object):
|
|
|
2117
3087
|
if key not in all_params:
|
|
2118
3088
|
raise TypeError(
|
|
2119
3089
|
"Got an unexpected keyword argument '%s'"
|
|
2120
|
-
" to method
|
|
3090
|
+
" to method list_gateway_lbs" % key
|
|
2121
3091
|
)
|
|
2122
3092
|
params[key] = val
|
|
2123
3093
|
del params['kwargs']
|
|
2124
3094
|
# verify the required parameter 'body' is set
|
|
2125
3095
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
2126
3096
|
params['body'] is None): # noqa: E501
|
|
2127
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
3097
|
+
raise ValueError("Missing the required parameter `body` when calling `list_gateway_lbs`") # noqa: E501
|
|
2128
3098
|
|
|
2129
3099
|
collection_formats = {}
|
|
2130
3100
|
|
|
@@ -2152,14 +3122,14 @@ class APIGApi(object):
|
|
|
2152
3122
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2153
3123
|
|
|
2154
3124
|
return self.api_client.call_api(
|
|
2155
|
-
'/
|
|
3125
|
+
'/ListGatewayLBs/2021-03-03/apig/post/application_json/', 'POST',
|
|
2156
3126
|
path_params,
|
|
2157
3127
|
query_params,
|
|
2158
3128
|
header_params,
|
|
2159
3129
|
body=body_params,
|
|
2160
3130
|
post_params=form_params,
|
|
2161
3131
|
files=local_var_files,
|
|
2162
|
-
response_type='
|
|
3132
|
+
response_type='ListGatewayLBsResponse', # noqa: E501
|
|
2163
3133
|
auth_settings=auth_settings,
|
|
2164
3134
|
async_req=params.get('async_req'),
|
|
2165
3135
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -2749,6 +3719,103 @@ class APIGApi(object):
|
|
|
2749
3719
|
_request_timeout=params.get('_request_timeout'),
|
|
2750
3720
|
collection_formats=collection_formats)
|
|
2751
3721
|
|
|
3722
|
+
def update_custom_domain(self, body, **kwargs): # noqa: E501
|
|
3723
|
+
"""update_custom_domain # noqa: E501
|
|
3724
|
+
|
|
3725
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3726
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3727
|
+
>>> thread = api.update_custom_domain(body, async_req=True)
|
|
3728
|
+
>>> result = thread.get()
|
|
3729
|
+
|
|
3730
|
+
:param async_req bool
|
|
3731
|
+
:param UpdateCustomDomainRequest body: (required)
|
|
3732
|
+
:return: UpdateCustomDomainResponse
|
|
3733
|
+
If the method is called asynchronously,
|
|
3734
|
+
returns the request thread.
|
|
3735
|
+
"""
|
|
3736
|
+
kwargs['_return_http_data_only'] = True
|
|
3737
|
+
if kwargs.get('async_req'):
|
|
3738
|
+
return self.update_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
3739
|
+
else:
|
|
3740
|
+
(data) = self.update_custom_domain_with_http_info(body, **kwargs) # noqa: E501
|
|
3741
|
+
return data
|
|
3742
|
+
|
|
3743
|
+
def update_custom_domain_with_http_info(self, body, **kwargs): # noqa: E501
|
|
3744
|
+
"""update_custom_domain # noqa: E501
|
|
3745
|
+
|
|
3746
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3747
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3748
|
+
>>> thread = api.update_custom_domain_with_http_info(body, async_req=True)
|
|
3749
|
+
>>> result = thread.get()
|
|
3750
|
+
|
|
3751
|
+
:param async_req bool
|
|
3752
|
+
:param UpdateCustomDomainRequest body: (required)
|
|
3753
|
+
:return: UpdateCustomDomainResponse
|
|
3754
|
+
If the method is called asynchronously,
|
|
3755
|
+
returns the request thread.
|
|
3756
|
+
"""
|
|
3757
|
+
|
|
3758
|
+
all_params = ['body'] # noqa: E501
|
|
3759
|
+
all_params.append('async_req')
|
|
3760
|
+
all_params.append('_return_http_data_only')
|
|
3761
|
+
all_params.append('_preload_content')
|
|
3762
|
+
all_params.append('_request_timeout')
|
|
3763
|
+
|
|
3764
|
+
params = locals()
|
|
3765
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3766
|
+
if key not in all_params:
|
|
3767
|
+
raise TypeError(
|
|
3768
|
+
"Got an unexpected keyword argument '%s'"
|
|
3769
|
+
" to method update_custom_domain" % key
|
|
3770
|
+
)
|
|
3771
|
+
params[key] = val
|
|
3772
|
+
del params['kwargs']
|
|
3773
|
+
# verify the required parameter 'body' is set
|
|
3774
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
3775
|
+
params['body'] is None): # noqa: E501
|
|
3776
|
+
raise ValueError("Missing the required parameter `body` when calling `update_custom_domain`") # noqa: E501
|
|
3777
|
+
|
|
3778
|
+
collection_formats = {}
|
|
3779
|
+
|
|
3780
|
+
path_params = {}
|
|
3781
|
+
|
|
3782
|
+
query_params = []
|
|
3783
|
+
|
|
3784
|
+
header_params = {}
|
|
3785
|
+
|
|
3786
|
+
form_params = []
|
|
3787
|
+
local_var_files = {}
|
|
3788
|
+
|
|
3789
|
+
body_params = None
|
|
3790
|
+
if 'body' in params:
|
|
3791
|
+
body_params = params['body']
|
|
3792
|
+
# HTTP header `Accept`
|
|
3793
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3794
|
+
['application/json']) # noqa: E501
|
|
3795
|
+
|
|
3796
|
+
# HTTP header `Content-Type`
|
|
3797
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3798
|
+
['application/json']) # noqa: E501
|
|
3799
|
+
|
|
3800
|
+
# Authentication setting
|
|
3801
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
3802
|
+
|
|
3803
|
+
return self.api_client.call_api(
|
|
3804
|
+
'/UpdateCustomDomain/2021-03-03/apig/post/application_json/', 'POST',
|
|
3805
|
+
path_params,
|
|
3806
|
+
query_params,
|
|
3807
|
+
header_params,
|
|
3808
|
+
body=body_params,
|
|
3809
|
+
post_params=form_params,
|
|
3810
|
+
files=local_var_files,
|
|
3811
|
+
response_type='UpdateCustomDomainResponse', # noqa: E501
|
|
3812
|
+
auth_settings=auth_settings,
|
|
3813
|
+
async_req=params.get('async_req'),
|
|
3814
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3815
|
+
_preload_content=params.get('_preload_content', True),
|
|
3816
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3817
|
+
collection_formats=collection_formats)
|
|
3818
|
+
|
|
2752
3819
|
def update_gateway(self, body, **kwargs): # noqa: E501
|
|
2753
3820
|
"""update_gateway # noqa: E501
|
|
2754
3821
|
|
|
@@ -3234,6 +4301,103 @@ class APIGApi(object):
|
|
|
3234
4301
|
_request_timeout=params.get('_request_timeout'),
|
|
3235
4302
|
collection_formats=collection_formats)
|
|
3236
4303
|
|
|
4304
|
+
def update_gateway_trace(self, body, **kwargs): # noqa: E501
|
|
4305
|
+
"""update_gateway_trace # noqa: E501
|
|
4306
|
+
|
|
4307
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4308
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4309
|
+
>>> thread = api.update_gateway_trace(body, async_req=True)
|
|
4310
|
+
>>> result = thread.get()
|
|
4311
|
+
|
|
4312
|
+
:param async_req bool
|
|
4313
|
+
:param UpdateGatewayTraceRequest body: (required)
|
|
4314
|
+
:return: UpdateGatewayTraceResponse
|
|
4315
|
+
If the method is called asynchronously,
|
|
4316
|
+
returns the request thread.
|
|
4317
|
+
"""
|
|
4318
|
+
kwargs['_return_http_data_only'] = True
|
|
4319
|
+
if kwargs.get('async_req'):
|
|
4320
|
+
return self.update_gateway_trace_with_http_info(body, **kwargs) # noqa: E501
|
|
4321
|
+
else:
|
|
4322
|
+
(data) = self.update_gateway_trace_with_http_info(body, **kwargs) # noqa: E501
|
|
4323
|
+
return data
|
|
4324
|
+
|
|
4325
|
+
def update_gateway_trace_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4326
|
+
"""update_gateway_trace # noqa: E501
|
|
4327
|
+
|
|
4328
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4329
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4330
|
+
>>> thread = api.update_gateway_trace_with_http_info(body, async_req=True)
|
|
4331
|
+
>>> result = thread.get()
|
|
4332
|
+
|
|
4333
|
+
:param async_req bool
|
|
4334
|
+
:param UpdateGatewayTraceRequest body: (required)
|
|
4335
|
+
:return: UpdateGatewayTraceResponse
|
|
4336
|
+
If the method is called asynchronously,
|
|
4337
|
+
returns the request thread.
|
|
4338
|
+
"""
|
|
4339
|
+
|
|
4340
|
+
all_params = ['body'] # noqa: E501
|
|
4341
|
+
all_params.append('async_req')
|
|
4342
|
+
all_params.append('_return_http_data_only')
|
|
4343
|
+
all_params.append('_preload_content')
|
|
4344
|
+
all_params.append('_request_timeout')
|
|
4345
|
+
|
|
4346
|
+
params = locals()
|
|
4347
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
4348
|
+
if key not in all_params:
|
|
4349
|
+
raise TypeError(
|
|
4350
|
+
"Got an unexpected keyword argument '%s'"
|
|
4351
|
+
" to method update_gateway_trace" % key
|
|
4352
|
+
)
|
|
4353
|
+
params[key] = val
|
|
4354
|
+
del params['kwargs']
|
|
4355
|
+
# verify the required parameter 'body' is set
|
|
4356
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
4357
|
+
params['body'] is None): # noqa: E501
|
|
4358
|
+
raise ValueError("Missing the required parameter `body` when calling `update_gateway_trace`") # noqa: E501
|
|
4359
|
+
|
|
4360
|
+
collection_formats = {}
|
|
4361
|
+
|
|
4362
|
+
path_params = {}
|
|
4363
|
+
|
|
4364
|
+
query_params = []
|
|
4365
|
+
|
|
4366
|
+
header_params = {}
|
|
4367
|
+
|
|
4368
|
+
form_params = []
|
|
4369
|
+
local_var_files = {}
|
|
4370
|
+
|
|
4371
|
+
body_params = None
|
|
4372
|
+
if 'body' in params:
|
|
4373
|
+
body_params = params['body']
|
|
4374
|
+
# HTTP header `Accept`
|
|
4375
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4376
|
+
['application/json']) # noqa: E501
|
|
4377
|
+
|
|
4378
|
+
# HTTP header `Content-Type`
|
|
4379
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4380
|
+
['application/json']) # noqa: E501
|
|
4381
|
+
|
|
4382
|
+
# Authentication setting
|
|
4383
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
4384
|
+
|
|
4385
|
+
return self.api_client.call_api(
|
|
4386
|
+
'/UpdateGatewayTrace/2021-03-03/apig/post/application_json/', 'POST',
|
|
4387
|
+
path_params,
|
|
4388
|
+
query_params,
|
|
4389
|
+
header_params,
|
|
4390
|
+
body=body_params,
|
|
4391
|
+
post_params=form_params,
|
|
4392
|
+
files=local_var_files,
|
|
4393
|
+
response_type='UpdateGatewayTraceResponse', # noqa: E501
|
|
4394
|
+
auth_settings=auth_settings,
|
|
4395
|
+
async_req=params.get('async_req'),
|
|
4396
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
4397
|
+
_preload_content=params.get('_preload_content', True),
|
|
4398
|
+
_request_timeout=params.get('_request_timeout'),
|
|
4399
|
+
collection_formats=collection_formats)
|
|
4400
|
+
|
|
3237
4401
|
def update_plugin_binding(self, body, **kwargs): # noqa: E501
|
|
3238
4402
|
"""update_plugin_binding # noqa: E501
|
|
3239
4403
|
|
|
@@ -3524,3 +4688,100 @@ class APIGApi(object):
|
|
|
3524
4688
|
_preload_content=params.get('_preload_content', True),
|
|
3525
4689
|
_request_timeout=params.get('_request_timeout'),
|
|
3526
4690
|
collection_formats=collection_formats)
|
|
4691
|
+
|
|
4692
|
+
def update_upstream_version(self, body, **kwargs): # noqa: E501
|
|
4693
|
+
"""update_upstream_version # noqa: E501
|
|
4694
|
+
|
|
4695
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4696
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4697
|
+
>>> thread = api.update_upstream_version(body, async_req=True)
|
|
4698
|
+
>>> result = thread.get()
|
|
4699
|
+
|
|
4700
|
+
:param async_req bool
|
|
4701
|
+
:param UpdateUpstreamVersionRequest body: (required)
|
|
4702
|
+
:return: UpdateUpstreamVersionResponse
|
|
4703
|
+
If the method is called asynchronously,
|
|
4704
|
+
returns the request thread.
|
|
4705
|
+
"""
|
|
4706
|
+
kwargs['_return_http_data_only'] = True
|
|
4707
|
+
if kwargs.get('async_req'):
|
|
4708
|
+
return self.update_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
4709
|
+
else:
|
|
4710
|
+
(data) = self.update_upstream_version_with_http_info(body, **kwargs) # noqa: E501
|
|
4711
|
+
return data
|
|
4712
|
+
|
|
4713
|
+
def update_upstream_version_with_http_info(self, body, **kwargs): # noqa: E501
|
|
4714
|
+
"""update_upstream_version # noqa: E501
|
|
4715
|
+
|
|
4716
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4717
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4718
|
+
>>> thread = api.update_upstream_version_with_http_info(body, async_req=True)
|
|
4719
|
+
>>> result = thread.get()
|
|
4720
|
+
|
|
4721
|
+
:param async_req bool
|
|
4722
|
+
:param UpdateUpstreamVersionRequest body: (required)
|
|
4723
|
+
:return: UpdateUpstreamVersionResponse
|
|
4724
|
+
If the method is called asynchronously,
|
|
4725
|
+
returns the request thread.
|
|
4726
|
+
"""
|
|
4727
|
+
|
|
4728
|
+
all_params = ['body'] # noqa: E501
|
|
4729
|
+
all_params.append('async_req')
|
|
4730
|
+
all_params.append('_return_http_data_only')
|
|
4731
|
+
all_params.append('_preload_content')
|
|
4732
|
+
all_params.append('_request_timeout')
|
|
4733
|
+
|
|
4734
|
+
params = locals()
|
|
4735
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
4736
|
+
if key not in all_params:
|
|
4737
|
+
raise TypeError(
|
|
4738
|
+
"Got an unexpected keyword argument '%s'"
|
|
4739
|
+
" to method update_upstream_version" % key
|
|
4740
|
+
)
|
|
4741
|
+
params[key] = val
|
|
4742
|
+
del params['kwargs']
|
|
4743
|
+
# verify the required parameter 'body' is set
|
|
4744
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
4745
|
+
params['body'] is None): # noqa: E501
|
|
4746
|
+
raise ValueError("Missing the required parameter `body` when calling `update_upstream_version`") # noqa: E501
|
|
4747
|
+
|
|
4748
|
+
collection_formats = {}
|
|
4749
|
+
|
|
4750
|
+
path_params = {}
|
|
4751
|
+
|
|
4752
|
+
query_params = []
|
|
4753
|
+
|
|
4754
|
+
header_params = {}
|
|
4755
|
+
|
|
4756
|
+
form_params = []
|
|
4757
|
+
local_var_files = {}
|
|
4758
|
+
|
|
4759
|
+
body_params = None
|
|
4760
|
+
if 'body' in params:
|
|
4761
|
+
body_params = params['body']
|
|
4762
|
+
# HTTP header `Accept`
|
|
4763
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
4764
|
+
['application/json']) # noqa: E501
|
|
4765
|
+
|
|
4766
|
+
# HTTP header `Content-Type`
|
|
4767
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
4768
|
+
['application/json']) # noqa: E501
|
|
4769
|
+
|
|
4770
|
+
# Authentication setting
|
|
4771
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
4772
|
+
|
|
4773
|
+
return self.api_client.call_api(
|
|
4774
|
+
'/UpdateUpstreamVersion/2021-03-03/apig/post/application_json/', 'POST',
|
|
4775
|
+
path_params,
|
|
4776
|
+
query_params,
|
|
4777
|
+
header_params,
|
|
4778
|
+
body=body_params,
|
|
4779
|
+
post_params=form_params,
|
|
4780
|
+
files=local_var_files,
|
|
4781
|
+
response_type='UpdateUpstreamVersionResponse', # noqa: E501
|
|
4782
|
+
auth_settings=auth_settings,
|
|
4783
|
+
async_req=params.get('async_req'),
|
|
4784
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
4785
|
+
_preload_content=params.get('_preload_content', True),
|
|
4786
|
+
_request_timeout=params.get('_request_timeout'),
|
|
4787
|
+
collection_formats=collection_formats)
|