original_docstring: 
      Show details about a keypair resource policy. When `name` option is omitted, the
      resource policy for the current access_key will be returned.
      
docstring: Show details about a keypair resource policy. When `name` option is omitted, the
  resource policy for the current access_key will be returned.
docstring_tokens: Show details about a keypair resource policy . When ` name ` option is omitted the resource policy for the current access_key will be returned .
code: def info(ctx: CLIContext, name: str) -> None:
      """
      Show details about a keypair resource policy. When `name` option is omitted, the
      resource policy for the current access_key will be returned.
      """
      with Session() as session:
          try:
              rp = session.KeypairResourcePolicy(session.config.access_key)
              item = rp.info(name)
              ctx.output.print_item(item, _default_detail_fields)
          except Exception as e:
              ctx.output.print_error(e)
              sys.exit(1)
code_tokens: def info ( ctx : CLIContext , name : str ) -> None : with Session ( ) as session : try : rp = session . KeypairResourcePolicy ( session . config . access_key ) item = rp . info ( name ) ctx . output . print_item ( item , _default_detail_fields ) except Exception as e : ctx . output . print_error ( e ) sys . exit ( 1 )
short_docstring: Show details about a keypair resource policy.
short_docstring_tokens: Show details about a keypair resource policy .
comment: """
      Show details about a keypair resource policy. When `name` option is omitted, the
      resource policy for the current access_key will be returned.
      """