![]() Is specified in the client config, its value will take precedence Same semantics as aws_access_key_id above.Īws_session_token ( string) – The session token to use when creatingĬonfig ( ) – Advanced client configuration options. To override the credentials used for this specific client.Īws_secret_access_key ( string) – The secret key to use when creating You only need to provide this argument if you want The credentials configured for the session will automaticallyīe used. This is entirely optional, and if not provided, If this value is provided,Īws_access_key_id ( string) – The access key to use when creating YouĬan specify a complete URL (including the “http/https” scheme) Normally, botocore will automatically construct theĪppropriate URL to use when communicating with a service. You can specify this argument if you want to use aĭifferent CA cert bundle than the one used by botocore.Įndpoint_url ( string) – The complete URL to use for the constructedĬlient. Path/to/cert/bundle.pem - A filename of the CA cert bundle to Used (unless use_ssl is False), but SSL certificates You can provide the followingįalse - do not validate SSL certificates. Whether or not to verify SSL certificates. Note that not all services support non-ssl connections. Use_ssl ( boolean) – Whether or not to use SSL. To specify this parameter if you want to use a previous API version Use the latest API version when creating a client. ![]() Region_name ( string) – The name of the region associated with the client.Ī client is associated with a single region.Īpi_version ( string) – The API version to use. Service_name ( string) – The name of a service, e.g. The profiles available to the session credentials client ( service_name, region_name = None, api_version = None, use_ssl = True, verify = None, endpoint_url = None, aws_access_key_id = None, aws_secret_access_key = None, aws_session_token = None, config = None ) #Ĭreate a low-level service client by name. Profile_name ( string) – The name of a profile to use. Region_name ( string) – Default region when creating new connectionsīotocore_session ( ) – Use this Botocore session instead of creating Session ( aws_access_key_id = None, aws_secret_access_key = None, aws_session_token = None, region_name = None, botocore_session = None, profile_name = None ) #Ī session stores configuration state and allows you to create serviceĪws_access_key_id ( string) – AWS access key IDĪws_secret_access_key ( string) – AWS secret access keyĪws_session_token ( string) – AWS temporary session token Toggle table of contents sidebar Session reference # class ssion.
0 Comments
Leave a Reply. |