def _make_dir(self, client_kwargs):
        """
        Make a directory.

        args:
            client_kwargs (dict): Client arguments.
        """
        with _handle_client_error():
            # Object
            if 'Key' in client_kwargs:
                return self.client.put_object(Body=b'', **client_kwargs)

            # Bucket
            return self.client.create_bucket(
                Bucket=client_kwargs['Bucket'],
                CreateBucketConfiguration=dict(
                    LocationConstraint=self._get_session().region_name))
Make a directory.

        args:
            client_kwargs (dict): Client arguments.