@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.21
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.
- package/LICENSE +201 -0
- package/README.md +171 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +44 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +285 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +48 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +10 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +48 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +31 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/account_contract_v3.d.ts +124 -0
- package/lib/services/account_contract_v3.d.ts.map +1 -0
- package/lib/services/account_contract_v3.js +2 -0
- package/lib/services/account_contract_v3.js.map +1 -0
- package/lib/services/account_iso_code_v3.d.ts +44 -0
- package/lib/services/account_iso_code_v3.d.ts.map +1 -0
- package/lib/services/account_iso_code_v3.js +2 -0
- package/lib/services/account_iso_code_v3.js.map +1 -0
- package/lib/services/account_organization_v3.d.ts +290 -0
- package/lib/services/account_organization_v3.d.ts.map +1 -0
- package/lib/services/account_organization_v3.js +2 -0
- package/lib/services/account_organization_v3.js.map +1 -0
- package/lib/services/account_project_v3.d.ts +173 -0
- package/lib/services/account_project_v3.d.ts.map +1 -0
- package/lib/services/account_project_v3.js +2 -0
- package/lib/services/account_project_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
- package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_user_v3.js +35 -0
- package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
- package/lib/services/account_unauthenticated_v3.d.ts +18 -0
- package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
- package/lib/services/account_unauthenticated_v3.js +2 -0
- package/lib/services/account_unauthenticated_v3.js.map +1 -0
- package/lib/services/account_user_v3.d.ts +522 -0
- package/lib/services/account_user_v3.d.ts.map +1 -0
- package/lib/services/account_user_v3.js +39 -0
- package/lib/services/account_user_v3.js.map +1 -0
- package/lib/services/annotations_v1.d.ts +260 -0
- package/lib/services/annotations_v1.d.ts.map +1 -0
- package/lib/services/annotations_v1.js +2 -0
- package/lib/services/annotations_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v1.d.ts +95 -0
- package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v1.js +2 -0
- package/lib/services/baremetal_private_network_v1.js.map +1 -0
- package/lib/services/baremetal_private_network_v3.d.ts +110 -0
- package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
- package/lib/services/baremetal_private_network_v3.js +2 -0
- package/lib/services/baremetal_private_network_v3.js.map +1 -0
- package/lib/services/baremetal_v1.d.ts +1089 -0
- package/lib/services/baremetal_v1.d.ts.map +1 -0
- package/lib/services/baremetal_v1.js +52 -0
- package/lib/services/baremetal_v1.js.map +1 -0
- package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
- package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
- package/lib/services/billing_electronic_billing_v2.js +2 -0
- package/lib/services/billing_electronic_billing_v2.js.map +1 -0
- package/lib/services/billing_v2.d.ts +187 -0
- package/lib/services/billing_v2.d.ts.map +1 -0
- package/lib/services/billing_v2.js +2 -0
- package/lib/services/billing_v2.js.map +1 -0
- package/lib/services/block_v1.d.ts +401 -0
- package/lib/services/block_v1.d.ts.map +1 -0
- package/lib/services/block_v1.js +27 -0
- package/lib/services/block_v1.js.map +1 -0
- package/lib/services/cockpit_global_v1.d.ts +75 -0
- package/lib/services/cockpit_global_v1.d.ts.map +1 -0
- package/lib/services/cockpit_global_v1.js +2 -0
- package/lib/services/cockpit_global_v1.js.map +1 -0
- package/lib/services/cockpit_regional_v1.d.ts +739 -0
- package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
- package/lib/services/cockpit_regional_v1.js +47 -0
- package/lib/services/cockpit_regional_v1.js.map +1 -0
- package/lib/services/containers_v1.d.ts +822 -0
- package/lib/services/containers_v1.d.ts.map +1 -0
- package/lib/services/containers_v1.js +39 -0
- package/lib/services/containers_v1.js.map +1 -0
- package/lib/services/dedibox_billing_v1.d.ts +151 -0
- package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
- package/lib/services/dedibox_billing_v1.js +2 -0
- package/lib/services/dedibox_billing_v1.js.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
- package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
- package/lib/services/dedibox_ipv6_block_v1.js +2 -0
- package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
- package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_san_v1.js +2 -0
- package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1.d.ts +68 -0
- package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1.js +2 -0
- package/lib/services/dedibox_rpn_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
- package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v1_v1.js +30 -0
- package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
- package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
- package/lib/services/dedibox_rpn_v2_v1.js +27 -0
- package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
- package/lib/services/dedibox_v1.d.ts +1351 -0
- package/lib/services/dedibox_v1.d.ts.map +1 -0
- package/lib/services/dedibox_v1.js +70 -0
- package/lib/services/dedibox_v1.js.map +1 -0
- package/lib/services/generative_apis_openai_v1.d.ts +772 -0
- package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_openai_v1.js +24 -0
- package/lib/services/generative_apis_openai_v1.js.map +1 -0
- package/lib/services/generative_apis_v1.d.ts +82 -0
- package/lib/services/generative_apis_v1.d.ts.map +1 -0
- package/lib/services/generative_apis_v1.js +2 -0
- package/lib/services/generative_apis_v1.js.map +1 -0
- package/lib/services/index.d.ts +57 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +56 -0
- package/lib/services/inference_v1.d.ts +460 -0
- package/lib/services/inference_v1.d.ts.map +1 -0
- package/lib/services/inference_v1.js +33 -0
- package/lib/services/inference_v1.js.map +1 -0
- package/lib/services/instance_v1.d.ts +2183 -0
- package/lib/services/instance_v1.d.ts.map +1 -0
- package/lib/services/instance_v1.js +112 -0
- package/lib/services/instance_v1.js.map +1 -0
- package/lib/services/iot_v1.d.ts +837 -0
- package/lib/services/iot_v1.d.ts.map +1 -0
- package/lib/services/iot_v1.js +50 -0
- package/lib/services/iot_v1.js.map +1 -0
- package/lib/services/ipam_v1.d.ts +244 -0
- package/lib/services/ipam_v1.d.ts.map +1 -0
- package/lib/services/ipam_v1.js +2 -0
- package/lib/services/ipam_v1.js.map +1 -0
- package/lib/services/k8s_v1.d.ts +1223 -0
- package/lib/services/k8s_v1.d.ts.map +1 -0
- package/lib/services/k8s_v1.js +61 -0
- package/lib/services/k8s_v1.js.map +1 -0
- package/lib/services/lb_zoned_v1.d.ts +1517 -0
- package/lib/services/lb_zoned_v1.d.ts.map +1 -0
- package/lib/services/lb_zoned_v1.js +75 -0
- package/lib/services/lb_zoned_v1.js.map +1 -0
- package/lib/services/marketplace_console_v2.d.ts +72 -0
- package/lib/services/marketplace_console_v2.d.ts.map +1 -0
- package/lib/services/marketplace_console_v2.js +2 -0
- package/lib/services/marketplace_console_v2.js.map +1 -0
- package/lib/services/marketplace_v2.d.ts +169 -0
- package/lib/services/marketplace_v2.d.ts.map +1 -0
- package/lib/services/marketplace_v2.js +2 -0
- package/lib/services/marketplace_v2.js.map +1 -0
- package/lib/services/mongodb_v1.d.ts +698 -0
- package/lib/services/mongodb_v1.d.ts.map +1 -0
- package/lib/services/mongodb_v1.js +43 -0
- package/lib/services/mongodb_v1.js.map +1 -0
- package/lib/services/partner_v1.d.ts +142 -0
- package/lib/services/partner_v1.d.ts.map +1 -0
- package/lib/services/partner_v1.js +2 -0
- package/lib/services/partner_v1.js.map +1 -0
- package/lib/services/rdb_encryption_v1.d.ts +17 -0
- package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
- package/lib/services/rdb_encryption_v1.js +2 -0
- package/lib/services/rdb_encryption_v1.js.map +1 -0
- package/lib/services/rdb_v1.d.ts +1422 -0
- package/lib/services/rdb_v1.d.ts.map +1 -0
- package/lib/services/rdb_v1.js +87 -0
- package/lib/services/rdb_v1.js.map +1 -0
- package/lib/services/redis_v1.d.ts +602 -0
- package/lib/services/redis_v1.d.ts.map +1 -0
- package/lib/services/redis_v1.js +42 -0
- package/lib/services/redis_v1.js.map +1 -0
- package/lib/services/registry_v1.d.ts +281 -0
- package/lib/services/registry_v1.d.ts.map +1 -0
- package/lib/services/registry_v1.js +2 -0
- package/lib/services/registry_v1.js.map +1 -0
- package/lib/services/reseller_v1.d.ts +81 -0
- package/lib/services/reseller_v1.d.ts.map +1 -0
- package/lib/services/reseller_v1.js +2 -0
- package/lib/services/reseller_v1.js.map +1 -0
- package/lib/services/vpc_gw_v2.d.ts +635 -0
- package/lib/services/vpc_gw_v2.d.ts.map +1 -0
- package/lib/services/vpc_gw_v2.js +46 -0
- package/lib/services/vpc_gw_v2.js.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
- package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
- package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
- package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
- package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
- package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
- package/lib/services/vpc_v2.d.ts +875 -0
- package/lib/services/vpc_v2.d.ts.map +1 -0
- package/lib/services/vpc_v2.js +54 -0
- package/lib/services/vpc_v2.js.map +1 -0
- package/lib/services/webhosting_backup_v1.d.ts +182 -0
- package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
- package/lib/services/webhosting_backup_v1.js +2 -0
- package/lib/services/webhosting_backup_v1.js.map +1 -0
- package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
- package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
- package/lib/services/webhosting_control_panel_v1.js +2 -0
- package/lib/services/webhosting_control_panel_v1.js.map +1 -0
- package/lib/services/webhosting_database_v1.d.ts +195 -0
- package/lib/services/webhosting_database_v1.d.ts.map +1 -0
- package/lib/services/webhosting_database_v1.js +2 -0
- package/lib/services/webhosting_database_v1.js.map +1 -0
- package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
- package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dedibox_v1.js +2 -0
- package/lib/services/webhosting_dedibox_v1.js.map +1 -0
- package/lib/services/webhosting_dns_v1.d.ts +177 -0
- package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
- package/lib/services/webhosting_dns_v1.js +2 -0
- package/lib/services/webhosting_dns_v1.js.map +1 -0
- package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
- package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
- package/lib/services/webhosting_free_domain_v1.js +2 -0
- package/lib/services/webhosting_free_domain_v1.js.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
- package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_ftp_account_v1.js +2 -0
- package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
- package/lib/services/webhosting_hosting_v1.d.ts +502 -0
- package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
- package/lib/services/webhosting_hosting_v1.js +27 -0
- package/lib/services/webhosting_hosting_v1.js.map +1 -0
- package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
- package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
- package/lib/services/webhosting_mail_account_v1.js +2 -0
- package/lib/services/webhosting_mail_account_v1.js.map +1 -0
- package/lib/services/webhosting_offer_v1.d.ts +122 -0
- package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
- package/lib/services/webhosting_offer_v1.js +2 -0
- package/lib/services/webhosting_offer_v1.js.map +1 -0
- package/lib/services/webhosting_website_v1.d.ts +75 -0
- package/lib/services/webhosting_website_v1.d.ts.map +1 -0
- package/lib/services/webhosting_website_v1.js +2 -0
- package/lib/services/webhosting_website_v1.js.map +1 -0
- package/lib/services.lazy/account_contract_v3.js +1 -0
- package/lib/services.lazy/account_iso_code_v3.js +1 -0
- package/lib/services.lazy/account_organization_v3.js +1 -0
- package/lib/services.lazy/account_project_v3.js +1 -0
- package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
- package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
- package/lib/services.lazy/account_user_v3.js +3 -0
- package/lib/services.lazy/annotations_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
- package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
- package/lib/services.lazy/baremetal_v1.js +3 -0
- package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
- package/lib/services.lazy/billing_v2.js +1 -0
- package/lib/services.lazy/block_v1.js +3 -0
- package/lib/services.lazy/cockpit_global_v1.js +1 -0
- package/lib/services.lazy/cockpit_regional_v1.js +3 -0
- package/lib/services.lazy/containers_v1.js +3 -0
- package/lib/services.lazy/dedibox_billing_v1.js +1 -0
- package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
- package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
- package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
- package/lib/services.lazy/dedibox_v1.js +3 -0
- package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
- package/lib/services.lazy/generative_apis_v1.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/inference_v1.js +3 -0
- package/lib/services.lazy/instance_v1.js +3 -0
- package/lib/services.lazy/iot_v1.js +3 -0
- package/lib/services.lazy/ipam_v1.js +1 -0
- package/lib/services.lazy/k8s_v1.js +3 -0
- package/lib/services.lazy/lb_zoned_v1.js +3 -0
- package/lib/services.lazy/marketplace_console_v2.js +1 -0
- package/lib/services.lazy/marketplace_v2.js +1 -0
- package/lib/services.lazy/mongodb_v1.js +3 -0
- package/lib/services.lazy/partner_v1.js +1 -0
- package/lib/services.lazy/rdb_encryption_v1.js +1 -0
- package/lib/services.lazy/rdb_v1.js +3 -0
- package/lib/services.lazy/redis_v1.js +3 -0
- package/lib/services.lazy/registry_v1.js +1 -0
- package/lib/services.lazy/reseller_v1.js +1 -0
- package/lib/services.lazy/vpc_gw_v2.js +3 -0
- package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
- package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
- package/lib/services.lazy/vpc_v2.js +3 -0
- package/lib/services.lazy/webhosting_backup_v1.js +1 -0
- package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
- package/lib/services.lazy/webhosting_database_v1.js +1 -0
- package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
- package/lib/services.lazy/webhosting_dns_v1.js +1 -0
- package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
- package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
- package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
- package/lib/services.lazy/webhosting_offer_v1.js +1 -0
- package/lib/services.lazy/webhosting_website_v1.js +1 -0
- package/lib/traits.d.ts +25 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
- package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
- package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
- package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
- package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
- package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
- package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
- package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
- package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
- package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/billing_v2beta1.js +25 -0
- package/lib/unstable-services/billing_v2beta1.js.map +1 -0
- package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
- package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/block_v1alpha1.js +27 -0
- package/lib/unstable-services/block_v1alpha1.js.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
- package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
- package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datalab_v1beta1.js +2 -0
- package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
- package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
- package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
- package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
- package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
- package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
- package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
- package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
- package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
- package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
- package/lib/unstable-services/domain_v2beta1.js +44 -0
- package/lib/unstable-services/domain_v2beta1.js.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
- package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/edge_services_v1beta1.js +81 -0
- package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
- package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
- package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
- package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/file_v1alpha1.js +24 -0
- package/lib/unstable-services/file_v1alpha1.js.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
- package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
- package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
- package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/functions_v1beta1.js +49 -0
- package/lib/unstable-services/functions_v1beta1.js.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
- package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
- package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/iam_v1alpha1.js +105 -0
- package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
- package/lib/unstable-services/index.d.ts +44 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +43 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts +1745 -0
- package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_v2alpha1.js +81 -0
- package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
- package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
- package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
- package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/interlink_v1beta1.js +39 -0
- package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
- package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/kafka_v1alpha1.js +27 -0
- package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
- package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
- package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
- package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
- package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
- package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/messageq_v1alpha1.js +29 -0
- package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
- package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
- package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
- package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
- package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
- package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +477 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
- package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
- package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/qaas_v1alpha1.js +51 -0
- package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
- package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
- package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
- package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/search_v1alpha1.js +2 -0
- package/lib/unstable-services/search_v1alpha1.js.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
- package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
- package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
- package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
- package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
- package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
- package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
- package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
- package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
- package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
- package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
- package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
- package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
- package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
- package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
- package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
- package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
- package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
- package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
- package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
- package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
- package/package.json +89 -2
- package/src/credentials.ts +104 -0
- package/src/errors.ts +307 -0
- package/src/index.ts +52 -0
- package/src/pagination.ts +65 -0
- package/src/protocol.ts +496 -0
- package/src/retry.ts +47 -0
- package/src/services/account_contract_v3.ts +441 -0
- package/src/services/account_iso_code_v3.ts +165 -0
- package/src/services/account_organization_v3.ts +946 -0
- package/src/services/account_project_v3.ts +530 -0
- package/src/services/account_unauthenticated_user_v3.ts +1445 -0
- package/src/services/account_unauthenticated_v3.ts +92 -0
- package/src/services/account_user_v3.ts +1657 -0
- package/src/services/annotations_v1.ts +897 -0
- package/src/services/baremetal_private_network_v1.ts +327 -0
- package/src/services/baremetal_private_network_v3.ts +376 -0
- package/src/services/baremetal_v1.ts +3072 -0
- package/src/services/billing_electronic_billing_v2.ts +323 -0
- package/src/services/billing_v2.ts +662 -0
- package/src/services/block_v1.ts +1282 -0
- package/src/services/cockpit_global_v1.ts +282 -0
- package/src/services/cockpit_regional_v1.ts +2177 -0
- package/src/services/containers_v1.ts +2110 -0
- package/src/services/dedibox_billing_v1.ts +621 -0
- package/src/services/dedibox_ipv6_block_v1.ts +468 -0
- package/src/services/dedibox_rpn_san_v1.ts +1185 -0
- package/src/services/dedibox_rpn_v1.ts +207 -0
- package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
- package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
- package/src/services/dedibox_v1.ts +3765 -0
- package/src/services/generative_apis_openai_v1.ts +1692 -0
- package/src/services/generative_apis_v1.ts +251 -0
- package/src/services/index.ts +57 -0
- package/src/services/inference_v1.ts +1353 -0
- package/src/services/instance_v1.ts +6611 -0
- package/src/services/iot_v1.ts +2419 -0
- package/src/services/ipam_v1.ts +716 -0
- package/src/services/k8s_v1.ts +3108 -0
- package/src/services/lb_zoned_v1.ts +4533 -0
- package/src/services/marketplace_console_v2.ts +198 -0
- package/src/services/marketplace_v2.ts +625 -0
- package/src/services/mongodb_v1.ts +2104 -0
- package/src/services/partner_v1.ts +462 -0
- package/src/services/rdb_encryption_v1.ts +83 -0
- package/src/services/rdb_v1.ts +4211 -0
- package/src/services/redis_v1.ts +1918 -0
- package/src/services/registry_v1.ts +863 -0
- package/src/services/reseller_v1.ts +258 -0
- package/src/services/vpc_gw_v2.ts +2130 -0
- package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
- package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
- package/src/services/vpc_v2.ts +2533 -0
- package/src/services/webhosting_backup_v1.ts +578 -0
- package/src/services/webhosting_control_panel_v1.ts +130 -0
- package/src/services/webhosting_database_v1.ts +682 -0
- package/src/services/webhosting_dedibox_v1.ts +480 -0
- package/src/services/webhosting_dns_v1.ts +471 -0
- package/src/services/webhosting_free_domain_v1.ts +190 -0
- package/src/services/webhosting_ftp_account_v1.ts +280 -0
- package/src/services/webhosting_hosting_v1.ts +1309 -0
- package/src/services/webhosting_mail_account_v1.ts +291 -0
- package/src/services/webhosting_offer_v1.ts +289 -0
- package/src/services/webhosting_website_v1.ts +274 -0
- package/src/traits.ts +63 -0
- package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
- package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
- package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
- package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
- package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
- package/src/unstable-services/billing_v2beta1.ts +1203 -0
- package/src/unstable-services/block_v1alpha1.ts +1239 -0
- package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
- package/src/unstable-services/datalab_v1beta1.ts +852 -0
- package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
- package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
- package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
- package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
- package/src/unstable-services/domain_v2beta1.ts +1794 -0
- package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
- package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
- package/src/unstable-services/file_v1alpha1.ts +1016 -0
- package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
- package/src/unstable-services/functions_v1beta1.ts +2410 -0
- package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
- package/src/unstable-services/iam_v1alpha1.ts +4919 -0
- package/src/unstable-services/index.ts +44 -0
- package/src/unstable-services/instance_v2alpha1.ts +5377 -0
- package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
- package/src/unstable-services/interlink_v1beta1.ts +1791 -0
- package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
- package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
- package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
- package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
- package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
- package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
- package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
- package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
- package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
- package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1109 -0
- package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
- package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
- package/src/unstable-services/search_v1alpha1.ts +349 -0
- package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
- package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
- package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
- package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
- package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
- package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-scaleway). Do not edit.
|
|
3
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
4
|
+
import * as __L from "@distilled.cloud/core/schema-lite";
|
|
5
|
+
import type * as Redacted from "effect/Redacted";
|
|
6
|
+
import { ScalewayServiceErrors } from "../errors.ts";
|
|
7
|
+
import { paginateByTotalCount } from "../pagination.ts";
|
|
8
|
+
import { ScalewayProtocol, type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
|
|
9
|
+
import * as Retry from "../retry.ts";
|
|
10
|
+
import * as T from "../traits.ts";
|
|
11
|
+
// Schema table, filled on first reach (see __S at the end).
|
|
12
|
+
const __s: any[] = [];
|
|
13
|
+
|
|
14
|
+
export type { ScalewayOpError, ScalewayOpContext };
|
|
15
|
+
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "scaleway-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "Scaleway",
|
|
24
|
+
service: "MnqSqsV1beta1",
|
|
25
|
+
labels: "scaleway",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type ActivateSqsRequestRegion = "fr-par" | "nl-ams";
|
|
30
|
+
export interface ActivateSqsRequest {
|
|
31
|
+
/** The region you want to target */
|
|
32
|
+
region?: ActivateSqsRequestRegion | (string & {}) | undefined;
|
|
33
|
+
/** Project on which to activate the Queues service. */
|
|
34
|
+
project_id?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
export type SqsInfoStatus = "unknown_status" | "enabled" | "disabled";
|
|
37
|
+
export interface SqsInfo {
|
|
38
|
+
/** Project ID of the Project containing the service. */
|
|
39
|
+
project_id?: string | undefined;
|
|
40
|
+
/** Region of the service. */
|
|
41
|
+
region?: string | undefined;
|
|
42
|
+
/** Queues creation date. (RFC 3339 format) */
|
|
43
|
+
created_at?: string | null | undefined;
|
|
44
|
+
/** Queues last modification date. (RFC 3339 format) */
|
|
45
|
+
updated_at?: string | null | undefined;
|
|
46
|
+
/** Queues activation status. */
|
|
47
|
+
status?: SqsInfoStatus | undefined;
|
|
48
|
+
/** Endpoint of the Queues service for this region and project. */
|
|
49
|
+
sqs_endpoint_url?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export type CreateSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
52
|
+
export interface SqsPermissions {
|
|
53
|
+
/** Defines whether the credentials bearer can publish messages to the service (send messages to Queues queues). */
|
|
54
|
+
can_publish?: boolean | null | undefined;
|
|
55
|
+
/** Defines whether the credentials bearer can receive messages from Queues queues. */
|
|
56
|
+
can_receive?: boolean | null | undefined;
|
|
57
|
+
/** Defines whether the credentials bearer can manage the associated Queues queues. */
|
|
58
|
+
can_manage?: boolean | null | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface CreateSqsCredentialsRequest {
|
|
61
|
+
/** The region you want to target */
|
|
62
|
+
region?: CreateSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
63
|
+
/** Project containing the Queues credentials. */
|
|
64
|
+
project_id: string;
|
|
65
|
+
/** Name of the credentials. */
|
|
66
|
+
name?: string | undefined;
|
|
67
|
+
/** Permissions associated with these credentials. */
|
|
68
|
+
permissions?: SqsPermissions | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface SqsCredentials {
|
|
71
|
+
/** ID of the credentials. */
|
|
72
|
+
id?: string | undefined;
|
|
73
|
+
/** Name of the credentials. */
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
/** Project ID of the Project containing the credentials. */
|
|
76
|
+
project_id?: string | undefined;
|
|
77
|
+
/** Region where the credentials exists. */
|
|
78
|
+
region?: string | undefined;
|
|
79
|
+
/** Credentials creation date. (RFC 3339 format) */
|
|
80
|
+
created_at?: string | null | undefined;
|
|
81
|
+
/** Credentials last modification date. (RFC 3339 format) */
|
|
82
|
+
updated_at?: string | null | undefined;
|
|
83
|
+
/** Access key ID. */
|
|
84
|
+
access_key?: string | undefined;
|
|
85
|
+
/** Secret key ID (Only returned by **Create Queues Credentials** call). */
|
|
86
|
+
secret_key?: string | Redacted.Redacted<string> | undefined;
|
|
87
|
+
/** Checksum of the Secret key. */
|
|
88
|
+
secret_checksum?: string | undefined;
|
|
89
|
+
/** Permissions associated with these credentials. */
|
|
90
|
+
permissions?: SqsPermissions | undefined;
|
|
91
|
+
}
|
|
92
|
+
export type DeactivateSqsRequestRegion = "fr-par" | "nl-ams";
|
|
93
|
+
export interface DeactivateSqsRequest {
|
|
94
|
+
/** The region you want to target */
|
|
95
|
+
region?: DeactivateSqsRequestRegion | (string & {}) | undefined;
|
|
96
|
+
/** Project on which to deactivate the Queues service. */
|
|
97
|
+
project_id?: string | undefined;
|
|
98
|
+
}
|
|
99
|
+
export type DeleteSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
100
|
+
export interface DeleteSqsCredentialsRequest {
|
|
101
|
+
/** The region you want to target */
|
|
102
|
+
region?: DeleteSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
103
|
+
/** ID of the credentials to delete. */
|
|
104
|
+
sqs_credentials_id: string;
|
|
105
|
+
}
|
|
106
|
+
export interface DeleteSqsCredentialsResponse {}
|
|
107
|
+
export type GetSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
108
|
+
export interface GetSqsCredentialsRequest {
|
|
109
|
+
/** The region you want to target */
|
|
110
|
+
region?: GetSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
111
|
+
/** ID of the Queues credentials to get. */
|
|
112
|
+
sqs_credentials_id: string;
|
|
113
|
+
}
|
|
114
|
+
export type GetSqsInfoRequestRegion = "fr-par" | "nl-ams";
|
|
115
|
+
export interface GetSqsInfoRequest {
|
|
116
|
+
/** The region you want to target */
|
|
117
|
+
region?: GetSqsInfoRequestRegion | (string & {}) | undefined;
|
|
118
|
+
/** Project to retrieve Queues info from. */
|
|
119
|
+
project_id: string;
|
|
120
|
+
}
|
|
121
|
+
export type ListSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
122
|
+
export type ListSqsCredentialsRequestOrderBy =
|
|
123
|
+
| "created_at_asc"
|
|
124
|
+
| "created_at_desc"
|
|
125
|
+
| "updated_at_asc"
|
|
126
|
+
| "updated_at_desc"
|
|
127
|
+
| "name_asc"
|
|
128
|
+
| "name_desc";
|
|
129
|
+
export interface ListSqsCredentialsRequest {
|
|
130
|
+
/** The region you want to target */
|
|
131
|
+
region?: ListSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
132
|
+
/** Include only Queues credentials in this Project. */
|
|
133
|
+
project_id?: string | undefined;
|
|
134
|
+
/** Page number to return. */
|
|
135
|
+
page?: number | undefined;
|
|
136
|
+
/** Maximum number of credentials to return per page. */
|
|
137
|
+
page_size?: number | undefined;
|
|
138
|
+
/** Order in which to return results. */
|
|
139
|
+
order_by?: ListSqsCredentialsRequestOrderBy | (string & {}) | undefined;
|
|
140
|
+
}
|
|
141
|
+
/** Queues credentials on this page. */
|
|
142
|
+
export type ListSqsCredentialsResponseSqsCredentialsList = Array<SqsCredentials>;
|
|
143
|
+
export interface ListSqsCredentialsResponse {
|
|
144
|
+
/** Total count of existing credentials (matching any filters specified). */
|
|
145
|
+
total_count?: number | undefined;
|
|
146
|
+
/** Queues credentials on this page. */
|
|
147
|
+
sqs_credentials: ListSqsCredentialsResponseSqsCredentialsList;
|
|
148
|
+
}
|
|
149
|
+
export type UpdateSqsCredentialsRequestRegion = "fr-par" | "nl-ams";
|
|
150
|
+
export interface UpdateSqsCredentialsRequest {
|
|
151
|
+
/** The region you want to target */
|
|
152
|
+
region?: UpdateSqsCredentialsRequestRegion | (string & {}) | undefined;
|
|
153
|
+
/** ID of the Queues credentials to update. */
|
|
154
|
+
sqs_credentials_id: string;
|
|
155
|
+
/** Name of the credentials. */
|
|
156
|
+
name?: string | null | undefined;
|
|
157
|
+
/** Permissions associated with these credentials. */
|
|
158
|
+
permissions?: SqsPermissions | undefined;
|
|
159
|
+
}
|
|
160
|
+
export type ActivateSqsError = ScalewayOpError;
|
|
161
|
+
/** Activate Queues Activate Queues for the specified Project ID. Queues must be activated before any usage such as creating credentials and queues. Activating Queues does not trigger any billing, and you can deactivate at any time. */
|
|
162
|
+
export const activateSqs: API.OperationMethod<
|
|
163
|
+
ActivateSqsRequest,
|
|
164
|
+
SqsInfo,
|
|
165
|
+
ActivateSqsError,
|
|
166
|
+
ScalewayOpContext
|
|
167
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
168
|
+
input: __S(0, __c0, 0) as any as S.Schema<ActivateSqsRequest>,
|
|
169
|
+
output: __S(4, __c1, 0) as any as S.Schema<SqsInfo>,
|
|
170
|
+
errors: [],
|
|
171
|
+
serviceErrors: ScalewayServiceErrors,
|
|
172
|
+
protocol: ScalewayProtocol,
|
|
173
|
+
retry: Retry.Retry,
|
|
174
|
+
telemetry: TELEMETRY,
|
|
175
|
+
span: "ActivateSqs",
|
|
176
|
+
}));
|
|
177
|
+
|
|
178
|
+
export type CreateSqsCredentialsError = ScalewayOpError;
|
|
179
|
+
/** Create Queues credentials Create a set of credentials for Queues, specified by a Project ID. Credentials give the bearer access to queues, and the level of permissions can be defined granularly. */
|
|
180
|
+
export const createSqsCredentials: API.OperationMethod<
|
|
181
|
+
CreateSqsCredentialsRequest,
|
|
182
|
+
SqsCredentials,
|
|
183
|
+
CreateSqsCredentialsError,
|
|
184
|
+
ScalewayOpContext
|
|
185
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
186
|
+
input: __S(8, __c2, 0) as any as S.Schema<CreateSqsCredentialsRequest>,
|
|
187
|
+
output: __S(13, __c3, 1) as any as S.Schema<SqsCredentials>,
|
|
188
|
+
errors: [],
|
|
189
|
+
serviceErrors: ScalewayServiceErrors,
|
|
190
|
+
protocol: ScalewayProtocol,
|
|
191
|
+
retry: Retry.Retry,
|
|
192
|
+
telemetry: TELEMETRY,
|
|
193
|
+
span: "CreateSqsCredentials",
|
|
194
|
+
}));
|
|
195
|
+
|
|
196
|
+
export type DeactivateSqsError = ScalewayOpError;
|
|
197
|
+
/** Deactivate Queues Deactivate Queues for the specified Project ID. You must delete all queues and credentials before this call or you need to set the force_delete parameter. */
|
|
198
|
+
export const deactivateSqs: API.OperationMethod<
|
|
199
|
+
DeactivateSqsRequest,
|
|
200
|
+
SqsInfo,
|
|
201
|
+
DeactivateSqsError,
|
|
202
|
+
ScalewayOpContext
|
|
203
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
204
|
+
input: __S(16, __c4, 0) as any as S.Schema<DeactivateSqsRequest>,
|
|
205
|
+
output: __S(4, __c1, 0) as any as S.Schema<SqsInfo>,
|
|
206
|
+
errors: [],
|
|
207
|
+
serviceErrors: ScalewayServiceErrors,
|
|
208
|
+
protocol: ScalewayProtocol,
|
|
209
|
+
retry: Retry.Retry,
|
|
210
|
+
telemetry: TELEMETRY,
|
|
211
|
+
span: "DeactivateSqs",
|
|
212
|
+
}));
|
|
213
|
+
|
|
214
|
+
export type DeleteSqsCredentialsError = ScalewayOpError;
|
|
215
|
+
/** Delete Queues credentials Delete a set of Queues credentials, specified by their credentials ID. Deleting credentials is irreversible and cannot be undone. The credentials can then no longer be used to access Queues. */
|
|
216
|
+
export const deleteSqsCredentials: API.OperationMethod<
|
|
217
|
+
DeleteSqsCredentialsRequest,
|
|
218
|
+
DeleteSqsCredentialsResponse,
|
|
219
|
+
DeleteSqsCredentialsError,
|
|
220
|
+
ScalewayOpContext
|
|
221
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
222
|
+
input: __S(20, __c5, 0) as any as S.Schema<DeleteSqsCredentialsRequest>,
|
|
223
|
+
output: __S(21, __c5, 1) as any as S.Schema<DeleteSqsCredentialsResponse>,
|
|
224
|
+
errors: [],
|
|
225
|
+
serviceErrors: ScalewayServiceErrors,
|
|
226
|
+
protocol: ScalewayProtocol,
|
|
227
|
+
retry: Retry.Retry,
|
|
228
|
+
telemetry: TELEMETRY,
|
|
229
|
+
span: "DeleteSqsCredentials",
|
|
230
|
+
}));
|
|
231
|
+
|
|
232
|
+
export type GetSqsCredentialsError = ScalewayOpError;
|
|
233
|
+
/** Get Queues credentials Retrieve an existing set of credentials, identified by the `credentials_id`. The credentials themselves, as well as their metadata (name, project ID etc), are returned in the response. */
|
|
234
|
+
export const getSqsCredentials: API.OperationMethod<
|
|
235
|
+
GetSqsCredentialsRequest,
|
|
236
|
+
SqsCredentials,
|
|
237
|
+
GetSqsCredentialsError,
|
|
238
|
+
ScalewayOpContext
|
|
239
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
240
|
+
input: __S(24, __c6, 0) as any as S.Schema<GetSqsCredentialsRequest>,
|
|
241
|
+
output: __S(13, __c3, 1) as any as S.Schema<SqsCredentials>,
|
|
242
|
+
errors: [],
|
|
243
|
+
serviceErrors: ScalewayServiceErrors,
|
|
244
|
+
protocol: ScalewayProtocol,
|
|
245
|
+
retry: Retry.Retry,
|
|
246
|
+
telemetry: TELEMETRY,
|
|
247
|
+
span: "GetSqsCredentials",
|
|
248
|
+
}));
|
|
249
|
+
|
|
250
|
+
export type GetSqsInfoError = ScalewayOpError;
|
|
251
|
+
/** Get Queues info Retrieve the Queues information of the specified Project ID. information include the activation status and the Queues API endpoint URL. */
|
|
252
|
+
export const getSqsInfo: API.OperationMethod<
|
|
253
|
+
GetSqsInfoRequest,
|
|
254
|
+
SqsInfo,
|
|
255
|
+
GetSqsInfoError,
|
|
256
|
+
ScalewayOpContext
|
|
257
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
258
|
+
input: __S(28, __c7, 0) as any as S.Schema<GetSqsInfoRequest>,
|
|
259
|
+
output: __S(4, __c1, 0) as any as S.Schema<SqsInfo>,
|
|
260
|
+
errors: [],
|
|
261
|
+
serviceErrors: ScalewayServiceErrors,
|
|
262
|
+
protocol: ScalewayProtocol,
|
|
263
|
+
retry: Retry.Retry,
|
|
264
|
+
telemetry: TELEMETRY,
|
|
265
|
+
span: "GetSqsInfo",
|
|
266
|
+
}));
|
|
267
|
+
|
|
268
|
+
export type ListSqsCredentialsError = ScalewayOpError;
|
|
269
|
+
/** List Queues credentials List existing Queues credentials in the specified region. The response contains only the metadata for the credentials, not the credentials themselves. */
|
|
270
|
+
export const listSqsCredentials: API.PaginatedOperationMethod<
|
|
271
|
+
ListSqsCredentialsRequest,
|
|
272
|
+
ListSqsCredentialsResponse,
|
|
273
|
+
ListSqsCredentialsError,
|
|
274
|
+
ScalewayOpContext,
|
|
275
|
+
SqsCredentials
|
|
276
|
+
> = /*@__PURE__*/ API.makePaginated(
|
|
277
|
+
() => ({
|
|
278
|
+
input: __S(32, __c8, 0) as any as S.Schema<ListSqsCredentialsRequest>,
|
|
279
|
+
output: __S(34, __c8, 2) as any as S.Schema<ListSqsCredentialsResponse>,
|
|
280
|
+
errors: [],
|
|
281
|
+
serviceErrors: ScalewayServiceErrors,
|
|
282
|
+
protocol: ScalewayProtocol,
|
|
283
|
+
retry: Retry.Retry,
|
|
284
|
+
telemetry: TELEMETRY,
|
|
285
|
+
span: "ListSqsCredentials",
|
|
286
|
+
pagination: {
|
|
287
|
+
mode: "page",
|
|
288
|
+
inputToken: "page",
|
|
289
|
+
outputToken: "total_count",
|
|
290
|
+
items: "sqs_credentials",
|
|
291
|
+
pageSize: "page_size",
|
|
292
|
+
} as const,
|
|
293
|
+
}),
|
|
294
|
+
paginateByTotalCount,
|
|
295
|
+
) as any;
|
|
296
|
+
|
|
297
|
+
export type UpdateSqsCredentialsError = ScalewayOpError;
|
|
298
|
+
/** Update Queues credentials Update a set of Queues credentials. You can update the credentials' name, or their permissions. */
|
|
299
|
+
export const updateSqsCredentials: API.OperationMethod<
|
|
300
|
+
UpdateSqsCredentialsRequest,
|
|
301
|
+
SqsCredentials,
|
|
302
|
+
UpdateSqsCredentialsError,
|
|
303
|
+
ScalewayOpContext
|
|
304
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
305
|
+
input: __S(36, __c9, 0) as any as S.Schema<UpdateSqsCredentialsRequest>,
|
|
306
|
+
output: __S(13, __c3, 1) as any as S.Schema<SqsCredentials>,
|
|
307
|
+
errors: [],
|
|
308
|
+
serviceErrors: ScalewayServiceErrors,
|
|
309
|
+
protocol: ScalewayProtocol,
|
|
310
|
+
retry: Retry.Retry,
|
|
311
|
+
telemetry: TELEMETRY,
|
|
312
|
+
span: "UpdateSqsCredentials",
|
|
313
|
+
}));
|
|
314
|
+
|
|
315
|
+
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
316
|
+
function __c0(j: number): any {
|
|
317
|
+
switch (j) {
|
|
318
|
+
case 0:
|
|
319
|
+
return S.suspend(() =>
|
|
320
|
+
S.Struct({
|
|
321
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
322
|
+
project_id: S.optional(S.String),
|
|
323
|
+
}).pipe(
|
|
324
|
+
T.Http({
|
|
325
|
+
method: "POST",
|
|
326
|
+
uri: "/mnq/v1beta1/regions/{region}/activate-sqs",
|
|
327
|
+
code: 200,
|
|
328
|
+
baseUrl: "https://api.scaleway.com",
|
|
329
|
+
}),
|
|
330
|
+
),
|
|
331
|
+
).annotate({ identifier: "ActivateSqsRequest" });
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
function __c1(j: number): any {
|
|
335
|
+
switch (j) {
|
|
336
|
+
case 0:
|
|
337
|
+
return S.suspend(() =>
|
|
338
|
+
S.Struct({
|
|
339
|
+
project_id: S.optional(S.String),
|
|
340
|
+
region: S.optional(S.String),
|
|
341
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
342
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
343
|
+
status: S.optional(S.String),
|
|
344
|
+
sqs_endpoint_url: S.optional(S.String),
|
|
345
|
+
}),
|
|
346
|
+
).annotate({ identifier: "SqsInfo" });
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
function __c2(j: number): any {
|
|
350
|
+
switch (j) {
|
|
351
|
+
case 0:
|
|
352
|
+
return S.suspend(() =>
|
|
353
|
+
S.Struct({
|
|
354
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
355
|
+
project_id: S.String,
|
|
356
|
+
name: S.optional(S.String),
|
|
357
|
+
permissions: S.optional(__S(12, __c3, 0)),
|
|
358
|
+
}).pipe(
|
|
359
|
+
T.Http({
|
|
360
|
+
method: "POST",
|
|
361
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-credentials",
|
|
362
|
+
code: 200,
|
|
363
|
+
baseUrl: "https://api.scaleway.com",
|
|
364
|
+
}),
|
|
365
|
+
),
|
|
366
|
+
).annotate({ identifier: "CreateSqsCredentialsRequest" });
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
function __c3(j: number): any {
|
|
370
|
+
switch (j) {
|
|
371
|
+
case 0:
|
|
372
|
+
return S.suspend(() =>
|
|
373
|
+
S.Struct({
|
|
374
|
+
can_publish: S.optional(S.NullOr(S.Boolean)),
|
|
375
|
+
can_receive: S.optional(S.NullOr(S.Boolean)),
|
|
376
|
+
can_manage: S.optional(S.NullOr(S.Boolean)),
|
|
377
|
+
}),
|
|
378
|
+
).annotate({ identifier: "SqsPermissions" });
|
|
379
|
+
case 1:
|
|
380
|
+
return S.suspend(() =>
|
|
381
|
+
S.Struct({
|
|
382
|
+
id: S.optional(S.String),
|
|
383
|
+
name: S.optional(S.String),
|
|
384
|
+
project_id: S.optional(S.String),
|
|
385
|
+
region: S.optional(S.String),
|
|
386
|
+
created_at: S.optional(S.NullOr(S.String)),
|
|
387
|
+
updated_at: S.optional(S.NullOr(S.String)),
|
|
388
|
+
access_key: S.optional(S.String),
|
|
389
|
+
secret_key: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
390
|
+
secret_checksum: S.optional(S.String),
|
|
391
|
+
permissions: S.optional(__S(12, __c3, 0)),
|
|
392
|
+
}),
|
|
393
|
+
).annotate({ identifier: "SqsCredentials" });
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
function __c4(j: number): any {
|
|
397
|
+
switch (j) {
|
|
398
|
+
case 0:
|
|
399
|
+
return S.suspend(() =>
|
|
400
|
+
S.Struct({
|
|
401
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
402
|
+
project_id: S.optional(S.String),
|
|
403
|
+
}).pipe(
|
|
404
|
+
T.Http({
|
|
405
|
+
method: "POST",
|
|
406
|
+
uri: "/mnq/v1beta1/regions/{region}/deactivate-sqs",
|
|
407
|
+
code: 200,
|
|
408
|
+
baseUrl: "https://api.scaleway.com",
|
|
409
|
+
}),
|
|
410
|
+
),
|
|
411
|
+
).annotate({ identifier: "DeactivateSqsRequest" });
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function __c5(j: number): any {
|
|
415
|
+
switch (j) {
|
|
416
|
+
case 0:
|
|
417
|
+
return S.suspend(() =>
|
|
418
|
+
S.Struct({
|
|
419
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
420
|
+
sqs_credentials_id: S.String.pipe(T.Label()),
|
|
421
|
+
}).pipe(
|
|
422
|
+
T.Http({
|
|
423
|
+
method: "DELETE",
|
|
424
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",
|
|
425
|
+
code: 200,
|
|
426
|
+
baseUrl: "https://api.scaleway.com",
|
|
427
|
+
}),
|
|
428
|
+
),
|
|
429
|
+
).annotate({ identifier: "DeleteSqsCredentialsRequest" });
|
|
430
|
+
case 1:
|
|
431
|
+
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteSqsCredentialsResponse" });
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function __c6(j: number): any {
|
|
435
|
+
switch (j) {
|
|
436
|
+
case 0:
|
|
437
|
+
return S.suspend(() =>
|
|
438
|
+
S.Struct({
|
|
439
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
440
|
+
sqs_credentials_id: S.String.pipe(T.Label()),
|
|
441
|
+
}).pipe(
|
|
442
|
+
T.Http({
|
|
443
|
+
method: "GET",
|
|
444
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",
|
|
445
|
+
code: 200,
|
|
446
|
+
baseUrl: "https://api.scaleway.com",
|
|
447
|
+
}),
|
|
448
|
+
),
|
|
449
|
+
).annotate({ identifier: "GetSqsCredentialsRequest" });
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
function __c7(j: number): any {
|
|
453
|
+
switch (j) {
|
|
454
|
+
case 0:
|
|
455
|
+
return S.suspend(() =>
|
|
456
|
+
S.Struct({
|
|
457
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
458
|
+
project_id: S.String.pipe(T.Query()),
|
|
459
|
+
}).pipe(
|
|
460
|
+
T.Http({
|
|
461
|
+
method: "GET",
|
|
462
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-info",
|
|
463
|
+
code: 200,
|
|
464
|
+
baseUrl: "https://api.scaleway.com",
|
|
465
|
+
}),
|
|
466
|
+
),
|
|
467
|
+
).annotate({ identifier: "GetSqsInfoRequest" });
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
function __c8(j: number): any {
|
|
471
|
+
switch (j) {
|
|
472
|
+
case 0:
|
|
473
|
+
return S.suspend(() =>
|
|
474
|
+
S.Struct({
|
|
475
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
476
|
+
project_id: S.optional(S.String.pipe(T.Query())),
|
|
477
|
+
page: S.optional(S.Number.pipe(T.Query())),
|
|
478
|
+
page_size: S.optional(S.Number.pipe(T.Query())),
|
|
479
|
+
order_by: S.optional(S.String.pipe(T.Query())),
|
|
480
|
+
}).pipe(
|
|
481
|
+
T.Http({
|
|
482
|
+
method: "GET",
|
|
483
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-credentials",
|
|
484
|
+
code: 200,
|
|
485
|
+
baseUrl: "https://api.scaleway.com",
|
|
486
|
+
}),
|
|
487
|
+
),
|
|
488
|
+
).annotate({ identifier: "ListSqsCredentialsRequest" });
|
|
489
|
+
case 1:
|
|
490
|
+
return S.Array(__S(13, __c3, 1));
|
|
491
|
+
case 2:
|
|
492
|
+
return S.suspend(() =>
|
|
493
|
+
S.Struct({
|
|
494
|
+
total_count: S.optional(S.Number),
|
|
495
|
+
sqs_credentials: __S(33, __c8, 1),
|
|
496
|
+
}),
|
|
497
|
+
).annotate({ identifier: "ListSqsCredentialsResponse" });
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
function __c9(j: number): any {
|
|
501
|
+
switch (j) {
|
|
502
|
+
case 0:
|
|
503
|
+
return S.suspend(() =>
|
|
504
|
+
S.Struct({
|
|
505
|
+
region: S.optional(S.String.pipe(T.Label())),
|
|
506
|
+
sqs_credentials_id: S.String.pipe(T.Label()),
|
|
507
|
+
name: S.optional(S.NullOr(S.String)),
|
|
508
|
+
permissions: S.optional(__S(12, __c3, 0)),
|
|
509
|
+
}).pipe(
|
|
510
|
+
T.Http({
|
|
511
|
+
method: "PATCH",
|
|
512
|
+
uri: "/mnq/v1beta1/regions/{region}/sqs-credentials/{sqs_credentials_id}",
|
|
513
|
+
code: 200,
|
|
514
|
+
baseUrl: "https://api.scaleway.com",
|
|
515
|
+
}),
|
|
516
|
+
),
|
|
517
|
+
).annotate({ identifier: "UpdateSqsCredentialsRequest" });
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
// Schema table: entry i is schema j of builder f, made on first reach.
|
|
521
|
+
function __S(i: number, f: (j: number) => unknown, j: number): any {
|
|
522
|
+
return (__s[i] ??= __L.at(f, j));
|
|
523
|
+
}
|