prefect_aws.client_parameters
Module handling Client parameters
AwsClientParameters
Bases: BaseModel
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:
Name | Type | Description |
---|---|---|
api_version |
Optional[str]
|
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 |
bool
|
Whether or not to use SSL. By default, SSL is used. Note that not all services support non-ssl connections. |
verify |
Union[bool, FilePath, None]
|
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 |
Optional[FilePath]
|
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 |
Optional[str]
|
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 |
config |
Optional[Dict[str, Any]]
|
Advanced configuration for Botocore clients. See botocore docs for more details. |
Source code in prefect_aws/client_parameters.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
|
deprecated_verify_cert_path(values)
classmethod
If verify is not a bool, raise a warning.
Source code in prefect_aws/client_parameters.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
|
get_params_override()
Return the dictionary of the parameters to override. The parameters to override are the one which are not None.
Source code in prefect_aws/client_parameters.py
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
|
instantiate_config(value)
classmethod
Casts lists to Config instances.
Source code in prefect_aws/client_parameters.py
82 83 84 85 86 87 88 89 90 |
|
verify_cert_path_and_verify(values)
classmethod
If verify_cert_path is set but verify is False, raise a warning.
Source code in prefect_aws/client_parameters.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
|