Skip to main content

prefect_aws.client_parameters

Module handling Client parameters

Classes

AwsClientParameters

Model used to manage extra parameters that you can pass when you initialize the Client. If you want to find more information, see boto3 docs for more info about the possible client configurations. Attributes:
  • api_version: The API version to use. By default, botocore will use the latest API version when creating a client. You only need to specify this parameter if you want to use a previous API version of the client.
  • use_ssl: Whether or not to use SSL. By default, SSL is used. Note that not all services support non-ssl connections.
  • verify: Whether or not to verify SSL certificates. By default SSL certificates are verified. If False, SSL will still be used (unless use_ssl is False), but SSL certificates will not be verified. Passing a file path to this is deprecated.
  • verify_cert_path: A filename of the CA cert bundle to use. You can specify this argument if you want to use a different CA cert bundle than the one used by botocore.
  • endpoint_url: The complete URL to use for the constructed client. Normally, botocore will automatically construct the appropriate URL to use when communicating with a service. You can specify a complete URL (including the “http/https” scheme) to override this behavior. If this value is provided, then use_ssl is ignored.
  • config: Advanced configuration for Botocore clients. See botocore docs for more details.
Methods:

deprecated_verify_cert_path

deprecated_verify_cert_path(cls, values: Dict[str, Any]) -> Dict[str, Any]
If verify is not a bool, raise a warning.

get_params_override

get_params_override(self) -> Dict[str, Any]
Return the dictionary of the parameters to override. The parameters to override are the one which are not None.

instantiate_config

instantiate_config(cls, value: Union[Config, Dict[str, Any]]) -> Dict[str, Any]
Casts lists to Config instances.

verify_cert_path_and_verify

verify_cert_path_and_verify(cls, values: Dict[str, Any]) -> Dict[str, Any]
If verify_cert_path is set but verify is False, raise a warning.