Connect by using Resource Path Addressing

Example - Accessing a system by using Boto SDK and Resource Path Addressing.

Write the code to use a host parameter to point to an Accesser node with the IP address of 192.168.9.230:

s3 = boto.connect_s3(
  aws_access_key_id = access_key, 
  aws_secret_access_key = secret_key,
  host = '192.168.9.230', 1
  is_secure = False,
  calling_format = boto.s3.connection.OrdinaryCallingFormat(), 2
  )

1 The host value is an IP address for Resource Host Addressing.
2 The connection method (calling_format) for Resource Host Addressing is OrdinaryCallingFormat().