Build the execution environment component of the User-Agent header. Returns a single component prefixed with "exec-env", usually sourced from the environment variable AWS_EXECUTION_ENV.
(self)
| 531 | return lang_md |
| 532 | |
| 533 | def _build_execution_env_metadata(self): |
| 534 | """ |
| 535 | Build the execution environment component of the User-Agent header. |
| 536 | |
| 537 | Returns a single component prefixed with "exec-env", usually sourced |
| 538 | from the environment variable AWS_EXECUTION_ENV. |
| 539 | """ |
| 540 | if self._execution_env: |
| 541 | return [UserAgentComponent('exec-env', self._execution_env)] |
| 542 | else: |
| 543 | return [] |
| 544 | |
| 545 | def _build_feature_metadata(self): |
| 546 | """ |
no test coverage detected