// mapping.asciidoc:211

[source, php]
----
$params = [
    'index' => 'my-index',
];
$response = $client->indices()->getMapping($params);
----
